/* -------------------------------------------------------------
 * Husash Resort & Spa - Design System & Stylesheet (2026 Modern)
 * ------------------------------------------------------------- */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Tokens (HUSASH Studio Palette - Configurable variables) */
    --color-bg-dark: #090d16;
    --color-bg-card-dark: rgba(15, 23, 42, 0.7);
    --color-bg-light: #f8fafc;
    --color-bg-card-light: #ffffff;
    --color-text-dark: #f8fafc;
    --color-text-light: #0f172a;
    --color-muted-dark: #94a3b8;
    --color-muted-light: #64748b;
    --color-primary: #f97316; /* Amber-orange accent */
    --color-primary-hover: #ea580c;
    --color-accent: #38bdf8; /* Light blue accent */
    
    /* Layout Tokens */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Glassmorphism */
    --glass-bg: rgba(9, 13, 22, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
}

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

html {
    scroll-behavior: initial; /* Managed by Lenis */
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.serif-text {
    font-family: var(--font-serif);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Custom Cursor (Desktop only) */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
}

/* Header & Glass Navigation */
header.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

header.main-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-muted-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-dark);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Primary buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
    background: linear-gradient(135deg, var(--color-primary-hover), #c2410c);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger Nav */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #0b0f19;
    z-index: 105;
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--color-bg-dark) 90%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 1.5rem;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

/* Smart Search Widget */
.search-widget-container {
    max-width: 1100px;
    width: calc(100% - 3rem);
    margin: -50px auto 0;
    position: relative;
    z-index: 30;
}

.search-widget {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-field label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-muted-dark);
    font-weight: 600;
}

.search-field input, .search-field select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.search-field input:focus, .search-field select:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Home Section Layouts */
section.py-120 {
    padding: 7.5rem 0;
}

.container-custom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

/* Swiper Rooms Slider */
.rooms-carousel {
    padding-bottom: 3.5rem !important;
}

