/* Premium Tour-Themed Styling System for VirajBundle */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0d9488; /* Teal */
    --primary-hover: #0f766e;
    --primary-light: rgba(13, 148, 136, 0.08);
    --accent: #f59e0b; /* Golden Amber */
    --accent-hover: #d97706;
    --dark-slate: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-100: #f1f5f9;
    --light-bg: #f8fafc;
    --card-shadow: 0 12px 36px rgba(15, 23, 42, 0.03);
    --card-hover-shadow: 0 20px 45px rgba(13, 148, 136, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--slate-700);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--dark-slate);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar & Header Redesign */
#mainNavbar {
    transition: var(--transition-smooth);
    padding: 12px 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border: none !important;
}

#mainNavbar.navbar-transparent {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(13, 148, 136, 0.08) !important;
    box-shadow: none !important;
}

/* Homepage Transparent Header (White text on dark banner background) */
#mainNavbar.navbar-transparent.navbar-home {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
}

#mainNavbar.navbar-transparent.navbar-home .nav-link-custom {
    color: rgba(255, 255, 255, 0.95) !important;
}

#mainNavbar.navbar-transparent.navbar-home .nav-link-custom:hover {
    color: var(--accent) !important;
}

#mainNavbar.navbar-transparent.navbar-home .lang-btn {
    color: rgba(255, 255, 255, 0.95) !important;
}

#mainNavbar.navbar-transparent.navbar-home .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

#mainNavbar.navbar-transparent.navbar-home .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

#mainNavbar.navbar-transparent.navbar-home .nav-link-custom.active::after {
    background-color: #ffffff !important;
}

#mainNavbar.navbar-transparent.navbar-home .profile-btn {
    background: #ffffff !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#mainNavbar.navbar-transparent.navbar-home .profile-btn:hover {
    background: var(--slate-100) !important;
    color: var(--primary-hover) !important;
}

/* Inner Pages Transparent Header (Teal text on light page backgrounds) */
#mainNavbar.navbar-transparent:not(.navbar-home) {
    background: rgba(248, 250, 252, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.12) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
}

body.inner-page {
    padding-top: 85px !important;
}

#mainNavbar.navbar-transparent:not(.navbar-home) .nav-link-custom {
    color: var(--primary) !important;
}

#mainNavbar.navbar-transparent:not(.navbar-home) .nav-link-custom:hover {
    color: var(--primary-hover) !important;
}

#mainNavbar.navbar-transparent:not(.navbar-home) .lang-btn {
    color: var(--primary) !important;
}

#mainNavbar.navbar-transparent:not(.navbar-home) .navbar-toggler {
    border-color: #0d9488 !important;
}

#mainNavbar.navbar-transparent:not(.navbar-home) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d9488' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#mainNavbar.navbar-transparent:not(.navbar-home) .nav-link-custom.active::after {
    background-color: var(--primary) !important;
}

#mainNavbar.navbar-transparent:not(.navbar-home) .profile-btn {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

#mainNavbar.navbar-transparent:not(.navbar-home) .profile-btn:hover {
    background: var(--primary-hover) !important;
    color: white !important;
}


#mainNavbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

#mainNavbar.navbar-scrolled .nav-link-custom {
    color: var(--slate-600) !important;
}

#mainNavbar.navbar-scrolled .nav-link-custom:hover {
    color: var(--primary) !important;
}

#mainNavbar.navbar-scrolled .lang-btn {
    color: var(--slate-600) !important;
}

#mainNavbar.navbar-scrolled .navbar-toggler {
    border-color: #0d9488 !important;
}

#mainNavbar.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d9488' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}


.navbar-brand-img {
    height: 48px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-link-custom {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--slate-600) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition-smooth);
    white-space: nowrap !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: right;
}

.nav-link-custom:hover {
    color: var(--primary) !important;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-custom.active {
    color: var(--primary) !important;
    font-weight: 600;
    border-bottom: none !important;
    text-decoration: none !important;
}

.nav-link-custom::before {
    display: none !important;
}

.nav-link-custom {
    border: none !important;
    text-decoration: none !important;
}


.nav-btn-custom {
    border: none;
    background: transparent !important;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--slate-600) !important;
    padding: 8px 16px !important;
    transition: var(--transition-smooth);
    outline: none;
    white-space: nowrap !important;
}

.nav-btn-custom:hover {
    color: var(--primary) !important;
}

