:root {
    --bs-primary: #FF9D00;
    --bs-primary-rgb: 255, 157, 0;
    --primary-color: #FF9D00;
    --primary-hover: #E6C200;
    --background-light: #F9FAFB;
    --background-dark: #111827;
    --surface-light: #FFFFFF;
    --surface-dark: #1F2937;
    --text-light: #374151;
    --text-dark: #D1D5DB;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-light);
    overflow-x: hidden;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #e68a00;
    --bs-btn-hover-border-color: #e68a00;
    color: #fff;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
}

    .btn-primary-custom:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
        color: #fff;
    }

/* Navbar Overrides for 1:1 Design */
.navbar {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(4px) !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}

.navbar-brand, .nav-link, .nav-icon-btn, .navbar-toggler {
    color: white !important;
}

    /* Force "TravelWo" text to be white */
    .navbar-brand .text-body {
        color: white !important;
    }

/* Navbar Search Box Transparency */
.navbar .search-input {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

    .navbar .search-input::placeholder {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .navbar .search-input:focus {
        background-color: rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    }

/* Navbar Search Icon Color */
.navbar .material-symbols-outlined.text-secondary {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Navbar Notification Icon & Dividers */
.navbar .btn-link.text-secondary {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .vr.text-secondary {
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(200%);
}

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

/* Navbar styles - customized or overrides if needed, but we rely on existing navbar mostly */
/* Keeping these just in case we need elements from it */
.nav-icon-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

    .nav-icon-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

/* Hero Section */
.hero-section {
    position: relative;
    height: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1920px) {
    .hero-section {
        height: 800px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        height: 500px;
    }
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 56rem;
    padding: 0 1rem;
    margin-top: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.search-container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 42rem;
    margin: 0 auto;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: white;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
    padding-left: 1rem;
    height: 3.5rem;
}

.search-input {
    border: none;
    width: 100%;
    outline: none;
    color: #1F2937;
    background: transparent;
}

.search-btn {
    background-color: var(--primary-color);
    color: #111827;
    font-weight: 700;
    padding: 0 2rem;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 3.5rem;
    transition: background-color 0.3s;
}

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

@media (max-width: 576px) {
    .search-container {
        padding: 0.25rem;
    }
    .search-input-group {
        padding-left: 0.75rem;
    }
    .search-input {
        font-size: 0.9rem;
    }
    .search-btn {
        padding: 0 1rem;
    }
}

.popular-tags {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

    .popular-tags a {
        color: inherit;
        text-decoration: underline;
        text-decoration-color: rgba(255, 215, 0, 0.5);
        margin-left: 0.5rem;
    }

        .popular-tags a:hover {
            color: var(--primary-color);
        }

.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 1s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(25%);
    }
}

/* Sections */
.section-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem; /* px-4 */
    padding-left: 1rem;
}

@media (min-width: 992px) {
    .section-container {
        padding-right: 3rem; /* px-lg-5 */
        padding-left: 3rem;
    }
}

/* Tabs */
.custom-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-bottom: 1px solid #E5E7EB;
    overflow-x: auto;
    padding-bottom: 1rem;
    /*    margin-bottom: 3rem;*/
    flex-wrap: nowrap;
}

@media (max-width: 992px) {
    .custom-tabs {
        justify-content: flex-start;
    }
}

.custom-tab-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    white-space: nowrap;
    color: #6B7280;
    transition: color 0.3s;
    position: relative;
}

    .custom-tab-btn.active {
        color: var(--primary-color);
    }

        .custom-tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1rem; /* Adjust to match border-bottom padding */
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--primary-color);
        }

/* Destination Cards */
.destination-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
    height: 100%;
}

    .destination-card:hover {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

.card-main-image-wrapper {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.card-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.destination-card:hover .card-main-image {
    transform: scale(1.1);
}

.card-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.5rem;
}

.sub-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.sub-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.sub-grid-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 0.5rem;
    object-fit: cover;
}

.sub-grid-text {
    font-size: 0.75rem;
    color: #4B5563;
    text-align: center;
    font-weight: 500;
    transition: color 0.2s;
}

.sub-grid-item:hover .sub-grid-text {
    color: var(--primary-color);
}

/* Seasonal */
.month-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background-color: white;
    color: #4B5563;
}

    .month-btn:hover {
        background-color: #F3F4F6;
    }

    .month-btn.active {
        background-color: var(--primary-color);
        color: #111827;
        font-weight: 700;
        transform: scale(1.1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

.seasonal-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.seasonal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.seasonal-card:hover .seasonal-img {
    transform: scale(1.1);
}

.seasonal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent, transparent);
}

.seasonal-content {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: white;
}

.seasonal-desc {
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s;
    margin-top: 0.5rem;
}

.seasonal-card:hover .seasonal-desc {
    opacity: 1;
}

/* Themes */
.theme-card {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.theme-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.theme-card:hover .theme-img {
    transform: scale(1.1);
}

.theme-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.theme-card:hover .theme-overlay {
    background-color: rgba(0,0,0,0.4);
}

.theme-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

/* Directory */
.directory-card {
    background-color: #F9FAFB;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
}

.directory-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.directory-marker {
    width: 0.5rem;
    height: 2rem;
    background-color: var(--primary-color);
    border-radius: 9999px;
    display: inline-block;
}

.directory-group {
    display: flex;
    margin-bottom: 1rem;
}

.directory-letter {
    width: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.directory-links a {
    display: block;
    color: #4B5563;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.2s;
}

    .directory-links a:hover {
        color: #111827;
    }

.badge-hot {
    font-size: 10px;
    background-color: #FEE2E2;
    color: #DC2626;
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #111827;
    color: #9CA3AF;
    padding-top: 4rem;
    border-top: 1px solid #1F2937;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: inherit;
        text-decoration: none;
        font-size: 0.875rem;
        transition: color 0.2s;
    }

        .footer-links a:hover {
            color: var(--primary-color);
        }

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.3s;
}

    .social-btn:hover {
        background-color: var(--primary-color);
        color: #111827;
    }

.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1050;
}

.action-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.feedback-btn {
    background-color: white;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}

    .feedback-btn:hover {
        color: var(--primary-color);
    }

.scroll-top-btn {
    background-color: var(--primary-color);
    color: #111827;
}

    .scroll-top-btn:hover {
        background-color: var(--primary-hover);
    }