.room-card {
    background: var(--color-bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.room-card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.room-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(9, 13, 22, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.room-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.room-card-desc {
    color: var(--color-muted-dark);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.room-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.room-card-price span {
    font-size: 0.85rem;
    color: var(--color-muted-dark);
    font-weight: 400;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.amenity-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.amenity-card:hover {
    background: rgba(249, 115, 22, 0.02);
    border-color: rgba(249, 115, 22, 0.2);
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.amenity-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.amenity-desc {
    color: var(--color-muted-dark);
    font-size: 0.9rem;
}

/* Animated Stats Counter */
.stats-section {
    background: linear-gradient(rgba(9, 13, 22, 0.9), rgba(9, 13, 22, 0.9)), url('../img/stats-bg.jpg') no-repeat center center/cover;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--color-primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-muted-dark);
}

/* Testimonials Swiper */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 3.5rem !important;
}

.testimonial-slide {
    text-align: center;
    padding: 0 1.5rem;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before, .testimonial-quote::after {
    content: '"';
    color: var(--color-primary);
    font-size: 3rem;
    position: absolute;
    opacity: 0.3;
}

.testimonial-quote::before {
    left: -20px;
    top: -20px;
}

.testimonial-quote::after {
    right: -20px;
    bottom: -40px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Footer Section */
footer.main-footer {
    background: #060910;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--color-muted-dark);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted-dark);
}

.footer-social-link:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-muted-dark);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--color-muted-dark);
    font-size: 0.95rem;
}

.footer-contact-info i {
    color: var(--color-primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--color-muted-dark);
    font-size: 0.9rem;
}

/* About Page Styles */
.about-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(9, 13, 22, 0.8), rgba(9, 13, 22, 0.8)), url('../img/about-hero.jpg') no-repeat center center/cover;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.08);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--color-bg-dark);
    border: 3px solid var(--color-primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.left-timeline {
    left: 0;
}

.right-timeline {
    left: 50%;
}

.right-timeline::after {
    left: -8px;
}

.timeline-content {
    padding: 2rem;
    background: var(--color-bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* Gallery Masonry Layout */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-muted-dark);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-family: var(--font-sans);
    transition: var(--transition-fast);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.gallery-grid {
    columns: 4 280px;
    column-gap: 1.5rem;
    width: 100%;
}

.gallery-item {
    background: var(--color-bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    break-inside: avoid;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.9) 10%, rgba(9, 13, 22, 0) 80%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 13, 22, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

/* Contact Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--color-bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateX(5px);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-card-content p {
    color: var(--color-muted-dark);
    font-size: 0.95rem;
}

/* Form Styles */
.form-container {
    background: var(--color-bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

.form-control:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Map Container */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 450px;
    margin-top: 4rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg);
}

/* Auth Pages - Split-Screen Layout */
.auth-split-container {
    display: flex;
    min-height: 100vh;
    background: #090d16;
    overflow: hidden;
}

.auth-split-image-panel {
    flex: 1.1; /* Takes 50-55% on desktop */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem;
    z-index: 2;
}

.ken-burns-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1);
}

@keyframes kenburns_zoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.ken-burns-active {
    animation: kenburns_zoom 20s infinite ease-in-out;
}

.brand-branding-overlay {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 450px;
    margin-top: auto;
}

.brand-tagline {
    font-size: 1.1rem;
    margin-top: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.auth-split-form-panel {
    flex: 0.9; /* Takes 45-50% on desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #090d16 0%, #05070a 100%);
    position: relative;
    z-index: 3;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem !important; /* 40px breathing room before inputs */
}

.auth-title {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important; /* 10px heading block spacing */
    color: #ffffff;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.65) !important; /* Muted secondary text */
    font-size: 0.95rem !important;
    line-height: 1.5;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-muted-dark);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Glassmorphism Card Override */
.glass-morphism-auth {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important; /* Subtle top border highlight */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(220, 95, 30, 0.05) !important;
    border-radius: 20px !important;
    padding: 3.5rem 3rem !important; /* Generous internal padding */
    max-width: 480px !important;
    position: relative;
    overflow: hidden;
}

/* Error and Success Sliding Banners inside the card */
.error-banner-slide, .success-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.error-banner-slide {
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.success-banner-slide {
    background: rgba(34, 197, 94, 0.9);
    color: #ffffff;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.error-banner-slide.visible, .success-banner-slide.visible {
    transform: translateY(0);
}

/* Floating Label Inputs */
.floating-group {
    position: relative;
    margin-bottom: 1.35rem; /* Increased spacing between fields */
}

.floating-input {
    width: 100%;
    height: 56px; /* Increased height to 56px */
    padding: 18px 44px 4px 48px; /* Offset for left icon and right checklist */
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.04) !important; /* Muted background tint difference */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-input:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 15px rgba(220, 95, 30, 0.15) !important; /* Glow on focus */
}

.floating-label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--color-muted-dark);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Float up and shrink on focus or filled value */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 6px;
    font-size: 0.72rem;
    color: var(--color-primary);
    transform: translateY(0);
}

.input-icon-left {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted-dark);
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.floating-input:focus ~ .input-icon-left {
    color: var(--color-primary); /* Icon glow on focus */
}

.password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-muted-dark);
    cursor: pointer;
    font-size: 1.05rem;
    padding: 0;
    outline: none;
}

.password-toggle-btn:hover {
    color: #ffffff;
}

.email-valid-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #22c55e;
    font-size: 1.05rem;
}

/* Custom Checkbox */
.custom-checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.8rem; /* Marginally reduced */
    letter-spacing: 0.4px; /* Increased letter-spacing */
    user-select: none;
    color: var(--color-muted-dark);
}

.custom-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-mark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.25s ease;
}

