/* Base styles and CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #450003;
    --burgundy-dark: #2D0002;
    --burgundy-light: #6B0005;
    --cream: #F5F1E8;
    --off-white: #FAF8F3;
    --black: #1a1a1a;  /* Keep for nav/footer backgrounds */
    --white: #FFFFFF;
    --light-gray: #E8E4DC;
    --text-dark: #2C2C2C;
    --text-light: #666666;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    background-color: var(--burgundy);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-brand a {
    color: var(--white);
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'Great Vibes', cursive;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cream);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

/* Hamburger animation when menu is active */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/* Fallback background if image doesn't load */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--burgundy-dark) 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: normal;
    font-family: 'Great Vibes', cursive;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--burgundy);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* On desktop, group title with text on the left side */
.about-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: bold;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Hide CTA button on desktop - only show on mobile */
.about-cta-btn {
    display: none;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.restaurant-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Fallback style if image doesn't load */
.about-image {
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gray) 100%);
    border-radius: 10px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Experience Section */
.experience-section {
    padding: 80px 0;
    background-color: var(--white);
}

.experience-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 60px;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.img-feature {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.feature-image:hover .img-feature {
    transform: scale(1.05);
}

.feature-content h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Mobile Carousel for Features - Hidden by default, shown on mobile */
.features-mobile-carousel {
    display: none;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    padding: 0 10px;
    text-align: center;
}

.carousel-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.carousel-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Carousel dots navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
    padding: 10px 0;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    /* Total touch target: 14px + 10px padding = 24px (meets accessibility standards) */
}

.carousel-dot:hover {
    background-color: var(--burgundy-light);
}

.carousel-dot.active {
    background-color: var(--burgundy);
    transform: scale(1.2);
}

/* Desktop features - Show by default */
.features-desktop {
    display: block;
}

/* Specialties Gallery Section */
.specialties-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.specialties-section .section-title {
    margin-bottom: 1rem;
}

.specialties-section .section-subtitle {
    text-align: center;
    margin-bottom: 60px;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.specialty-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.specialty-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.specialty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.specialty-card:hover .specialty-image img {
    transform: scale(1.1);
}

.specialty-info {
    padding: 1.5rem;
}

.specialty-info h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.specialty-info p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--off-white);
    text-align: center;
    color: var(--text-dark);
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Page Header */
.page-header {
    background: var(--off-white);
    color: var(--text-dark);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Menu Section */
.menu-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Formules Menu - French Gastronomic Style */
.formules-menu {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.formule-item {
    margin-bottom: 60px;
    position: relative;
}

.formule-item:last-child {
    margin-bottom: 0;
}

.formule-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 20px;
}

.formule-name {
    /* Great Vibes font is imported in base.html via Google Fonts */
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: normal;
    margin: 0;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.formule-separator {
    flex-grow: 1;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        var(--text-light) 0,
        var(--text-light) 3px,
        transparent 3px,
        transparent 8px
    );
    margin: 0 15px;
    align-self: center;
    opacity: 0.4;
}

.formule-price {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: normal;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.formule-description {
    padding-left: 0;
    max-width: 650px;
}

.formule-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0 0 8px 0;
    font-style: italic;
}

.formule-description p:last-child {
    margin-bottom: 0;
}

.no-formules {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-style: italic;
}

/* Ardoises - New menu card layout */
.ardoises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: auto;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.ardoise-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
}

.ardoise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ardoise-card-header {
    background-color: var(--burgundy);
    color: var(--white);
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ardoise-gastronome .ardoise-card-header {
    background-color: var(--black);
}

.ardoise-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    font-weight: normal;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1px;
}

.ardoise-title:last-child {
    margin-bottom: 0;
}

.ardoise-price-badge {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.ardoise-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
}

.ardoise-card-body {
    padding: 2rem;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ardoise-composition {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.ardoise-detail {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.ardoise-condition {
    font-size: 0.85rem;
    color: var(--burgundy);
    background-color: var(--off-white);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--burgundy);
    line-height: 1.5;
}

.ardoise-options {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.ardoise-options li {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.75rem;
    gap: 8px;
}

.option-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    flex: 1 1 auto;
    min-width: 0;
}

.option-dots {
    flex: 0 1 auto;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        var(--text-light) 0,
        var(--text-light) 2px,
        transparent 2px,
        transparent 6px
    );
    align-self: center;
    opacity: 0.3;
    min-width: 10px;
}

.option-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
    white-space: nowrap;
}

.ardoise-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
}

.ardoise-plats-phares {
    border-top: 1px solid var(--light-gray);
    padding-top: 1.25rem;
    margin-top: 0.25rem;
}

.ardoise-plats-phares h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: normal;
}

.ardoise-plats-phares ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ardoise-plats-phares ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.ardoise-plats-phares ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--burgundy);
    font-size: 0.7rem;
    top: 0.5rem;
}

/* Ardoises Footer */
.ardoises-footer {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ardoises-footer-items p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.ardoises-legal {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-style: italic;
}

/* CTA Réservation */
.ardoises-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-bottom: 1rem;
}

