/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
/* .header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
} */

.header {
    position: absolute; /* pour qu’il flotte au-dessus du slider */
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    padding: 10px 0;
    background: transparent; /* transparent, tu peux ajuster l’opacité */
    /* display: flex; */
    /* justify-content: center; */
    z-index: 10; /* assure qu’il reste au-dessus du slider */
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(253, 252, 252, 0.834); /* devient opaque au scroll */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* ajoute une légère ombre */
    backdrop-filter: blur(4px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
}

.header .logo img {
    display: block;
}

.header .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header .nav ul li {
    margin-left: 20px;
}

.header .nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header .nav ul li a:hover {
    color: #4CAF50;
}

.header .nav ul li .book-now {
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 15px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.header .nav ul li .book-now:hover {
    background-color: #45a049;
}

/* Button Styles */
.btn {
    background-color: #4CAF50;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 9999px;
    font-size: 18px;
    transition: background-color 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
}

.btn:hover {
    background-color: #45a049;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
}

.services-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #2e7d32;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-item h3 {
    font-size: 24px;
    margin: 20px 0 15px;
    color: #4CAF50;
    padding: 0 20px;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 20px 20px;
}

/* About Section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section .image-half {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.about-section .image-half img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: block;
}

.about-section .text-half {
    flex: 2;
    min-width: 300px;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2e7d32;
}

.about-section p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    background-color: #f0f0f0;
    padding: 80px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #2e7d32;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
/* map */
.contact-form, .contact-info, .contact-map {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    max-width: 580px;
    text-align: left;
}

.contact-form h3, .contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #4CAF50;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    background-color: #4CAF50;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 9999px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background-color: #45a049;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info strong {
    color: #333;
}

.business-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.business-hours h4 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.contact-map iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 5px;
}

/* Footer */
.footer {
    background-color: #222;
    color: #eee;
    padding: 40px 20px;
    text-align: center;
}

.footer .container {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left; */
    display: flex;
    flex-wrap: wrap; /* permet le retour à la ligne sur petit écran */
    justify-content: space-between;
    /* align-items: flex-start; */
    text-align: left; 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer .col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer h3 {
    color: #4CAF50;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    text-decoration: none;
    color: #eee;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #4CAF50;
}

.footer .social-icons {
    display: flex;
    gap: 15px;
}

.footer .social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer .social-icons a:hover {
    transform: translateY(-3px);
}

.footer .rights {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #aaa;
}

/* Booking Page Styles */
.booking-page {
    max-width: 700px;
    margin: 100px auto 50px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px 12px rgba(0,0,0,0.1);
}

.booking-page h2 {
    font-size: 36px;
    color: #2e7d32;
    margin-bottom: 10px;
    text-align: center;
}

.booking-page p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 18px;
}

.booking-form .form-group {
    margin-bottom: 25px;
}

.booking-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #555;
    font-size: 17px;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form input[type="time"],
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.booking-form .datetime-group {
    display: flex;
    gap: 20px;
}

.booking-form .datetime-group > div {
    flex: 1;
}

.booking-form button {
    background-color: #4CAF50;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 9999px;
    font-size: 20px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.booking-form button:hover {
    background-color: #45a049;
}

/* Image optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .header .nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header .nav ul li {
        margin: 5px 10px;
    }
    
    .about-section .image-half {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .booking-form .datetime-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .col {
        margin-bottom: 30px;
    }
    
    .footer .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 28px;
    }
    
    .booking-page {
        padding: 20px;
        margin: 80px auto 30px;
    }
    
    .booking-page h2 {
        font-size: 28px;
    }
}
/* Form Notification Styles */
.form-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease-out;
}

.form-notification.success {
    background: #4CAF50;
}

.form-notification.error {
    background: #f44336;
}

/* Form Validation Styles */
.contact-form input.error,
.contact-form textarea.error {
    border-color: #f44336;
    background-color: #ffebee;
}

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Loading state */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive notifications */
@media (max-width: 768px) {
    .form-notification {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
/* Booking Notification Styles */
.booking-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease-out;
}

.booking-notification.success {
    background: #4CAF50;
}

.booking-notification.error {
    background: #f44336;
}

.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Booking form specific styles */
.booking-form input.error,
.booking-form select.error,
.booking-form textarea.error {
    border-color: #f44336;
    background-color: #ffebee;
}

.booking-form .error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Animations for booking page */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive booking notifications */
@media (max-width: 768px) {
    .booking-notification {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* final */

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: fixed;
    top: 25px;
    right: 20px;
    z-index: 1001;
    background: transparent;
    border: none;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #4CAF50;
}

.mobile-menu ul li .book-now {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    margin-top: 20px;
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header .nav {
        display: none;
    }
    
    .header.scrolled .mobile-menu-toggle span {
        background-color: #333;
    }
    
    /* Hero slider mobile adjustments */
    .hero-slider {
        height: 70vh;
    }
    
    .slide h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .slide p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    /* Services section mobile adjustments */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-section {
        padding: 50px 20px;
    }
    
    /* About section mobile adjustments */
    .about-section {
        flex-direction: column;
        padding: 50px 20px;
    }
    
    .about-section .image-half {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    /* Contact section mobile adjustments */
    .contact-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-form, .contact-info, .contact-map {
        min-width: 100%;
        max-width: 100%;
    }
    
    .contact-map iframe {
        height: 300px;
    }
    
    /* Footer mobile adjustments */
    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
    }
    
    .slide h1 {
        font-size: 1.8rem;
    }
    
    .slide p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .booking-page {
        padding: 20px;
        margin: 80px 15px 30px;
    }
    
    .booking-form .datetime-group {
        flex-direction: column;
        gap: 10px;
    }
}

