/* --- Base Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; overflow-x: hidden; }
html { scroll-behavior: smooth; height: auto !important; /* Forces the browser to allow natural page height */
    overflow-y: auto !important; /* Enables vertical scrolling */
    overflow-x: hidden; /* Keeps horizontal scroll disabled */ }

/* --- Sticky Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 5%; background-color: #ffffff; z-index: 1000;
}
.logo { font-weight: bold; font-size: 1.2rem; letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: #000; font-size: 0.9rem; text-transform: uppercase; }
.btn-book { border: 1px solid #000; padding: 0.6rem 1.2rem; }

/* --- Full Screen Slider --- */
.hero-full {
    position: relative; width: 100%; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

.slider-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-size: cover; background-position: center; 
    opacity: 0; transition: opacity 1.5s ease-in-out; 
}
.slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); z-index: 2; }

.hero-content { position: relative; z-index: 3; text-align: center; color: #ffffff; padding: 2rem; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 1; margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }

.btn-main-book { 
    padding: 1rem 3rem; border: 2px solid #ffffff; 
    text-decoration: none; color: #ffffff; 
    font-size: 0.8rem; letter-spacing: 0.3rem; text-transform: uppercase;
    transition: 0.3s; display: inline-block;
}
.btn-main-book:hover { background: #ffffff; color: #000; }

/* --- Refined Packages Section --- */
.packages-section { 
    /*padding: 8rem 5%; */
    background: #fafafa; 
}

/* NEW: Dedicated Header Styling to fix the overlap */
.packages-header {
    text-align: center;
    margin-bottom: 4rem; /* Forces space between title and cards */
    width: 100%;
}

.packages-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

/* Added a custom accent line under the title */
.packages-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #BFE5E7; 
    margin: 15px auto 0;
}

.packages-header p {
    color: #666;
    font-size: 1rem;
}

/* --- Grid and Cards --- */
.packages-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.package-card { 
    background: #ffffff;
    border: none; 
    padding: 3rem 2rem; 
    transition: all 0.4s ease;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    border-radius: 4px;
}

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

.package-card h3 { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    margin-bottom: 1.5rem; 
    color: #1a1a1a;
}

.package-card .price { 
    font-size: 1.2rem; 
    font-weight: 300; 
    margin-bottom: 2rem; 
    color: #888;
    letter-spacing: 2px;
}

.package-card ul { 
    list-style: none; 
    text-align: center; 
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.package-card ul li { 
    margin-bottom: 1rem; 
    font-size: 0.9rem; 
    color: #444; 
    font-weight: 300;
}

.btn-card {
    margin-top: 2rem;
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-card:hover { 
    background: #000; 
    color: #fff; 
}

.package-row {
    position: relative;
    padding: 100px 5%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This makes the background image stay still */
    background-repeat: no-repeat;
    min-height: 100vh; /* Ensures enough space to see the image */
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.50); /* Light overlay to ensure text is readable */
    z-index: 0;
}

.props-showcase { padding: 80px 5%; background: #ffffff; text-align: center; }

.props-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.prop-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.prop-item img:hover {
    transform: scale(1.05); /* Subtle zoom effect */
}

.props-cta { margin-top: 30px; }

.btn-select {
    margin-top: auto; /* Pushes the button to the bottom of the card */
    padding: 0.8rem 1.5rem;
    background-color: #fff;
    border: 1px solid #000000;
    color: #000;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-select:hover {
    background-color: #333;
    color: #fff;
}

.section-title {
    text-align: center;
    color: #000;
    padding: 40px 20px 20px 20px;
    position: relative; /* Keeps it above the overlay */
    z-index: 2;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: #fff;
    margin: 0 auto;
    border-radius: 2px;
}

/* Ensure the modal is hidden by default */
#calendarModal { display: none; }

#calendar {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
}

/* This is the secret to fixing FullCalendar in a modal */
.fc .fc-toolbar {
    flex-wrap: wrap;
    gap: 10px;
}

.fc .fc-view-harness {
    min-height: 400px; /* Ensures it has enough height to draw the grid */
}








/* Mobile adjustment */
@media (max-width: 600px) {
    .section-title h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    /* Show hamburger, hide desktop links */
    .hamburger { display: block; }
    
    .nav-links {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 80px; left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { display: flex; } /* Shown when class added by JS */
}

/* --- Mobile Text Fix --- */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5rem !important; /* Smaller size for phones */
        line-height: 1.2 !important;
        padding: 0 10px; /* Adds breathing room so text doesn't touch edges */
    }
    
    .hero-content p {
        font-size: 1rem !important;
        padding: 0 20px;
    }
}

#bookingModal {
    display: none; 
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.7);
    
    /* Using Flexbox to center perfectly */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    width: 90%; 
    max-width: 600px;
    max-height: 85vh; /* Prevents it from going off-screen */
    padding: 25px;
    border-radius: 15px;
    overflow-y: auto; /* Internal scroll if the form is long */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    
    /* Optional: Ensure it doesn't stick to the very top on mobile */
    margin: 20px auto; 
    position: relative;
}

