@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&family=Poppins:wght@300;400;600&display=swap');

:root {
    --navy: #002954; 
    --yellow: #FFE93A;
    --yellow-light: #fff8c4;
    --sky: #357df9;
    --cream: #FDFBF7; 
    --soft-blue: #E8F0FE;
    --white: #ffffff;
    --text-main: #334155;
    --text-light: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--cream); 
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; color: var(--navy); font-weight: 800; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* --- ROUNDED FLOATING NAV BAR --- */
.main-header { position: fixed; top: 20px; left: 0; right: 0; z-index: 1000; padding: 0 20px; pointer-events: none; }

.header-glass {
    pointer-events: auto;
    background: var(--navy); 
    padding: 10px 30px;
    border-radius: 50px; 
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 15px 30px rgba(0, 41, 84, 0.15);
    max-width: 1360px; margin: 0 auto;
}

.logo-link img { height: 50px; width: auto; display: block; }

.navbar { display: flex; align-items: center; }

.navbar a { color: var(--white); text-decoration: none; font-size: 1rem; font-weight: 600; margin-left: 30px; transition: 0.3s; font-family: 'Nunito', sans-serif;}

.navbar a:hover { color: var(--yellow); }

.btn-tour { background: var(--yellow); color: var(--navy) !important; padding: 12px 28px; border-radius: 50px; font-weight: 800; box-shadow: 0 4px 15px rgba(255, 233, 58, 0.2); transition: 0.3s; border: none; cursor: pointer;}
.btn-tour:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 233, 58, 0.4); }

.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.menu-toggle .bar { width: 25px; height: 3px; background-color: var(--white); transition: 0.3s; border-radius: 3px; }

/* --- DATE INPUT STYLING & BROWSER FIXES --- */
input[type="date"].form-control {
    /* Removes the ugly native styling on iOS/Safari */
    appearance: none; 
    -webkit-appearance: none;
    
    /* Ensures the text color matches your theme */
    color: var(--text-main); 
    
    /* Makes sure the height perfectly matches the text inputs */
    line-height: 1.5; 
    
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 15px; /* Slightly less right-padding so the calendar icon fits */
    display: block;
}

/* Turns placeholder format into a lighter color until selected */
input[type="date"].form-control:invalid::-webkit-datetime-edit {
    color: var(--text-light);
}

/* Styles the little calendar icon */
input[type="date"].form-control::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s ease;
}
input[type="date"].form-control::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Fix for native browser validation scrolling under the fixed header */
.form-control {
    scroll-margin-top: 120px; 
}

/* Also apply it to the form container for server-side error reloads */
#tour-form {
    scroll-margin-top: 120px;
}

/* --- HERO --- */
.hero-full { 
    position: relative; overflow: hidden;
    padding: 200px 0 120px; display: flex; flex-direction: column; justify-content: center; 
    background: radial-gradient(circle at 50% 0%, var(--soft-blue) 0%, var(--cream) 80%);
    text-align: center;
}
.hero-content { position: relative; z-index: 10; padding: 0 20px; }
.hero-full h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1.1; margin-bottom: 25px; }
.hero-full p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 35px; color: var(--text-main); line-height: 1.8; }

.bg-marquee {
    position: absolute; top: 50%; left: -10%; width: 120%;
    transform: translateY(-50%) rotate(-2deg);
    z-index: 1; opacity: 0.04; pointer-events: none; white-space: nowrap; overflow: hidden;
}
.bg-marquee-content { display: inline-block; animation: marquee 60s linear infinite; }
.bg-marquee-item { font-size: 10rem; font-weight: 800; font-family: 'Nunito', sans-serif; color: var(--navy); margin-right: 50px; display: inline-flex; align-items: center; }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.inner-hero {
    padding: 200px 0 100px; text-align: center;
    background: radial-gradient(circle at 50% 100%, var(--soft-blue) 0%, var(--cream) 100%);
    border-radius: 0 0 80px 80px; margin-bottom: 60px; position: relative; overflow: hidden;
}

/* --- GRIDS & CARDS --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 80px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 80px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; align-items: center; }

.card { background: var(--white); padding: 40px; border-radius: 30px; box-shadow: 0 10px 30px rgba(0, 41, 84, 0.04); transition: 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 41, 84, 0.08); }
.card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.card p { opacity: 0.85; line-height: 1.7; font-size: 1.05rem; }

.icon-wrap { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; background: var(--cream); padding: 18px; border-radius: 20px; }
.card-img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* --- PROFILE BOX --- */
.profile-box { 
    background: var(--white); 
    padding: 60px; 
    border-radius: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
    border: 1px solid rgba(0, 41, 84, 0.05);
    border-top: 8px solid var(--sky);
}
.profile-title { color: var(--sky); font-weight: 700; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 1px; margin-bottom: 20px; display: block;}

