/* Modern Style for Visit Tarapith - Premium Redesign */

/* -----------------------------------------------------------------------------
   1. VARIABLES & RESET
----------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-color: #0F2027;
    /* Deep Royal Blue / Dark Background */
    --secondary-color: #C6A664;
    /* Gold/Brass for accents */
    --accent-color: #E94E1B;
    /* Vibrant Orange for Call to Actions */

    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #f8f9fa;

    --bg-light: #f9f9f9;
    --bg-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
    --gradient-gold: linear-gradient(135deg, #C6A664 0%, #D4AF37 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
}

/* -----------------------------------------------------------------------------
   2. UTILITIES & ANIMATIONS
----------------------------------------------------------------------------- */
.text-primary {
    color: var(--secondary-color) !important;
}

/* Override default bootstrap primary to Gold */
.text-dark-blue {
    color: var(--primary-color) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.shadow-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn-modern {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-modern-primary {
    background: var(--gradient-gold);
    color: #fff;
    box-shadow: 0 4px 15px rgba(198, 166, 100, 0.4);
}

.btn-modern-primary:hover {
    background: #b59450;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 166, 100, 0.6);
    color: #fff;
}

.btn-modern-dark {
    background: var(--primary-color);
    color: #fff;
}

.btn-modern-dark:hover {
    background: #1a1a1a;
    color: var(--secondary-color);
}

/* -----------------------------------------------------------------------------
   3. NAVBAR
----------------------------------------------------------------------------- */
.main-header header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 999;
    padding-top: 20px;
    transition: all 0.4s ease;
}

.main-header.sticky header {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.main-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 50px;
}

.main-nav>li>a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 15px !important;
}

.main-nav>li>a:hover,
.main-nav>li>a.active {
    color: var(--secondary-color) !important;
}

.header-btn .btn {
    border-radius: 50px;
    padding: 8px 24px;
}

/* -----------------------------------------------------------------------------
   4. HERO SECTION
----------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-section .banner-slider .slider-img img {
    height: 80vh;
    min-height: 600px;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    top: -100px;
    /* Adjust to pull search box up mainly on desktop */
}

/* Search Tab Card */
.banner-form.card {
    border: none;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 10px;
}

.banner-form .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0;
}

.banner-form .nav-link {
    border: none;
    color: var(--text-gray);
    font-weight: 600;
    padding: 15px 25px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.banner-form .nav-link.active,
.banner-form .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    background: transparent;
}

.banner-form .form-control {
    border: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
    font-size: 15px;
}

.banner-form .form-control:focus {
    background: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(198, 166, 100, 0.1);
}

.search-btn {
    background: var(--gradient-primary) !important;
    border: none;
    padding: 15px 30px;
    height: 100%;
    min-height: 50px;
    font-size: 16px;
    width: 100%;
}

/* -----------------------------------------------------------------------------
   5. SECTIONS & CARDS
----------------------------------------------------------------------------- */
.section-header .sub-title {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Card */
.modern-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.modern-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.modern-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-card:hover .modern-card-img {
    transform: scale(1.1);
}

.modern-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 32, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.modern-card-img-wrapper:hover .modern-card-overlay {
    opacity: 1;
}

.modern-card-body {
    padding: 20px;
}

.modern-card-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modern-card-text {
    color: var(--text-gray);
    font-size: 15px;
}

/* Benefit Cards */
.benefit-card {
    border: none;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(198, 166, 100, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--secondary-color);
    color: #fff;
}

/* -----------------------------------------------------------------------------
   6. FOOTER
----------------------------------------------------------------------------- */
.footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    display: block;
}

.footer-menu li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icon li a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icon li a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* -----------------------------------------------------------------------------
   7. PAGE: HOTELS / LISTINGS
----------------------------------------------------------------------------- */
.filter-sidebar .card {
    border: none;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm);
}

.filter-sidebar .card-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(198, 166, 100, 0.05);
}

.breadcrumb-bg-01 {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.breadcrumb-title {
    color: #fff;
    font-size: 36px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: #fff;
}

/* Responsive Corrections */
@media (max-width: 991px) {
    .hero-content {
        top: 0;
        margin-bottom: -50px;
        padding-top: 50px;
    }

    .banner-form.card {
        margin: 0 15px;
    }

    .main-header header {
        background: #fff;
        padding: 10px 0;
        box-shadow: var(--shadow-sm);
    }

    .main-nav>li>a {
        color: var(--primary-color) !important;
    }

    .header-logo.logo-white {
        display: none;
    }

    .header-logo.logo-dark {
        display: flex !important;
    }
}