/* ============================================================
   CHANDRAKALA PRODUCTIONS — UNIFIED STYLESHEET
   Premium Theatre Portfolio — Dark Navy & Gold Theme
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy-deep: #0a1628;
  --navy-dark: #0d1b4c;
  --navy-mid: #1a346c;
  --navy-light: #253d7a;
  --gold: #d4af37;
  --gold-light: #f4c842;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-border: rgba(212, 175, 55, 0.2);
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-75: rgba(255, 255, 255, 0.75);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-35: rgba(255, 255, 255, 0.35);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --max-width: 1200px;
  --header-height: 100px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--navy-mid);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  top: 0 !important;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.normal-list li {
    font-weight: normal !important;
}

/* Content wrapper — pushes footer down */
main,
.page-content {
  flex: 1;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header ---------- */
header {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  padding: 6px clamp(16px, 4vw, 40px);
  min-height: var(--header-height);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Social links */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
}

.social-links a:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--gold-light);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Language switcher */
.lang-switcher {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  background: rgba(10, 22, 40, 0.85);
  color: var(--gold);
  cursor: pointer;
  min-width: 52px;
}

.lang-switcher:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.translate-widget-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.goog-te-banner-frame,
.skiptranslate {
  display: none !important;
}

.goog-te-gadget {
  font-size: 0 !important;
}

/* Video trailer section */
.video-card {
  max-width: 640px;
  margin: 0 auto;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold-border);
  box-shadow: var(--shadow-md), var(--shadow-gold);
  background: var(--navy-deep);
}

.video-poster {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  display: block;
  background: var(--navy-deep);
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-base);
}

.video-poster:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

.video-poster:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  text-align: center;
  color: var(--white-75);
  margin-top: 16px;
  font-size: 15px;
}

.video-caption strong {
  color: var(--gold);
  font-weight: 600;
}

/* Contact social block */
.contact-social {
  justify-content: center;
  margin-top: 28px;
  gap: 14px;
}

.contact-social a {
  width: 44px;
  height: 44px;
}

.contact-social svg {
  width: 22px;
  height: 22px;
}


.logo img {
  height: clamp(80px, 16vw, 130px);
  width: auto;
  max-width: 380px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  mix-blend-mode: screen;
}


/* ── Video Modal Overlay ── */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.video-modal-overlay .video-modal-content {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.3), 0 0 120px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.video-modal-overlay .video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: -5px;
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  color: var(--gold);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10001;
  backdrop-filter: blur(8px);
}

.video-modal-close:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: rotate(90deg) scale(1.1);
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  z-index: 110;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

/* Animated hamburger → X */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* ---------- Navigation ---------- */
nav.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--white-60);
  text-decoration: none;
  padding: 0.45em 0.75em;
  position: relative;
  transition: color var(--transition-base);
  text-transform: capitalize;
  white-space: nowrap;
}

.nav a::before,
.nav a::after {
  content: '';
  height: 12px;
  width: 12px;
  position: absolute;
  transition: all 0.35s ease;
  opacity: 0;
}

.nav a::before {
  right: 0;
  top: 0;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: translate(-100%, 50%);
}

.nav a::after {
  left: 0;
  bottom: 0;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: translate(100%, -50%);
}

.nav a:hover::before,
.nav a:hover::after {
  transform: translate(0, 0);
  opacity: 1;
}

.nav a:hover {
  color: var(--gold-light);
}

.nav a.active {
  color: var(--gold);
}

.nav a.active::after,
.nav a.active::before {
  opacity: 0.5;
  transform: translate(0, 0);
}

/* ---------- Hero Slider (full-width) ---------- */
.slideshow-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-deep);
}

.mySlides {
  display: none;
  position: relative;
}

.mySlides img {
  width: 100%;
  height: clamp(240px, 50vw, 520px);
  object-fit: contain;
  object-position: center;
}

/* Cinematic gradient overlay on slides */
.mySlides::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85), transparent);
  pointer-events: none;
}

.numbertext {
  color: var(--gold);
  font-size: 12px;
  padding: 6px 12px;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 5;
  letter-spacing: 1px;
  font-weight: 500;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
  text-align: center;
  padding: 30px 16px 16px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 5;
}

