/* ==========================================
   VIBE STAY - PREMIUM DETAILS DESIGN SYSTEM
   DETAILS.CSS
========================================== */

:root {
    --brand-emerald: #1b5e20;
    --brand-emerald-hover: #123e15;
    --brand-emerald-light: #e8f5e9;
    --brand-emerald-subtle: #c8e6c9;
    --brand-dark: #0f172a;
    
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 85px;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 992px) {
    body { padding-bottom: 0; }
}

.font-heading, h1, h2, h3, .section-header-title {
    font-family: 'Playfair Display', serif;
}

/* Color & Button Utilities */
.text-emerald { color: var(--brand-emerald) !important; }
.text-emerald-light { color: var(--brand-emerald-subtle) !important; }
.bg-emerald { background-color: var(--brand-emerald) !important; }

.btn-emerald {
    background-color: var(--brand-emerald);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.btn-emerald:hover {
    background-color: var(--brand-emerald-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 94, 32, 0.25);
}

.btn-outline-whatsapp {
    color: #059669;
    border: 2px solid #10b981;
    background: rgba(16, 185, 129, 0.05);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.btn-outline-whatsapp:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

/* ==========================================
   FLOATING NAVBAR
========================================== */
.navbar {
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-emerald);
}

.nav-link {
    font-weight: 600;
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-emerald) !important;
    background-color: var(--brand-emerald-light);
}

/* ==========================================
   HERO COVER & HEADER
========================================== */
.hero-container {
    padding-top: 100px;
}

.hero-card-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-section {
    position: relative;
    width: 100%;
    height: 52vh;
    min-height: 380px;
    max-height: 580px;
    background-color: var(--brand-dark);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-wrapper:hover .hero-image {
    transform: scale(1.03);
}

/* ==========================================
   SUMMARY FLOATING CARD
========================================== */
.summary-section {
    margin-top: -50px;
    position: relative;
    z-index: 25;
}

.summary-card {
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    padding: 2rem !important;
}

.price-badge-pill {
    background: var(--brand-emerald-light);
    border: 1px solid rgba(27, 94, 32, 0.15);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

/* ==========================================
   CONTENT CARDS
========================================== */
.card {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm);
    background: var(--card-bg);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.section-header-title {
    font-weight: 700;
    color: var(--text-primary);
}

.card-title-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-emerald-light);
    color: var(--brand-emerald) !important;
    border-radius: 14px;
    font-size: 1.15rem;
}

/* ==========================================
   AMENITIES CHIPS
========================================== */
.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenity-chip {
    background: var(--brand-emerald-light);
    color: var(--brand-emerald);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(27, 94, 32, 0.12);
}

/* ==========================================
   GALLERY
========================================== */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: #cbd5e1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.06);
}

/* ==========================================
   ENQUIRY FORM
========================================== */
#enquiryForm .form-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-secondary);
}

#enquiryForm .form-control {
    width: 100%;
    min-height: 48px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

#enquiryForm input[type="date"] {
    min-height: 48px;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
}

#enquiryForm input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    position: absolute;
    right: 14px;
    opacity: 0.6;
}

#enquiryForm .form-control:focus {
    background-color: #ffffff;
    border-color: var(--brand-emerald) !important;
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.12);
    outline: none;
}

/* ==========================================
   MOBILE ACTION DOCK
========================================== */
.mobile-action-bar {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    z-index: 1040;
    box-shadow: var(--shadow-lg);
}

.mobile-action-bar .btn {
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================
   FOOTER
========================================== */
.footer {
    background-color: #0f172a !important;
}

.modal-content {
    background: transparent;
    border: none;
}