.btn-cta-reserve {
    font-size: 1.1rem;
    padding: 16px 40px;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Old dish card styles - keep for backward compatibility */
.menu-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2.5rem;
    color: var(--burgundy);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.dish-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.dish-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish-content {
    padding: 1.5rem;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.dish-name {
    font-size: 1.5rem;
    color: var(--text-dark);
    flex: 1;
}

.dish-price {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: bold;
    margin-left: 1rem;
}

.dish-description {
    color: var(--text-light);
    line-height: 1.6;
}

.no-dishes {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-info-centered {
    max-width: 700px;
    margin: 0 auto;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Forms */
.contact-form,
.dish-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--text-dark);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Map */
.map-section {
    margin-top: 0;
}

.contact-grid .map-section h2 {
    text-align: left;
}

.map-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Legal Section */
.legal-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.legal-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.legal-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    font-style: italic;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--burgundy);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--cream);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--cream);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--cream);
}

.footer-bottom a {
    color: var(--cream);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.flash-message {
    padding: 1rem 2rem 1rem 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.flash-close {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

/* Responsive Design */
/* Desktop-only: Enable parallax effect on larger screens where it works properly */
@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }

    /* Desktop layout: Title + text on left, image on right */
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "title image"
            "text image"
            "button image";
        gap: 0 4rem;
    }

    .about-title {
        grid-area: title;
        text-align: left;
    }

    .about-text {
        grid-area: text;
        text-align: left;
    }

    .about-image {
        grid-area: image;
        align-self: center;
    }

    .about-cta-btn {
        grid-area: button;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--burgundy);
        flex-direction: column;
        padding: 0 1rem;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
        padding: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .feature-row-reverse > * {
        direction: ltr;
    }

    .img-feature {
        height: 300px;
    }

    /* Hide desktop features and show mobile carousel on mobile */
    .features-desktop {
        display: none;
    }

    .features-mobile-carousel {
        display: block;
        padding: 20px 0;
    }

    .carousel-image {
        height: 220px;
        margin-bottom: 1.5rem;
    }

    .carousel-content {
        padding: 0 15px;
    }

    .carousel-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .carousel-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mobile-only restructure for "Bienvenue" section */
    .about-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .about-title {
        order: 1;
        font-size: 2rem;
        text-align: center;
        margin-bottom: 0;
    }

    .about-image {
        display: none;
    }

    .about-text {
        order: 3;
    }

    .about-text .lead {
        font-size: 1.1rem;
        font-weight: bold;
        text-align: center;
        margin-bottom: 1rem;
    }

    .about-text .about-description {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 1rem;
    }

    /* Hide extra paragraphs on mobile for brevity */
    .about-text .about-description-extra {
        display: none;
    }

    .about-cta-btn {
        display: inline-block !important;
        order: 4;
        margin: 1.5rem auto 0;
        padding: 14px 32px;
        font-size: 1rem;
        text-transform: uppercase;
        text-align: center;
    }

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

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

    .section-title,
    .page-header h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .flash-messages {
        left: 10px;
        right: 10px;
        max-width: none;
    }

    /* Formules menu responsive adjustments */
    .formules-menu {
        padding: 20px 10px;
    }

    .formule-item {
        margin-bottom: 50px;
    }

    .formule-header {
        gap: 10px;
    }

    .formule-name {
        font-size: 2rem;
    }

    .formule-separator {
        margin: 0 10px;
    }

    .formule-price {
        font-size: 1.3rem;
    }

    .formule-description {
        max-width: 100%;
    }

    .formule-description p {
        font-size: 1rem;
    }

    /* Ardoises responsive adjustments */
    .ardoises-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ardoise-title {
        font-size: 1.8rem;
    }

    .ardoise-price-badge {
        font-size: 1.5rem;
    }

    .ardoise-card-body {
        padding: 1.5rem;
    }

    .option-text {
        font-size: 0.9rem;
    }

    .option-price {
        font-size: 1rem;
    }

    .btn-cta-reserve {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Further optimize carousel for small mobile screens */
    .carousel-image {
        height: 200px;
    }

    .carousel-content h3 {
        font-size: 1.3rem;
    }

    .carousel-content p {
        font-size: 0.9rem;
    }

    .carousel-dots {
        margin-top: 1.5rem;
    }

    /* Formules menu small screen adjustments */
    .formule-name {
        font-size: 1.8rem;
    }

    .formule-price {
        font-size: 1.2rem;
    }

    .formule-description p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Ardoises small screen adjustments */
    .ardoise-title {
        font-size: 1.6rem;
    }

    .ardoise-card-header {
        padding: 1.25rem 1.5rem;
    }

    .ardoise-card-body {
        padding: 1.25rem;
    }

    .ardoise-composition {
        font-size: 1rem;
    }

    .ardoise-plats-phares ul li {
        font-size: 0.85rem;
    }

    .btn-cta-reserve {
        font-size: 0.95rem;
        padding: 12px 24px;
        display: block;
        width: 100%;
    }

    .ardoises-cta {
        padding: 0 10px;
    }
}
