
/* NuruVilla - Luxury Villa Editorial Dark Gold */
:root {
  --bg-dark: #0F0E0E;
  --bg-card: #1E1B18;
  --gold: #C5A86A;
  --gold-bright: #D4AF37;
  --ivory: #FFF8E7;
  --burgundy: #6A1A1A;
  --text-muted: rgba(255, 248, 231, 0.65);
  --border-gold: rgba(197, 168, 106, 0.35);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 58px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ivory);
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.8rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border-gold); display: inline-block; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-top: 2rem; margin-bottom: 0.6rem; color: var(--gold); }

p { margin-bottom: 1.2rem; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}

a:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin-left: 1.5rem; margin-bottom: 1.2rem; }
li { margin-bottom: 0.5rem; }

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--bg-card);
  font-style: italic;
}

cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.9rem; color: var(--gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 14, 14, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-gold);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-bottom: none;
}

.logo-text {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: var(--ivory);
}

.logo-text strong { color: var(--gold); font-weight: 600; }

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s;
}

.main-nav { display: flex; }

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.nav-item { position: relative; }

.nav-item > a {
  color: var(--ivory);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.nav-item > a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.caret { font-size: 0.6rem; }

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 9999;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown,
.nav-item.has-dropdown.open .dropdown { display: flex; }

.nav-item.has-dropdown > a[aria-expanded="true"] .caret { transform: rotate(180deg); }

.caret { font-size: 0.6rem; display: inline-block; transition: transform 0.25s; }

.dropdown li { margin: 0; padding: 0; }

.dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  border-left: 2px solid transparent;
}

.dropdown a:hover { color: var(--gold); border-left-color: var(--gold); background: rgba(197,168,106,0.05); }

/* Hero */
.hero {
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(180deg, #0F0E0E 0%, #1E1B18 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.hero-frame {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 2rem;
  align-items: center;
  min-height: 60vh;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  position: relative;
}

.hero-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.hero-left h1 {
  font-family: var(--serif);
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.meta-divider { opacity: 0.4; }

.hero-booking-card {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.hero-booking-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--border-gold);
  pointer-events: none;
}

.hero-booking-card h2 {
  border-bottom: none;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  color: var(--gold);
}

.hero-booking-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.hero-booking-card .cta-btn { display: block; margin-bottom: 0.6rem; }

/* Page Hero (non-homepage) */
.page-hero {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, #1E1B18 0%, #0F0E0E 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
  position: relative;
}

.page-hero-inner { max-width: 900px; margin: 0 auto; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; }

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 1344px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--border-gold);
  filter: brightness(0.85) contrast(1.1) saturate(0.9);
}

.hero-image-wrap {
  position: relative;
  margin: 1.5rem auto;
  max-width: 1344px;
}

.hero-image-caption {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(15, 14, 14, 0.7);
  padding: 4px 10px;
  border: 1px solid var(--border-gold);
}

/* Location hero image (large) */
.location-hero-image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border-gold);
  filter: brightness(0.85) contrast(1.05);
}

.location-hero-wrap {
  margin: 2rem 0 1rem;
  position: relative;
}

.location-hero-wrap figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

/* Content images (inline figures) */
.content-figure {
  margin: 1.8rem 0;
  text-align: center;
}

.content-figure img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--border-gold);
}

.content-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.content-figure.align-left { float: left; max-width: 360px; margin: 0.5rem 1.5rem 1rem 0; }
.content-figure.align-right { float: right; max-width: 360px; margin: 0.5rem 0 1rem 1.5rem; }
.content-figure.align-left img, .content-figure.align-right img { max-width: 100%; }

/* Two-column image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.image-grid figure {
  margin: 0;
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  padding: 0.4rem;
}

.image-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.image-grid figcaption {
  padding: 0.5rem 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Service highlight image (right-aligned, used in service sections) */
.service-feature-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border: 1px solid var(--gold);
  margin: 0.5rem 0 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.service-feature-image-wrap {
  float: right;
  max-width: 380px;
  margin: 0 0 1.2rem 1.5rem;
  text-align: center;
}

.service-feature-image-wrap figcaption {
  font-size: 0.78rem;
  color: var(--gold);
  font-style: italic;
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

.service-feature-image-wrap::after {
  content: '';
  display: block;
  clear: both;
}

@media (max-width: 720px) {
  .service-feature-image-wrap { float: none; max-width: 100%; margin: 1rem 0; }
  .content-figure.align-left, .content-figure.align-right { float: none; max-width: 100%; margin: 1rem 0; }
}

/* Author image larger version */
.author-box img { width: 200px; height: 200px; }

/* Testimonial image (small) */
.testimonial-author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  float: left;
  margin-right: 1rem;
}

.testimonial {
  overflow: hidden;
}

/* Quick CTA aside */
.quick-cta {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  border-right: 1px solid var(--border-gold);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.quick-cta p { margin: 0; }
.quick-cta a { font-weight: 500; }

/* Main content */
.site-main { display: block; }

.content-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.content-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-gold);
}

