/* =========================================
   Roots & Routes Tours - Global Styles
   ========================================= */

/* Base Resets */
html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #000; 
    margin: 0; 
    padding: 0; 
}

/* Typography */
.premium-font { 
    font-family: 'Playfair Display', serif; 
}

/* Custom UI Elements */
.wet-glass {
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(255, 255, 255, 0.02);
}

/* Animations */
@keyframes revealText {
    0% { opacity: 0; transform: translateY(40px); filter: blur(15px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.animate-reveal { 
    animation: revealText 2s cubic-bezier(0.19, 1, 0.22, 1) forwards; 
}

/* Hero Background Slider */
.slider-container {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    z-index: -2; 
    background-color: #000;
}

.slider-img {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    opacity: 0; 
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 10s ease-out;
    transform: scale(1.05);
}

.slider-img.active {
    opacity: 1; 
    transform: scale(1); 
    z-index: -1;
}

/* Gradient Overlays for Readability */
.gradient-overlay {
    position: fixed; 
    inset: 0; 
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(10,10,10,1) 100%);
}

/* Form Specific Styles (For Booking & Packages Pages) */
input[type="radio"]:checked + div .check-indicator { 
    background-color: #4ade80; 
    border-color: #4ade80; 
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

input[type="radio"]:checked ~ p { 
    color: rgba(255,255,255,0.9); 
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
}

#chatToggle, #chatWindow {
    position: fixed !important;
    /* Force the element to be relative to the viewport, not the parent */
    transform-style: flat !important;
    backface-visibility: visible !important;
}

/* Ensure the body doesn't have a perspective property that ruins fixed positioning */
body {
    perspective: none !important;
    transform: none !important;
}

.wet-glass {
        /* Darker semi-transparent black background */
        background: rgba(0, 0, 0, 0.4); 
        
        /* Increased blur for a deeper "wet" look */
        backdrop-filter: blur(40px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(480%);
        
        /* Darker, subtle border to define the shape */
        border: 1px solid rgba(255, 255, 255, 0.08);
        
        /* Deeper shadow to help the dark glass stand out against the dark background */
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    }

.dark-glass {
    /* 1. Darken the base: Increased from 0.45 to 0.75 for a deep obsidian look */
    background: rgba(0, 0, 0, 0.75); 
    
    /* 2. Stabilize Blur: 80px-100px provides maximum diffusion without breaking the renderer */
    /* 3. Lower Saturation: High saturation (880%) can make dark glass look 'neon' or grainy. 
          150-200% keeps the background colors natural but deep. */
    backdrop-filter: blur(80px) saturate(150%);
    -webkit-backdrop-filter: blur(80px) saturate(150%);
    
    /* 4. Refined Edge: A darker border makes the glass feel heavier and more 'real' */
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* 5. Enhanced Shadow: Increased spread and opacity for a floating effect */
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
}
    .premium-font {
        font-family: 'Satoshi-Variable', sans-serif;
        font-variation-settings: 'wght' 900;
    }
.chat-option {
    color: #16a34a; /* A nice green color to match your brand */
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.2s ease;
    display: inline-block;
}

.chat-option:hover {
    color: #15803d;
    transform: scale(1.05);
}

/* If the user is on mobile, give them a bit more space to tap */
@media (max-width: 640px) {
    .chat-option {
        padding: 2px 0;
    }
}
.chat-option-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(22, 163, 74, 0.2); /* Soft green glow */
    border: 1px solid #16a34a;
    color: #16a34a;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

.chat-option-btn:hover {
    background: #16a34a;
    color: white;
    box-shadow: 0 0 15px rgba(22, 163, 74, 0.4);
    transform: translateY(-2px);
}
/* Base style for clickable options */
.chat-option-btn, .chat-option {
    display: inline-block;
    padding: 10px 18px; /* Increased padding for easier tapping */
    background: rgba(22, 163, 74, 0.15); 
    border: 1.5px solid #16a34a; /* Slightly thicker border */
    color: #4ade80; /* Brighter green for better visibility on dark bg */
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 5px 2px;
    font-size: 14px;
    text-align: center;
    text-decoration: none !important; /* Remove underline */
    -webkit-tap-highlight-color: transparent; /* Remove the blue box on tap */
}

/* Specific highlight for when the user actually touches the button on mobile */
.chat-option-btn:active, .chat-option:active {
    background: #16a34a;
    color: white;
    transform: scale(0.95); /* Shrink effect gives physical feedback */
}

/* Hover only works on desktop, but we keep it for completeness */
@media (min-width: 1024px) {
    .chat-option-btn:hover, .chat-option:hover {
        background: #16a34a;
        color: white;
        box-shadow: 0 0 15px rgba(22, 163, 74, 0.4);
        transform: translateY(-2px);
    }
}

/* Mobile-Specific Tweaks */
@media (max-width: 768px) {
    .chat-option-btn, .chat-option {
        font-size: 13px;
        padding: 8px 15px;
        background: rgba(22, 163, 74, 0.25); /* Darker background on mobile for contrast */
        margin-top: 8px;
    }
}