/* User profile & action buttons */
.profile-btn {
    background: var(--primary) !important;
    border: none !important;
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 20px !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.2);
    transition: var(--transition-smooth);
    white-space: nowrap !important;
}

.profile-btn:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
}

.signin-btn {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 600;
    transition: var(--transition-smooth);
    white-space: nowrap !important;
}

.signin-btn:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 148, 136, 0.2);
}

.register-link {
    color: var(--slate-600) !important;
    font-weight: 500;
    text-decoration: none;
    margin-right: 15px;
    transition: var(--transition-smooth);
    white-space: nowrap !important;
}

.register-link:hover {
    color: var(--primary) !important;
}

.lang-btn {
    white-space: nowrap !important;
}

/* Laptop / Notebook Screen Header Fitting (screens under 1600px) */
@media (min-width: 992px) and (max-width: 1599px) {
    #mainNavbar .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .navbar-nav.sffv {
        gap: 0.2rem !important;
    }

    .nav-link-custom {
        padding: 5px 8px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }

    .nav-btn-custom {
        padding: 5px 8px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }

    .register-link {
        font-size: 0.82rem !important;
        margin-right: 6px !important;
        padding: 4px 6px !important;
        white-space: nowrap !important;
    }

    .signin-btn {
        font-size: 0.82rem !important;
        padding: 5px 12px !important;
        white-space: nowrap !important;
    }

    .lang-btn {
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }

    .profile-btn {
        padding: 5px 12px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }

    .balance-display {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }

    .header-gard-container {
        padding-left: 4px !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        white-space: nowrap !important;
    }

    .navbar-brand-img {
        height: 38px !important;
    }
}

.cart-circle {
    background-color: var(--primary) !important;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: var(--transition-smooth);
}

.cart-circle:hover {
    background-color: var(--primary-hover) !important;
    transform: scale(1.05);
}

.balance-display {
    background: rgba(13, 148, 136, 0.08);
    border-radius: 50px;
    padding: 6px 14px;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.balance-display i {
    color: var(--primary) !important;
}

/* Premium Hero Section */
.hero-section {
    height: 85vh;
    min-height: 580px;
    position: relative;
    background-size: cover;
    background-position: center;
}

@media (max-width: 991px) {
    .hero-section {
        display: block !important;
        height: auto !important;
        min-height: 100vh !important;
        padding-top: 130px !important;
        padding-bottom: 60px !important;
    }
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.65rem !important;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.75rem !important;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .hero-btn {
        width: 100% !important;
        max-width: 320px !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        text-align: center !important;
    }
}

.hero-btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-light-modern {
    background-color: white;
    color: var(--dark-slate) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-light-modern:hover {
    background-color: var(--primary);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 148, 136, 0.3);
}

.btn-blue-modern {
    background-color: var(--primary);
    color: white !important;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-blue-modern:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 148, 136, 0.4);
}

.btn-gold {
    background-color: #f59e0b !important;
    color: white !important;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25);
}

.btn-gold:hover {
    background-color: #d97706 !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

/* User profile icon recoloring for transparent navbars */
#mainNavbar.navbar-transparent.navbar-home .profile-btn img,
body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .profile-btn img,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .profile-btn img {
    filter: brightness(0) saturate(100%) invert(44%) sepia(82%) saturate(541%) hue-rotate(126deg) brightness(91%) contrast(93%);
}

#mainNavbar.navbar-transparent.navbar-home .profile-btn:hover img,
body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .profile-btn:hover img,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .profile-btn:hover img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(58%) saturate(601%) hue-rotate(126deg) brightness(90%) contrast(92%);
}

/* Category & Experience Section */
.object-types-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
    padding: 90px 0 !important;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--dark-slate);
}

.type-card {
    background: white !important;
    border: 1px solid rgba(13, 148, 136, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: var(--card-shadow) !important;
    transition: var(--transition-smooth) !important;
    padding: 35px 25px !important;
}

.type-icon-wrapper {
    background: var(--primary-light) !important;
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth) !important;
}

.type-icon-wrapper i {
    color: var(--primary) !important;
    font-size: 2rem !important;
}

.type-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(13, 148, 136, 0.15) !important;
    box-shadow: var(--card-hover-shadow) !important;
}

.type-card:hover .type-icon-wrapper {
    background: var(--primary) !important;
    transform: scale(1.08) rotate(5deg) !important;
}