/* --- FORM STYLING --- */
.form-box { 
    background: var(--white); 
    padding: 50px; 
    border-radius: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
    border: 1px solid rgba(0, 41, 84, 0.05);
    border-top: 8px solid var(--sky);
}
.form-group { margin-bottom: 25px; text-align: left; }
.form-label { display: block; font-weight: 700; margin-bottom: 10px; color: var(--navy); font-size: 1.05rem; }
.form-control { width: 100%; padding: 16px 20px; border: 1px solid rgba(0,0,0,0.1); border-radius: 15px; font-family: 'Poppins', sans-serif; font-size: 1rem; background: var(--cream); outline: none; transition: 0.3s; }
.form-control:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(53, 125, 249, 0.1); background: var(--white); }

/* --- PREMIUM RADIO BUTTON CARDS --- */
.radio-group { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 15px; 
    margin-top: 15px; 
}
.radio-label { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    cursor: pointer; 
    font-size: 1rem; 
    color: var(--text-main); 
    background: var(--cream);
    padding: 16px 20px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: 0.3s ease;
}
.radio-label:hover {
    background: var(--white);
    border-color: rgba(53, 125, 249, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.radio-label:has(input[type="radio"]:checked) {
    background: var(--soft-blue);
    border-color: var(--sky);
    font-weight: 600;
    color: var(--navy);
}
.radio-label input[type="radio"] { 
    width: 22px; 
    height: 22px; 
    accent-color: var(--sky); 
    cursor: pointer; 
    margin: 0;
}

.alert { padding: 20px; border-radius: 15px; margin-bottom: 25px; font-weight: 600; text-align: center; }
.alert-success { background: #e2fbe8; color: #008361; border: 1px solid #008361; }
.alert-error { background: #ffe8ef; color: #d63163; border: 1px solid #d63163; }

/* --- FLOATING CTA --- */
.floating-cta {
    position: fixed; bottom: 30px; right: 30px; z-index: 999;
    background: var(--navy); color: var(--yellow);
    padding: 15px 30px; border-radius: 50px;
    font-weight: 800; font-family: 'Nunito', sans-serif; font-size: 1.1rem;
    text-decoration: none; box-shadow: 0 10px 25px rgba(0, 41, 84, 0.25);
    display: flex; align-items: center; gap: 10px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-cta:hover { transform: translateY(-5px) scale(1.05); background: var(--yellow); color: var(--navy); box-shadow: 0 15px 35px rgba(255, 233, 58, 0.4); }
.floating-cta.cta-inverted {
    background: var(--yellow) !important;
    color: var(--navy) !important;
    box-shadow: 0 10px 25px rgba(255, 233, 58, 0.3) !important;
}
.floating-cta.cta-inverted:hover {
    background: var(--white) !important;
    transform: translateY(-5px) scale(1.05);
}

/* --- FOOTER FIX --- */
.cta-section { background: var(--yellow-light); padding: 80px 20px; text-align: center; }
.cta-section h2 { font-size: 2.8rem; margin-bottom: 20px; }
.cta-section p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; color: var(--text-main); }

.main-footer { 
    background: var(--navy); color: var(--white); 
    padding: 80px 0 30px; 
    border-radius: 80px 80px 0 0; 
    margin-top: 0; 
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
img.footer-logo { max-width: 140px; height: auto; display: block; margin-bottom: 20px; }
.footer-info h4, .footer-location h4 { color: var(--yellow); margin-bottom: 20px; font-size: 1.2rem; }
.main-footer p { opacity: 0.8; margin-bottom: 10px; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; font-size: 0.9rem; opacity: 0.7; }

/* ANIMATIONS */
.animate { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.animate.show { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) { 
    .grid-4 { grid-template-columns: repeat(2, 1fr); } 
}

@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    img.footer-logo { margin: 0 auto 20px; }
    .floating-cta { bottom: 20px; right: 20px; padding: 12px 20px; font-size: 1rem; }
    
    .container { padding: 0 20px; }
    h1, h2 { font-size: 2rem !important; line-height: 1.3; }
    h3 { font-size: 1.6rem !important; }
    section.container { padding-top: 40px !important; padding-bottom: 60px !important; }
    
    /* Mobile Menu Toggle */
    .menu-toggle { display: flex; pointer-events: auto; z-index: 1001; }
    
    /* New Seamless Glass Menu */
    .navbar {
        display: flex; flex-direction: column; pointer-events: auto;
        position: absolute; 
        top: 100%; 
        left: 10px; right: 10px; 
        margin-top: 15px;
        
        background: rgba(0, 41, 84, 0.95) !important; 
        backdrop-filter: blur(15px); 
        -webkit-backdrop-filter: blur(15px); 
        border: 1px solid rgba(255, 255, 255, 0.05); 
        box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important; 
        
        padding: 40px 20px; 
        border-radius: 30px;
        text-align: center; gap: 30px;
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.95);
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    }
    
    .navbar.active { 
        opacity: 1; 
        visibility: visible;
        transform: translateY(0) scale(1); 
    }
    .navbar a { margin-left: 0; font-size: 1.3rem; }
    
    /* Hamburger to 'X' Animation */
    .menu-toggle .bar { transition: 0.4s ease-in-out; transform-origin: center; }
    .menu-toggle.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.open .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 600px) { 
    .grid-4, .grid-3 { grid-template-columns: 1fr; } 
    h1, h2 { font-size: 1.8rem !important; }
}
