/* ==========================================================================
   THE HERITAGE HOTEL - ROYAL 5-STAR LUXURY DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Royal Color Palette */
    --primary: #1C0F0A;          /* Deep Royal Mahogany */
    --primary-light: #2D1A12;    /* Warm Espresso */
    --primary-surface: #382118;  /* Elevated Dark Panel */
    --secondary: #D4AF37;        /* 24K Champagne Gold */
    --secondary-light: #F0DA8A;  /* Soft Shimmer Gold */
    --secondary-dark: #A68020;   /* Deep Bronze Gold */
    --gold-glow: rgba(212, 175, 55, 0.35);
    
    /* Neutrals */
    --bg-light: #FAF7F2;         /* Royal Alabaster Silk */
    --bg-card: #FFFFFF;
    --text-dark: #1F1612;        /* Obsidian Dark */
    --text-muted: #6B5E57;       /* Refined Charcoal Grey */
    --text-light: #F7EFE8;       /* Warm Cream */
    --border-gold: rgba(212, 175, 55, 0.28);
    --border-light: #EDE5DC;
    
    /* Typography */
    --font-royal: 'Cinzel', serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows & Radii */
    --shadow-sm: 0 4px 15px rgba(28, 15, 10, 0.06);
    --shadow-md: 0 10px 30px rgba(28, 15, 10, 0.1);
    --shadow-lg: 0 20px 50px rgba(28, 15, 10, 0.16);
    --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --ease-royal: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & FOUNDATION --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-royal);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease-royal);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- LUXURY CONTAINER & UTILITIES --- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }
.flex { display: flex; align-items: center; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* Luxury Eyebrow Subtitles */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-dark);
    margin-bottom: 12px;
}

.eyebrow::before, .eyebrow::after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 1px;
    background: var(--secondary);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.35s var(--ease-royal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary-light);
    border: 1.5px solid var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--primary) !important;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: linear-gradient(135deg, #D4AF37 0%, #C59B27 100%);
    color: #FFFFFF;
    border: 1.5px solid #E6C665;
    box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #E5C158 0%, #B68940 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
    color: #FFFFFF !important;
}

.btn-ghost-gold {
    background: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}

.btn-ghost-gold:hover {
    background: var(--secondary);
    color: #FFFFFF !important;
}

/* --- HEADER & NAVIGATION ALIGNMENT --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.35s var(--ease-royal);
    background: linear-gradient(to bottom, rgba(16, 8, 4, 0.92) 0%, rgba(16, 8, 4, 0.45) 70%, rgba(16, 8, 4, 0) 100%);
}

header.scrolled {
    background: rgba(22, 11, 7, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.header-container, header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    gap: 20px;
}

header .logo {
    font-family: var(--font-royal);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1;
}

header .logo i {
    color: var(--secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

header .logo span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

header .logo small {
    font-size: 0.78rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1.5px;
}

header.scrolled .logo {
    color: #FFFFFF;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

header nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.8vw, 30px);
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

header nav li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

header nav a {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s var(--ease-royal);
    text-decoration: none;
    line-height: 1;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.25s var(--ease-royal);
    border-radius: 1px;
}

header nav a:hover,
header nav a.active {
    color: var(--secondary-light);
}

header nav a:hover::after,
header nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-header-signin {
    background: transparent;
    border: 1.5px solid var(--secondary);
    color: var(--secondary-light);
    height: 42px;
    padding: 0 20px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s var(--ease-royal);
    box-sizing: border-box;
    line-height: 1;
}

.btn-header-signin:hover {
    background: var(--secondary);
    color: var(--primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.header-book-btn {
    height: 42px;
    padding: 0 22px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-full);
    box-sizing: border-box;
    line-height: 1;
}

/* User Account Menu */
.user-menu-wrap {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: rgba(212, 175, 55, 0.12);
    border: 1.5px solid var(--secondary);
    color: var(--secondary-light);
    height: 42px;
    padding: 0 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1;
    transition: all 0.3s var(--ease-royal);
}

.user-btn:hover {
    background: var(--secondary);
    color: var(--primary) !important;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #FFFFFF;
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 45px rgba(0,0,0,0.18);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 1001;
    border: 1px solid var(--border-gold);
    animation: fadeInDown 0.25s var(--ease-royal);
}

.user-dropdown.show {
    display: flex;
}

.user-dropdown a, .user-dropdown button {
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.88rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: none;
    font-weight: 500;
    transition: 0.2s;
}

.user-dropdown a:hover, .user-dropdown button:hover {
    background: var(--bg-light);
    color: var(--secondary-dark);
    padding-left: 24px;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}

