/* public/assets/css/style.css */
/* Variables CSS */
:root {
    --primary-orange: #FE6B35;
    --light-orange: #FFF0E8;
    --medium-orange: #FF8A5B;
    --dark-orange: #D54820;
    --darker-orange: #A33518;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(254, 107, 53, 0.1);
    --shadow-hover: 0 4px 20px rgba(254, 107, 53, 0.2);
    --green-shadow: 0 2px 15px rgba(254, 107, 53, 0.15);
}

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-gray);
}

/* Header */
header.header {
    background: var(--primary-orange);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254, 107, 53, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: var(--white);
}

.header .btn-primary {
    background: var(--white);
    color: var(--primary-orange);
    font-weight: 700;
}

.header .btn-primary:hover {
    background: var(--light-gray);
}

.header .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.header .btn-outline:hover {
    background: var(--white);
    color: var(--primary-orange);
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    padding: 100px 20px 120px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero .accent {
    color: var(--light-orange);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Search Container */
.search-container {
    background: var(--white);
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(254, 107, 53, 0.2);
    margin: -50px auto 50px;
    max-width: 1000px;
    border-radius: 15px;
    position: relative;
    z-index: 10;
    border: 3px solid var(--primary-orange);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

/* Form Elements */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-orange);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(254, 107, 53, 0.1);
}

/* Stats Section */
.stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--medium-orange) 100%);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Briques Section */
.briques-section {
    padding: 80px 20px;
    background: var(--white);
}

.briques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.brique-card {
    background: var(--primary-orange);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(254, 107, 53, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.brique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(254, 107, 53, 0.5);
    background: var(--dark-orange);
}

.brique-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary-orange);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.brique-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.brique-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.brique-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat .stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8); 
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--primary-orange) 100%);
}

.features-section .section-title {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.feature-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--darker-orange) 0%, var(--dark-orange) 100%);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.8);
}

/* Chat Window */
.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(254, 107, 53, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
}

.chat-toggle:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 107, 53, 0.5);
}

.chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    border: 3px solid var(--primary-orange);
    z-index: 1000;
}

.chat-window.show {
    display: flex;
}

.chat-header {
    background: var(--primary-orange);
    color: var(--white);
    padding: 15px;
    border-radius: 7px 7px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    color: var(--white);
}

.chat-header p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.chat-close {
    cursor: pointer;
    font-size: 24px;
    color: var(--white);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-orange);
}

.message-content {
    background: var(--light-orange);
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 70%;
}

.message.own {
    flex-direction: row-reverse;
}

.message.own .message-content {
    background: var(--primary-orange);
    color: var(--white);
}

.chat-input {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    outline: none;
}

.chat-input input:disabled,
.chat-input button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Chat AI Typing Indicator */
.typing-indicator .message-content {
    background: var(--light-orange);
    padding: 15px 20px;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Chat message links */
.message-content a {
    color: inherit;
    text-decoration: underline;
}

.message.own .message-content a {
    color: var(--white);
}

.message:not(.own) .message-content a {
    color: var(--primary-orange);
    font-weight: 500;
}

.message-content a:hover {
    text-decoration: none;
}

/* =============================================
   RESPONSIVE STYLES - HEADER & FOOTER
   ============================================= */

/* Desktop - Hamburger hidden by default */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* User menu styles */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.user-avatar:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--light-orange);
    color: var(--primary-orange);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 8px 0;
}

.dropdown-menu .logout {
    color: #dc2626;
}

.dropdown-menu .logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Notifications */
.notifications {
    position: relative;
}

.notification-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    max-height: 400px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.notification-header h4 {
    margin: 0;
    font-size: 1rem;
}

