/* 
   Novapath Travel Deals - Custom Stylesheet
   Rich Aesthetics, Glassmorphism, Premium Gradients & Animations
*/

/* --- Design Tokens --- */
:root {
    --primary: #0F4C81;          /* Deep Mountain Blue */
    --primary-dark: #0A3052;     /* Darker Ocean Blue */
    --secondary: #E07A5F;        /* Terracotta Coral */
    --accent: #E9D8A6;           /* Sunset Gold */
    --accent-orange: #EE9B00;    /* Amber Gold */
    --dark: #0A1128;             /* Midnight Blue */
    --light: #F7FAFC;            /* Clean Off-white */
    --text-dark: #1C2541;        /* Deep Slate for readable text */
    --text-muted: #5C677D;       /* Muted Gray for descriptions */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 16px;
}

/* --- General Reset & Styling --- */
body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* --- Header & Navbar --- */
.navbar {
    transition: var(--transition);
    padding: 1.2rem 0;
    z-index: 1030;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

.navbar.navbar-scrolled {
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

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

.navbar.navbar-scrolled .navbar-brand {
    color: #fff !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.btn-nav {
    background-color: var(--secondary);
    color: #fff !important;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3);
}

.btn-nav:hover {
    background-color: #c96248;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(10,17,40,0.85) 0%, rgba(15,76,129,0.7) 100%), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding-top: 80px;
    overflow: hidden;
}

/* Floating animation overlay for hero */
.hero-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-shape-divider .shape-fill {
    fill: var(--light);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--accent);
}

/* --- Custom Buttons --- */
.btn-custom {
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--secondary), var(--accent-orange));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 122, 95, 0.6);
    color: #fff;
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-secondary-custom:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
}

/* --- Card Styles (Premium Glassmorphism & Hover) --- */
.section-title-area {
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-main-title {
    font-size: 2.8rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-main-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.package-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.12);
}

.package-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.package-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.package-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.package-price-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 10;
}

.package-price-tag span {
    color: var(--accent);
    font-size: 1.3rem;
}

.package-content {
    padding: 2rem;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.package-meta i {
    color: var(--secondary);
    margin-right: 5px;
}

/* --- Inclusions Styling --- */
.inclusion-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2.2rem 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.inclusion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 76, 129, 0.1);
    border-color: rgba(15, 76, 129, 0.15);
}

.inclusion-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(15, 76, 129, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.inclusion-card:hover .inclusion-icon-box {
    background: var(--primary);
    color: #fff;
    transform: rotateY(180deg);
}

/* --- Trust / Why Choose Us Section --- */
.why-choose-us-section {
    background-color: var(--dark);
    color: #fff;
    position: relative;
    padding: 6rem 0;
}

.why-choose-us-section .section-main-title {
    color: #fff;
}

.trust-badge-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.trust-badge-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.trust-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* --- Booking & WhatsApp Opt-In Form --- */
.booking-section {
    position: relative;
    padding: 6rem 0;
}

.booking-form-container {
    background: #fff;
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.02);
}

.form-control, .form-select {
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    background-color: #F8FAFC;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.15);
}

.form-check-input {
    cursor: pointer;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.4;
}

.opt-in-highlight {
    background-color: rgba(15, 76, 129, 0.05);
    border: 1.5px dashed rgba(15, 76, 129, 0.2);
    border-radius: 10px;
    padding: 1.2rem;
}

/* --- Legal / Informational Pages --- */
.legal-page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 8rem 0 4rem;
}

.legal-content-container {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.legal-content-container h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 0.5rem;
}

.legal-content-container p, .legal-content-container li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* --- Floating WhatsApp Widget --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    color: #fff;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Footer --- */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer h5 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h5::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* --- CSS Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom float keyframes for elements */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* --- Responsive Adaptations --- */
@media (max-width: 991.98px) {
    .navbar {
        background: var(--dark);
        padding: 0.8rem 0;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }
    .legal-content-container {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-main-title {
        font-size: 2rem;
    }
    .booking-form-container {
        padding: 1.8rem;
    }
}
