/* Modern Website Styles - Pratheksha Polymers */

:root {
  /* Professional Industrial Color Palette */
  --primary-color: #0e4a86;
  --primary-light: #1a6fc2;
  --primary-dark: #083562;
  --secondary-color: #0d9488;
  --secondary-light: #14b8a6;
  --accent-color: #0891b2;
  --accent-light: #22d3ee;

  /* Text Colors */
  --text-color: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;

  /* Background Colors */
  --bg-color: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  /* UI Colors */
  --border-color: #e2e8f0;
  --shadow: 0 10px 40px rgba(14, 74, 134, 0.12);
  --shadow-light: 0 4px 12px rgba(14, 74, 134, 0.06);
  --shadow-hover: 0 20px 50px rgba(14, 74, 134, 0.15);

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);

  --gallery-filter-bg: transparent;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


#theme-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

#theme-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow);
}

/* Navigation */
.navbar {
  background: var(--bg-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-color) 100%);
  padding: 80px 0 100px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.03;
  border-radius: 0 0 0 100%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-color);
}

.hero-title span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 520px;
}

.cta-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 74, 134, 0.25);
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 74, 134, 0.35);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease-out;
}

.hero-placeholder {
  width: 320px;
  height: 320px;
  background: var(--gradient-accent);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
  box-shadow: var(--shadow);
  animation: morphBlob 8s ease-in-out infinite;
}

@keyframes morphBlob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* Introduction Section */
.intro-section {
  padding: 100px 0;
  background: var(--bg-color);
  position: relative;
}

.intro-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.intro-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  letter-spacing: -0.5px;
}

.intro-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
  margin: 0;
}

/* About Page Styles */
.page-header {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
}

.page-header p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.section {
  padding: 90px 0;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  letter-spacing: -0.5px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.member-title {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--text-light);
  line-height: 1.6;
}

/* Products Page Styles */
.filter-section {
  background: var(--bg-secondary);
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 3rem;
}

.product-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.product-category {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.product-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-section {
  padding: 80px 0;
}

.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-color);
  color: var(--text-color);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-details {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
}

.contact-details h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 20px;
}

.map-container {
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  padding: 1rem;
}

/* Footer */
.footer {
  background: var(--text-color);
  color: #e2e8f0;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.6rem;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #94a3b8;
}

.contact-info i {
  color: var(--accent-light);
  width: 18px;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.9rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--bg-color);
  margin: 15% auto;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow);
}

.close {
  color: var(--text-light);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: var(--text-color);
}

/* Products Overview Grid */
.products-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-overview-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.product-overview-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.product-overview-item .product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: white;
}

.product-overview-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.05rem;
}

.product-overview-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.industry-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.industry-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.industry-item i {
  font-size: 2.2rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  display: block;
}

.industry-item h4 {
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Why Choose Us Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Values Grid (About Page) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-choose-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.why-choose-item .why-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.4rem;
  color: white;
}

.why-choose-item h4 {
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-weight: 600;
}

.why-choose-item p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-placeholder {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }

  .intro-content h2 {
    font-size: 2rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .products-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 1.5rem;
  }

  .products-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Gallery Styles (appended) */
.gallery-section { background: var(--bg-color); }
.gallery-header { text-align: center; max-width: 800px; margin: 0 auto 2rem; animation: fadeInUp 0.8s ease; }
.gallery-subtitle { font-size: 1.1rem; color: var(--text-light); line-height: 1.6; }
.gallery-filters { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.gallery-filter-btn { background: var(--gallery-filter-bg); border: 2px solid var(--border-color); color: var(--text-color); padding: 0.5rem 1.25rem; border-radius: 30px; cursor: pointer; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.5px; transition: all 0.3s ease; position: relative; }
.gallery-filter-btn:hover, .gallery-filter-btn.active { background: var(--primary-color); color:#fff; border-color: var(--primary-color); box-shadow: var(--shadow-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 18px; background: var(--bg-secondary); box-shadow: var(--shadow-light); cursor: pointer; isolation: isolate; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.gallery-item:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.6s ease; filter: brightness(0.9) contrast(1.05); }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1) contrast(1.1); }
.gallery-item figcaption { position: absolute; left:0; bottom:0; width:100%; padding:0.75rem 1rem; background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.2)); color:#fff; font-size:0.9rem; font-weight:500; letter-spacing:0.5px; }
.gallery-item:hover figcaption { background: linear-gradient(to top, rgba(37,99,235,0.85), rgba(37,99,235,0.35)); }
.gallery-item.loading { animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { background-color:#e5e7eb;} 50% { background-color:#f3f4f6;} 100% { background-color:#e5e7eb;} }
.lightbox-overlay { position: fixed; inset:0; background: rgba(15,23,42,0.85); backdrop-filter: blur(6px); z-index:3000; display:flex; align-items:center; justify-content:center; padding:2rem; opacity:0; pointer-events:none; transition: opacity 0.35s ease; }
.lightbox-overlay.show { opacity:1; pointer-events:auto; }
.lightbox-content { max-width:1000px; width:100%; position:relative; color:#fff; animation: fadeInUp 0.5s ease; }
.lightbox-image-wrapper { position:relative; border-radius:20px; overflow:hidden; box-shadow:0 30px 50px -15px rgba(0,0,0,0.5); }
.lightbox-image-wrapper img { width:100%; max-height:70vh; object-fit:cover; display:block; }
.lightbox-caption { margin-top:1rem; font-size:1rem; letter-spacing:0.5px; opacity:0.9; }
.lightbox-close, .lightbox-nav-btn { position:absolute; top:10px; background: rgba(0,0,0,0.5); border:none; color:#fff; width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; backdrop-filter: blur(2px); transition: background 0.3s ease, transform 0.3s ease; }
.lightbox-close { right:10px; }
.lightbox-nav-btn.prev { left:10px; }
.lightbox-nav-btn.next { right:60px; }
.lightbox-close:hover, .lightbox-nav-btn:hover { background: var(--primary-color); transform: scale(1.08); }
.lightbox-counter { position:absolute; bottom:10px; right:15px; background: rgba(0,0,0,0.55); padding:0.35rem 0.7rem; border-radius:12px; font-size:0.75rem; letter-spacing:1px; }
@media (max-width:680px){ .gallery-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));} .gallery-item img{height:160px;} }

