/* ============================================
   Guide Béjaïa - Styles principaux
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #00AEEF;
    --primary-dark: #0089BC;
    --secondary: #FFF200;
    --accent: #E9C46A;
    --text: #0F172A;
    --text-light: #64748B;
    --bg: #ffffff;
    --bg-alt: #F8FAFC;
    --border: #E2E8F0;
    --shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 50px -10px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --font-body: 'ABeeZee', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'ABeeZee', Georgia, serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body, 'Segoe UI', system-ui, -apple-system, sans-serif);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

a:hover {
    color: var(--primary-dark);
}

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

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

/* ============================================
   Header
   ============================================ */
/* ============================================
   Header & Navigation (Modern Redesign)
   ============================================ */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transparent mode for immersive pages */
.site-header--transparent:not(.site-header--shrunk) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: -77px; /* Pull the subsequent content (e.g. hero section) up under the header */
}

.site-header--transparent:not(.site-header--shrunk) .logo-text {
    -webkit-text-fill-color: white;
}

.site-header--transparent:not(.site-header--shrunk) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.site-header--transparent:not(.site-header--shrunk) .nav-link:hover {
    color: white;
}

.site-header--shrunk {
    padding: 2px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 30px;
    transition: padding 0.3s ease;
}

.site-header--shrunk .header-inner {
    padding: 10px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.logo-text {
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Desktop */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    padding: 8px 4px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap; /* Prevent wrapping on desktop */
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}


.nav-link .chevron {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdowns & Mega Menu Base */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .nav-link .chevron {
    transform: rotate(180deg);
}

/* Search Action in Header */
.header-search-action {
    display: flex;
    align-items: center;
}
.header-search-action .search-autocomplete-wrap {
    position: relative;
}

/* Hide / Show Utilities */
@media (min-width: 993px) {
    .hide-on-desktop { display: none !important; }
}
@media (max-width: 992px) {
    .hide-on-mobile { display: none !important; }
}

/* Mega Menu (Desktop) */
@media (min-width: 993px) {
    .mega-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        background: #ffffff;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border-radius: var(--radius-lg);
        padding: 20px 24px;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        min-width: 250px;
        border: 1px solid rgba(0,0,0,0.05);
        z-index: 1050;
    }
    
    .mega-menu-wide {
        min-width: 500px;
    }

    .nav-item-dropdown:hover .mega-menu {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(2px);
    }

    .mega-menu-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        list-style: none;
    }

    .mega-menu-grid.dual-col {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
    }

    .mega-menu-grid a {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        color: var(--text);
        border-radius: var(--radius);
        transition: all 0.2s ease;
        font-weight: 500;
        font-size: 0.95rem;
        white-space: nowrap; /* Prevent wrapping on desktop */
    }

    .mega-menu-grid a:hover {
        background: var(--bg-alt);
        color: var(--primary);
        transform: translateX(4px);
    }

    .mega-menu-grid .icon {
        margin-right: 12px;
        font-size: 1.25rem;
        width: 24px;
        text-align: center;
    }
}

/* Mega Menu Accordion (Mobile) */
@media (max-width: 992px) {
    .nav-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        margin-bottom: 10px;
    }
    
    .nav-mobile-title {
        font-weight: 800;
        font-size: 1.2rem;
        color: var(--text);
        letter-spacing: -0.5px;
    }
    
    .mobile-menu-close {
        background: var(--bg-alt);
        border: none;
        width: 44px; /* Larger hit area */
        height: 44px;
        border-radius: 12px;
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        cursor: pointer;
        transition: all 0.2s ease;
        z-index: 2001; /* Ensure it's on top */
    }
    
    .mobile-menu-close:active {
        transform: scale(0.9);
        background: var(--border);
    }

    .nav-mobile-search {
        padding: 15px 20px;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .nav-mobile-search .search-form { 
        display: flex; 
        width: 100%;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0,0,0,0.1);
    }
    
    .nav-mobile-search input { 
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
    }

    .mega-menu {
        display: none;
        background: rgba(0, 0, 0, 0.03);
        margin: 5px 20px;
        border-radius: var(--radius);
        overflow: hidden;
    }

    .nav-item-dropdown.active .mega-menu {
        display: block;
        animation: fadeInDown 0.3s ease;
    }

    .mega-menu-grid { list-style: none; }
    .mega-menu-grid.dual-col { display: flex; flex-direction: column; }

    .mega-menu-grid a {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        color: var(--text-light);
        border-bottom: 1px solid rgba(0,0,0,0.03);
        font-size: 0.95rem;
        white-space: nowrap; /* Prevent wrapping */
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mega-menu-grid a:last-child { border-bottom: none; }
    .mega-menu-grid a:hover { color: var(--primary); }

    .mega-menu-grid .icon {
        margin-right: 12px;
        font-size: 1.15rem;
    }

    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Blog Index Layout */
.blog-header {
    background: var(--bg-alt);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.sidebar-widget h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--primary);
    border-bottom: 2px solid var(--bg-alt);
    padding-bottom: 10px;
}

