/* General Reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header */
.navbar {
    background-color: #222;
    color: #fff;
    padding: 1rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ff5722;
    padding-left: -0.5rem; /* Adjusted padding to shift slightly */
}

.navbar .logo span {
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 1rem;
    transition: max-height 0.3s ease-in-out;
    padding-left: -0.5rem; /* Added similar padding for balance */
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: #fff;
    font-weight: 300;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #ff5722;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Mobile View Fix for Header */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        padding-left: -0.5rem; /* Adjusted for consistent mobile spacing */
    }

    .nav-links.active {
        max-height: 300px; /* Adjust based on content */
    }

    .menu-toggle {
        display: block;
    }

    .navbar .logo {
        padding-left: -0.5rem; /* Ensure consistent spacing on mobile */
    }
}

/* Hero Section */
.hero {
    background: url('hero-bg.jpg') center/cover no-repeat;
    color: #333;
    text-align: center;
    padding: 5rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #ff5722;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e64a19;
}

/* About Section */
.about {
    background-color: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 800px;
}

/* Guides Section */
.guides {
    padding: 3rem 1rem;
    background-color: #f4f4f4;
    text-align: center;
}

.guides h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background-color: #ff5722;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #e64a19;
}

/* Restaurants Section */
.restaurants {
    background-color: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

.restaurants h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.restaurants p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    margin: 0 auto;
    max-width: 800px;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* General Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-primary {
        font-size: 0.9rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .about p, .restaurants p {
        max-width: 90%;
    }
}

/* Commented out Espace publicitaire */
.nav-links a[href='#espace-publicitaire'] {
    display: none;
}
