/* ── Variables ── */
:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dark:   #a07830;
  --orange:      #c0622a;
  --bg:          #080808;
  --bg-2:        #101010;
  --bg-3:        #161616;
  --surface:     #1c1c1c;
  --border:      rgba(201,168,76,0.15);
  --text:        #f0ece4;
  --text-muted:  #888;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius:      6px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

.container {
  width: min(92%, 1140px);
  margin: 0 auto;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Section label ── */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ════════════════════════════
   HEADER
════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 14px 0;
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo span { color: var(--gold); }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-link:hover { color: var(--text); }

.active-cta {
  background: var(--gold);
  color: #000 !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
}
.active-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-social a {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}

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

@media (max-width: 860px) {
  .header-social { display: none; }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.8s forwards;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, #2a1a05 0%, #0e0a02 45%, #000 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.55s forwards;
}

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

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 0 36px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.8s forwards;
}

.hero-content .btn {
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  animation: bounce 2s infinite 1.5s;
  transition: color 0.3s;
}
.hero-scroll:hover { color: var(--gold); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ════════════════════════════
   ABOUT
════════════════════════════ */
.about {
  padding: 120px 0;
  background: var(--bg-2);
}

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

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 28px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.97rem;
}

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

.about-social {
  display: flex;
  gap: 18px;
  margin-top: 32px;
}

.about-social a {
  color: var(--text-muted);
  font-size: 1.15rem;
  transition: color 0.3s, transform 0.3s;
}
.about-social a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

.about-quote {
  display: flex;
  align-items: center;
}

.about-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1.55;
  position: relative;
  padding: 0 28px;
}

.about-quote blockquote::before,
.about-quote blockquote::after {
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  line-height: 1;
}
.about-quote blockquote::before { content: '"'; top: -10px; left: 0; }
.about-quote blockquote::after  { content: '"'; bottom: -30px; right: 0; }

/* ════════════════════════════
   SERVICES
════════════════════════════ */
.services {
  padding: 120px 0;
  background: var(--bg);
}

.services h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 60px;
}

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

.service-card {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  color: var(--gold);
  font-size: 1.1rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
}

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

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ════════════════════════════
   GALLERY
════════════════════════════ */
.gallery {
  padding: 120px 0 80px;
  background: var(--bg);
  overflow: hidden;
}

.gallery .container {
  margin-bottom: 48px;
}

.gallery h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
}

.carousel-track-wrapper {
  position: relative;
  padding: 0 60px;
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 400px);
  height: clamp(300px, 42vw, 480px);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.carousel-slide:hover img { transform: scale(1.06); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(8,8,8,0.8);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

.carousel-slider-track {
  width: min(320px, 60%);
  height: 2px;
  background: var(--surface);
  border-radius: 2px;
  margin: 28px auto 0;
  position: relative;
  overflow: hidden;
}

.carousel-slider-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s var(--ease), left 0.3s var(--ease);
}

/* ════════════════════════════
   CONTACT
════════════════════════════ */
.contact {
  padding: 120px 0;
  background: var(--bg-2);
}

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

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-details i {
  color: var(--gold);
  width: 18px;
  text-align: center;
  font-size: 1rem;
}

.contact-details a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.contact-details a:hover { color: var(--gold); }

/* Floating label fields */
.field {
  position: relative;
  margin-bottom: 20px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 18px 16px 8px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

.field textarea { resize: vertical; min-height: 130px; }

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

.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.88rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  background: transparent;
}

.field textarea ~ label { top: 22px; transform: none; }

.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  transform: none;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.form-status {
  text-align: center;
  margin-top: 14px;
  font-size: 0.88rem;
  min-height: 1.4em;
  transition: opacity 0.3s;
}
.form-status.success { color: #6fcf97; }
.form-status.error   { color: #eb5757; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ════════════════════════════
   LIGHTBOX
════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
  padding: 12px;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--gold); transform: scale(1.15); }

.lightbox-close { top: 20px; right: 24px; font-size: 1.5rem; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.15); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.15); }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.footer-social {
  display: flex;
  gap: 24px;
}
.footer-social a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.3s;
}
.footer-social a:hover { color: var(--gold); transform: translateY(-2px); }

.footer-copy {
  font-size: 0.78rem;
  color: #444;
  letter-spacing: 0.05em;
}

/* ════════════════════════════
   SCROLL TO TOP
════════════════════════════ */
#scrollToTopBtn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold);
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 150;
}
#scrollToTopBtn.show { opacity: 1; visibility: visible; }
#scrollToTopBtn:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */

/* Tablet */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 0 60px;
  }

  .hero-photo { display: none; }

  .hero-eyebrow,
  .hero-sub { margin-left: auto; margin-right: auto; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-quote { justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .carousel-track-wrapper { padding: 0 48px; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  nav {
    position: fixed;
    inset: 0;
    background: rgba(8,8,8,0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    z-index: 250;
  }

  nav.open {
    opacity: 1;
    pointer-events: all;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .nav-link {
    font-size: 1.3rem;
    color: var(--text);
  }

  .active-cta { padding: 14px 36px; font-size: 1rem; }

  .about { padding: 80px 0; }
  .services { padding: 80px 0; }
  .gallery { padding: 80px 0 60px; }
  .contact { padding: 80px 0; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .service-card { padding: 24px 20px; }

  .carousel-slide {
    width: clamp(220px, 75vw, 300px);
    height: clamp(260px, 55vw, 360px);
  }

  .carousel-track-wrapper { padding: 0 40px; }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .field input,
  .field textarea { font-size: 16px; } /* prevents iOS zoom on focus */
}

/* Small phones */
@media (max-width: 480px) {
  .logo { font-size: 1.2rem; }

  .hero-content h1 { font-size: 2.6rem; }

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

  .carousel-track-wrapper { padding: 0 32px; }

  .contact-details li { font-size: 0.85rem; }
}

/* iPhone safe areas */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  #scrollToTopBtn {
    bottom: calc(24px + env(safe-area-inset-bottom));
  }
}
