/* ─── Variables & Reset ─────────────────────────────── */
:root {
  --color-gold: #c9a75c;
  --color-gold-light: #d9b56e;
  --color-dark: #0e0e12;
  --color-darker: #080810;
  --color-cream: #f7f3ec;
  --color-text: #2b2b35;
  --color-muted: #6b6b7a;
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-cream);
  color: var(--color-text);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--color-cream);
  color: var(--color-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Animations ────────────────────────────────────── */
@keyframes logo-reveal {
  to { opacity: 1; transform: scale(1); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splash-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@keyframes bar-grow {
  to { width: 200px; }
}

/* ─── Logo (shared) ─────────────────────────────────── */
.logo-initial {
  color: var(--color-gold);
  font-size: 1.25em;
  line-height: 1;
}

.logo-rest {
  color: #fff;
}

/* ─── Splash Screen ─────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--color-dark);
  transition: opacity 0.8s ease, visibility 0.8s ease;
  /* Failsafe: hides the splash even if the script fails to load */
  animation: splash-failsafe 0.8s ease 6s forwards;
}

#splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: scale(0.6);
  animation: logo-reveal 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.splash-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  letter-spacing: 1px;
}

.splash-bar {
  width: 0;
  height: 2px;
  margin-top: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: bar-grow 1.2s ease 0.5s forwards;
}

.splash-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-up 0.6s ease 1s forwards;
}

/* ─── Navigation ────────────────────────────────────── */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6%;
  background: rgba(14, 14, 18, 0.6);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--color-gold);
}

.nav-links a.nav-cta {
  padding: 10px 24px;
  background: var(--color-gold);
  color: var(--color-dark);
  border-radius: 50px;
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  background: var(--color-gold-light);
  color: var(--color-dark);
}

.nav-toggle {
  display: none;
}

/* ─── Hero ──────────────────────────────────────────── */
#hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('1.jpg') center / cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

#hero.is-loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 14, 18, 0.82) 0%,
    rgba(14, 14, 18, 0.45) 60%,
    rgba(14, 14, 18, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
}

.hero-title {
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: #fff;
  line-height: 1.1;
  opacity: 0;
  animation: fade-up 0.7s ease 2.6s forwards;
}

.brand-accent {
  color: var(--color-gold);
}

.hero-sub {
  margin-bottom: 44px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  opacity: 0;
  animation: fade-up 0.7s ease 2.8s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: fade-up 0.7s ease 3s forwards;
}

.btn-primary {
  padding: 16px 40px;
  background: var(--color-gold);
  color: var(--color-dark);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(201, 167, 92, 0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 167, 92, 0.5);
}

/* ─── Sections (shared) ─────────────────────────────── */
.section-label {
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a6d2b;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-dark);
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* ─── Why Us ────────────────────────────────────────── */
#why {
  padding: 110px 6%;
  background: var(--color-cream);
}

.section-sub p + p {
  margin-top: 1em;
}

/* ─── Gallery ───────────────────────────────────────── */
.gallery-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px;
  gap: 12px;
  padding: 0 6% 100px;
  background: var(--color-cream);
}

.gallery-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-img:hover img {
  transform: scale(1.05);
}

/* ─── Contact ───────────────────────────────────────── */
#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 6%;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--color-dark);
}

.contact-inner {
  width: 100%;
  max-width: 680px;
  text-align: center;
}

#contact .section-label {
  color: var(--color-gold);
}

#contact .section-title {
  margin-bottom: 16px;
  color: #fff;
}

#contact .section-sub {
  max-width: 480px;
  margin: 0 auto 52px;
  color: rgba(255, 255, 255, 0.65);
}

.email-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(201, 167, 92, 0.15);
  border-radius: 50%;
}

.email-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-gold);
}

.email-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.email-address {
  padding-bottom: 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 167, 92, 0.4);
  transition: color var(--transition), border-color var(--transition);
}

.email-address:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.email-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Footer ────────────────────────────────────────── */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 56px 6% 28px;
  background: var(--color-darker);
  border-top: 1px solid rgba(201, 167, 92, 0.35);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-gold);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.footer-legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 40px;
}

.footer-block {
  font-style: normal;
}

.footer-block h3 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-block p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.footer-block a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 167, 92, 0.5);
  transition: color var(--transition), border-color var(--transition);
}

.footer-block a:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.footer-copy {
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Scroll Reveal ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive: tablet & mobile ───────────────────── */
@media (max-width: 768px) {
  .site-nav {
    padding: 12px 5%;
    gap: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 11px 10px;
    background: none;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }

  .nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 64px);
    padding: 8px 5% 20px;
    overflow-y: auto;
    background: rgba(14, 14, 18, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links li:last-child a {
    margin-top: 16px;
    padding: 14px 24px;
    text-align: center;
    border-bottom: 0;
  }

  #why {
    padding: 80px 6%;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 200px;
  }

  #contact {
    padding: 80px 6%;
  }

  .email-card {
    padding: 32px 24px;
  }

  .site-footer {
    padding: 44px 6% 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-legal-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }



  .footer-heading {
    text-align: center;
  }
}
