/* ==========================================================================
   Villa La Saudade — Modern stylesheet
   Mediterranean coastal villa rental · Sainte-Maxime, French Riviera
   ========================================================================== */

:root {
  --teal: #0e3a3a;
  --teal-dark: #0a2b2b;
  --teal-light: #1c5a5a;
  --sand: #f4ede3;
  --sand-dark: #e7dccb;
  --gold: #c8a24b;
  --gold-dark: #a9852f;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(14, 58, 58, 0.12);
  --shadow-lg: 0 14px 40px rgba(14, 58, 58, 0.18);
  --radius: 14px;
  --maxw: 1120px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.7;
  font-size: 16px;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--teal-dark);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--teal);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand img { width: 46px; height: auto; }

.brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--white);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:hover { background: rgba(255,255,255,0.12); color: var(--gold); }
.main-nav a.active { background: var(--gold); color: var(--teal-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 1.4rem;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}
.hero h1 { color: var(--white); font-size: 2.8rem; margin-bottom: 0.3em; }
.hero .tagline {
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}
.hero p.lead { max-width: 720px; margin: 0 auto 1.4em; color: #eaf2f2; font-size: 1.05rem; }
.hero img.hero-img {
  width: 100%;
  max-width: 900px;
  margin: 24px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--teal-dark);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 30px;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--teal-dark); }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head .kicker {
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.6em; }
.card-link { font-weight: 600; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 10px 0 10px 34px;
  position: relative;
  border-bottom: 1px solid var(--sand-dark);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-dark); font-weight: 700; }
.stat .label { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--teal); }
.breadcrumb span.sep { margin: 0 6px; color: var(--gold-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: var(--white);
  padding: 46px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.2em; }
.page-hero p { color: #dce9e9; max-width: 720px; margin: 0; }

/* ---------- Content ---------- */
.content { padding: 50px 0 70px; }
.content article { max-width: 860px; }
.content h2 { margin-top: 1.6em; }
.content ul, .content ol { margin: 0 0 1.2em 1.4em; }
.content li { margin-bottom: 0.4em; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.gallery figure { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.gallery img { width: 100%; height: 220px; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: 0.95rem; color: var(--teal-dark); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--teal-dark);
  font-size: 1.05rem;
}
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { margin-top: 1.2em; }
.contact-info ul { list-style: none; padding: 0; }
.contact-info li { padding: 6px 0; }
.contact-info .label { font-weight: 600; color: var(--teal-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dark);
  color: #cfe0e0;
  padding: 50px 0 0;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.site-footer h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 14px; }
.site-footer a { color: #cfe0e0; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  font-size: 0.85rem;
  text-align: center;
  color: #9db4b4;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px; border-top: 1px solid rgba(255,255,255,0.1); }
  .hero { padding: 46px 0 40px; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 44px 0; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}