.custom-checkbox-container:hover input ~ .checkbox-mark {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-checkbox-container input:checked ~ .checkbox-mark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-mark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-container input:checked ~ .checkbox-mark:after {
    display: block;
}

.custom-checkbox-container .checkbox-mark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-pass-link {
    font-size: 0.8rem; /* Marginally reduced */
    letter-spacing: 0.4px; /* Increased letter-spacing */
    color: var(--color-muted-dark);
    text-decoration: none;
    position: relative;
}

.forgot-pass-link::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-primary);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.forgot-pass-link:hover {
    color: var(--color-primary);
}

.forgot-pass-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Primary and secondary buttons custom styling */
.unified-signin-btn {
    height: 56px !important; /* Matches floating input height */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.unified-signin-btn:hover {
    transform: scale(1.02); /* Scale hover state */
    box-shadow: 0 8px 25px rgba(220, 95, 30, 0.25) !important; /* Shadow lift state */
}

.guest-continue-btn {
    height: 52px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Clearly visible border */
    background: transparent !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.guest-continue-btn:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Button morph checkmark burst styling */
.checkmark-burst {
    font-size: 1.3rem;
    color: #ffffff;
    animation: pop_burst 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop_burst {
    0% { transform: scale(0.4); opacity: 0; }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive queries */
@media (max-width: 1024px) {
    .auth-split-image-panel {
        padding: 3rem 2rem;
    }
    .auth-split-form-panel {
        padding: 3rem 2rem;
    }
    .glass-morphism-auth {
        padding: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .auth-split-container {
        flex-direction: column;
    }
    .auth-split-image-panel {
        flex: none;
        height: 25vh;
        min-height: 200px;
        padding: 2rem;
        justify-content: flex-end;
    }
    .brand-branding-overlay {
        margin-top: 0;
    }
    .brand-tagline {
        font-size: 0.95rem;
        margin-top: 0.5rem;
    }
    .auth-split-form-panel {
        flex: 1;
        padding: 2rem 1.5rem;
        align-items: flex-start;
    }
    .glass-morphism-auth {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        padding: 1.5rem 0 !important; /* Scaled down for mobile */
    }
    .error-banner-slide, .success-banner-slide {
        border-radius: 8px;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-success {
    border-left-color: #22c55e;
}

.toast.toast-error {
    border-left-color: #ef4444;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
}

.toast-close {
    cursor: pointer;
    opacity: 0.5;
    margin-left: 1rem;
}

.toast-close:hover {
    opacity: 1;
}

/* Skeleton Loaders for AJAX Rooms results */
.skeleton-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 400px;
}

.skeleton-img {
    height: 220px;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-text {
    height: 20px;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text.title {
    width: 60%;
    height: 24px;
}

.skeleton-text.description {
    width: 100%;
    height: 40px;
}

.skeleton-text.price {
    width: 40%;
}

/* Search results area grid */
.rooms-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Sticky search on mobile */
@media (max-width: 768px) {
    .search-widget-container.sticky-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        margin: 0;
        z-index: 1000;
        border-radius: 0;
    }
    .search-widget-container.sticky-mobile .search-widget {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 1rem;
        background: rgba(9, 13, 22, 0.95);
        box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    }
}

/* -------------------------------------------------------------
 * Responsive Media Queries
 * ------------------------------------------------------------- */

/* Breakpoint: 1440px - Large Desktop (Default handles well) */

/* Breakpoint: 1024px - Tablets / Small Laptops */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .timeline-container::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item::after {
        left: 23px;
    }
    .left-timeline {
        left: 0;
    }
    .right-timeline {
        left: 0;
    }
}

/* Breakpoint: 768px - Mobile landscape / Tablets */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-menu {
        display: none;
    }
    .search-widget {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    section.py-120 {
        padding: 5rem 0;
    }
    .form-container {
        padding: 2rem;
    }
}

/* Breakpoint: 375px - Small Mobile Screens */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .form-container {
        padding: 1.5rem;
    }
    .room-card-img-wrapper {
        height: 200px;
    }
    .rooms-search-results {
        grid-template-columns: 1fr;
    }
}

/* Keyframes Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
