/* ==========================================
   AAHANA INN - BOOKING PAGE STYLES
   High-Contrast Luxury Theme with Glassmorphism
   ========================================== */

:root {
    --primary-gold: #D4AF37;
    --primary-gold-light: #F2D06B;
    --primary-gold-dark: #A68624;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    
    --black: #050505;
    --charcoal: #0a0c10; 
    --dark-gray: #12141a; 
    --medium-gray: #1f2229;
    
    --gray: #64748b;
    --light-gray: #cbd5e1;
    --white: #ffffff;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
    
    --section-padding: 100px;
    --container-width: 1400px;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --shadow-md: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.6);
    --shadow-gold: 0 8px 25px rgba(212,175,55,0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background-color: var(--charcoal); color: var(--light-gray); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition-medium); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--font-body); outline: none; border: none; background: none; }
button { cursor: pointer; }

/* UTILITY & GLASSMORPHISM */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 30px; }
.glassmorphism {
    background: rgba(18, 20, 26, 0.65); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.15); box-shadow: var(--shadow-md);
}
.magnetic-btn { transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.p-40 { padding: 40px; }

/* PRELOADER & CURSOR */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--charcoal); display: flex; align-items: center; justify-content: center; z-index: 10000; transition: opacity 0.8s ease, visibility 0.8s ease; }
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }
.preloader-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary-gold); letter-spacing: 2px; margin-top: 20px;}
.preloader-spinner { position: relative; width: 80px; height: 80px; margin: 0 auto; }
.spinner-ring { position: absolute; width: 100%; height: 100%; border: 3px solid transparent; border-top-color: var(--primary-gold); border-radius: 50%; animation: spin 1.5s linear infinite; }
.spinner-ring:nth-child(2) { width: 70%; height: 70%; top: 15%; left: 15%; border-top-color: var(--primary-gold-light); animation-duration: 1.2s; animation-direction: reverse; }
.spinner-ring:nth-child(3) { width: 40%; height: 40%; top: 30%; left: 30%; border-top-color: var(--primary-gold-dark); animation-duration: 0.9s; }
@keyframes spin { to { transform: rotate(360deg); } }

.cursor-follower, .cursor-dot { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); opacity: 0; }
.cursor-follower { width: 45px; height: 45px; border: 2px solid var(--primary-gold); transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease; }
.cursor-dot { width: 8px; height: 8px; background: var(--primary-gold); transition: background-color 0.2s ease;}
@media (hover: hover) { .cursor-follower, .cursor-dot { opacity: 1; } }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: var(--transition-medium); background: linear-gradient(to bottom, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0) 100%); }
.navbar.scrolled.glass-nav { background: rgba(10, 12, 16, 0.85); backdrop-filter: blur(25px); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.navbar-container { max-width: 1600px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.logo-wrapper { display: flex; align-items: center; gap: 15px; }
.logo-img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--primary-gold); padding: 2px; }
.logo-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); line-height: 1; letter-spacing: 2px; }
.logo-tagline { font-family: var(--font-body); font-size: 0.65rem; font-weight: 500; color: var(--primary-gold); letter-spacing: 4px; text-transform: uppercase; }

.navbar-menu { display: flex; align-items: center; gap: 5px; }
.nav-link { position: relative; padding: 10px 20px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.nav-link-text { font-size: 0.9rem; font-weight: 600; color: var(--white); transition: var(--transition-medium); text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.nav-link-line { width: 0; height: 2px; background: var(--gold-gradient); transition: var(--transition-medium); border-radius: 2px; }
.nav-link:hover .nav-link-text, .nav-link.active .nav-link-text { color: var(--primary-gold); }
.nav-link:hover .nav-link-line, .nav-link.active .nav-link-line { width: 30px; }

.navbar-right { display: flex; align-items: center; gap: 15px; }
.menu-toggle { display: none; flex-direction: column; gap: 6px; padding: 10px; cursor: pointer; }
.menu-line { width: 30px; height: 2px; background: var(--white); transition: var(--transition-medium); }
.fullscreen-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; }
.fullscreen-menu.active { pointer-events: all; opacity: 1; visibility: visible; }

/* PAGE HERO */
.page-hero { position: relative; height: 50vh; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; z-index: 1; }
.parallax-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-slide-bg { width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.9) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 4; text-align: center; padding: 0 30px; margin-top: 50px;}
.hero-badge { display: inline-flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.badge-line { width: 50px; height: 1px; background: var(--gold-gradient); }
.badge-text { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--primary-gold); }
.title-main { display: block; font-family: var(--font-display); font-size: 4.5rem; font-weight: 800; color: #fff; text-shadow: 0 5px 15px rgba(0,0,0,0.8);}

/* ===== BOOKING PAGE LAYOUT ===== */
.booking-page-section { padding: 60px 0 var(--section-padding); background: var(--charcoal); }
.booking-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 50px; align-items: start; }

/* Form Styles */
.booking-form-area form { border-radius: 20px; }
.form-section-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--primary-gold); margin-bottom: 25px; padding-bottom: 10px; border-bottom: 1px solid rgba(212,175,55,0.2); }
.form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.form-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px;}
.form-row-grid .form-group { margin-bottom: 0; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--light-gray); text-transform: uppercase; letter-spacing: 1px;}
.form-label i { color: var(--primary-gold); margin-right: 8px;}
.form-input { padding: 15px 20px; background: rgba(10, 12, 16, 0.8); border: 1px solid rgba(212,175,55,0.2); border-radius: 10px; color: var(--white); font-size: 1rem; width: 100%; transition: 0.3s; }
.form-input:focus { border-color: var(--primary-gold); box-shadow: 0 0 15px rgba(212,175,55,0.2); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.btn-block { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--gold-gradient); color: var(--black); border-radius: 50px; border: none; font-weight: 700; transition: 0.3s; cursor: pointer;}
.btn-block:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-gold); }

