:root {
    --primary: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --secondary: #6366f1;
    --accent: #f59e0b;
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.98);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 1.25rem;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 25px 50px -12px rgba(16, 185, 129, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Comparison Canvas Variables */
    --compare-active: #10b981;
    --compare-inactive: #64748b;
    --compare-bg: rgba(255, 255, 255, 0.9);
    --compare-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Admin Specific */
    --admin-sidebar: #0f172a;
    --admin-main: #f1f5f9;
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: inherit; }

/* Layout Container */
.container {
    width: 92%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px -8px rgba(16, 185, 129, 0.5);
}

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

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    height: 95px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.35rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at 80% 20%, #eff6ff 0%, transparent 35%),
                radial-gradient(circle at 10% 80%, #f0fdf4 0%, transparent 35%),
                var(--bg-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.08;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 4rem;
    font-weight: 500;
}

/* Search Bar */
.search-container {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: left;
    padding-left: 0.5rem;
}

.search-field select, 
.search-field input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* Property Grid */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Property Card */
.property-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-image {
    position: relative;
    height: 240px;
}

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

.property-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tag-sale { background: var(--primary); color: white; }
.tag-rent { background: var(--accent); color: white; }

.card-content {
    padding: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.property-info {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

/* ============================================
   MOBILE-FIRST RESPONSIVE SYSTEM
   Covers: Header, Footer, All Pages, All Grids
   ============================================ */

/* --- Mobile Menu Toggle --- */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
    flex-shrink: 0;
}

/* --- Utility Classes --- */
.hidden-mobile  { display: none !important; }
.resp-grid-1  { grid-template-columns: 1fr !important; }

/* ============ TABLET (≤ 992px) ============ */
@media (max-width: 992px) {

    /* Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 0.75rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--border);
        z-index: 9999;
    }
    .nav-links.active { display: flex; }
    .mobile-toggle  { display: block; }
    .nav-actions .btn-outline { display: none; }

    /* About: Mission grid */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 5rem"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    /* Contact: form + info grid */
    div[style*="grid-template-columns: 1.3fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    /* Property detail: main + sidebar */
    div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Calculator: 2-col inputs */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 5rem"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ============ MOBILE (≤ 768px) ============ */
@media (max-width: 768px) {

    /* Header */
    header { height: 80px; }

    /* Global section padding */
    section[style*="padding: 8rem"] { padding: 4rem 0 !important; }
    section[style*="padding: 7rem"] { padding: 4rem 0 !important; }
    section[style*="padding: 6rem"] { padding: 3.5rem 0 !important; }
    section[style*="padding: 5rem"] { padding: 3rem 0 !important; }

    /* Hero headings */
    h1[style*="font-size: 4rem"],
    h1[style*="font-size: 4.25rem"],
    h1[style*="font-size: 3.5rem"] {
        font-size: clamp(2rem, 8vw, 2.75rem) !important;
        line-height: 1.2 !important;
    }
    h2[style*="font-size: 3rem"],
    h2[style*="font-size: 2.75rem"] {
        font-size: clamp(1.6rem, 6vw, 2.25rem) !important;
    }
    h2[style*="font-size: 2.5rem"] {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }

    /* ---- ALL 2-COLUMN GRIDS → 1 column ---- */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns: 1.3fr 1fr"],
    div[style*="grid-template-columns: 1.5fr 1fr"],
    div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ---- ALL 3-COLUMN GRIDS → 1 column ---- */
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* ---- ALL 4-COLUMN GRIDS → 2 columns ---- */
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.25rem !important;
    }

    /* Property grid */
    .property-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

    /* Contact form first name / last name inline → stack */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 1.5rem"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Loan calculator result grid */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 1rem"] {
        grid-template-columns: 1fr !important;
    }

    /* Section with padding inside container */
    .admin-content { padding: 1.5rem !important; }

    /* Search container */
    .search-container { flex-direction: column; padding: 1.5rem; }

    /* Property detail: gallery height */
    div[style*="height: 500px"] { height: 260px !important; }
    div[style*="height: 350px"] { height: 200px !important; }

    /* Property detail: title+price flex → stack */
    div[style*="justify-content: space-between"][style*="align-items: flex-start"] {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    /* Price text-right → left on mobile */
    div[style*="text-align: right"] { text-align: left !important; }

    /* Agency bar on property detail → stack */
    div[style*="display: flex"][style*="align-items: center"][style*="gap: 1.5rem"] {
        flex-wrap: wrap !important;
    }
    div[style*="margin-left: auto"][style*="display: flex"] {
        margin-left: 0 !important;
        width: 100%;
    }

    /* Contact info flex items */
    div[style*="padding: 4rem"] {
        padding: 1.75rem !important;
    }

    /* All btn: revert forced full-width except inside forms */
    .btn { width: auto; }
    form .btn,
    form button[type="submit"] { width: 100%; }

    /* Footer forced stack */
    footer div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    footer div[style*="display: flex"] {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    footer .logo { justify-content: center !important; }

    /* Calculator tabs → stack */
    div[style*="justify-content: center"][style*="gap: 1rem"] button {
        flex: 1;
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
    }

    /* Agents hero large padding */
    section[style*="padding: 8rem 0 6rem"] { padding: 3.5rem 0 2.5rem !important; }

    /* Agents trust badges: forced 2-col */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* About stats: force 2-col */
    section > div > div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Multimedia section on property detail */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 2rem"] {
        grid-template-columns: 1fr !important;
    }

    /* Instagram share link → full width */
    div[style*="display: flex"][style*="gap: 1.5rem"][style*="margin-bottom: 4rem"] {
        flex-wrap: wrap !important;
    }
    div[style*="display: flex"][style*="gap: 1.5rem"][style*="margin-bottom: 4rem"] a {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Join as agent / misc pages */
    section[style*="padding: 8rem 0"] { padding: 3.5rem 0 !important; }
}

/* ============ SMALL PHONES (≤ 480px) ============ */
@media (max-width: 480px) {

    .container { width: 94%; padding: 0 1rem; }

    .logo span { font-size: 0.95rem !important; }

    /* 4-col → 1 col on very small */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    /* Calculator card padding */
    div[style*="padding: 4rem"][class*="calculator"] {
        padding: 1.5rem !important;
    }

    /* All section pads consistent */
    section { padding-left: 0 !important; padding-right: 0 !important; }

    /* Property detail sticky sidebar: un-sticky on mobile */
    div[style*="position: sticky"] { position: relative !important; top: auto !important; }

    /* Agents grid → 1 col */
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* Admin Dashboard Styles */
.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    background: #f1f5f9;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.admin-sidebar {
    background: var(--admin-sidebar);
    min-height: 100vh;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: none;
}
.admin-sidebar::-webkit-scrollbar { display: none; }

.admin-sidebar .logo {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.admin-nav {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.875rem;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.15s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.admin-nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: #cbd5e1;
}

.admin-nav-item.active {
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
    color: var(--primary);
    border-color: rgba(16,185,129,0.15);
}

.admin-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.admin-content {
    padding: 3rem;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-field label {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-field input,
.search-field select,
.search-field textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #f8fafc;
    transition: all 0.2s;
    outline: none;
    width: 100%;
}

.search-field input:focus,
.search-field select:focus,
.search-field textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-table-container {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.search-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
    padding-left: 2rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 0.75rem 0.75rem 0 0;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.tab-btn.active {
    background: var(--card-bg);
    color: var(--primary);
    border-color: var(--border);
}

/* ---- Hidden-desktop utility ---- */
@media (min-width: 769px) { .hidden-desktop { display: none !important; } }

/* ---- Admin Dashboard Mobile ---- */
@media (max-width: 992px) {
    .admin-shell {
        grid-template-columns: 1fr !important;
    }
    .admin-sidebar {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
    }
}

/* ---- Calculator card padding on mobile ---- */
@media (max-width: 768px) {
    #tab-area, #tab-loan {
        padding: 1.75rem !important;
        border-radius: 1.5rem !important;
    }
    #tab-area div[style*="grid-template-columns: 1fr 1fr"],
    #tab-loan div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ---- join-as-agent form mobile ---- */
@media (max-width: 768px) {
    div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }
}
/* 
   ============================================
   TOUR BOOKING SYSTEM — ELITE DESIGN
   ============================================ 
*/

.tour-booking-widget {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Header section with gradient background */
.tour-header {
    margin-bottom: 2rem;
}

.tour-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.tour-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Custom Toggle Switch for Physical/Virtual */
.tour-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.tour-type-toggle label {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.tour-type-toggle input { display: none; }

.tour-type-toggle label.active {
    color: var(--primary);
}

.tour-type-indicator {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    width: calc(50% - 0.35rem);
    height: calc(100% - 0.7rem);
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

#virtual-tour:checked ~ .tour-type-indicator {
    transform: translateX(100%);
}

#virtual-tour:checked ~ label[for="virtual-tour"] { color: var(--primary); }
#physical-tour:checked ~ label[for="physical-tour"] { color: var(--primary); }

/* Form Fields Styling */
.tour-form-group {
    margin-bottom: 1.25rem;
}

.tour-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.tour-input-wrapper {
    position: relative;
}

.tour-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tour-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 2.75rem;
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    border-radius: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
}

.tour-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Date/Time selections grid */
.tour-datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Booking button effects */
.tour-book-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 1.25rem;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

.tour-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -8px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

.tour-book-btn:active { transform: scale(0.98); }

.tour-book-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

/* Success Overlay */
.tour-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    z-index: 100;
    animation: fadeIn 0.4s ease forwards;
}

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

.success-icon-badge {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    animation: scalePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scalePop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.tour-success-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tour-success-overlay p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* 
   ============================================
   FAVORITES WISHLIST SYSTEM — PREMIUM UI
   ============================================ 
*/

.wishlist-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    color: #94a3b8; /* Slate Slate 400 */
    position: relative;
    z-index: 10;
}

.wishlist-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    color: #f43f5e; /* Rose 500 */
}

.wishlist-btn.active {
    background: #f43f5e;
    color: white;
    box-shadow: 0 10px 20px rgba(244, 63, 94, 0.3);
    animation: heartPulse 0.5s ease;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.wishlist-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Tooltip for buttons */
.wishlist-btn::after {
    content: "Add to Wishlist";
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0f172a;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.wishlist-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wishlist-btn.active::after {
    content: "Saved in Wishlist";
}

/* 
   ============================================
   COMPARISON CANVAS SYSTEM — PROFESSIONAL 
   ============================================ 
*/

.compare-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 20;
}

.compare-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.compare-btn:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 12px 24px -6px rgba(16, 185, 129, 0.3);
}

.compare-btn:hover i {
    transform: rotate(15deg);
}

.compare-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.5);
    animation: bounce-active 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounce-active {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.1); }
}

/* Tooltip for compare button */
.compare-btn::after {
    content: attr(title);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0f172a;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 100;
}

.compare-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Comparison Floating Bar - Premium Aesthetics */
.compare-float-bar-container {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: white;
    padding: 0.8rem 1.1rem;
    padding-right: 0.8rem;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
    z-index: 2500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.compare-float-bar-container.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.compare-count-badge {
    background: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    animation: pulse-primary 2.5s infinite;
}

@keyframes pulse-primary {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.compare-analyze-link {
    background: var(--primary);
    color: white !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.7rem 1.6rem;
    border-radius: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.compare-analyze-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.compare-clear-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-clear-btn:hover {
    background: rgba(244, 63, 94, 0.2);
    color: #f43f5e;
}

/* 
   ============================================
   NAVIGATION EXTRA LINKS & BADGES
   ============================================ 
*/

.nav-extra-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.nav-extra-link:hover {
    background: rgba(0,0,0,0.04);
}

.nav-badge {
    position: absolute;
    top: -5px;
    right: -2px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: badgeScale 0.3s ease;
}

@keyframes badgeScale {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Fix for mobile drawer icons */
.mobile-drawer a i[style*="color: #f43f5e"] {
    color: #f43f5e !important;
}