/* Prev / Next buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px 20px;
  color: var(--white);
  font-weight: bold;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--transition-base), transform var(--transition-fast);
  border-radius: var(--radius-sm);
  user-select: none;
  -webkit-user-select: none;
  z-index: 10;
  text-decoration: none;
}

.next {
  right: 8px;
}

.prev {
  left: 8px;
}

.prev:hover,
.next:hover {
  background: rgba(212, 175, 55, 0.5);
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.dots-wrapper {
  text-align: center;
  padding: 14px 0 10px;
  background: var(--navy-mid);
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: var(--white-20);
  border-radius: 50%;
  display: inline-block;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.dot.active,
.dot:hover {
  background: var(--gold);
  border-color: var(--gold-light);
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* Fade animation */
.fade {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0.2;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Auto-slide progress bar */
.slider-progress {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  transition: width 4s linear;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(14px, 2vw, 24px) clamp(16px, 4vw, 40px);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.section h2 {
  color: var(--gold);
  margin-bottom: 28px;
  font-size: clamp(22px, 3.5vw, 32px);
  border-left: 4px solid var(--gold);
  padding-left: 16px;
  position: relative;
  line-height: 1.3;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 16px;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}


/* Team page — single centred column, readable line length */
#team .cards {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: linear-gradient(145deg, rgba(17, 26, 74, 0.9), rgba(13, 27, 76, 0.7));
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.card p {
    text-align: justify;
    text-align-last: left;
    line-height: 1.7;
    word-spacing: normal;
    letter-spacing: normal;
    white-space: normal;
    hyphens: auto;
	color: var(--white-75);
	font-size: 14px;
	
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-gold);
  border-color: rgba(212, 175, 55, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 18px;
}

.card h5 {
  color: var(--white-60);
  margin-bottom: 12px;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card p {
  color: var(--white-75);
  font-size: 14px;
  line-height: 1.7;
}

/* Card images */
.card img {
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  height: 220px;
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-slow);
}

.card:hover img {
  transform: scale(1.03);
}

/* Passport-style headshot for team cards */
.team-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.team-photo img {
  width: 140px;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold-border);
  background: rgba(255, 255, 255, 0.04);
  margin: 0;
}

.team-photo:hover img {
  transform: none;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-md);
  background: var(--navy-dark);
}

.gallery-section-title {
  color: var(--gold);
  font-size: 20px;
  margin: 32px 0 16px;
  font-weight: 600;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  line-height: 1.4;
}

/* ---------- Responsive Photo Gallery ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.photo-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy-dark);
  border: 1px solid rgba(212, 175, 55, 0.14);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.photo-grid figure:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.photo-grid figure:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow: var(--shadow-md);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition-base);
}

.photo-grid figure:hover img,
.photo-grid figure:focus-visible img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.photo-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 12px 10px;
  color: var(--white);
  font-size: 13px;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.photo-grid figure:hover figcaption,
.photo-grid figure:focus-visible figcaption {
  opacity: 1;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  grid-template-rows: 1fr auto auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
  padding: clamp(54px, 8vh, 72px) clamp(14px, 4vw, 72px) clamp(18px, 4vh, 34px);
  background: rgba(3, 7, 17, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gallery-lightbox.open {
  display: grid;
  animation: modalFadeIn 0.22s ease;
}

.gallery-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.gallery-lightbox__image {
  width: auto;
  height: auto;
  max-width: min(100%, 1120px);
  max-height: calc(100vh - 170px);
  max-height: calc(100dvh - 170px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.65);
}

.gallery-lightbox__caption,
.gallery-lightbox__counter {
  margin: 0;
  text-align: center;
}

.gallery-lightbox__caption {
  max-width: min(92vw, 760px);
  color: var(--white-90);
  font-size: 14px;
  line-height: 1.45;
}

.gallery-lightbox__counter {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
}

.gallery-lightbox button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.gallery-lightbox button:hover,
.gallery-lightbox button:focus-visible {
  background: var(--gold);
  color: var(--navy-deep);
  outline: none;
}

.gallery-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  font-size: 18px;
  z-index: 2;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  font-size: 20px;
  transform: translateY(-50%);
  z-index: 2;
}

.gallery-lightbox__prev {
  left: 18px;
}

.gallery-lightbox__next {
  right: 18px;
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus-visible {
  transform: translateY(-50%) scale(1.08);
}

/* ---------- Gallery Presentation Slideshow ---------- */
.gallery-slideshow {
  position: relative;
  background: var(--navy-deep);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-slide {
  display: none;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide img {
  width: 100%;
  height: clamp(220px, 52vw, 480px);
  object-fit: contain;
  object-position: center;
  padding: 12px 52px 4px;
}

.gallery-slide-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  z-index: 5;
  pointer-events: none;
}

.gallery-slide-caption {
  text-align: center;
  color: var(--white-75);
  font-size: 14px;
  padding: 8px 16px 16px;
  min-height: 2.5em;
}

.gallery-slideshow .gallery-prev,
.gallery-slideshow .gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 16px;
  color: var(--white);
  font-size: 22px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  z-index: 10;
  transition: background var(--transition-base);
}

.gallery-slideshow .gallery-prev { left: 8px; }
.gallery-slideshow .gallery-next { right: 8px; }