/* --- HERO SECTION ALIGNMENT & SPACING --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    background: linear-gradient(180deg, rgba(16, 8, 4, 0.78) 0%, rgba(22, 11, 6, 0.82) 45%, rgba(16, 8, 4, 0.94) 100%), 
                url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 110px 24px 90px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-royal);
    font-size: clamp(5rem, 13vw, 12rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.035);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 12px;
    text-transform: uppercase;
    user-select: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 24px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius-full);
    color: var(--secondary-light);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 auto 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-royal);
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    color: #FFFFFF;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 20px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    text-wrap: balance;
    max-width: 840px;
}

.hero-title span {
    color: var(--secondary);
    font-style: italic;
    font-family: var(--font-serif);
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-desc {
    font-family: var(--font-sans);
    font-size: clamp(1.02rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 300;
    line-height: 1.75;
    max-width: 650px;
    margin: 0 auto 34px;
    text-align: center;
}

/* --- CTA BUTTONS GROUP --- */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 auto;
    width: 100%;
    flex-wrap: wrap;
}

.hero-btn {
    min-height: 52px;
    height: 52px;
    min-width: 210px;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all 0.3s var(--ease-royal);
    line-height: 1;
}

.hero-btn i {
    font-size: 0.95rem;
    transition: transform 0.25s var(--ease-royal);
}

.hero-btn:hover i {
    transform: translateX(3px);
}

/* --- FLOATING BOOKING ENGINE BAR --- */
.floating-booking-bar {
    background: #FFFFFF;
    max-width: 1100px;
    margin: -60px auto 40px;
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(28, 15, 10, 0.18);
    position: relative;
    z-index: 20;
    border: 1px solid var(--border-gold);
}

.booking-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.booking-bar-header h4 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-bar-header h4 i {
    color: var(--secondary-dark);
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 180px;
    gap: 18px;
    align-items: flex-end;
}

.input-box {
    background: var(--bg-light);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    transition: all 0.3s;
}

.input-box:focus-within {
    border-color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.input-box label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.input-box input, .input-box select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0;
    outline: none;
}

/* --- ROOM CARDS --- */
.room-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-royal);
    display: flex;
    flex-direction: column;
    position: relative;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(28, 15, 10, 0.16);
    border-color: var(--border-gold);
}

.room-img-wrap {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-royal);
}

.room-card:hover .room-img {
    transform: scale(1.06);
}

.room-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(28, 15, 10, 0.85);
    color: var(--secondary-light);
    border: 1px solid var(--border-gold);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.room-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.room-info h3 {
    font-size: 1.35rem;
    margin: 0;
    color: var(--primary);
}

.price-wrap {
    margin: 6px 0 14px;
}

.price {
    font-family: var(--font-royal);
    color: var(--secondary-dark);
    font-size: 1.55rem;
    font-weight: 800;
}

