/*
Theme Name: La Guinguette de la Nautique
Theme URI: https://www.guinguette-grenade.fr/
Author: La Guinguette de la Nautique
Description: Thème sur-mesure sobre et épuré pour La Guinguette de la Nautique à Grenade. Une page d'accueil immersive en bord de Garonne.
Version: 1.0.0
License: GPL v2 or later
Text Domain: guinguette-nautique
*/

:root {
  --bg: #faf6ee;
  --bg-alt: #f3ece0;
  --ink: #1f2a24;
  --ink-soft: #4a574f;
  --accent: #5a7a5e;
  --accent-dark: #3d5641;
  --terracotta: #b8624a;
  --line: #d8cfc1;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display, .serif {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 600; }

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--terracotta);
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 26px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  display: inline-flex;
  align-items: center;
}

.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

.brand-logo img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 2px rgba(255,255,255,0.85);
  background: #fff;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.05);
}

@media (max-width: 720px) {
  .brand-logo img {
    width: 60px;
    height: 60px;
  }
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.nav a:hover {
  color: #f0d9c0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 24px;
    background: rgba(31, 42, 36, 0.96);
    flex-direction: column;
    padding: 18px 26px;
    border-radius: 8px;
    gap: 14px;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.3);
}

.hero p.lead {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 38px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  opacity: 0.95;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

.btn + .btn {
  margin-left: 12px;
}

/* ========== SECTIONS ========== */
section {
  padding: 110px 0;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 18px;
}

.section-intro {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.center {
  text-align: center;
}

.center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* ========== SAISON / OUVERTURE ========== */
.saison {
  background: var(--bg-alt);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.saison .section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.saison-highlight {
  color: var(--terracotta);
  font-style: italic;
}

.saison-dates {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.saison-dates strong {
  color: var(--accent-dark);
  font-weight: 600;
}

.saison-tagline {
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-style: italic;
  max-width: 520px;
  margin: 0 auto;
}

.btn-saison {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}

.btn-saison:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

@media (max-width: 600px) {
  .saison {
    padding: 60px 0;
  }
  .saison-dates {
    font-size: 1.18rem;
  }
}

/* ========== ABOUT ========== */
.about {
  background: var(--bg);
}

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

.about-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(31, 42, 36, 0.3);
}

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

/* ========== EXPERIENCE (3 atouts) ========== */
.experience {
  background: var(--bg-alt);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 64px;
}

.exp-card {
  text-align: center;
  padding: 0 12px;
}

.exp-icon {
  margin: 0 auto 22px;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.exp-icon svg {
  display: block;
}

.exp-card h3 {
  margin-bottom: 10px;
}

.exp-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Pictos services en bande discrete */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  margin-top: 70px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.service-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-weight: 500;
}

.service-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .services {
    gap: 14px 22px;
  }
  .service-item {
    font-size: 0.78rem;
  }
}

/* ========== GALLERY ========== */
.gallery {
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

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

/* ========== INFOS PRATIQUES ========== */
.infos {
  background: var(--accent-dark);
  color: #f0e8d8;
}

.infos h2,
.infos .section-eyebrow {
  color: #f0e8d8;
}

.infos .section-eyebrow {
  opacity: 0.7;
}

.infos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

@media (max-width: 980px) {
  .infos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
  }
}

.info-card {
  text-align: center;
}

.info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 18px;
}

.info-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  line-height: 1.55;
  margin: 0;
}

.info-card a {
  color: #f0e8d8;
  border-bottom: 1px solid rgba(240, 232, 216, 0.4);
}

.info-card a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 760px) {
  .infos-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ========== RESERVATION CTA ========== */
.cta {
  background: var(--bg-alt);
  padding: 90px 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 14px;
}

.cta p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  font-size: 1rem;
  padding: 16px 42px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ink);
  color: rgba(240, 232, 216, 0.7);
  padding: 60px 0 30px;
  text-align: center;
}

.site-footer .footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 2px rgba(240, 232, 216, 0.2);
  background: #fff;
}

.site-footer .footer-name {
  font-family: 'Playfair Display', serif;
  color: #f0e8d8;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 28px 0;
}

.socials a {
  color: #f0e8d8;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(240, 232, 216, 0.3);
  padding-bottom: 3px;
}

.socials a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.copyright {
  font-size: 0.78rem;
  opacity: 0.5;
  letter-spacing: 0.04em;
  margin-top: 30px;
}

/* ========== UTILITIES ========== */
.divider {
  width: 60px;
  height: 1px;
  background: var(--line);
  margin: 0 auto 26px;
  border: 0;
}

.divider-light {
  background: rgba(240, 232, 216, 0.3);
}