.category-links {
    list-style: none;
    padding: 0;
}

.category-links li a {
    display: block;
    padding: 8px 0;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.category-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

.promo-widget h3 {
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.promo-widget .btn-primary {
    background: white;
    color: var(--primary);
    width: 100%;
    margin-top: 15px;
}

.promo-widget .btn-primary:hover {
    background: var(--bg-alt);
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}


.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s var(--hp-ease) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.4);
}

.nav-cta::after {
    display: none !important;
}

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search Bar Improvement */
.search-form {
    display: flex;
    position: relative;
    background: var(--bg-alt);
    border-radius: 50px;
    padding: 2px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.search-form input {
    padding: 8px 40px 8px 20px;
    border: none;
    background: transparent;
    border-radius: 50px;
    width: 180px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: width 0.3s ease;
}

.search-form input:focus {
    width: 240px;
    outline: none;
}

.search-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.search-submit:hover {
    background: var(--primary);
    color: white;
}

#header-search-spinner {
    position: absolute;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Autocomplete suggestions (header, mobile, hero) */
.search-autocomplete-wrap { position: relative; }
.suggestions-container {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 300;
}
#search-suggestions-list {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 200;
    max-height: 420px;
    overflow-y: auto;
}
#search-suggestions-list:empty { display: none; }
.suggestions-group-label {
    padding: 8px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9aabb8;
}
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.15s;
}
.suggestion-item:hover { background: #f6f8fa; }
.suggestion-icon { font-size: 1rem; flex-shrink: 0; }
.suggestion-name { flex: 1; font-weight: 500; font-size: 0.92rem; }
.suggestion-meta { font-size: 0.78rem; color: #9aabb8; }
.suggestions-empty { padding: 14px 16px; color: #9aabb8; font-size: 0.9rem; }
.suggestions-footer { border-top: 1px solid #f0f4f8; padding: 4px 0; }
.suggestion-see-all {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #00AEEF;
    text-align: center;
}
.suggestion-see-all:hover { background: #f0f7fa; }

/* Constrained dropdown for the mobile search bar */
@media (max-width: 992px) {
    .suggestions-container { max-height: 300px; }
}

/* Mobile Toggle Animation (Hamburger) */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    background: var(--bg-alt);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1002;
    transition: background 0.2s;
}

.mobile-menu-toggle:hover {
    background: var(--border);
}

.mobile-menu-toggle .line {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.line-1 { top: 16px; }
.line-2 { top: 21px; width: 14px !important; }
.line-3 { top: 26px; }

.mobile-menu-toggle[aria-expanded="true"] .line-1 {
    transform: translateY(5px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .line-2 {
    opacity: 0;
    transform: translateX(-10px);
}
.mobile-menu-toggle[aria-expanded="true"] .line-3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Nav Overlay & Drawer */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 85vw;
        max-width: 380px;
        height: 100vh;
        background: #ffffff; /* Solid white to fix all blur issues */
        z-index: 2000;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.drawer-open {
        transform: translate3d(0, 0, 0);
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0 20px 40px;
    }

    .main-nav .nav-item-dropdown {
        width: 100%;
    }

    .main-nav .nav-link {
        font-size: 1.1rem;
        font-weight: 700;
        padding: 18px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #1a1a1a !important; /* Force visibility in the white drawer */
        white-space: nowrap;
    }

    .main-nav .nav-link .chevron {
        font-size: 0.9rem;
        opacity: 0.3;
    }

    .main-nav .nav-cta {
        margin-top: 30px;
        width: 100%;
        font-size: 1.1rem !important;
        border-radius: 16px;
    }

    .search-form {
        display: none; 
    }
    
    /* Animation for menu items */
    .main-nav.drawer-open .nav-list > li {
        animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    
    .main-nav.drawer-open .nav-list > li:nth-child(1) { animation-delay: 0.1s; }
    .main-nav.drawer-open .nav-list > li:nth-child(2) { animation-delay: 0.15s; }
    .main-nav.drawer-open .nav-list > li:nth-child(3) { animation-delay: 0.2s; }
    .main-nav.drawer-open .nav-list > li:nth-child(4) { animation-delay: 0.25s; }
    .main-nav.drawer-open .nav-list > li:nth-child(5) { animation-delay: 0.3s; }

    /* Backdrop logic */
    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes slideInRight {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   UI Utilities
   ============================================ */
.section-padding {
    padding: 80px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 10px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    opacity: 0.9;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

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

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

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

/* ============================================
   Hero & Tourism
   ============================================ */
.hero {
    position: relative;
    color: white;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
}

.tourism-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-search form {
    display: flex;
    background: white;
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.weather-mini {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
}

.weather-icon { font-size: 1.5rem; }
.weather-temp { font-weight: 700; font-size: 1.2rem; }
.weather-city { opacity: 0.8; font-size: 0.9rem; }

/* Incontournables / Cards Custom */
.landmark-card .card-image {
    height: 250px;
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Tourism Specific Elements */
.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e1f5fe;
    color: #0288d1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
    transition: var(--transition);
}

.btn-maps:hover {
    background: #0288d1;
    color: white;
}

.btn-maps-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.card-badge-top {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #2c3e50;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow);
    z-index: 2;
}

.card-footer-tourism {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 100px 0;
}





.hero-search button {
    padding: 20px 35px;
    background: var(--secondary);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search button:hover {
    background: #b8935f;
}

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

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius);
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

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

.category-card .icon {
    font-size: 2rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

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

.section-header h2 {
    font-size: 2rem;
    color: var(--text);
}

/* ============================================
   Cards
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card a {
    color: inherit;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
   Blog Cards
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Landmarks
   ============================================ */
.landmarks-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.landmark-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.landmark-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.landmark-card h3 {
    position: absolute;
    bottom: 40px;
    left: 20px;
    font-size: 1.5rem;
}

.landmark-card p {
    position: absolute;
    bottom: 20px;
    left: 20px;
    opacity: 0.9;
}

/* ============================================


/* ============================================
   Buttons
   ============================================ */
.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

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

/* ============================================
   Footer
   ============================================ */

/* ============================================
   Ads
   ============================================ */
.ad-container {
    text-align: center;
    margin: 30px 0;
}

.ad-header {
    background: var(--bg-alt);
    padding: 10px 0;
    text-align: center;
}

.ad-footer {
    background: var(--bg-alt);
    padding: 20px 0;
    text-align: center;
}

.ad-content {
    margin: 40px 0;
    text-align: center;
}

.ad-placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
}

.ad-wrapper {
    width: 100%;
    text-align: center;
}

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

.ad-infeed {
    text-align: center;
    padding: 10px 0;
}

.ad-map-bottom {
    margin: 8px auto 48px;
    max-width: 800px;
    text-align: center;
}

.ad-article-inline {
    margin: 2.5rem 0 1.5rem;
    text-align: center;
}

.ad-article-inline .ad-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: #f8fbff;
}

.ad-fiche-bottom {
    margin: 0 0 40px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 14px;
    text-align: center;
}

.ad-fiche-bottom .ad-placeholder {
    min-height: 90px;
}

/* ============================================
   Category Header & Listing Pages
   ============================================ */
.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 110px 0 60px;
    text-align: center;
}

.category-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.category-header p {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto;
}

.places-list {
    padding: 50px 0;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.place-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.place-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.place-card a {
    color: inherit;
    text-decoration: none;
}

.place-card .card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.place-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.place-card:hover .card-image img {
    transform: scale(1.06);
}

.place-card .card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    color: var(--text);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

.place-card .card-content {
    padding: 20px;
}

.place-card .card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text);
}

.place-card .card-address {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.place-card .card-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   Business/Place Detail Page
   ============================================ */
.place-detail {
    padding-bottom: 60px;
}

/* Breadcrumb */
.place-detail > nav.breadcrumb {
    background: var(--bg-alt);
    padding: 14px 20px;
    font-size: 0.88rem;
}

.place-detail > nav.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 1200px;
    margin: 0 auto;
}

.place-detail > nav.breadcrumb li {
    display: flex;
    align-items: center;
}

.place-detail > nav.breadcrumb li::after {
    content: '›';
    margin: 0 8px;
    color: var(--text-light);
}

.place-detail > nav.breadcrumb li:last-child::after {
    display: none;
}

.place-detail > nav.breadcrumb a {
    color: var(--primary);
}

.place-detail > nav.breadcrumb span {
    color: var(--text-light);
}

/* Place Header */
.place-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 48px 20px 40px;
}

.place-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.place-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.place-category {
    background: rgba(255,255,255,0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.badge-verified {
    background: rgba(76, 175, 80, 0.3);
    color: #c8e6c9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-status.open {
    background: rgba(76, 175, 80, 0.25);
}

.badge-status.closed {
    background: rgba(244, 67, 54, 0.25);
}

.place-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.place-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rating-stars {
    color: var(--accent);
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 700;
    font-size: 1.05rem;
}

.rating-count {
    opacity: 0.8;
    font-size: 0.9rem;
}

.place-address {
    opacity: 0.9;
    font-size: 1rem;
    margin-bottom: 12px;
}

.place-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    background: rgba(255,255,255,0.18);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    backdrop-filter: blur(4px);
}

/* Gallery */
.place-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0;
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.gallery-hero figure {
    margin: 0;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.gallery-thumb {
    width: 100px;
    height: 70px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: none;
    padding: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary);
}

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

.gallery-thumb.more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Place Grid (main + sidebar) */
.place-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Main Content */
.place-main {
    min-width: 0;
}

/* CTA Mobile */
.cta-mobile-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
    z-index: 90;
    gap: 10px;
}

.cta-mobile-sticky .btn-cta {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

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

.btn-whatsapp {
    background: #25d366;
    color: white !important;
}

/* Place Sections */
.place-section {
    margin-bottom: 40px;
}

.place-section h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-alt);
}

.description-content {
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.85;
}

/* Services */
.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.services-list li {
    padding: 10px 14px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 0.92rem;
}

/* Practical Info */
.practical-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.practical-item {
    background: var(--bg-alt);
    padding: 20px;
    border-radius: var(--radius);
}

.practical-item h4 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 12px;
}

.hours-table {
    width: 100%;
    font-size: 0.9rem;
    border-collapse: collapse;
}

.hours-table td {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.hours-table tr.today td {
    font-weight: 700;
    color: var(--primary);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-symbol {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 700;
}

.price-label {
    color: var(--text-light);
    font-size: 0.92rem;
}

.payment-list,
.amenities-list {
    list-style: none;
}

.payment-list li,
.amenities-list li {
    padding: 6px 0;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
}

.payment-list li:last-child,
.amenities-list li:last-child {
    border-bottom: none;
}

/* Map */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.btn-directions {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--primary) !important;
    text-decoration: none;
    transition: var(--transition);
}

.btn-directions:hover {
    background: var(--primary);
    color: white !important;
}

/* Reviews */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.reviews-header h2 {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.reviews-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.reviews-average {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.reviews-total {
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews-empty {
    color: var(--text-light);
    font-style: italic;
    padding: 20px 0;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.review-card {
    background: var(--bg-alt);
    padding: 20px;
    border-radius: var(--radius);
}

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

.review-author {
    font-weight: 600;
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-rating .stars {
    color: var(--accent);
    letter-spacing: 2px;
}

.review-title {
    font-size: 1rem;
    margin: 8px 0;
}

.review-content {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Review Form */
.review-form-container {
    background: var(--bg-alt);
    padding: 28px;
    border-radius: var(--radius-lg);
}

.review-form-container h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.review-form label span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.review-form input,
.review-form select,
.review-form textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.btn-submit {
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Similar Grid */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.similar-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
    background: white;
}

.similar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.similar-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.similar-info {
    padding: 14px;
}

.similar-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.similar-rating {
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
}

/* ============================================
   Sidebar
   ============================================ */
.place-sidebar {
    min-width: 0;
}

.sidebar-sticky {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-box {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.cta-box h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: var(--text);
}

.btn-cta-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-cta-primary.btn-phone {
    background: var(--primary);
    color: white !important;
}

.btn-cta-primary.btn-phone:active {
    transform: translateY(0);
    opacity: 0.9;
}

.btn-cta-primary.btn-whatsapp {
    background: #25d366;
    color: white !important;
}

.btn-cta-primary.btn-whatsapp:hover {
    background: #1da851;
}

.btn-cta-primary.btn-whatsapp:active {
    transform: translateY(0);
    opacity: 0.9;
}

.cta-sub {
    font-size: 0.82rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2px;
}

.btn-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text) !important;
    font-weight: 500;
    margin-bottom: 8px;
    transition: var(--transition);
    text-decoration: none;
    min-height: 44px;
}

.btn-cta-secondary:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: rgba(26, 95, 122, 0.04);
}

.btn-cta-secondary:active {
    background: rgba(26, 95, 122, 0.1);
    transform: translateY(0);
}

/* Social + Info boxes */
.social-box,
.info-box,
.share-box {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.social-box h4,
.info-box h4,
.share-box h4 {
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--text);
}

.info-box address {
    font-style: normal;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

.contact-item {
    margin-top: 12px;
    font-size: 0.92rem;
}

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

.hours-compact {
    width: 100%;
    font-size: 0.88rem;
    border-collapse: collapse;
}

.hours-compact td {
    padding: 5px 0;
}

.hours-compact tr.today td {
    font-weight: 700;
    color: var(--primary);
}

/* Share buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.share-btn.fb {
    background: #e7f0ff;
    color: #1877f2;
}

.share-btn.fb:hover {
    background: #1877f2;
    color: white;
}

.share-btn.tw {
    background: #e8f5fd;
    color: #1da1f2;
}

.share-btn.tw:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.wa {
    background: #e7fbe9;
    color: #25d366;
}

.share-btn.wa:hover {
    background: #25d366;
    color: white;
}

.share-btn.copy {
    background: var(--bg-alt);
    color: var(--text-light);
}

.share-btn.copy:hover {
    background: var(--text);
    color: white;
}

/* ============================================
   SEO Pages (Visit, Landmarks, etc.)
   ============================================ */
.page-header {
    padding: 60px 0;
    text-align: center;
}

.page-header h1,
.page-header .display-4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header .lead {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .place-grid {
        grid-template-columns: 1fr;
    }

    .place-sidebar {
        order: -1;
    }

    .sidebar-sticky {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-box {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form-box h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.alert-success-box {
    background: #d4edda;
    color: #155724;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-error-box {
    background: #f8d7da;
    color: #721c24;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Alerts (forms) */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    border: 1px solid transparent;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.alert svg {
    flex-shrink: 0;
}

.loading-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 3px solid rgba(0, 174, 239, 0.25);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

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

.flex { display: flex; }
.items-center { align-items: center; }
.gap-4 { gap: 1rem; }
.mt-4 { margin-top: 1rem; }
.stroke-current { stroke: currentColor; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.shrink-0 { flex-shrink: 0; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.inline { display: inline; }
.mr-1 { margin-right: 0.25rem; }
.text-primary { color: var(--primary); }

.contact-info-box {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-info-box h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

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

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-info-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    padding: 50px 0;
    border-top: 2px solid var(--border);
}

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

.feature-card {
    background: var(--bg-alt);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-section {
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    margin-top: 12px;
}

.legal-section li {
    padding: 6px 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animations for grids */
.cards-grid .card:nth-child(2) .fade-in,
.places-grid .place-card:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .card:nth-child(3) .fade-in,
.places-grid .place-card:nth-child(3) { transition-delay: 0.2s; }
.cards-grid .card:nth-child(4) .fade-in,
.places-grid .place-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   Mobile Navigation (open state)
   ============================================ */
.main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    padding: 20px;
}

.main-nav.open .nav-list {
    flex-direction: column;
    gap: 0;
}

.main-nav.open .nav-list li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
}

.main-nav.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    border-radius: 0;
}

.main-nav.open .dropdown-menu li a {
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--border);
}

.main-nav.open .nav-link-dropdown::after {
    display: none;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
}

/* ============================================
   Pagination
   ============================================ */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-link.prev,
.page-link.next {
    background: var(--bg-alt);
}

.page-dots {
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-search form {
        flex-direction: column;
    }
    
    .hero-search input,
    .hero-search button {
        width: 100%;
    }
    
    .hero-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-card {
        flex-direction: row;
        width: 100%;
        max-width: 300px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .landmarks-preview {
        grid-template-columns: 1fr;
    }
    

    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .place-title {
        font-size: 1.7rem;
    }

    .places-grid {
        grid-template-columns: 1fr;
    }

    .practical-grid {
        grid-template-columns: 1fr;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .review-form .form-row {
        grid-template-columns: 1fr;
    }

    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-mobile-sticky {
        display: flex;
    }

    .category-header h1 {
        font-size: 1.8rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    

}