.type-card:hover .type-icon-wrapper i {
    color: white !important;
}

.type-card:hover .type-title {
    color: var(--primary) !important;
}

.type-card-action i {
    transition: var(--transition-smooth);
}

.type-card:hover .type-card-action i {
    transform: translateX(5px);
}

/* Destinations & Zones section */
.Zones-section {
    background: #ffffff;
    padding: 90px 0;
}

.Zone-card {
    border-radius: 24px;
    height: 380px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    background-size: cover;
    background-position: center;
}

.Zone-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 100%);
    padding: 40px 30px 30px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.Zone-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.Zone-card p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.Zone-btn {
    background-color: white !important;
    color: var(--dark-slate) !important;
    border: none !important;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(15px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.Zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.Zone-card:hover .overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.Zone-card:hover .Zone-btn {
    transform: translateY(0);
    opacity: 1;
}

.Zone-btn:hover {
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 6px 15px rgba(13, 148, 136, 0.25);
}

/* Info and Process Sections */
.invest-section, .about-section, .core-values, .investment-process-section {
    padding: 90px 0;
}

.about-img {
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 6px solid white;
    transition: var(--transition-smooth);
}

.about-img:hover {
    transform: scale(1.02);
}

.value-wrapper {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.value-wrapper:hover {
    transform: translateX(5px);
    border-color: rgba(13, 148, 136, 0.15);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.05);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.value-item span {
    font-weight: 600;
    color: var(--dark-slate);
    font-size: 1.1rem;
}

.step-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    height: 100%;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(13, 148, 136, 0.15);
}

.step-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.step-card:hover .step-icon {
    background: var(--primary);
    transform: scale(1.05);
}

.step-card:hover .step-icon img {
    filter: brightness(0) invert(1);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-slate);
}

.step-text {
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Call to action */
.cta-section {
    background: linear-gradient(135deg, var(--dark-slate) 0%, var(--slate-800) 100%);
    padding: 100px 0;
    color: white;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85) !important;
    max-width: 680px;
    margin: 0 auto 35px auto;
}

.cta-btn {
    background-color: var(--primary) !important;
    color: white !important;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.25);
    transition: var(--transition-smooth);
    border: none;
}

.cta-btn:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 148, 136, 0.4);
}

/* Premium Footer */
.footer-section {
    background-color: var(--dark-slate) !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 80px 0 40px 0 !important;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--primary) !important;
}

.footer-divider {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    margin-left: 8px;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-icons img {
    height: 18px;
    filter: brightness(0) invert(1);
}

.payment-logos img {
    opacity: 0.85;
    transition: var(--transition-smooth);
    filter: grayscale(1) brightness(2);
}

.payment-logos img:hover {
    opacity: 1;
    filter: none;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Sidebar Menu overlay matching the theme */
#mobileMenu {
    background: rgba(255, 255, 255, 0.98);
}

.btn-register {
    color: var(--slate-700) !important;
    font-weight: 500;
}

.btn-login {
    background-color: var(--primary) !important;
    color: white !important;
    border-radius: 50px;
    padding: 8px 24px;
}

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

/* Custom Dropdown Content Styling */
.dropdown-content-custom {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(13, 148, 136, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.08) !important;
    padding: 10px 0 !important;
    min-width: 200px !important;
    width: auto !important;
}

.dropdown-content-custom a {
    color: var(--slate-700) !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: var(--transition-smooth) !important;
    display: block !important;
    text-decoration: none !important;
}

.dropdown-content-custom a:hover {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
    padding-left: 24px !important;
}

/* Overrides for global success utility classes to match Teal primary (#0d9488) */
.btn-success {
    --bs-btn-bg: #0d9488 !important;
    --bs-btn-border-color: #0d9488 !important;
    --bs-btn-hover-bg: #0f766e !important;
    --bs-btn-hover-border-color: #0f766e !important;
    --bs-btn-focus-shadow-rgb: 13, 148, 136 !important;
    --bs-btn-active-bg: #0f766e !important;
    --bs-btn-active-border-color: #0f766e !important;
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #ffffff !important;
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
}

.btn-outline-success {
    --bs-btn-color: #0d9488 !important;
    --bs-btn-border-color: #0d9488 !important;
    --bs-btn-hover-bg: #0d9488 !important;
    --bs-btn-hover-border-color: #0d9488 !important;
    --bs-btn-focus-shadow-rgb: 13, 148, 136 !important;
    --bs-btn-active-bg: #0d9488 !important;
    --bs-btn-active-border-color: #0d9488 !important;
    color: #0d9488 !important;
    border-color: #0d9488 !important;
}
.btn-outline-success:hover, .btn-outline-success:focus, .btn-outline-success:active, .btn-outline-success.active {
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #ffffff !important;
}

.text-success {
    color: #0d9488 !important;
}

.bg-success {
    background-color: #0d9488 !important;
}

/* Badge overlap and positioning fixes for details and timeline views */
.timeline-container .badge,
.attribute-item .badge,
.animate-fade-in .badge:not(.tourist-card-badge):not(.tourist-card-zone-badge):not(.position-absolute) {
    position: relative !important;
}

/* Transparent navbar for inner pages with hero banners */
body.inner-page:has(.hero-section),
body.inner-page:has(.tourist-hero) {
    padding-top: 0 !important;
}

body.inner-page:has(.tourist-hero) .tourist-hero {
    padding-top: 130px !important;
    padding-bottom: 50px !important;
}

/* Transparent navbar styling on inner pages with hero banners */
body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
}

