/* 
=====================================================
    Theme Name: Holiday House - Infinity
    Description: Antigravity-inspired Travel Website
    Version: 3.0 (Infinity Theme)
=====================================================
*/

/* --------------------------------------------------
   1. Variables & Reset
-------------------------------------------------- */
:root {
    /* Color Palette - Monochrome & Antigravity */
    --bg-body: #FFFFFF;
    --bg-surface: #FFFFFF;
    --text-primary: #121317;
    /* Almost Black */
    --text-secondary: #5F6368;
    /* Muted Gray */
    --accent-glow: rgba(0, 123, 255, 0.15);
    /* Indigo Glow */
    --border-subtle: rgba(33, 34, 38, 0.08);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    /* Closest to Google Sans Display */
    --font-body: 'Poppins', sans-serif;

    /* Spacing & Layout */
    --section-spacing: 120px;
    --container-max: 1200px;

    /* UI Tokens */
    --radius-pill: 9999px;
    --radius-card: 24px;
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 300ms;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    display: block;
}

/* --------------------------------------------------
   2. Utility Classes & Typography
-------------------------------------------------- */
.section-padding {
    padding: var(--section-spacing) 0;
}

/* Antigravity Glow Effect */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    filter: blur(60px);
}

.text-gradient {
    /* Rich Blue Gradient */
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons - Pill Shape */
.btn-custom {
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -8px rgba(37, 99, 235, 0.5);
    color: #FFFFFF;
}

.btn-secondary-custom {
    background-color: #F3F4F6;
    color: #1F2937;
    border: 1px solid transparent;
}

.btn-secondary-custom:hover {
    background-color: #E5E7EB;
    transform: translateY(-2px);
    color: #111827;
}

.section-title {
    margin-bottom: 80px;
    text-align: center;
    position: relative;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* --------------------------------------------------
   3. Navbar - Glassmorphism
-------------------------------------------------- */
.navbar {
    padding: 24px 0;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    /* Frosty white */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.navbar.scrolled .navbar-brand {
    color: var(--text-primary);
}

.navbar-nav {
    background: rgba(255, 255, 255, 0.5);
    padding: 6px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
}

.navbar.scrolled .navbar-nav {
    background: transparent;
    padding: 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    margin: 0 4px;
    padding: 8px 16px !important;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
    background-color: rgba(18, 19, 23, 0.05);
}

.navbar-toggler {
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
}

/* --------------------------------------------------
   4. Hero Section - Typography Led
-------------------------------------------------- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    /* Soft gradient background instead of heavy image overlay */
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f2f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    /* Offset for navbar */
    overflow: hidden;
}

/* Add the "Halo" glow */
.hero-section::before {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    top: -20%;
    right: -20%;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    /* Center the block horizontally */
    text-align: center;
    /* Center the text inside */
}

.hero-content h1 {
    font-size: 5rem;
    /* Massive typography */
    font-weight: 400;
    /* Regular weight */
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-form {
    background: var(--bg-surface);
    padding: 12px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
    max-width: 800px;
    margin: 0 auto;
}

.hero-search-form .form-control,
.hero-search-form .form-select {
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 1rem;
    color: var(--text-primary);
}

.hero-search-form .input-group-text {
    background: transparent;
    border: none;
    color: var(--text-secondary);
}

/* --------------------------------------------------
   5. Cards (Floaty & Clean)
-------------------------------------------------- */
.package-card {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.package-thumb {
    height: 320px;
    /* Taller images */
    overflow: hidden;
    margin: 8px;
    /* Internal padding look */
    border-radius: calc(var(--radius-card) - 4px);
}

.package-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.package-card:hover .package-thumb img {
    transform: scale(1.05);
}

.package-info {
    padding: 24px 32px;
}

.package-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* --------------------------------------------------
   6. Destinations (Masonry Style)
-------------------------------------------------- */
.destination-item {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 400px;
    margin-bottom: 24px;
    cursor: pointer;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Minimal overlay - dark gradient only at bottom */
.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.destination-item:hover .destination-img {
    transform: scale(1.05);
}

.destination-content h3 {
    color: #FFFFFF;
    font-size: 1.75rem;
}

.destination-content span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: block;
}

/* --------------------------------------------------
   7. Testimonials (Clean Cards)
-------------------------------------------------- */
.testimonial-card {
    background: var(--bg-surface);
    padding: 48px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.stars {
    color: #F4B400;
    /* Google Yellow */
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* --------------------------------------------------
   8. Footer (High Contrast)
-------------------------------------------------- */
.footer {
    background-color: var(--text-primary);
    /* Almost Black */
    color: #9AA0A6;
    padding: 100px 0 40px;
}

.footer h4 {
    color: #FFFFFF;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer-links a {
    color: #9AA0A6;
    transition: var(--transition);
    display: block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

/* --------------------------------------------------
   9. Page Headers & Forms
-------------------------------------------------- */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

/* Use soft gradients instead of images for page headers to keep it clean */
.page-header::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-form .form-control {
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.contact-form .form-control:focus {
    background: var(--bg-surface);
    box-shadow: 0 0 0 4px var(--accent-glow);
    border-color: transparent;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .package-thumb {
        height: 240px;
    }
}

/* --------------------------------------------------
   11. Animations & Physics (Antigravity)
-------------------------------------------------- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-delay {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-effect {
    animation: float 6s ease-in-out infinite;
}

.float-effect-delay {
    animation: float-delay 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* Staggered Entry */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

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

/* Magnetic Button Base */
.btn-magnetic {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.1s linear;
    /* Fast response for magnet */
}

/* Parallax Background Elements */
.parallax-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.1s linear;
}

/* Hero Image Specific Float */
.hero-float-img {
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}


/* --------------------------------------------------
   12. Home Page Expansion (Content)
-------------------------------------------------- */

/* How It Works */
.step-card {
    text-align: center;
    padding: 32px;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    /* Huge watermark style */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.step-card h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.step-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    background-color: var(--text-primary);
    /* Dark bg */
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    background: linear-gradient(to bottom, #ffffff, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Partners Marquee */
.partners-section {
    overflow: hidden;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.partner-logo {
    opacity: 0.4;
    transition: opacity 0.3s;
    filter: grayscale(100%);
    max-height: 40px;
    margin: 0 32px;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}


/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px;
    margin-top: 12px;
    animation: fadeInUp 0.3s ease;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    transform: translateX(4px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --------------------------------------------------
   13. Floating Action Buttons
-------------------------------------------------- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
    background-color: #25D366;
}

.call-btn {
    background-color: #0b5ed7;
    /* Bootstrap primary blue or custom brand color */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}