.price span {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.room-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.amenities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.amenity-pill {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.amenity-pill i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* --- BADGES --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-confirmed { background: #E8F8F0; color: #1E824C; border: 1px solid #A2DED0; }
.badge-pending { background: #FEF9E7; color: #B7950B; border: 1px solid #F9E79F; }
.badge-cancelled { background: #FDEDEC; color: #C0392B; border: 1px solid #F5B7B1; }
.badge-available { background: #E8F8F0; color: #1E824C; border: 1px solid #A2DED0; }
.badge-booked { background: #FDEDEC; color: #C0392B; border: 1px solid #F5B7B1; }

/* --- STEP INDICATOR --- */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-item.active {
    color: #FFFFFF;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.step-item.active .step-number {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

.step-line {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

/* --- VOUCHER & PRINT STYLES --- */
.voucher-card {
    background: #FFFFFF;
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-gold);
}

.voucher-header {
    background: linear-gradient(135deg, #1C0F0A 0%, #2D1A12 100%);
    color: #FFFFFF;
    padding: 30px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--secondary);
}

.voucher-header h2 {
    color: var(--secondary);
    margin: 0;
    font-size: 1.6rem;
}

.voucher-body {
    padding: 36px;
}

.voucher-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 0.95rem;
}

.voucher-row:last-child {
    border-bottom: none;
}

/* --- PAGE HEADERS --- */
.page-header {
    position: relative;
    height: 45vh;
    background: linear-gradient(rgba(18, 9, 5, 0.72), rgba(28, 15, 10, 0.85)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    padding-top: 60px;
}

.page-header h1 {
    color: #FFFFFF;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Specific Page Backgrounds */
.rooms-header { background-image: linear-gradient(rgba(18, 9, 5, 0.72), rgba(28, 15, 10, 0.85)), url('../img/Room 1.avif'); }
.dining-header { background-image: linear-gradient(rgba(18, 9, 5, 0.72), rgba(28, 15, 10, 0.85)), url('../img/Dining.avif'); }
.amenities-header { background-image: linear-gradient(rgba(18, 9, 5, 0.72), rgba(28, 15, 10, 0.85)), url('../img/Bathroom 1.avif'); }
.gallery-header { background-image: linear-gradient(rgba(18, 9, 5, 0.72), rgba(28, 15, 10, 0.85)), url('../img/hero-bg.jpg'); }
.contact-header { background-image: linear-gradient(rgba(18, 9, 5, 0.72), rgba(28, 15, 10, 0.85)), url('../img/Room 3.avif'); }

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: #FFFFFF;
    color: var(--primary);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 320px;
    max-width: 440px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s var(--ease-royal);
    border-left: 6px solid var(--secondary);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success { border-left-color: #27ae60; }
.toast-success i { color: #27ae60; font-size: 1.25rem; }
.toast-error { border-left-color: #e74c3c; }
.toast-error i { color: #e74c3c; font-size: 1.25rem; }
.toast-info { border-left-color: var(--secondary); }
.toast-info i { color: var(--secondary); font-size: 1.25rem; }

/* --- AUTH MODAL --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 9, 5, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: #FFFFFF;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    border: 1px solid var(--border-gold);
    animation: modalPop 0.35s var(--ease-royal);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--secondary-dark);
}

.auth-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-light);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-royal);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.3s;
    position: relative;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* --- FOOTER --- */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 80px 0 30px;
    border-top: 3px solid var(--secondary);
    position: relative;
}

footer h3 {
    color: var(--secondary-light);
    margin-bottom: 22px;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
}

footer p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
}

footer ul li {
    margin-bottom: 12px;
}

footer a {
    color: rgba(255, 255, 255, 0.75);
}

footer a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating WhatsApp Badge */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 35px;
    right: 35px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20bd5a;
}

/* Filter buttons for rooms & gallery */
.filter-btn {
    padding: 10px 26px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-gold);
    background: transparent;
    color: var(--primary);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--secondary-light);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1140px) {
    .header-container, header .container {
        padding: 0 20px;
        gap: 15px;
    }
    header nav ul {
        gap: clamp(10px, 1.4vw, 18px);
    }
    header nav a {
        font-size: 0.82rem;
        letter-spacing: 0.8px;
    }
    .header-actions {
        gap: 8px;
    }
    .header-book-btn {
        padding: 0 16px;
        font-size: 0.84rem;
    }
    .btn-header-signin {
        padding: 0 14px;
        font-size: 0.84rem;
    }
}

@media (max-width: 992px) {
    .header-container, header .container {
        padding: 0 20px;
    }
    
    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(18, 9, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 90px 24px 40px;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        z-index: 999;
        border-bottom: 2px solid var(--secondary);
    }
    
    header nav.active {
        display: flex;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 22px;
        width: 100%;
    }
    
    header nav a {
        font-size: 1.15rem;
        letter-spacing: 2px;
        padding: 8px 0;
    }
    
    .mobile-toggle {
        display: block;
        order: 3;
    }
    
    .header-actions {
        order: 2;
        margin-left: auto;
    }

    .booking-form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .booking-form-grid button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 18px 70px;
        min-height: 100svh;
        background-attachment: scroll;
    }

    .hero-watermark {
        font-size: clamp(3.5rem, 16vw, 7rem);
        letter-spacing: 6px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 16px;
        letter-spacing: 1.2px;
        margin-bottom: 18px;
        max-width: 95%;
    }

    .hero-title {
        font-size: clamp(1.9rem, 7.5vw, 2.7rem);
        line-height: 1.22;
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 28px;
        padding: 0 8px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 12px;
        margin: 0 auto;
    }

    .hero-btn {
        width: 100%;
        min-width: unset;
        height: 50px;
    }

    .floating-booking-bar {
        margin: -30px 15px 30px;
        padding: 24px 20px;
    }
    .booking-form-grid {
        grid-template-columns: 1fr;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header .logo {
        font-size: 1.2rem;
        letter-spacing: 1.8px;
    }
    header .logo small {
        display: none;
    }
    .btn-header-signin {
        padding: 0 12px;
        font-size: 0.8rem;
    }
    .header-book-btn {
        padding: 0 14px;
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .btn, .no-print, .whatsapp-float, .floating-booking-bar {
        display: none !important;
    }
    body { background: #FFFFFF !important; }
}