/* ===== RESET & TOKENS ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #c8a96e;
  --gold-lt: #e0c98b;
  --dark: #0d0d0d;
  --dark2: #141414;
  --dark3: #1c1c1c;
  --mid: #2a2a2a;
  --light: #f5f0ea;
  --muted: #888;
  --white: #ffffff;

  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans: 'Jost', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--light);
  font-family: var(--ff-sans);
  font-weight: 300;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 2.5rem;
  transition: background var(--transition), padding var(--transition);
}

#navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 2.5rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  transition: color var(--transition);
}

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

.nav-cta {
  border: 1px solid var(--gold) !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 2px;
  color: var(--gold) !important;
  transition: background var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--light);
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 0.85rem 2.2rem;
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 169, 110, 0.3);
}

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.8rem 2rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  transform: scale(1.05);
  transition: transform 8s ease-out;
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(13, 13, 13, 0.3) 0%,
      rgba(13, 13, 13, 0.55) 60%,
      rgba(13, 13, 13, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeUp 1.2s 0.3s both;
}

.hero-pretitle {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero-content h1 {
  font-family: var(--ff-serif);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 234, 0.7);
  margin-bottom: 2.4rem;
  text-transform: uppercase;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ===== VERSE BANNER ===== */
#verse {
  background: var(--dark2);
  padding: 4rem 2rem;
  border-top: 1px solid rgba(200, 169, 110, 0.2);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
}

.verse-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.verse-text {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--light);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.verse-ref {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ===== ABOUT ===== */
#about {
  padding: 8rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

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

.about-img-wrap {
  position: relative;
  height: 580px;
  overflow: hidden;
}

.about-img-wrap img {
  transition: transform 0.7s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.04);
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -1.2rem;
  left: -1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-text h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  color: var(--light);
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(245, 240, 234, 0.75);
  margin-bottom: 1.2rem;
}

.about-text strong {
  color: var(--gold);
  font-weight: 400;
}

.about-text .btn-secondary {
  margin-top: 1rem;
}

/* ===== PORTFOLIO ===== */
#portfolio {
  padding: 6rem 2rem;
  background: var(--dark2);
}

.section-header {
  max-width: 1300px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--light);
}

.section-header.light h2 {
  color: var(--light);
}

.gallery-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== SERVICES ===== */
#services {
  padding: 8rem 2rem;
  background: var(--dark);
}

.services-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(200, 169, 110, 0.2);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  background: var(--dark2);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--light);
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ===== STATS ===== */
#stats {
  background: var(--gold);
  padding: 3.5rem 2rem;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--ff-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.65);
  margin-top: 0.4rem;
}

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

/* ===== CONTACT ===== */
#contact {
  position: relative;
  padding: 12rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.75);
}

.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
}

.contact-content h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.contact-content>p {
  font-size: 0.93rem;
  line-height: 1.9;
  color: rgba(245, 240, 234, 0.7);
  margin-bottom: 2.5rem;
}

.contact-actions {
  margin-bottom: 2rem;
}

.contact-note {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* ===== FOOTER ===== */
#footer {
  background: var(--dark2);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
}

.footer-verse {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}

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

.footer-socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition), transform var(--transition);
}

.social-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-link svg {
  flex-shrink: 0;
  transition: filter var(--transition);
}

.social-link:hover svg {
  filter: drop-shadow(0 0 6px rgba(200, 169, 110, 0.5));
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(136, 136, 136, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #navbar {
    padding: 1.2rem 1.5rem;
  }

  #navbar.scrolled {
    padding: 0.9rem 1.5rem;
  }

  .burger {
    display: flex;
    z-index: 200;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    flex-direction: column;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid rgba(200, 169, 110, 0.15);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
  }

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

  .about-img-wrap {
    height: 380px;
  }

  .about-img-wrap::before {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }
}

/* ===== PASSWORD GATE ===== */
.password-gate {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.password-gate.hidden {
  opacity: 0;
  visibility: hidden;
}

.gate-content {
  background: var(--dark2);
  padding: 3rem;
  border: 1px solid rgba(200, 169, 110, 0.3);
  text-align: center;
  max-width: 400px;
  width: 90%;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gate-content h2 {
  font-family: var(--ff-serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.gate-content > p {
  font-size: 0.9rem;
  color: var(--light);
  margin-bottom: 2rem;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gate-form input {
  padding: 0.8rem;
  background: var(--dark);
  border: 1px solid rgba(200, 169, 110, 0.5);
  color: var(--light);
  font-family: var(--ff-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.gate-form input:focus {
  border-color: var(--gold);
}

.gate-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 1rem;
  display: none;
}

.gate-hint {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.gate-hint strong {
  color: var(--gold);
}

/* ===== WEBRGV OVERLAY ===== */
.webrgv-overlay {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: rgba(13, 13, 13, 0.8);
  border: 1px solid var(--gold);
  color: var(--light);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-family: var(--ff-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  z-index: 1000;
  backdrop-filter: blur(8px);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.webrgv-overlay:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}