/*
Theme Name: Theme La Parenthese Inattendue by NeoDigitalis
Author: NeoDigitalis
Author URI: https://neodigitalis.fr
Description: Un thème WordPress personnalisé pour Le Fournay
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: La Parenthese Inattendue
Tags: custom-theme, responsive, modern
*/

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

*{
    margin: 0;
    padding: 0;
}
body{
    background: #1A1A1A;
}
p{
    font-family: 'Lora', sans-serif;
}
h1, h2{
    font-family: "Dancing Script", cursive;
}
.btnresa {
    background: #C9B37E;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    transition: all 0.4s;
}
.btnresa:hover{
    opacity: 0.7;
    transform: scale(1.1);
    transition: all 0.4s;
}

/* Header */
.site-header {
    background: #1A1A1A;
    color: #F5F1E9;
    border-bottom: 1px solid #F5F1E9;
}

.site-header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.site-branding h1 {
    margin: 0;
}

.site-branding a {
    color: #FFFFFF;
    text-decoration: none;
}

.site-branding img {
    width: 30%;
    height: auto;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
.main-navigation {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.main-navigation .menu-menu-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.menu-nav-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-navigation ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    padding: 0;
    gap: 2rem;
    margin-right: 1.5rem;
    font-family: "Dancing Script", cursive;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
}

.main-navigation a:hover {
    opacity: 0.7;
}

/* MAIN */
main{
    width: 100%;
    height: auto;
    background: #1A1A1A;
    color: #F5F1E9;
}


/* Menu Block */
.menu-block{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.menu-block .menu-header{
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 2rem;
}
.menu-block .menu-header a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #F5F1E9;
    text-decoration: none;
    transition: 0.3s;
}
.menu-block .menu-header a:hover{
    opacity: 0.7;
    transform: scale(1.1);
}
.menu-block .menu-header img{
    margin-bottom: 0.5rem;
}

.menu-block .menu-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 2rem;
}
.menu-block .menu-content .menu-section{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.menu-block h3{
    font-size: 3rem;
    margin-bottom: 5px;
}
.menu-block h4{
    font-size: 2rem;
    margin-top: 5px;
	text-align: center;
}
.menu-block hr{
    border: 1px solid #C9B37E;
}
.menu-block .menu-content .menu-section hr.linetitle1{
    width: 19%;
}
.menu-block .menus{
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}
.menu-block .menu-content .menu-section .menus hr.linetitle2{
    width: 7.3%;
    border: 1px solid #C9B37E;
    margin-bottom: 1rem;
}
.menu-block .menu-content .menu-section .menus hr.linetitle3{
    width: 4.5%;
    border: 1px solid #C9B37E;
    margin-bottom: 1rem;
}
.menu-block .menu-content .menu-section .menus hr.linetitle4{
    width: 7.8%;
    border: 1px solid #C9B37E;
    margin-bottom: 1rem;
}
.menu-block .plat{
    width: 98%;
    padding: 1rem;
    background: #2E2E2E;
    color: #F5F1E9;
    border-radius: 10px;
    transition: 0.3s;
    margin-bottom: 1rem;
}
.menu-block .plat:hover{
    transform: scale(1.01);
    transition: 0.5s;
}
.menu-block .plat h5{
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.menu-block .plat p{
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.menu-block .plat .allergenes{
    font-size: 1rem;
    color: #9C0D0D;
}
.menu-block .plats{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 2rem;
}
.menu-block .plats h3{
    text-align: center;
    margin-bottom: 1rem;
}

/* MODULE DEMANDE DE RESERVATION */
/*  Formulaire  */
.rrb-reservation-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1A1A1A;
    color: #F5F1E9;
    padding: 2rem;
    border-radius: 8px;
    max-width: 520px;
    margin: 2rem auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.rrb-reservation-form h1 {
    margin-bottom: 2rem;
}

.rrb-reservation-form .inputGroup {
    width: 100%;
}

.rrb-reservation-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.rrb-reservation-form .required {
    color: #9C0D0D;
    margin-left: 0.15rem;
}

.rrb-reservation-form input,
.rrb-reservation-form textarea {
    width: 100%;
    background-color: #2E2E2E;
    color: #F5F1E9;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 0.6rem 0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}


.rrb-reservation-form input::placeholder,
.rrb-reservation-form textarea::placeholder {
    color: #b8b1a6;
}

.rrb-reservation-form input:focus,
.rrb-reservation-form textarea:focus {
    outline: none;
    border-color: #C9B37E;
    box-shadow: 0 0 0 2px rgba(201, 179, 126, 0.35);
}

.rrb-reservation-form textarea {
    min-height: 120px;
    resize: vertical;
}

.rrb-reservation-form button {
    display: inline-block;
    background-color: #C9B37E;
    color: #1A1A1A;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.rrb-reservation-form button[type="submit"]:hover {
    background-color: #E0C895;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.rrb-reservation-form button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.rrb-reservation-form .field-error input,
.rrb-reservation-form .field-error textarea {
    border-color: #9C0D0D;
}

.rrb-reservation-form .field-error-message {
    color: #9C0D0D;
    font-size: 0.8rem;
    margin-top: -0.6rem;
    margin-bottom: 0.8rem;
}

.rrb-success{
    width: 100%;
    background: #9C0D0D;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* GRAND SWIPER */
.rrb_section_slider{
    width: 100%;
    height: auto;
}
.rrb_Swiper {
    width: 100%;
    height: 100%;
}
.rrb_Swiper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 2px solid #C9B37E;
}

/* PRESENTATION */
.rrb_presentation{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}
.rrb_presentation .rrb_presentation_image{
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.rrb_presentation .rrb_presentation_image img{
    width: 400px;
    height: 650px;
    border: 2px solid #C9B37E;
}
.rrb_presentation .rrb_presentation_container{
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.rrb_presentation .rrb_presentation_container h2{
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #C9B37E;
    text-transform: uppercase;
}
.rrb_presentation .rrb_presentation_container h3{
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.rrb_presentation .rrb_presentation_container p{
    width: 80%;
    font-size: 1rem;
    text-align: justify;
}
.rrb_presentation .rrb_presentation_container .btnresa{
    margin-top: 2rem;
}

/* SLIDER IMAGE */
.rrb_slider_image{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 8rem;
}
.rrb_slider_image .troisSlider{
    width: 85%;
}
.rrb_slider_image .troisSlider swiper-slide{
    display: flex;
    justify-content: center;
    align-items: center;
}
.rrb_slider_image .troisSlider swiper-slide img{
    display: block;
    width: 300px;
    height: 500px;
    object-fit: cover;
}


/* Footer */
.site-footer {
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid #F5F1E9;
}

.site-footer .container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.horaires{
    text-transform: uppercase;
}
.horaires h4{
    margin-top: 1rem;
}
.horaires p {
    font-size: 0.8rem;
}

.footer-column {
    margin: 1rem;
}
.footer-column h3 {
    color: #F5F1E9;
    margin-bottom: 5px;
    font-size: 1.3rem;
    text-decoration: underline;
}

.footer-column p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #FFFFFF;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #F5F1E9;
}

.footer-p1{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.footer-p1 .footer-links{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
.footer-p1 .footer-links a{
    margin-left: 1rem;
    color: #F5F1E9;
    text-decoration: none;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom .credits {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-bottom .credits a {
    color: #F5F1E9;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

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

/* --- Section Mentions Légales --- */

#mentions-legales {
    color: #f5f1e9;
    font-family: "Georgia", "Times New Roman", serif;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

#mentions-legales h1 {
    color: #c9b37e;
    font-size: 2.4rem;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
}

#mentions-legales h2 {
    color: #c9b37e;
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 4px solid #c9b37e;
    padding-left: 12px;
}

#mentions-legales p {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

#mentions-legales ul {
    margin: 15px 0 25px 25px;
}

#mentions-legales li {
    margin-bottom: 8px;
}

#mentions-legales a {
    color: #c9b37e;
    text-decoration: none;
    border-bottom: 1px solid #c9b37e;
    transition: 0.3s ease;
}

#mentions-legales a:hover {
    color: #f5f1e9;
    border-bottom-color: #f5f1e9;
}



/* Responsive */
@media (max-width: 768px) {
    .btnresa {
        width: 80%;
        border-radius: 15px;
        margin-left: 0;
        text-align: center;
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .main-navigation {
        width: 100%;
        height: 30%;
        position: absolute;
        top: 7%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column-reverse;
        justify-content: flex-end;
        align-items: center;
        background: #1A1A1A;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 100;
        padding-top: 1rem;
        border-bottom: 1px solid #F5F1E9;
    }

    .main-navigation.active {
        max-height: 500px;
        display: flex;
    }
    .menu-nav-container{
        width: 100%;
    }
    .main-navigation .menu-menu-container {
        width: 90%;
        text-align: center;
        font-size: 1.1rem;
    }
    .main-navigation ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-right: 0;
    }

    .main-navigation li {
        width: 90%;
        padding-top: 1rem;
        padding-bottom: 5px;
        border-bottom: 1px solid #555;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .rrb-reservation-form {
        padding: 1.5rem 1.25rem;
        box-shadow: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }

    .site-footer {
        padding: 2rem 0 1rem;
    }

    /* MENU */
    .menu-block {
        align-items: flex-start;
    }
    .menu-block .menu-header{
        width: 100%;
    }
    .menu-block .menu-header img{
        width: 65px;
    }
    .menu-block .plat{
        width: 90%;
    }
        /* GRAND SWIPER */
    .rrb_section_slider{
        width: 100%;
        height: auto;
        margin-top: 1.2rem;
    }
    .rrb_Swiper {
        width: 100%;
        height: 100%;
    }
    .rrb_Swiper swiper-slide{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .rrb_Swiper img{
        width: 90%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        border-bottom: 0;
    }

    /* PRESENTATION */
    .rrb_presentation{
        flex-direction: column-reverse;
    }
    .rrb_presentation .rrb_presentation_image{
        width: 90%;
    }
    .rrb_presentation .rrb_presentation_image img{
        width: 300px;
        height: 450px;
        margin-top: 2rem;
        object-fit: cover;
        border-radius: 20px;
    }
    .rrb_presentation .rrb_presentation_container{
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .rrb_presentation .rrb_presentation_container h2{
        font-size: 3.5rem;
        margin-bottom: 2rem;
        color: #C9B37E;
        text-transform: uppercase;
    }
    .rrb_presentation .rrb_presentation_container h3{
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .rrb_presentation .rrb_presentation_container p{
        width: 100%;
        font-size: 0.8rem;
        text-align: justify;
    }
    .rrb_presentation .rrb_presentation_container .btnresa{
        margin-top: 2rem;
    }

    /* SLIDER */
    .rrb_slider_image .troisSlider swiper-slide img{
        border-radius: 20px;
        border: 2px solid #C9B37E;
    }
}
@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}