/* =========================================
   1. VARIABLES & GLOBAL RESET
========================================= */
:root {
    --gold: #8b6508;
    --gold-dark: #6d4f06;
    --dark: #1a252f;
    --light: #f8f9fa;
    --text-color: #333;
    --font-heading: 'Bebas Neue', cursive;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    overflow-x: hidden; /* Prevents horizontal scroll on mobile */
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

a { 
    text-decoration: none !important; 
    transition: all 0.3s ease-in-out; 
}

ul { list-style: none; padding: 0; margin: 0; }

img {
    max-width: 100%;
    height: auto;
    /* LOGO FIX */
    filter: none !important;
    -webkit-filter: none !important;
}

svg, svg path { fill: unset !important; }

/* --- Utility Classes --- */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.section-padding { padding: 80px 0; }

/* Mobile Padding Adjustment */
@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
}

/* =========================================
   2. BUTTONS & INPUTS
========================================= */
.btn-gold {
    background: linear-gradient(to right, var(--gold), var(--gold-dark));
    color: white;
    border: none;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn-gold:hover, .btn-gold:focus {
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(139, 101, 8, 0.3);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 20px;
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: white;
}

/* Form Inputs */
.form-control, .form-select {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-shadow: none !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
}

.input-group-text {
    background-color: #f1f1f1;
    color: var(--gold);
    border: 1px solid #ddd;
    border-right: none;
}

.input-group .form-control { border-left: none; }
textarea.form-control { height: auto; }

/* =========================================
   3. TOP BAR (HEADER)
========================================= */
#top-bar {
    background-color: var(--dark);
    padding: 12px 0;
    color: white;
    border-bottom: 4px solid var(--gold);
    position: relative;
    z-index: 100;
}

.brand-logo {
    display: flex;
    align-items: center;
    color: white;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--gold);
    letter-spacing: 2px;
    line-height: 1;
}

.contact-info {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    align-items: center;
}

.contact-link {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-link i { color: var(--gold); font-size: 16px; }
.contact-link:hover { color: var(--gold); }

/* Mobile Header: Stack Logo and Contact */
@media (max-width: 768px) {
    #top-bar { padding: 15px 0; }
    
    .brand-logo { 
        justify-content: center; 
        margin-bottom: 10px; 
    }
    .brand-name { font-size: 24px; }
    
    .contact-info { 
        justify-content: center; 
        flex-direction: column; 
        gap: 8px; 
    }
}

/* =========================================
   4. HERO SECTION (BANNER)
========================================= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px 0;
    background: url('../images/Explore-Uttarakhand.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(26, 37, 47, 0.85), rgba(26, 37, 47, 0.6));
    z-index: 1;
}

.hero-section .container { position: relative; z-index: 2; }

.hero-text { color: white; padding-right: 20px; }

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text .highlight { color: var(--gold); }

.hero-text p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-badges { margin-bottom: 30px; }

.hero-badges span {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    margin-right: 10px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.hero-badges i { color: var(--gold); margin-right: 5px; }

.hero-form-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-top: 6px solid var(--gold);
    position: relative;
}

.form-header h3 { color: var(--dark); font-size: 28px; margin-bottom: 5px; }
.form-header p { font-size: 14px; color: #666; margin-bottom: 25px; }

.animate-fade-up { animation: fadeUp 1s ease forwards; opacity: 0; transform: translateY(30px); }
.animate-zoom-in { animation: zoomIn 0.8s ease forwards; opacity: 0; transform: scale(0.9); }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { to { opacity: 1; transform: scale(1); } }

/* Hero Mobile Responsive */
@media (max-width: 991px) {
    .hero-section { min-height: auto; padding: 60px 0; height: auto; }
    
    .hero-text { 
        text-align: center; 
        padding-right: 0; 
        margin-bottom: 40px; 
    }
    
    /* Shrink huge text on mobile */
    .hero-text h1 { font-size: 2.8rem; }
    .hero-text p { margin: 0 auto 20px; font-size: 1.1rem; }
    
    .hero-badges { 
        display: flex; 
        justify-content: center; 
        flex-wrap: wrap; 
        gap: 10px; 
    }
    .hero-badges span { margin: 0; }
    
    .hero-form-card { margin: 0 5px; padding: 25px 20px; }
}

/* =========================================
   5. EXPERTISE SECTION
========================================= */
#expertise {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.expertise-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.expertise-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.expertise-item .icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: 0.3s;
}

.expertise-item:hover .icon {
    background: var(--gold);
    color: white;
    transform: rotateY(180deg);
}

.expertise-item h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--dark);
    font-family: var(--font-body);
    font-weight: 700;
}

