/* ============================================
   Ô DUNES — Restaurant Port-Camargue
   Palette : sable, beige, doré
   ============================================ */

:root {
    /* Palette calée sur le logo Ô Dunes — tons crème/sable très clairs */
    --sand-50: #faf6ef;
    --sand-100: #f3ece0;
    --sand-200: #ece3d1;
    --sand-300: #e0d3ba;
    --sand-400: #d4c4a0;
    --sand-500: #c8b488;
    --sand-600: #b9a274;
    --sand-700: #a08a5e;
    --sand-800: #8a7650;
    --sand-900: #6b5b3e;
    --gold: #c4ad7a;
    --gold-light: #d4c09a;
    --gold-dark: #b09868;
    --white: #ffffff;
    --black: #1a1a1a;
    --text: #6b5b3e;
    --text-light: #8a7650;
    --overlay: rgba(240, 232, 214, 0.75);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--sand-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Section ---- */
.section { padding: 100px 0; }
.section-alt { background: var(--sand-200); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--sand-800);
    margin-bottom: 16px;
}
.separator {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto 20px;
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
    background: rgba(253, 248, 240, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    transition: opacity var(--transition);
}
#navbar:not(.scrolled) .logo-img { opacity: 0.8; }
#navbar.scrolled .logo-img { opacity: 1; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding: 4px 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
#navbar.scrolled .nav-link { color: var(--sand-800); text-shadow: none; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.btn-commander {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background var(--transition), transform var(--transition);
}
.btn-commander:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

/* Burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    transition: var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--sand-800); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/banniere-hero.png') center center / cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}
.hero-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}
.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 16px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 40px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
}
.btn-primary {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--sand-800);
}
.btn-large { padding: 16px 48px; font-size: 1rem; }

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll a { display: block; width: 30px; height: 50px; }
.hero-scroll span {
    display: block;
    width: 20px; height: 20px;
    margin: 0 auto;
    border-right: 2px solid rgba(255,255,255,0.8);
    border-bottom: 2px solid rgba(255,255,255,0.8);
    transform: rotate(45deg);
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0% { opacity: 0; transform: rotate(45deg) translate(-8px, -8px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(8px, 8px); }
}

/* ============================================
   CONCEPT
   ============================================ */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.concept-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-light);
}
.concept-intro {
    font-size: 1.15rem !important;
    color: var(--text) !important;
    line-height: 1.8;
}
.concept-features { display: flex; flex-direction: column; gap: 30px; }
.feature {
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 48px; height: 48px;
    color: var(--gold);
    margin-bottom: 12px;
}
.feature h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--sand-800);
    margin-bottom: 6px;
}
.feature p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   CARTE / MENU
   ============================================ */
.menu-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.menu-tab {
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sand-600);
    background: var(--white);
    border: 2px solid var(--sand-200);
    transition: all var(--transition);
}
.menu-tab:hover { border-color: var(--gold); color: var(--gold); }
.menu-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.menu-category { display: none; }
.menu-category.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.menu-item {
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.menu-item:hover { box-shadow: var(--shadow-md); }
.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}
.menu-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--sand-800);
}
.menu-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}
.menu-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================
   GALERIE
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-large { grid-column: span 2; }
.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--sand-200), var(--sand-300));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: transform var(--transition);
}
.gallery-large .gallery-placeholder { height: 300px; }
.gallery-placeholder:hover { transform: scale(1.02); }
.gallery-placeholder span {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--sand-600);
    font-size: 1rem;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================
   HORAIRES / INFOS
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}
.info-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--sand-800);
    margin-bottom: 20px;
}
.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--sand-100);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-day { font-weight: 600; color: var(--sand-700); }
.schedule-time { color: var(--text-light); }
.address { line-height: 1.8; margin-bottom: 16px; color: var(--text-light); }
.phone a, .email a {
    color: var(--gold);
    font-weight: 600;
}
.phone a:hover, .email a:hover { color: var(--gold-dark); }
.phone { margin-bottom: 8px; }
.info-card-map { padding: 0; overflow: hidden; }
.map-placeholder {
    width: 100%; height: 100%; min-height: 280px;
    background: var(--sand-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--sand-600);
}

/* ============================================
   FORMULAIRE RÉSERVATION
   ============================================ */
.reservation-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sand-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--sand-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--sand-50);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea { resize: vertical; }
.form-actions { text-align: center; margin-top: 30px; }
.form-confirmation {
    margin-top: 20px;
    padding: 20px;
    background: #e8f5e9;
    border-radius: var(--radius);
    text-align: center;
    color: #2e7d32;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--sand-300);
    color: var(--sand-800);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 12px;
    opacity: 0.9;
}
.footer-brand p { color: var(--sand-700); font-size: 0.95rem; }
.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--sand-900);
    margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-dark); }
.footer-contact p { margin-bottom: 8px; font-size: 0.9rem; }
.social-links { display: flex; gap: 12px; }
.social-link {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    color: var(--sand-700);
    transition: all var(--transition);
}
.social-link:hover {
    background: var(--gold);
    color: var(--white);
}
.social-link svg { width: 20px; height: 20px; }
.footer-bottom {
    border-top: 1px solid var(--sand-400);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--sand-700);
}
.footer-bottom a:hover { color: var(--gold-dark); }

/* ============================================
   SECTIONS VIDÉO (Snack, Cocktails, Glaces)
   ============================================ */
.section-video { padding: 80px 0; }
.section-dark { background: var(--sand-200); }

.video-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.video-showcase-reverse { direction: rtl; }
.video-showcase-reverse > * { direction: ltr; }

.video-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--sand-800);
    margin-bottom: 16px;
}
.video-text .separator { margin: 0 0 20px; }
.video-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.8;
}

.video-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--sand-300);
}
.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* ============================================
   ANIMATIONS (scroll reveal)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .concept-grid { grid-template-columns: 1fr; gap: 40px; }
    .menu-category.active { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .video-showcase,
    .video-showcase-reverse { grid-template-columns: 1fr; gap: 30px; direction: ltr; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .section-header h2 { font-size: 2rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero-logo { width: 130px; height: 130px; }
    .hero-subtitle { font-size: 1rem; letter-spacing: 2px; }

    /* Mobile nav */
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--sand-50);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open { right: 0; }
    .nav-menu .nav-link {
        color: var(--sand-800);
        font-size: 1rem;
    }

    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-large { grid-column: span 2; }

    .reservation-form { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-logo { width: 110px; height: 110px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-large { grid-column: span 1; }
    .menu-categories { gap: 8px; }
    .menu-tab { padding: 8px 18px; font-size: 0.85rem; }
}
