@import url('header.css'); /* Charge ton header/footer */
@import url('footer.css'); /* Charge ton header/footer */


/* ========================================================
   HERO
   ======================================================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HERO SLIDESHOW */
.hero-slideshow {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: -5%; left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

.slide.active { opacity: 1; }

@keyframes subtleZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.03); }
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom,
        rgba(10, 76, 86, 0.2) 0%,
        rgba(10, 76, 86, 0.5) 100%);
}

.hero h1 {
    position: relative;
    color: #faf3E0;
    font-size: 6rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 8px;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   INFO SECTION (fond teal)
   ======================================================== */
.info-section {
    background: linear-gradient(135deg, #0a4c56 0%, #0d5f6d 100%);
    padding: 120px 12%;
    color: #faf3E0;
}

.info-section h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.info-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px; left: 0;
    width: 120px; height: 4px;
    background: linear-gradient(90deg, #D9A441, #f4c467);
}

.info-section ul {
    list-style: none;
    border-left: 3px solid #D9A441;
    padding-left: 40px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.info-section li {
    position: relative;
    padding-left: 10px;
    transition: transform 0.3s ease;
}

.info-section li:hover { transform: translateX(10px); }

.info-section li::before {
    content: '';
    position: absolute;
    left: -50px; top: 8px;
    width: 20px; height: 20px;
    background: linear-gradient(135deg, #D9A441, #f4c467);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(217, 164, 65, 0.6);
}

.info-section li h3 {
    color: #D9A441;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-section li p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(250, 243, 224, 0.9);
    max-width: 800px;
}

/* ========================================================
   MENU SECTION
   ======================================================== */
.menu-section {
    background-color: #faf3E0;
    padding: 100px 10%;
}

.menu-section h2 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 600;
    color: #0a4c56;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.menu-section h2::after {
    content: '';
    position: absolute;
    bottom: -20px; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 4px;
    background: linear-gradient(90deg, #D9A441, #f4c467);
}

.menu-category { margin-bottom: 80px; }

.menu-category h3 {
    font-size: 2rem;
    color: #0a4c56;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    padding-bottom: 12px;
}

.menu-category h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #D9A441, transparent);
}

.price-badge {
    background: linear-gradient(135deg, #D9A441, #f4c467);
    color: #0a4c56;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 0;
}

.menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.menu-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #D9A441, #f4c467);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 1;
}

.menu-card:hover::before { transform: scaleX(1); }

.menu-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(217, 164, 65, 0.3);
    border-color: #D9A441;
}

.dish-image {
    width: 100%;
    height: 200px;
    background-color: #eee;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-info {
    padding: 25px;
    text-align: center;
}

.dish-name {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0a4c56;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.menu-card:hover .dish-name { color: #D9A441; }

.price {
    display: block;
    color: #D9A441;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.dish-desc {
    font-size: 0.9rem;
    color: #888;
    margin-top: 8px;
    line-height: 1.5;
}

/* Petit-déjeuner card */
.pd-card .menu-info {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    padding: 18px 20px;
}

.pd-ico {
    font-size: 1.6rem;
    flex-shrink: 0;
}

/* ========================================================
   BOISSONS
   ======================================================== */
.drink-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.drink-card {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.drink-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #D9A441, #f4c467);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.drink-card:hover::before { transform: scaleX(1); }

.drink-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(217, 164, 65, 0.3);
    border-color: #D9A441;
}

.drink-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
    transition: transform 0.4s ease;
}

.drink-card:hover .drink-emoji { transform: scale(1.3) rotate(10deg); }

.drink-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #0a4c56;
    margin-bottom: 8px;
    display: block;
    transition: color 0.3s ease;
}

.drink-card:hover .drink-name { color: #D9A441; }

.drink-desc {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
    background-color: #0a4c56;
    color: #faf3E0;
    padding: 80px 10% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #D9A441;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50%; height: 2px;
    background: linear-gradient(90deg, #D9A441, transparent);
}

.footer-section p,
.footer-section a {
    font-size: 0.95rem;
    line-height: 2;
    color: #faf3E0;
    text-decoration: none;
    font-weight: 300;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-section a:hover { opacity: 1; color: #D9A441; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(250, 243, 224, 0.2);
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.7;
}

/* ========================================================
   RESPONSIVE — VERSION OPTIMISÉE
   ======================================================== */

/* TABLETTES — max-width 1024px */
@media (max-width: 1024px) {

    header {
        padding: 20px 40px;
    }

    nav ul {
        gap: 25px;
    }

    .hero h1 {
        font-size: 4rem;
        letter-spacing: 5px;
        padding: 0 20px;
    }

    .info-section {
        padding: 90px 10%;
    }

    .info-section h2 {
        font-size: 2.6rem;
    }

    .info-section ul {
        padding-left: 25px;
        gap: 40px;
    }

    .info-section li::before {
        left: -35px;
    }

    .menu-section {
        padding: 90px 8%;
    }

    .menu-cards,
    .drink-cards {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .menu-category h3 {
        font-size: 1.7rem;
    }

    footer {
        padding: 70px 8% 30px;
    }
}

/* SMARTPHONES — max-width 768px */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 3rem;
        letter-spacing: 3px;
        padding: 0 15px;
    }

    .info-section {
        padding: 70px 8%;
    }

    .info-section h2 {
        font-size: 2.3rem;
    }

    .info-section ul {
        padding-left: 20px;
        gap: 35px;
    }

    .info-section li::before {
        left: -28px;
        width: 16px;
        height: 16px;
    }

    .info-section li h3 {
        font-size: 1.4rem;
    }

    .info-section li p {
        font-size: 1rem;
    }

    .menu-section {
        padding: 70px 6%;
    }

    .menu-section h2 {
        font-size: 2.5rem;
    }

    .menu-cards,
    .drink-cards {
        grid-template-columns: 1fr;
    }

    .menu-card,
    .drink-card {
        margin-bottom: 20px;
    }

    .dish-image {
        height: 180px;
    }

    footer {
        padding: 60px 6% 25px;
    }
}

/* PETITS TÉLÉPHONES — max-width 480px */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
        padding: 0 10px;
    }

    .info-section h2 {
        font-size: 2rem;
    }

    .info-section li h3 {
        font-size: 1.25rem;
    }

    .info-section li p {
        font-size: 0.95rem;
    }

    .menu-section h2 {
        font-size: 2.2rem;
    }

    .menu-category h3 {
        font-size: 1.4rem;
    }

    .dish-image {
        height: 150px;
    }

    .menu-info {
        padding: 12px;
    }

    .btn,
    .faq-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
}
