/*
 * MIA SERVICES - Stylesheet Principal
 * Architecture CSS moderne avec Flexbox/Grid
 */

/* ============================================
   RESET & VARIABLES
   ============================================ */
:root {
    --primary-color: #0066CC;
    --primary-light: #3385D6;
    --primary-dark: #004C99;
    --secondary-color: #00509E;
    --accent-color: #FF6B35;
    --accent-light: #FF8C61;
    --dark-color: #1A1A1A;
    --light-color: #F5F5F5;
    --white: #FFFFFF;
    --gray: #666666;
    --light-gray: #E0E0E0;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --info: #17A2B8;
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', sans-serif;
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-sm: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --box-shadow-hover: 0 8px 30px rgba(0, 102, 204, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-danger {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-info {
    background-color: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 42px;
    max-width: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.btn-login {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-login:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.navbar-toggle {
    display: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.navbar-toggle:hover {
    background: #eff6ff;
    color: var(--primary-color);
}

.navbar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1990;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-backdrop.active {
    display: block;
    opacity: 1;
}

.nav-menu-close {
    display: none;
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-menu-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 80px 0;
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.feature {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature p {
    color: var(--gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: var(--light-gray);
    line-height: 1.8;
}

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

.footer-col ul li a {
    color: var(--light-gray);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-gray);
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--light-gray);
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom i {
    color: var(--danger);
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 40px auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.auth-box {
    padding: 60px;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray);
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.auth-info ul {
    margin-top: 30px;
}

.auth-info ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* ============================================
   ERROR PAGE
   ============================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.error-content {
    text-align: center;
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.error-message {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.page-header {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-items {
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row .form-group {
    flex: 1 1 240px;
    min-width: 180px;
}

/* ============================================
   RESPONSIVE - SITE PUBLIC & ÉCRANS PORTABLES
   ============================================ */

/* Écrans d'ordinateurs portables et tablettes paysage (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
    .nav-menu {
        gap: 0.9rem;
    }
    .nav-menu a {
        font-size: 0.88rem;
    }
    .btn-login {
        padding: 6px 12px;
        font-size: 0.84rem;
    }
    .container {
        padding: 0 15px;
    }
}

/* Tablettes et petits écrans (<= 992px) */
@media (max-width: 992px) {
    .navbar-toggle {
        display: flex;
    }
    
    .nav-menu-close {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 75px 22px 30px;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        overflow-y: auto;
        gap: 0.6rem;
    }
    
    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        padding: 11px 15px;
        font-size: 0.98rem;
        border-radius: 8px;
        display: block;
        width: 100%;
        color: #1e293b;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: #eff6ff;
        color: var(--primary-color);
    }

    .nav-menu a.active::after {
        display: none;
    }

    .user-menu.has-dropdown {
        width: 100%;
    }

    .user-menu.has-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        margin-top: 6px;
        width: 100%;
        display: none;
        background: #f8fafc;
    }

    .user-menu.has-dropdown.active .dropdown-menu {
        display: block;
    }

    .auth-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-info {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
}

/* Mobiles (<= 768px) */
@media (max-width: 768px) {
    .form-row .form-group {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .properties-grid,
    .vehicles-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .error-code {
        font-size: 5rem;
    }
}

/* ============================================
   PAGES SERVICES - STYLES ADDITIONNELS
   ============================================ */

/* Filters Section */
.filters-section {
    padding: 40px 0;
    background-color: var(--light-color);
}

.filters-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Properties Grid */
.properties-section,
.vehicles-section,
.products-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 8px 15px;
    border: 1px solid var(--light-gray);
    background-color: var(--white);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.view-btn.active,
.view-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.properties-grid,
.vehicles-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.property-card,
.vehicle-card,
.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.property-card:hover,
.vehicle-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.property-image,
.vehicle-image,
.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img,
.vehicle-image img,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-badges,
.vehicle-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.badge-location,
.badge-vente {
    background-color: var(--success);
    color: var(--white);
}

.badge-available {
    background-color: var(--success);
    color: var(--white);
}

.badge-type {
    background-color: var(--primary-color);
    color: var(--white);
}

.badge-sale {
    background-color: var(--danger);
    color: var(--white);
}

.badge-out-stock,
.badge-out_of_stock {
    background-color: var(--gray);
    color: var(--white);
}

.badge-low-stock {
    background-color: var(--warning);
    color: var(--dark-color);
}

.property-content,
.vehicle-content,
.product-content {
    padding: 20px;
}

.property-header h3,
.vehicle-content h3,
.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.property-location,
.vehicle-brand,
.product-category {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-description,
.vehicle-description,
.product-description {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.property-features,
.vehicle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.property-features span,
.vehicle-features span {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-footer,
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.property-price,
.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 400;
}

.vehicle-pricing {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.price-option {
    flex: 1;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.price-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.vehicle-actions,
.product-actions {
    margin-top: 15px;
}

.product-price {
    margin-bottom: 10px;
}

.price-old {
    display: block;
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.9rem;
}

.product-stock {
    font-size: 0.9rem;
    margin-top: 5px;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.no-results p {
    color: var(--gray);
}

/* CTA Secondary */
.cta-secondary {
    padding: 60px 0;
    background-color: var(--light-color);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-text p {
    color: var(--gray);
}

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

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Detail Pages */
.property-detail,
.vehicle-detail,
.product-detail {
    padding: 60px 0;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.detail-images {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-badges,
.image-badge {
    position: absolute;
    top: 15px;
    left: 15px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.detail-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.detail-subtitle,
.detail-location {
    color: var(--gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-price {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.detail-price-box {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
}

.detail-price .price-label,
.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.detail-price .price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.detail-price-box .price-old {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.detail-price-box .price-current {
    font-size: 2.5rem;
}

.price-save {
    color: var(--success);
    font-weight: 600;
    margin-top: 10px;
}

.detail-features-grid,
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item,
.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.feature-item i,
.spec-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-label,
.spec-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
}

.feature-value,
.spec-value {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
}

.detail-description,
.detail-specs {
    margin-bottom: 30px;
}

.detail-description h3,
.detail-specs h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.pricing-table {
    width: 100%;
    margin: 20px 0;
}

.pricing-table tr {
    border-bottom: 1px solid var(--light-gray);
}

.pricing-table td {
    padding: 15px 10px;
}

.price-cell {
    text-align: right;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.stock-info {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.stock-available {
    color: var(--success);
    background-color: rgba(40, 167, 69, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
}

.stock-unavailable {
    color: var(--danger);
    background-color: rgba(220, 53, 69, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
}

.product-guarantees {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guarantee-item i {
    color: var(--success);
}

/* Cleaning & Services Pages */
.cleaning-services,
.services-intro,
.services-categories {
    padding: 60px 0;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-card-detailed {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.service-card-detailed h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.service-card-detailed p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--gray);
}

.service-features,
.service-list {
    list-style: none;
    padding: 0;
}

.service-features li,
.service-list li {
    padding: 10px 0;
    display: flex;
    align-items: start;
    gap: 10px;
}

.service-features i,
.service-list i {
    color: var(--success);
    margin-top: 3px;
}

.cleaning-approach,
.service-process {
    padding: 60px 0;
    background-color: var(--light-color);
}

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

.approach-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.approach-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.approach-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.why-choose-us,
.advantages-section {
    padding: 60px 0;
}

.features-grid-clean,
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-clean,
.advantage-item {
    text-align: center;
    padding: 20px;
}

.pricing-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.pricing-featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    background-color: var(--light-color);
}

.pricing-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 20px auto 0;
}

.pricing-body {
    padding: 30px;
}

.pricing-price {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: var(--success);
}

.pricing-footer {
    padding: 0 30px 30px;
}

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

.service-box {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.service-box-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.our-clients {
    padding: 60px 0;
    background-color: var(--light-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.client-type {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.client-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
}

.process-timeline {
    max-width: 900px;
    margin: 40px auto 0;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* About Page */
.about-intro {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.img-rounded {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.our-values {
    padding: 60px 0;
    background-color: var(--light-color);
}

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

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.value-card h3 {
    margin-bottom: 15px;
}

.services-overview {
    padding: 60px 0;
}

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

.activity-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.activity-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.activity-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.activity-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
}

.activity-link:hover {
    gap: 12px;
}

.mission-vision {
    padding: 60px 0;
    background-color: var(--light-color);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.our-team {
    padding: 60px 0;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

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

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
}

.why-us-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

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

.why-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.why-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-item h4 {
    margin-bottom: 10px;
}

.categories-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

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

.category-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h4 {
    margin-bottom: 10px;
}

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

/* Include Features Section */
.included-features,
.similar-properties,
.similar-products {
    padding: 60px 0;
    background-color: var(--light-color);
}

.included-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.included-features .feature-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
}

.included-features .feature-item i {
    color: var(--success);
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .detail-grid,
    .about-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .filters-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .properties-grid,
    .vehicles-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   ADMIN DASHBOARD & ERP RESPONSIVE STYLES
   ============================================ */

.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: #f1f5f9;
    position: relative;
}

.admin-sidebar {
    width: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    left: 0;
    top: 0;
    z-index: 1050;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-logo {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 0;
}

.admin-logo h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-logo p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-menu li {
    margin: 0;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.25s;
    border-left: 3px solid transparent;
    font-size: 0.92rem;
}

.admin-menu a:hover,
.admin-menu a.active {
    background-color: rgba(255,255,255,0.15);
    color: white;
    border-left-color: white;
}

.admin-menu i {
    width: 20px;
    text-align: center;
    font-size: 1.05rem;
}

.admin-content {
    flex: 1;
    margin-left: 250px;
    padding: 0;
    background-color: #f1f5f9;
    min-height: 100vh;
    max-width: calc(100% - 250px);
    box-sizing: border-box;
    overflow-x: hidden;
    transition: margin-left 0.3s ease, max-width 0.3s ease;
}

.admin-top-bar {
    display: none;
}

.admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-sidebar-backdrop.active {
    display: block;
    opacity: 1;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.admin-header h1 {
    margin: 0;
    font-size: 1.7rem;
    color: var(--dark-color);
}

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

.admin-content > * {
    padding: 0 30px;
}

.admin-content > .admin-header {
    padding: 20px 30px;
    margin: 0 0 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
    padding: 0 30px;
}

.stat-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon.blue {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
}

.stat-icon.green {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.stat-icon.orange {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
}

.stat-icon.purple {
    background-color: rgba(108, 99, 255, 0.1);
    color: #6C63FF;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    margin: 0 0 4px;
    font-size: 1.8rem;
    color: var(--dark-color);
    font-weight: 800;
}

.stat-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.85rem;
}

.dashboard-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin: 0 30px 20px;
}

.dashboard-card h2 {
    margin: 0 0 18px;
    font-size: 1.2rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.quick-action-btn {
    padding: 18px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.quick-action-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.quick-action-btn i {
    font-size: 1.8rem;
}

.recent-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-items li {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recent-items li:last-child {
    border-bottom: none;
}

.badge-new {
    background-color: var(--success);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 30px 25px;
    padding-bottom: 18px;
    border-bottom: 2px solid #e2e8f0;
}

.admin-content-header h1 {
    margin: 0;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.admin-table-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    margin: 0 30px 25px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.admin-table-card::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}
.admin-table-card::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.admin-table-card::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.admin-table-card::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.admin-table thead {
    background-color: #f8fafc;
}

.admin-table th {
    padding: 13px 15px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 0.9rem;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

.admin-table .actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-icon {
    padding: 6px 10px;
    border: none;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.88rem;
}

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

.btn-icon.btn-danger:hover {
    background-color: var(--danger);
    color: white;
}

.badge-info {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

.text-muted {
    color: var(--gray) !important;
}

.welcome-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.welcome-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.8;
}

.alert-warning {
    background-color: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
}

/* ============================================
   ERP RESPONSIVE SPLIT GRIDS
   ============================================ */

.erp-split-grid,
.dashboard-main-grid,
.facture-detail-grid,
.form-split-grid,
.reservation-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 22px;
    margin-bottom: 25px;
    align-items: start;
}

.client-profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 22px;
    margin-bottom: 25px;
    align-items: start;
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    align-items: start;
}

.erp-split-grid .admin-table-card,
.dashboard-main-grid .admin-table-card,
.facture-detail-grid .admin-table-card,
.form-split-grid .admin-table-card,
.client-profile-grid .admin-table-card,
.reservation-detail-grid .admin-table-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
}

/* ============================================
   RESPONSIVE BREAKPOINTS BACKOFFICE ERP
   ============================================ */

/* Écrans PC Portables Moyens / Compacts (1025px - 1366px) */
@media (max-width: 1366px) {
    .admin-sidebar {
        width: 230px;
    }
    
    .admin-content {
        margin-left: 230px;
        max-width: calc(100% - 230px);
    }
    
    .admin-content > * {
        padding: 0 20px;
    }
    
    .admin-content > .admin-header {
        padding: 16px 20px;
        margin: 0 0 20px;
    }
    
    .admin-content-header {
        margin: 0 20px 20px;
        padding-bottom: 14px;
    }
    
    .admin-table-card {
        margin: 0 20px 20px;
    }
    
    .dashboard-card {
        margin: 0 20px 20px;
    }
    
    .stats-grid {
        padding: 0 20px;
        gap: 15px;
    }
}

/* Bascule des grilles 2 colonnes sur écrans <= 1180px */
@media (max-width: 1180px) {
    .erp-split-grid,
    .dashboard-main-grid,
    .facture-detail-grid,
    .form-split-grid,
    .client-profile-grid,
    .reservation-detail-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Petits écrans PC, Tablettes & Mobiles (<= 1024px) */
@media (max-width: 1024px) {
    .admin-sidebar {
        left: -280px;
        width: 270px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    }
    
    .admin-sidebar.active {
        left: 0;
    }
    
    .admin-content {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .admin-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: white;
        padding: 12px 18px;
        border-bottom: 1px solid #e2e8f0;
        position: sticky;
        top: 0;
        z-index: 990;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    }
    
    .admin-sidebar-toggle {
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        color: #1e293b;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .admin-sidebar-toggle:hover {
        background: #eff6ff;
        color: #0066CC;
    }
    
    .profile-layout {
        grid-template-columns: 1fr !important;
    }
    
    .admin-content > * {
        padding: 0 18px;
    }
    
    .admin-content-header {
        margin: 15px 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-table-card {
        margin: 0 18px 20px;
    }
    
    .dashboard-card {
        margin: 0 18px 20px;
    }
    
    .stats-grid {
        padding: 0 18px;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Smart Mobile (<= 640px) */
@media (max-width: 640px) {
    .admin-content > * {
        padding: 0 12px;
    }
    
    .admin-table-card {
        margin: 0 12px 16px;
        border-radius: 8px;
    }
    
    .admin-content-header {
        margin: 12px 12px 16px;
    }
    
    .stats-grid {
        padding: 0 12px;
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ADMIN FORM STYLES
   ============================================ */

.admin-form {
    padding: 30px;
}

.admin-form .form-group {
    margin-bottom: 18px;
    flex: 1;
}

.admin-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #334155;
    font-size: 0.88rem;
}

.admin-form .form-group input,
.admin-form .form-group select,
.admin-form .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.92rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    font-family: inherit;
    background-color: #fff;
    box-sizing: border-box;
}

.admin-form .form-group input:focus,
.admin-form .form-group select:focus,
.admin-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.admin-form .form-group input::placeholder,
.admin-form .form-group textarea::placeholder {
    color: #94a3b8;
}

.admin-form .form-group select {
    cursor: pointer;
    appearance: auto;
}

.admin-form .form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.admin-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.admin-form .form-row .form-group {
    flex: 1 1 240px;
    min-width: 200px;
    margin-bottom: 8px;
}

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

/* Badge variants for admin tables */
.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    text-decoration: none;
    font-weight: 600;
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
}

/* Message detail styles */
.message-detail .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 18px;
}

.message-detail .form-group {
    flex: 1 1 240px;
}

.message-detail .form-group label {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.message-detail .form-group p {
    font-size: 0.95rem;
    color: #1e293b;
    margin: 0;
}

/* Responsive admin forms */
@media (max-width: 768px) {
    .admin-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .admin-form .form-row .form-group {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    .admin-form {
        padding: 18px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .message-detail .form-row {
        flex-direction: column;
        gap: 12px;
    }
}


/* ============================================
   MODERN VITRINE & HERO ENHANCEMENTS (SAFE FALLBACK)
   ============================================ */

/* ============================================
   HERO 2.0 & AMBIENT MESH GRADIENT
   ============================================ */

.hero-modern {
    position: relative;
    background: linear-gradient(135deg, #070d1e 0%, #0f1f3d 50%, #0b1528 100%);
    color: #ffffff;
    padding: 100px 0 110px;
    overflow: hidden;
    isolation: isolate;
}

.hero-ambient-glow {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 550px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(14, 165, 233, 0.15) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    animation: float 8s ease-in-out infinite alternate;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-main-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #ffffff;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-main-desc {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 740px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.hero-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5), 0 4px 14px rgba(0, 0, 0, 0.2);
    border: none;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 45px rgba(37, 99, 235, 0.7), 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #10b981;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #059669;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
    transform: translateY(-3px);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 50px;
    font-size: 0.95rem;
    color: #94a3b8;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #0f1f3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-left: -8px;
    background: #2563eb;
}

.avatar-stack span:first-child {
    margin-left: 0;
    background: #f59e0b;
}

.avatar-stack span:nth-child(2) { background: #10b981; }
.avatar-stack span:nth-child(3) { background: #8b5cf6; }

/* ============================================
   HERO FAST-BOOKING TAB BAR
   ============================================ */

.fast-search-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 10px;
    max-width: 940px;
    margin: 0 auto;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
}

.fast-tabs-nav {
    display: flex;
    gap: 6px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    overflow-x: auto;
}

.fast-tab-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.fast-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.fast-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.fast-tab-content {
    display: none;
    padding: 22px 14px 12px;
    animation: fadeIn 0.3s ease;
}

.fast-tab-content.active {
    display: block;
}

.fast-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
    gap: 12px;
    align-items: center;
}

.fast-form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.fast-form-group label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #93c5fd;
    margin-bottom: 6px;
    font-weight: 600;
}

.fast-form-control {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    outline: none;
    transition: border 0.2s, background 0.2s;
    width: 100%;
}

.fast-form-control:focus {
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.18);
}

.fast-form-control option {
    background: #0f172a;
    color: #ffffff;
}

/* ============================================
   SERVICES CARDS 2.0
   ============================================ */

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card-modern {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.12);
    border-color: #cbd5e1;
}

.service-card-modern:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: #eff6ff;
    color: #2563eb;
    transition: transform 0.3s ease;
}

.service-card-modern:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: #2563eb;
    color: white;
}

.service-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.service-tag-highlight {
    background: #dbeafe;
    color: #1d4ed8;
}

/* ============================================
   STATS COUNTERS SECTION (Dark Luxury)
   ============================================ */

.stats-section-dark {
    background: #090f1d;
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

.stat-number-modern {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #60a5fa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-modern {
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-sub-modern {
    font-size: 0.82rem;
    color: #64748b;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #2563eb;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: #64748b;
}

.verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #059669;
    font-weight: 600;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: white;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.active {
    border-color: #93c5fd;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

.faq-question {
    padding: 18px 22px;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.02rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-icon {
    font-size: 0.85rem;
    color: #64748b;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 22px;
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 22px 20px;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-float-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #10b981;
    color: white !important;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-widget:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.55);
}

.whatsapp-float-widget i {
    font-size: 1.35rem;
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.2rem;
    }
    .fast-form-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float-widget span {
        display: none;
    }
    .whatsapp-float-widget {
        padding: 14px;
        border-radius: 50%;
        bottom: 18px;
        right: 18px;
    }
}