.expertise-item p { margin: 0; font-size: 0.9rem; color: #777; }

@media (min-width: 768px) {
    .border-end-md { border-right: 1px solid #eee; }
}

@media (max-width: 768px) {
    #expertise { margin-top: 30px; }
    .expertise-item { justify-content: flex-start; margin-bottom: 25px; }
}

/* =========================================
   6. PACKAGES SECTION
========================================= */
.section-header .section-title { font-size: 3rem; color: var(--dark); }
.section-header .section-subtitle { font-size: 1.1rem; color: #666; margin-bottom: 10px; }
.section-header .divider {
    width: 80px; height: 4px; background: var(--gold);
    margin: 15px auto 0; border-radius: 2px;
}

/* Package Card Design */
.package-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--gold);
}

.card-img { position: relative; overflow: hidden; height: 220px; }

.card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .card-img img { transform: scale(1.1); }

.badge-duration {
    position: absolute; top: 15px; right: 15px;
    background: var(--gold); color: white;
    padding: 5px 12px; font-size: 0.85rem;
    border-radius: 4px; font-weight: 700; z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card-body {
    padding: 25px; flex-grow: 1; display: flex; flex-direction: column;
}

.card-body h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 10px; }
.card-body .route { font-size: 0.9rem; color: #666; margin-bottom: 20px; line-height: 1.5; }
.card-body hr { margin-top: auto; border-color: #eee; }

.price-row {
    display: flex; justify-content: space-between; align-items: center; margin-top: 15px;
}
.price small { display: block; font-size: 0.8rem; color: #999; }
.price strong { font-size: 1.4rem; color: var(--dark); }
.price .per-pax { font-size: 0.85rem; font-weight: 400; color: #777; }

/* Mobile Font Size Adjustment */
@media (max-width: 600px) {
    .section-header .section-title { font-size: 2.5rem; }
}

/* =========================================
   7. GALLERY SECTION
========================================= */
#gallery { background-color: #f9f9f9; }

.gallery-item {
    position: relative; overflow: hidden; border-radius: 8px;
    height: 250px; cursor: pointer;
}

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img { transform: scale(1.15); }

.gallery-item .caption {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white; padding: 20px; text-align: center;
    font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 1px;
    transform: translateY(100%); transition: 0.3s;
}

.gallery-item:hover .caption { transform: translateY(0); }

.gallery-item.large {
    background: url('../images/Explore-Uttarakhand.jpg') center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center; height: 100%; min-height: 250px; 
}

.gallery-overlay {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px; border-radius: 8px; margin: 20px;
    max-width: 80%; box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.gallery-overlay h3 { font-size: 2.5rem; color: var(--gold); }
.gallery-overlay p { color: #555; margin-bottom: 20px; }

/* =========================================
   8. FOOTER SECTION (RESPONSIVE)
========================================= */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 0 20px;
    border-top: 5px solid #8b6508;
    font-size: 14px;
}

/* Top Section: Columns */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px; 
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Left: Contact */
.footer-left { text-align: left; }
.footer-heading { color: var(--gold); font-family: var(--font-heading); font-size: 24px; letter-spacing: 1px; margin-bottom: 10px; }
.contact-item { display: block; margin-bottom: 8px; color: #ddd; text-decoration: none; }
.contact-item i { color: var(--gold); width: 20px; margin-right: 5px; }
.contact-item:hover { color: var(--gold); }

/* Middle: Policies */
.footer-middle { text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer-link { color: #bbb; text-decoration: none; margin-bottom: 8px; display: block; transition: 0.3s; }
.footer-link:hover { color: var(--gold); text-decoration: underline; }

/* Right: Address */
.footer-right { text-align: right; }
.address-text { color: #bbb; line-height: 1.6; margin: 0; }

/* Bottom: Socials & Copy */
.footer-bottom { 
    text-align: center; 
    padding-top: 10px;
}

.footer-socials { 
    margin-bottom: 20px; /* Space between icons and copyright */
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon { 
    font-size: 20px; 
    color: white; 
    transition: 0.3s; 
    display: inline-block; 
    text-decoration: none; 
}

.social-icon.facebook i, .fa-facebook-f, .fa-facebook { color: #1877F2 !important; }
.social-icon.instagram i, .fa-instagram { color: #E4405F !important; }
.social-icon.youtube i, .fa-youtube { color: #FF0000 !important; }
.social-icon:hover { transform: scale(1.2); }

.footer-copyright { color: #888; font-size: 13px; }
.tm-link { color: #fff; font-weight: bold; text-decoration: none; }
.tm-link:hover { color: var(--gold); }

/* Footer Mobile: Stack everything in 1 column */
@media (max-width: 991px) {
    .footer-top { flex-direction: column; align-items: center; text-align: center; }
    
    .footer-left, .footer-middle, .footer-right { 
        text-align: center; 
        width: 100%; 
        min-width: 100%;
        margin-bottom: 30px;
        align-items: center;
    }
    
    /* Center align address on mobile */
    .footer-right { text-align: center; }
    
    .footer-heading { font-size: 22px; }
}

/* =========================================
   9. MODALS & DATEPICKER TWEAKS
========================================= */
.modal-content { border-radius: 8px; overflow: hidden; }
.modal-header.bg-gold { background-color: var(--gold) !important; color: white; }
.modal-header .btn-close-white { filter: invert(1) grayscale(100%) brightness(200%); }
.modal-body { background-color: #fcfcfc; }
.form-status { margin-top: 10px; font-weight: bold; font-size: 14px; }

/* Datepicker colors */
.datepicker table tr td.active.active, 
.datepicker table tr td.active.highlighted.active, 
.datepicker table tr td.active.highlighted:active, 
.datepicker table tr td.active:active {
    background-color: var(--gold) !important;
    border-color: var(--gold-dark) !important;
}
.datepicker td, .datepicker th { border-radius: 4px; }

/* =========================================
   10. FLOATING ACTION BUTTONS
========================================= */
.floating-actions {
    position: fixed; bottom: 30px; right: 25px;
    display: flex; flex-direction: column; gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 55px; height: 55px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 28px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--gold); }
.float-btn:hover { transform: scale(1.15); color: white; }