.gallery-slideshow .gallery-prev:hover,
.gallery-slideshow .gallery-next:hover {
  background: rgba(212, 175, 55, 0.5);
}

/* ---------- Client Logos Grid ---------- */
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.client-logo-card {
  background: linear-gradient(145deg, rgba(17, 26, 74, 0.9), rgba(13, 27, 76, 0.7));
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  padding: 24px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.client-logo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.client-logo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--shadow-gold);
  border-color: rgba(212, 175, 55, 0.4);
}

.client-logo-card:hover::before {
  opacity: 1;
}

.client-logo-card .logo-wrap {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.client-logo-card .logo-wrap img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.client-logo-card:hover .logo-wrap img {
  transform: scale(1.06);
}

.client-logo-card p {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ---------- Lightbox Modal ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 10, 25, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 16px 12px;
  gap: 10px;
}

.modal.open {
  display: flex;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* Close button — fixed top-right */
.lb-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 10;
}

.lb-close:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: rotate(90deg);
}

/* Counter */
.lb-counter {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Image stage — takes all remaining vertical space */
.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.lb-img {
  max-width: calc(100% - 100px);
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
  display: block;
}

/* Prev / Next inside stage */
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 5;
}

.lb-prev { left: 0; }
.lb-next { right: 0; }

.lb-prev:hover,
.lb-next:hover {
  background: rgba(212, 175, 55, 0.75);
  transform: translateY(-50%) scale(1.1);
}

/* Caption */
.lb-caption {
  color: var(--white-60);
  font-size: 13px;
  text-align: center;
  flex-shrink: 0;
  padding: 0 56px;
  line-height: 1.4;
}

/* Thumbnail strip — single row, horizontal scroll only */
.lb-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding: 2px 4px 6px;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.lb-thumbs::-webkit-scrollbar { height: 4px; }
.lb-thumbs::-webkit-scrollbar-track { background: transparent; }
.lb-thumbs::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 2px; }

.lb-thumbs img {
  width: 54px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  border: 2px solid transparent;
  flex-shrink: 0;
}

.lb-thumbs img.active,
.lb-thumbs img:hover {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.08);
}

/* ---------- Contact Form ---------- */
.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.contact-form {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(17, 26, 74, 0.9), rgba(13, 27, 76, 0.6));
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 6px;
  text-align: center;
}

.contact-form .form-subtitle {
  color: var(--white-60);
  font-size: 14px;
  text-align: center;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.3px;
}

.form-group label .required {
  color: #ff6b6b;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--white-20);
  border-radius: var(--radius-sm);
  background: rgba(10, 22, 40, 0.7);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  resize: vertical;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: rgba(10, 22, 40, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--white-35);
}

/* Validation states */
.form-group input.valid,
.form-group textarea.valid {
  border-color: #4ecdc4;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ff6b6b;
}

.form-group .error-message {
  display: none;
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
  padding-left: 2px;
  animation: slideDown 0.3s ease;
}

.form-group .error-message.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group .char-count {
  position: absolute;
  right: 0;
  bottom: -16px;
  font-size: 11px;
  color: var(--white-35);
}

/* Submit button */
.btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  color: var(--navy-deep);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-base);
  width: 100%;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form status messages */
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
  text-align: center;
  animation: slideDown 0.4s ease;
}

.form-status.success {
  display: block;
  background: rgba(78, 205, 196, 0.15);
  border: 1px solid rgba(78, 205, 196, 0.4);
  color: #4ecdc4;
}

.form-status.error {
  display: block;
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
}

/* Contact info cards */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info-card {
  background: linear-gradient(145deg, rgba(17, 26, 74, 0.8), rgba(13, 27, 76, 0.5));
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  text-align: center;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
}

