/* =============================================
   DNDL CONSTRUCTIONS — Premium CSS
   Style inspired by DLF Offices
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --gold: #b8975a;
  --gold-light: #d4af70;
  --gold-dark: #8a6c38;
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gray: #888888;
  --gray-light: #cccccc;
  --white: #ffffff;
  --off-white: #f5f2ed;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --nav-h: 80px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 20px 60px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad { padding: 100px 0; }
.center { text-align: center; }

/* ---------- Typography ---------- */
.section-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc, .body-text {
  font-size: 1rem;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.section-header { margin-bottom: 60px; }
.section-header.center .section-desc { margin: 0 auto 0; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-dark);
  transform: translateX(-100%);
  transition: var(--transition);
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary { position: relative; z-index: 1; }
.btn-primary:hover { color: var(--white); }
.btn-primary.large { padding: 18px 44px; font-size: 0.85rem; }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ---------- LOADER ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-inner img {
  width: 80px;
  filter: brightness(10);
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--gold);
  animation: loadFill 1.8s ease forwards;
}

@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
@keyframes loadFill { from{width:0} to{width:100%} }

/* ---------- HEADER / NAV ---------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.nav-logo img { width: 44px; filter: brightness(10); }

.nav-logo span {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.03em;
}

.nav-logo em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  transition: color var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); }

.nav-links > li > a svg { transition: transform var(--transition); }
.nav-links > li.has-dropdown:hover > a svg { transform: rotate(180deg); }

/* Nav CTA */
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  margin-left: 12px;
}
.nav-cta:hover { background: var(--gold-dark) !important; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--dark);
  min-width: 220px;
  border-top: 2px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  color: var(--gray-light);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown li a:hover {
  background: rgba(184,151,90,0.1);
  color: var(--gold);
  padding-left: 28px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.3) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  padding: 0 40px;
}

.hero-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 span { color: var(--gold); font-weight: 400; }

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.hero-prev, .hero-next {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: 50%;
}

.hero-prev:hover, .hero-next:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-dots { display: flex; gap: 8px; }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  right: 40px;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 10;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: var(--gold);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--dark);
  padding: 50px 0;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item { text-align: center; }

.stat-item span.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

.stat-item > span:last-of-type {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
}

.stat-item p {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
}

/* ---------- ABOUT STRIP ---------- */
.about-strip { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.about-img-badge strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
}

.about-img-badge span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mission-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  background: rgba(184,151,90,0.06);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark);
  margin: 24px 0 32px;
  line-height: 1.6;
}

/* ---------- PROJECTS ---------- */
.projects-section { background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card.large {
  grid-column: span 2;
}

.project-card {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--dark-2);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.project-img {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.project-card.large .project-img { height: 380px; }

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover .project-img img { transform: scale(1.06); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-explore {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-info {
  padding: 22px;
  background: var(--white);
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition);
}

.project-card:hover .project-info { border-color: var(--gold); }

.project-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.project-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}

.project-info > p:first-of-type {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ---------- PARALLAX CTA ---------- */
.parallax-cta {
  position: relative;
  padding: 120px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.parallax-cta .container { position: relative; z-index: 1; }
.parallax-cta .section-tag.light { color: var(--gold-light); }

.parallax-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.parallax-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

/* ---------- GALLERY ---------- */
.gallery-section { background: var(--off-white); }

.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.gtab {
  padding: 9px 22px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--gray);
  transition: var(--transition);
  background: transparent;
}

.gtab.active, .gtab:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gal-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gal-label { transform: translateY(0); }

.gallery-item.hidden { display: none; }

/* ---------- AWARDS ---------- */
.awards-section { background: var(--dark); }

.awards-section .section-title { color: var(--white); }

.awards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.award-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 4px solid var(--gold);
  overflow: hidden;
  transition: var(--transition);
}

.award-card:hover {
  background: rgba(184,151,90,0.06);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Full-width ceremony photo */
.award-img {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.award-img img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.award-card:hover .award-img img { transform: scale(1.04); }

/* Caption area below image */
.award-info {
  padding: 28px 28px 32px;
}

.award-info h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 14px;
}

.award-info p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  max-width: 800px;
}

.member-strip {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 40px;
}

.member-strip p {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.member-strip img {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
  filter: brightness(0.8);
}

@media (max-width: 900px) {
  .award-img img { height: 420px; }
  .award-info { padding: 24px; }
}

@media (max-width: 480px) {
  .award-img img { height: 280px; }
  .award-info { padding: 18px 16px; }
}

/* ---------- CONTACT CTA ---------- */
.contact-cta { background: var(--white); }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-list {
  margin: 24px 0 32px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-list li svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

/* Enquiry Form */
.cta-form-wrap {
  background: var(--off-white);
  padding: 40px;
  border-top: 4px solid var(--gold);
}

.enquiry-form h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 16px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; }

/* ---------- FOOTER ---------- */
.footer { background: var(--black); }

.footer-top { padding: 70px 0 50px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-logo { width: 50px; margin-bottom: 16px; filter: brightness(10); }

.brand-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul li + li { margin-top: 10px; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-col address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ---------- AOS-like Animations ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .about-grid { gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.large { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section-pad { padding: 70px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-main { height: 360px; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .awards-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 20px; }
  .stat-divider { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-links.open { transform: translateY(0); opacity: 1; }

  .nav-links > li > a { padding: 14px 24px; font-size: 0.9rem; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
    border-left: 2px solid var(--gold);
    margin-left: 24px;
    display: none;
  }

  .has-dropdown.open .dropdown { display: block; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; }
  .project-card.large .project-img { height: 280px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { bottom: 22%; }
  .scroll-indicator { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .parallax-cta { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta-form-wrap { padding: 24px; }
  .about-img-badge { display: none; }
}

/* =============================================
   UNIVERSAL GALLERY LIGHTBOX & ZOOM SYSTEM
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.3s ease;
  user-select: none;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
  cursor: zoom-in;
  border-radius: 4px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  transform-origin: center center;
}

.lightbox.zoomed img {
  transform: scale(1.75);
  cursor: zoom-out;
}

.lightbox-topbar {
  position: absolute;
  top: 24px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000000;
}

.lightbox-counter {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-actions {
  display: flex;
  gap: 12px;
}

.lightbox-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: scale(1.08);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
  z-index: 1000000;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 24px;
  border-radius: 20px;
  max-width: 80vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Project Detail Page Gallery Styling */
.project-main-image-wrap {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  margin-bottom: 10px;
  border-radius: 4px;
  background: #000;
}

.project-main-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--transition);
  display: block;
}

.project-main-image-wrap:hover img {
  transform: scale(1.02);
}

.project-zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  pointer-events: none;
}

.project-main-image-wrap:hover .project-zoom-badge {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.project-gallery-thumb img {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 3px;
  transition: transform var(--transition), border-color var(--transition), opacity var(--transition);
}

.project-gallery-thumb img:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  border-color: var(--gold);
}

.project-gallery-thumb img.active {
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(184, 151, 90, 0.4);
}

@media (max-width: 768px) {
  .lightbox-nav-btn { width: 42px; height: 42px; font-size: 1.2rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-topbar { top: 16px; left: 16px; right: 16px; }
}
