/* Global Variables & Reset */
:root {
    --primary-color: #D4AF37;
    /* Royal Gold */
    --primary-soft: rgba(212, 175, 55, 0.1);
    --secondary-color: #1E293B;
    /* Slate Navy */
    --accent-color: #334155;
    --body-bg: #FFFFFF;
    --section-bg: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--body-bg);
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.025em;
}

a {
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.section-padding {
    padding: 120px 0;
}

/* =============================================
   NAVBAR — managed by header.php inline styles
   (kept here only for override fallbacks)
   ============================================= */
.navbar {
    transition: all .35s ease;
}

.nav-link {
    transition: .25s;
}

/* Page Hero — shared across all inner pages */
.page-hero {
    background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
    padding: calc(var(--header-h, 110px) + 60px) 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1548013146-72479768bbaa?q=60&w=1600') center/cover no-repeat;
    opacity: .12;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.page-hero .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
}

.page-hero .breadcrumb-item a:hover {
    color: #D4AF37;
}

.page-hero .breadcrumb-item.active {
    color: #D4AF37;
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .3);
}

/* Body offset so content doesn't hide under fixed header */
body {
    padding-top: 0;
}

.hero-section {
    padding-top: calc(var(--header-h, 110px) + 60px);
}


/* Buttons */
.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-warning:hover {
    background-color: #B8962E;
    border-color: #B8962E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition-base);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-dark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-dark:hover {
    background-color: #0F172A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Sections - Cinematic Polish */
.hero-section {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.6) 100%),
        linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.8) 100%),
        url('https://loremflickr.com/1920/1080/shrine,landmark') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    padding-top: 140px;
    /* Increased padding to prevent navbar overlap */
    overflow: hidden;
}

.hero-content h1 {
    color: #fff;
    font-weight: 900;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-content .lead {
    font-size: 1.15rem;
    max-width: 600px;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
    border-left: none;
    padding-left: 0;
}

/* Tour Cards - Professional Light */
.tour-card-modern {
    border-radius: 1.5rem;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.tour-card-modern .tour-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.tour-card-modern .tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.tour-card-modern:hover .tour-image img {
    transform: scale(1.08);
}

.tour-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.tour-card-modern .tour-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-price {
    background: var(--section-bg);
    padding: 1.25rem;
    border-radius: 1rem;
    margin-top: auto;
    border: 1px solid var(--border-color);
}

/* Stats Section */
.stats-section {
    background: var(--secondary-color);
    padding: 4rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1), transparent 40%);
    pointer-events: none;
}

.stat-box h2 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-box p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-soft);
    color: var(--primary-color);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 2rem;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(10deg);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #D4AF37;
    color: #0b132b;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(212, 175, 55, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: #0b132b;
    color: #D4AF37;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(11, 19, 43, .25);
}

@media (max-width: 576px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Animations Helper */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* CTA Section Redesign */
.cta-section {
    background: var(--section-bg);
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.cta-box {
    background: #fff;
    padding: 5rem;
    border-radius: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

/* Image Quality */
.img-modern {
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.img-modern:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
    .feature-card { padding: 2.5rem 1.5rem; }
    .cta-box { padding: 3rem 1.5rem; border-radius: 2rem; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}

/* Tour Details Specifics (to ensure 100% same) */
.day-card {
    background: #fff;
    border-radius: 2rem;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.day-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color), #f7d08a);
}

.day-number {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), #f7d08a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 2rem;
    padding: 3rem;
    border: 2px solid #e9ecef;
}

.booking-sidebar {
    position: sticky;
    top: 120px;
    background: #fff;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}