/* Add-ons Checkboxes */
.addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.addon-checkbox { cursor: pointer; display: block; position: relative; }
.addon-input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.glass-contact-item { display: flex; align-items: center; padding: 20px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease;}
.addon-content { display: flex; align-items: center; gap: 15px; }
.addon-content i { font-size: 1.5rem; color: var(--primary-gold); }
.addon-content h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 5px; }
.addon-content p { font-size: 0.9rem; color: var(--light-gray); }
/* Checked State */
.addon-input:checked ~ .addon-content { opacity: 1; }
.addon-input:checked ~ .addon-content i { color: var(--white); }
.addon-checkbox:has(input:checked) { background: var(--primary-gold-dark); border-color: var(--primary-gold); }

/* Sticky Summary Card */
.sticky-summary { position: sticky; top: 120px; padding: 30px; border-radius: 20px; }
.summary-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); margin-bottom: 20px; text-align: center;}
.summary-image { width: 100%; height: 180px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; border: 1px solid rgba(212,175,55,0.2);}
.summary-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; }
.detail-label { color: var(--gray); font-weight: 600;}
.detail-value { color: var(--white); font-weight: 500; text-align: right;}
.summary-divider { border: 0; height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }
.price-breakdown .price-row { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--light-gray); font-size: 0.9rem; }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.total-row span:first-child { font-size: 1.1rem; font-weight: 600; color: var(--white); }
.total-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--primary-gold); }
.trust-badges { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.trust-badges span { font-size: 0.8rem; color: #2ECC71; font-weight: 600;}
.trust-badges i { margin-right: 5px; }

/* FOOTER */
.modern-footer { background: #050505; position: relative; padding-top: 80px; color: var(--light-gray); }
.footer-top-accent { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold-gradient); }
.footer-main-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-brand-logo { display: inline-flex; align-items: center; gap: 15px; margin-bottom: 20px; transition: transform 0.3s ease;}
.footer-brand-logo:hover { transform: scale(1.05); }
.footer-brand-logo .logo-name { font-family: var(--font-display); font-size: 2rem; color: var(--white); display: block; }
.footer-bio { font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.proprietor-info { font-size: 0.8rem; color: var(--gray); margin-bottom: 25px; }
.footer-socials { display: flex; gap: 15px; }
.footer-socials a { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); color: var(--white); border: 1px solid rgba(255,255,255,0.1); }
.footer-socials a:hover { background: var(--primary-gold); color: var(--black); border-color: var(--primary-gold); box-shadow: var(--shadow-gold);}
.footer-heading { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); margin-bottom: 25px; letter-spacing: 1px; }
.footer-links-list { display: flex; flex-direction: column; gap: 12px; }
.footer-links-list a { font-size: 0.95rem; transition: var(--transition-medium); }
.footer-links-list a:hover { color: var(--primary-gold); transform: translateX(5px); display: inline-block; }
.footer-contact-list { display: flex; flex-direction: column; gap: 15px; }
.footer-map-wrapper { position: relative; }
.footer-map-wrapper iframe { width: 100%; height: 200px; border-radius: 15px; filter: grayscale(50%) contrast(1.1); border: 1px solid rgba(255,255,255,0.1);}
.footer-map-wrapper iframe:hover { filter: grayscale(0%); border-color: var(--primary-gold); box-shadow: var(--shadow-gold);}
.btn-directions {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    background: var(--gold-gradient); color: var(--black); font-weight: 700; font-size: 0.85rem;
    padding: 10px 22px; border-radius: 50px; box-shadow: var(--shadow-gold); z-index: 3;
}
.btn-directions:hover { transform: translateX(-50%) translateY(-3px); }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 30px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a:hover { color: var(--primary-gold); }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; background: var(--gold-gradient); border-radius: 50%; color: var(--black); font-size: 1.2rem; opacity: 0; visibility: hidden; z-index: 999; border: 2px solid transparent;}
.back-to-top.visible { opacity: 1; visibility: visible; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .navbar-menu { display: none; }
    .menu-toggle { display: flex; }
    .booking-layout { grid-template-columns: 1fr; }
    .footer-main-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .title-main { font-size: 3.5rem; }
    .form-row-grid, .addons-grid { grid-template-columns: 1fr; }
    .booking-form-area form { padding: 30px 20px; }
    .footer-main-grid { grid-template-columns: 1fr; }
    .footer-bottom-bar { flex-direction: column; gap: 15px; text-align: center; }
}
@media (max-width: 480px) {
    .navbar-container { padding: 0 20px; }
    .logo-name { font-size: 1.2rem; }
    .page-hero { min-height: 320px; }
    .title-main { font-size: 2.4rem; }
    .badge-text { letter-spacing: 3px; font-size: 0.7rem; }
    .container { padding: 0 18px; }
    .p-40 { padding: 24px; }
    .summary-image { height: 140px; }
    .total-price { font-size: 1.6rem; }
    .glass-contact-item { padding: 14px; font-size: 0.9rem; }
    .footer-map-wrapper iframe { height: 170px; }
    .btn-directions { font-size: 0.78rem; padding: 8px 16px; bottom: 10px; }
    .back-to-top { width: 46px; height: 46px; right: 18px; bottom: 18px; font-size: 1rem; }
}