/* ===== TOKENS ===== */
:root {
  --bg: #08090d;
  --surface: #0f1016;
  --surface-2: #161720;
  --border: #1e1f2e;
  --gold: #c9a227;
  --gold-light: #e8c050;
  --gold-dim: rgba(201, 162, 39, 0.12);
  --gold-glow: rgba(201, 162, 39, 0.25);
  --text: #ede8dc;
  --text-muted: #7a7889;
  --text-dim: #3e3e52;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
input, select, textarea, button { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-dark { background: var(--surface); }

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-desc { color: var(--text-muted); max-width: 480px; margin-top: 16px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-desc { margin: 16px auto 0; }

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
#navbar.scrolled {
  background: rgba(8, 9, 13, 0.92);
  backdrop-filter: blur(16px);
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.nav-logo .dot { color: var(--gold); }
.logo-img { height: 44px; width: auto; display: block; object-fit: contain; }
.logo-img-footer { height: 56px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18) 0%, transparent 70%);
  animation: float 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -150px;
  background: radial-gradient(circle, rgba(80, 50, 160, 0.15) 0%, transparent 70%);
  animation: float 16s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  animation: float 9s ease-in-out infinite 3s;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--gold);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
}
.marquee-track .sep { opacity: 0.5; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px var(--gold-dim);
}
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ===== PORTFOLIO ===== */

/* ===== PORTFOLIO INSTAGRAM ===== */
.portfolio-ig {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 0;
}
.portfolio-ig-desc {
  color: var(--text-muted);
  margin: 16px 0 36px;
  font-size: 1rem;
  line-height: 1.7;
}
.ig-btn {
  font-size: 0.95rem;
  padding: 16px 36px;
  gap: 10px;
}

/* ===== ABOUT ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
}
.about-visual { position: relative; }
.about-img-frame {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-dim);
}
.placeholder-icon { width: 64px; height: 64px; }
.about-img-placeholder p { font-size: 0.8rem; letter-spacing: 0.1em; }
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}
.badge-number { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; }
.badge-text { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.about-text { padding-bottom: 24px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-stats {
  display: flex;
  gap: 36px;
  margin: 36px 0;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: var(--gold); }
.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 16px;
  display: block;
}
.testimonial-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.875rem; color: var(--text); }
.testimonial-author span { font-size: 0.75rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-info p { color: var(--text-muted); margin: 16px 0 28px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.contact-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}
.booking-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%237a7889' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option { background: var(--surface-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; min-height: 130px; }
.field-error-msg { font-size: 0.8rem; color: #e05555; margin-top: 4px; display: none; }
.field-error-msg a { color: #e05555; text-decoration: underline; }
.form-group input.field-error { border-color: #e05555; box-shadow: 0 0 0 3px rgba(224,85,85,0.15); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.5); }

.form-success {
  text-align: center;
  padding: 60px 20px;
}
.success-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.form-success p { color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo { font-size: 2rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); font-style: italic; }
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.services-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.services-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.services-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.services-grid .reveal:nth-child(4) { transition-delay: 240ms; }
.services-grid .reveal:nth-child(5) { transition-delay: 320ms; }
.services-grid .reveal:nth-child(6) { transition-delay: 400ms; }

.portfolio-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.portfolio-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.portfolio-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.portfolio-grid .reveal:nth-child(4) { transition-delay: 240ms; }
.portfolio-grid .reveal:nth-child(5) { transition-delay: 320ms; }
.portfolio-grid .reveal:nth-child(6) { transition-delay: 400ms; }

.testimonials-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 200ms; }

/* ===== KEYFRAMES ===== */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .contact-info .section-label,
  .contact-info .section-title,
  .contact-info p { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  #navbar { padding: 18px 20px; }
  #navbar.scrolled { padding: 14px 20px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(320px, 85vw);
    background: var(--surface);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 28px;
    transition: right var(--transition);
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; padding: 8px 0; }

  .logo-img { height: 36px; }

  .hero-title { font-size: clamp(2.8rem, 11vw, 5rem); }
  .hero-scroll-hint { display: none; }

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

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

  .contact-info { display: flex; flex-direction: column; }
  .contact-form-wrap { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }

  /* Prevent iOS auto-zoom on input focus */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  .btn { min-height: 48px; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .container { padding: 0 18px; }
  .logo-img { height: 32px; }
  .about-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .contact-form-wrap { padding: 24px 16px; }
  .footer-links { gap: 20px; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
  .marquee-track { animation-duration: 60s; }
  .reveal { transition-duration: 0.15s; }
  .scroll-line { animation: none; }
}