/* --- Prop Grid (Mobile-Friendly) --- */
#dynamic-main-setups, #dynamic-mini-props {
    display: grid;
    /* 2 columns on mobile, 3 on larger screens */
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    margin-top: 15px;
}

@media (min-width: 600px) {
    #dynamic-main-setups, #dynamic-mini-props {
        grid-template-columns: repeat(3, 1fr);
    }
}

.prop-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: 0.3s;
}

.prop-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps images square */
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
}

/* --- Close Button --- */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    z-index: 10; /* Keeps it on top of everything */
}

.progress-container {
    width: calc(100% - 40px); /* Slightly narrower to leave room for X */
    height: 8px;
    background: #eee;
    border-radius: 4px;
    margin-bottom: 20px;
    margin-right: 40px; /* Forces the bar to stay away from the right edge */
}
.progress-bar { height: 100%; background: #2B9A41; width: 25%; transition: width 0.3s; }

/* Gender Selection Cards */
.gender-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.gender-card {
    flex: 1;
    padding: 30px;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gender-card:hover {
    border-color: #000;
    background: #fcfcfc;
}

/* Gender Buttons */
.gender-btn-group { display: flex; gap: 15px; justify-content: center; }
.gender-btn { padding: 10px 30px !important; font-size: 15px !important; border-radius: 25px !important; border: 2px solid #ddd !important; background: #fff !important; color: #333 !important; width: auto !important; }
.gender-btn.boy:hover { border-color: #4A90E2 !important; background: #eef6ff !important; }
.gender-btn.girl:hover { border-color: #E24A8D !important; background: #fff0f5 !important; }

/* Prop Image Cards */
.prop-card { border: 1px solid #eee; border-radius: 8px; padding: 8px; text-align: center; background: #fff; }
.prop-card img { width: 100%; height: 120px; object-fit: cover; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.prop-card img:hover { opacity: 0.8; }
.prop-card label { margin-top: 8px; font-size: 14px; border: none; padding: 0; justify-content: center; }

/* Full Screen Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 9999; justify-content: center; align-items: center; cursor: pointer; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; border: 3px solid #fff; }

/* Premium Modal Styling */
#bookingModal .modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    font-family: inherit;
}

.wizard-step h3 {
    color: #222;
    text-align: center;
    margin-bottom: 20px;
}

/* Modern Form Inputs */
.wizard-step input[type="text"], 
.wizard-step input[type="tel"], 
.wizard-step input[type="email"], 
.wizard-step input[type="date"], 
.wizard-step input[type="time"], 
.wizard-step select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.wizard-step input:focus, .wizard-step select:focus {
    border-color: #333;
    outline: none;
}

/* Clean Buttons */
.wizard-step button {
    background: #222;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background 0.3s;
}

.wizard-step button:hover {
    background: #444;
}

/* Grid Layout for Props */
#dynamic-main-setups, #dynamic-mini-props {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.wizard-step label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
}

/* 1. Fix the modal scrolling so the button is always reachable */
#bookingModal .modal-content {
    max-height: 85vh; /* Prevents it from being taller than the screen */
    overflow-y: auto; /* Adds a scrollbar inside the modal if it gets too long */
}

/* 2. Better UX for Prop Images (Zoom cursor and hover effect) */
.prop-card {
    position: relative;
    overflow: hidden;
}

.prop-card img {
    cursor: zoom-in; /* Changes mouse to a magnifying glass */
    transition: transform 0.3s ease, border-color 0.3s;
    border: 2px solid transparent;
}

.prop-card img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    border-color: #4A90E2; /* Blue border to show it's selected/clickable */
}

/* Adds a small 'Click to View' badge over the image */
.prop-card::after {
    content: '🔍 View';
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.prop-card:hover::after {
    opacity: 1;
}