.content-section:last-child { border-bottom: none; }

.content-section h2 {
  margin-bottom: 1.5rem;
  display: block;
  max-width: 90%;
}

.content-section h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

strong, b { color: var(--gold-bright); font-weight: 600; }

em, i { color: var(--ivory); }

/* Pricing table */
.pricing-table, .hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.pricing-table th, .pricing-table td,
.hours-table th, .hours-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border: 1px solid var(--border-gold);
}

.pricing-table th, .hours-table th {
  background: var(--bg-card);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
}

.pricing-table tr:nth-child(even), .hours-table tr:nth-child(even) {
  background: rgba(197, 168, 106, 0.04);
}

/* Testimonials */
.testimonial { margin-bottom: 1.5rem; }

/* Author box */
.author-box {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.author-box img { border-radius: 50%; flex-shrink: 0; }

.author-box h3 { margin-top: 0; color: var(--gold); }

/* Stats list */
.stats-list {
  list-style: none;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stats-list li {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 1rem 1.2rem;
  margin-bottom: 0;
}

.stats-list strong { font-family: var(--serif); font-size: 1.4rem; display: block; margin-bottom: 0.3rem; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 1.5rem 0;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.contact-form input, .contact-form select, .contact-form textarea {
  margin-top: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.95rem;
}

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

.contact-form button {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  margin-top: 0.5rem;
}

.contact-form button:hover { background: var(--gold); color: var(--bg-dark); }

/* CTA Buttons */
.cta-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
  text-align: center;
}

.cta-btn:hover { background: var(--gold); color: var(--bg-dark); border-bottom-color: var(--gold); }

.cta-call { border-color: #CC0000; color: #fff; background: linear-gradient(135deg, #CC0000 0%, #770000 100%); }
.cta-wa { border-color: #147030; color: #fff; background: linear-gradient(135deg, #147030 0%, #0a4a20 100%); }
.cta-tg { border-color: #229ED9; color: #fff; background: linear-gradient(135deg, #229ED9 0%, #1578a8 100%); }

.cta-call:hover, .cta-wa:hover, .cta-tg:hover { color: #fff; opacity: 0.9; border-bottom-color: transparent; }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--gold);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-gold);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
  border-bottom: none;
  transition: color 0.25s;
}

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

.footer-locs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1rem;
}

.footer-cta {
  max-width: 1400px;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gold);
}

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

/* Bottom Bar (fixed) */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  border-top: 1px solid #990000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.bottom-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 2px 6px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
  min-height: 52px;
  min-width: 0;
}

.bottom-bar-call { background: linear-gradient(135deg,#CC0000 0%,#770000 100%); }
.bottom-bar-wa { background: linear-gradient(135deg,#147030 0%,#0a4a20 100%); }
.bottom-bar-tg { background: linear-gradient(135deg,#229ED9 0%,#1578a8 100%); }
.bottom-bar-signal { background: linear-gradient(135deg,#3B45F5 0%,#2C35C9 100%); }

.bottom-bar svg { width: 18px; height: 18px; fill: currentColor; }
.bottom-bar svg path { fill: currentColor; }

.bb-label { font-size: 0.55rem; font-weight: 600; padding: 1px 6px; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; }

@media (max-width: 360px) {
  .bb-label { font-size: 0.5rem; }
  .bottom-bar svg { width: 16px; height: 16px; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-left { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-locs { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-gold);
    padding: 1rem;
    max-height: 85vh;
    overflow-y: auto;
    display: none;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 0.5rem; }
  .nav-item { position: relative; width: 100%; }
  .nav-item > a { padding: 0.7rem 0; justify-content: space-between; width: 100%; }
  .nav-item.has-dropdown > a { display: flex; justify-content: space-between; align-items: center; }
  .dropdown {
    position: static;
    min-width: 100%;
    background: rgba(197, 168, 106, 0.05);
    border: 1px solid var(--border-gold);
    border-left: 3px solid var(--gold);
    padding-left: 0;
    margin-top: 0.4rem;
    max-height: 50vh;
    box-shadow: none;
    display: none;
  }
  .nav-item.has-dropdown:hover .dropdown,
  .nav-item.has-dropdown:focus-within .dropdown,
  .nav-item.has-dropdown.open .dropdown { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .content-article { padding: 2rem 1rem 3rem; }
  .hero { padding: 2rem 1rem 3rem; }
  .hero::before { inset: 8px; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .pricing-table { font-size: 0.85rem; }
  .pricing-table th, .pricing-table td { padding: 0.5rem; }
}

/* Print styles */
@media print {
  body { background: #fff; color: #000; padding-bottom: 0; }
  .site-header, .site-footer, .bottom-bar, .hero-booking-card, .footer-cta { display: none; }
  a { color: #000; border-bottom: none; }
  h1, h2, h3 { color: #000; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