.contact-info-card .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.contact-info-card h4 {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-card p {
  color: var(--white-75);
  font-size: 14px;
}

/* ---------- Footer ---------- */
footer {
  background: linear-gradient(180deg, var(--navy-dark), var(--navy-deep));
  text-align: center;
  padding: 28px 20px;
  margin-top: auto;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--white-60);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-social {
  justify-content: center;
}

footer p {
  letter-spacing: 0.5px;
}

footer .footer-gold {
  color: var(--gold);
  font-weight: 500;
}

/* ---------- Scroll to top button ---------- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
  z-index: 90;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ---------- Loading shimmer for images ---------- */
.img-loading {
  background: linear-gradient(90deg, var(--navy-dark) 25%, var(--navy-light) 50%, var(--navy-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ---------- Page transition ---------- */
.page-enter {
  animation: pageSlideUp 0.6s ease forwards;
}

@keyframes pageSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================
   RESPONSIVE BREAKPOINTS
   ====================================================== */

/* Tablet landscape */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
  }

  .gallery-grid img {
    height: 190px;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  header {
    padding: 0 16px;
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-height);
    position: sticky;
    top: 0;
  }

  .logo img {
    height: 90px;
    max-width: 300px;
  }

  .header-tools {
    gap: 8px;
  }

  .social-links.header-social a {
    width: 32px;
    height: 32px;
  }

  .social-links.header-social svg {
    width: 16px;
    height: 16px;
  }

  .lang-switcher {
    font-size: 12px;
    padding: 5px 8px;
    min-width: 48px;
  }

  .menu-toggle {
    display: flex;
  }

  nav.nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(180deg, var(--navy-dark), var(--navy-deep));
    padding: 12px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    gap: 0;
    order: 3;
    animation: navSlideDown 0.3s ease;
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav.nav.open {
    display: flex;
  }

  .nav a {
    font-size: 15px;
    padding: 12px 20px;
    width: 100%;
    border-bottom: 1px solid var(--white-10);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a::before,
  .nav a::after {
    display: none;
  }

  .nav a:hover {
    background: var(--white-10);
  }

  .mySlides img {
    height: 260px;
  }

  .section {
    padding: 20px 18px;
  }

  .section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }


  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .gallery-grid img {
    height: 150px;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
  }

  .photo-grid figcaption {
    opacity: 1;
    font-size: 12px;
    padding: 24px 10px 8px;
  }

  .gallery-lightbox {
    padding: 58px 12px 18px;
  }

  .gallery-lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 158px);
  }

  .gallery-lightbox__nav {
    top: auto;
    bottom: 18px;
    width: 40px;
    height: 40px;
    font-size: 17px;
    transform: none;
  }

  .gallery-lightbox__prev {
    left: 14px;
  }

  .gallery-lightbox__next {
    right: 14px;
  }

  .gallery-lightbox__nav:hover,
  .gallery-lightbox__nav:focus-visible {
    transform: scale(1.06);
  }

  .modal-body {
    width: 96%;
  }

  .modal-body .prev {
    left: 4px;
  }

  .modal-body .next {
    right: 4px;
  }

  .modal-thumbs img {
    width: 48px;
    height: 36px;
  }

  .contact-form {
    max-width: 100%;
    padding: 24px 20px;
  }

  /* Prev/Next on slider */
  .slideshow-container .prev,
  .slideshow-container .next {
    padding: 10px 14px;
    font-size: 16px;
  }

  .gallery-slide img {
    height: clamp(200px, 45vw, 360px);
    padding: 8px 44px 4px;
  }

  .gallery-slideshow .gallery-prev,
  .gallery-slideshow .gallery-next {
    padding: 10px 12px;
    font-size: 18px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .logo img {
    height: 70px;
    max-width: 230px;
  }

  .mySlides img {
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-grid img {
    height: 130px;
    border-radius: var(--radius-sm);
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .photo-grid figure {
    border-radius: var(--radius-sm);
  }

  .gallery-lightbox__caption {
    max-width: calc(100vw - 96px);
    font-size: 12px;
  }

  .section {
    padding: 14px 14px;
  }

  .section h2 {
    font-size: 20px;
  }


  .card {
    padding: 18px;
  }

  .card img {
    height: 180px;
  }

  .prev,
  .next {
    padding: 8px 12px;
    font-size: 14px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 3px;
  }

  .gallery-section-title {
    font-size: 17px;
    margin: 24px 0 12px;
  }

  .gallery-slide img {
    height: clamp(180px, 55vw, 280px);
    padding: 6px 36px 2px;
  }

  .gallery-slideshow .gallery-prev,
  .gallery-slideshow .gallery-next {
    padding: 8px 10px;
    font-size: 16px;
  }

  .gallery-slide-caption {
    font-size: 13px;
    padding: 6px 12px 12px;
  }

  .gallery-slide-counter {
    font-size: 11px;
    top: 8px;
    right: 8px;
  }

  .modal-body .prev,
  .modal-body .next {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .modal-body .prev {
    left: 2px;
  }

  .modal-body .next {
    right: 2px;
  }

  .scroll-top {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .contact-form {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Small mobile */
@media (max-width: 360px) {
  .logo img {
    height: 56px;
    max-width: 180px;
  }

  .mySlides img {
    height: 170px;
  }

  .gallery-grid img {
    height: 110px;
  }

  .section {
    padding: 14px 12px;
  }

  .card {
    padding: 16px;
  }

  .card img {
    height: 150px;
  }
}

/* Large desktop */
@media (min-width: 1400px) {
  .mySlides img {
    height: 560px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .gallery-grid img {
    height: 260px;
  }
}
