/* Base Styles */
body, html {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    color: #333;
}

/* Logo & Typography */
.logo {
    font-family: 'Caveat', cursive;
    font-size: 2.5em;
    font-weight: 700;
    color: #ed7912;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

p {
    line-height: 1.6;
}

/* Navbar */
#navbar {
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

#nav-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

#navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled a {
    color: #333;
}

#navbar.scrolled .logo {
    color: #ed7912;
}

.w3-bar-item {
    transition: color 0.3s ease;
}

.w3-bar-item:hover {
    color: #ed7912 !important;
    background-color: transparent !important;
}

#navbar .w3-button {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #37342d; /* couleur secondaire Café'in */
    padding: 12px 16px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 3px solid transparent;
}

#navbar .w3-button:hover {
    color: #ed7912;
    border-bottom: 3px solid #ed7912;
    background-color: transparent;
}

/* Overlay menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding-top: 60px;
}

.mobile-overlay.show {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.mobile-menu-content a {
    font-size: 1em;
    font-weight: 500;
    color: #37342d;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.mobile-menu-content a:hover {
    color: #ed7912;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #37342d;
    cursor: pointer;
}


/* Hero Section */
.hero-section {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/hero.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ed7912;
}

.w3-content {
    max-width: 1200px;
}

/* Cards Styling */
.service-card, .benefit-card, .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover, .benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
    margin-bottom: 20px;
}

.testimonial-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.w3-button.w3-orange {
    background-color: #ed7912 !important;
    color: white!important;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.w3-button.w3-orange:hover {
    background-color: #37342d !important;
    transform: scale(1.05);
    color: #ed7912!important;
}

/* Conteneur des notifications */
#notification-container {
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
}

/* Style commun */
.notification {
    display: inline-block;   /* pour que la boîte s’adapte au texte */
    padding: 12px 20px;
    margin: 10px auto;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 2px solid transparent;  /* forcé */
}

/* Succès */
.notification.success {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-color: #155724 !important;
}

/* Erreur */
.notification.error {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-color: #721c24 !important;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
}

footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ed7912;
    text-decoration: underline;
}

.social-icons a {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Modal Styles */
.w3-modal-content {
    max-width: 800px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 4em;
    }
    
    .hero-section h2 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 2em;
    }
}

@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 3em;
    }
    
    .hero-section h2 {
        font-size: 1.5em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .w3-button {
        padding: 8px 16px !important;
    }

    #mobile-menu .w3-bar-item {
        font-size: 0.65em;
        padding: 10px 16px;
    }
	
	/* Cache le menu desktop sur mobile */

	.menu-desktop {
        display: none !important;
    }
}
}