.notification-header button {
    background: none;
    border: none;
    color: var(--primary-orange);
    cursor: pointer;
    font-size: 0.85rem;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.no-notifications {
    padding: 30px;
    text-align: center;
    color: var(--medium-gray);
}

/* Tourist Pass Badge */
.tourist-pass-badge-link {
    text-decoration: none;
}

/* Mobile Auth Links - Hidden on desktop */
.mobile-auth-links {
    display: none;
}

/* =============================================
   TABLET RESPONSIVE (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .user-actions {
        gap: 10px;
    }

    .user-actions .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* =============================================
   MOBILE RESPONSIVE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    /* Header */
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Mobile Navigation Menu */
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary-orange);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 1rem;
        text-align: left;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Hide desktop buttons on mobile */
    .user-actions .btn-outline,
    .user-actions .btn-primary:not(.notification-btn) {
        display: none;
    }

    .user-actions {
        gap: 8px;
    }

    /* Mobile Auth Links - Only visible in mobile menu */
    .mobile-auth-links {
        display: block;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 10px;
    }

    .mobile-auth-links:first-of-type {
        margin-top: 20px;
    }

    .mobile-auth-btn {
        display: block;
        padding: 14px 16px !important;
        border-radius: 10px !important;
        font-size: 1rem;
        text-align: center !important;
        border: 2px solid rgba(255, 255, 255, 0.5);
        background: transparent !important;
    }

    .mobile-auth-btn.mobile-auth-primary {
        background: var(--white) !important;
        color: var(--primary-orange) !important;
        border-color: var(--white);
        font-weight: 600;
    }

    .mobile-auth-btn.mobile-auth-primary:hover {
        background: rgba(255, 255, 255, 0.9) !important;
    }

    /* User avatar smaller on mobile */
    .user-avatar {
        width: 38px;
        height: 38px;
    }

    /* Tourist pass badge on mobile */
    .tourist-pass-badge-link {
        display: none;
    }

    /* Notification dropdown mobile */
    .notification-dropdown {
        position: fixed;
        top: 60px;
        right: 10px;
        left: 10px;
        width: auto;
        max-height: calc(100vh - 80px);
    }

    /* User dropdown mobile */
    .dropdown-menu {
        position: fixed;
        top: 60px;
        right: 10px;
        left: auto;
        min-width: 250px;
        max-width: calc(100vw - 20px);
    }

    /* Main content adjustment */
    .main-content {
        margin-top: 60px;
    }

    /* Hero section */
    .hero {
        padding: 60px 15px 80px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Search form */
    .search-container {
        margin: -40px 15px 30px;
        padding: 20px 15px;
    }

    .search-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .search-form .btn {
        width: 100%;
        justify-content: center;
    }

    /* Section titles */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    /* Stats section */
    .stats-section {
        padding: 40px 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card .stat-number {
        font-size: 2rem;
    }

    /* Briques section */
    .briques-section {
        padding: 50px 15px;
    }

    .briques-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Features section */
    .features-section {
        padding: 50px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Chat window full screen on mobile */
    .chat-window {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        border: none;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    /* Footer */
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-section ul li {
        margin-bottom: 8px;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 15px;
        margin-top: 25px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* =============================================
   SMALL MOBILE RESPONSIVE (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
    /* Header */
    .nav-container {
        height: 55px;
    }

    .logo span {
        display: none;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    /* Navigation */
    .nav-menu {
        top: 55px;
        padding: 15px;
    }

    .nav-menu a {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    /* Main content */
    .main-content {
        margin-top: 55px;
    }

    /* Hero */
    .hero {
        padding: 50px 15px 70px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    /* Search */
    .search-container {
        margin: -35px 10px 25px;
        padding: 15px;
        border-radius: 12px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card .stat-number {
        font-size: 1.75rem;
    }

    .stat-card .stat-label {
        font-size: 0.85rem;
    }

    /* Briques */
    .brique-card {
        padding: 25px 20px;
    }

    .brique-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .brique-card h3 {
        font-size: 1.1rem;
    }

    .brique-card p {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 35px 15px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .footer-logo span {
        font-size: 1.3rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .social-btn {
        width: 36px;
        height: 36px;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 15px;
    }

    .footer-section ul li {
        margin-bottom: 0;
    }

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

    /* Buttons */
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* Dropdowns on mobile */
    .dropdown-menu {
        right: 5px;
        left: 5px;
        width: auto;
    }

    .notification-dropdown {
        right: 5px;
        left: 5px;
    }
}

/* Loading State */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-orange);
    border-radius: 50%;
    border-top-color: var(--primary-orange);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Additional Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }



























/* City Autocomplete Dropdown Styles */
.form-group {
    position: relative;
}

.city-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.city-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-icon {
    color: #666;
    font-size: 14px;
}

.suggestion-content {
    flex: 1;
}

.suggestion-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.suggestion-department {
    font-size: 0.9em;
    color: #666;
}

.suggestion-population {
    font-size: 0.8em;
    color: #999;
    margin-left: auto;
}

/* Loading state */
.suggestion-loading {
    padding: 16px;
    text-align: center;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.suggestion-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No results state */
.suggestion-no-results {
    padding: 16px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Input focus state when suggestions are open */
.form-input.has-suggestions {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .city-suggestions {
        border-radius: 0 0 4px 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .suggestion-item {
        padding: 10px 12px;
    }
    
    .suggestion-name {
        font-size: 0.95em;
    }
    
    .suggestion-department {
        font-size: 0.85em;
    }
}












.main-nav{
    display:none;
}


/* Footer Social Links - SVG Icons */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.social-links .social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-links .social-btn.facebook { background: #1877f2; }
.social-links .social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-links .social-btn.twitter { background: #000000; }
.social-links .social-btn.linkedin { background: #0077b5; }

.social-links .social-btn svg {
    width: 20px;
    height: 20px;
}

/* Legacy support for Font Awesome icons */
.social-links a i {
    color: white;
}