/* Nav link color for transparent navbar on inner pages with hero banners */
body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .nav-link-custom,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .nav-link-custom {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .nav-link-custom:hover,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .nav-link-custom:hover {
    color: var(--accent) !important;
}

body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .lang-btn,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .lang-btn {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .navbar-toggler,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .navbar-toggler-icon,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .nav-link-custom.active::after,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .nav-link-custom.active::after {
    background-color: #ffffff !important;
}

body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .profile-btn,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .profile-btn {
    background: #ffffff !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .profile-btn:hover,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .profile-btn:hover {
    background: var(--slate-100) !important;
    color: var(--primary-hover) !important;
}

/* Reduced whitespace for main content block below hero */
body:has(.tourist-hero) main.container.my-5 {
    margin-top: 2rem !important;
}

body:has(.hero-section) #profitcalculator.my-5 {
    margin-top: 2rem !important;
}

/* ================= HEADER STATE VISIBILITY CORRECTIONS ================= */

/* Default transparent state (Light Background on Inner Pages without dark heroes) */
#mainNavbar.navbar-transparent .lang-btn {
    color: var(--primary) !important;
}
#mainNavbar.navbar-transparent .lang-btn img {
    filter: brightness(0) saturate(100%) invert(44%) sepia(82%) saturate(541%) hue-rotate(126deg) brightness(91%) contrast(93%) !important;
}
#mainNavbar.navbar-transparent .balance-display {
    color: var(--primary) !important;
    background: rgba(13, 148, 136, 0.08) !important;
    border-color: rgba(13, 148, 136, 0.15) !important;
}
#mainNavbar.navbar-transparent .balance-display i {
    color: var(--primary) !important;
}

/* Dark Background overrides (Homepage transparent banner or inner pages with dark hero sections) */
#mainNavbar.navbar-transparent.navbar-home .lang-btn,
body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .lang-btn,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .lang-btn {
    color: rgba(255, 255, 255, 0.95) !important;
}
#mainNavbar.navbar-transparent.navbar-home .lang-btn img,
body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .lang-btn img,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .lang-btn img {
    filter: brightness(0) invert(1) !important;
}
#mainNavbar.navbar-transparent.navbar-home .balance-display,
body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .balance-display,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .balance-display {
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
#mainNavbar.navbar-transparent.navbar-home .balance-display i,
body.inner-page:has(.hero-section) #mainNavbar.navbar-transparent .balance-display i,
body.inner-page:has(.tourist-hero) #mainNavbar.navbar-transparent .balance-display i {
    color: #ffffff !important;
}

/* Scrolled/Opaque state (For all pages when scrolled down) */
#mainNavbar.navbar-scrolled .lang-btn {
    color: var(--slate-600) !important;
}
#mainNavbar.navbar-scrolled .lang-btn img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(10%) saturate(1210%) hue-rotate(178deg) brightness(92%) contrast(89%) !important;
}
#mainNavbar.navbar-scrolled .balance-display {
    color: var(--slate-600) !important;
    background: rgba(30, 41, 59, 0.05) !important;
    border-color: rgba(30, 41, 59, 0.1) !important;
}
#mainNavbar.navbar-scrolled .balance-display i {
    color: var(--slate-600) !important;
}
