@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800&subset=latin,latin-ext&display=swap');


/* --- Core Tokens & Theme Variables --- */
:root {
    /* Color Palette */
    --gold-primary: #c5a880;
    --gold-hover: #b39369;
    --gold-light: #f5eedf;
    
    --green-primary: #0e3e2b;
    --green-hover: #072619;
    --green-light: #e6eee9;
    
    --dark-bg: #0d0e11;
    --dark-card: #14161d;
    --dark-border: #232731;
    --dark-text: #f3f4f6;
    --dark-muted: #9ca3af;
    
    --light-bg: #f7f8f9;
    --light-card: #ffffff;
    --light-border: #e5e7eb;
    --light-text: #1f2937;
    --light-muted: #6b7280;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-smooth);
}

/* --- Premium Utilities & Buttons --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
}

.btn-gold {
    background-color: var(--gold-primary);
    color: #000;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-green {
    background-color: var(--green-primary);
    color: #fff;
    border-radius: var(--radius-sm);
}

.btn-green:hover {
    background-color: var(--green-hover);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--light-border);
    color: var(--light-text);
    border-radius: var(--radius-sm);
}

.btn-outline:hover {
    background-color: var(--light-bg);
}

/* --- Layout Component: Header --- */
.site-header {
    background-color: rgba(13, 14, 17, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--dark-border);
    color: var(--dark-text);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.logo-triangle {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid var(--gold-primary);
    position: relative;
}

.logo-triangle::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--dark-bg);
    border-radius: 50%;
    left: -2px;
    bottom: -15px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    font-weight: 500;
    font-size: 15px;
    color: var(--dark-muted);
}

.nav-menu a:hover, .nav-menu .active a {
    color: var(--gold-primary);
}

/* --- LANDING PAGE (DARK THEME) --- */
.landing-body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.landing-body .site-header {
    background-color: rgba(13, 14, 17, 0.85);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13,14,17,0.4) 0%, rgba(13,14,17,0.95) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--dark-muted);
    margin-bottom: 32px;
    font-weight: 400;
}

/* Glassmorphic Search Availability Widget */
.search-widget {
    background: rgba(20, 22, 29, 0.65);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    max-width: 900px;
    width: 100%;
    margin-top: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: flex-end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark-muted);
    font-weight: 500;
}

.search-input {
    width: 100%;
    background-color: rgba(13, 14, 17, 0.8);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--dark-text);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.search-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.btn-search {
    padding: 12px 28px;
    background-color: var(--green-primary);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    height: 46px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-search:hover {
    background-color: var(--green-hover);
    transform: translateY(-1px);
}

/* Absolute positioned calendar dropdown on landing page */
.search-calendar-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 360px;
    z-index: 1000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: dropdownSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark visual adjustments inside search dropdown calendar */
.search-calendar-dropdown .calendar-day {
    color: var(--dark-text);
    border-radius: 50%;
    aspect-ratio: 1;
    font-size: 13px;
}

.search-calendar-dropdown .calendar-day:hover:not(.disabled):not(.booked) {
    background-color: rgba(255, 255, 255, 0.05);
}

.search-calendar-dropdown .calendar-day.booked {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    text-decoration: line-through;
    cursor: not-allowed;
}

.search-calendar-dropdown .calendar-day.selected {
    background-color: var(--green-primary);
    color: #fff;
    border: 1px solid var(--green-primary);
}

.search-calendar-dropdown .calendar-day.in-range {
    background-color: rgba(14, 62, 43, 0.2);
    color: #a7f3d0;
}

.search-calendar-dropdown .calendar-day.disabled {
    color: rgba(255, 255, 255, 0.15);
    background-color: transparent;
    text-decoration: line-through;
    cursor: not-allowed;
}

.search-calendar-dropdown .calendar-day.prev-next-month {
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

@media (max-width: 767px) {
    .search-calendar-dropdown {
        width: 100%;
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    }
}

/* Features Highlights Row */
.highlights-row {
    background-color: rgba(20, 22, 29, 0.6);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    padding: 30px 0;
    backdrop-filter: blur(10px);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(197, 168, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.highlight-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.highlight-info p {
    font-size: 13px;
    color: var(--dark-muted);
}

/* Cabins/Evlərimiz Section */
.evlerimiz-section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(32px, 4vw, 42px);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-subtitle {
    color: var(--dark-muted);
    margin-bottom: 48px;
    font-size: 16px;
}

.cabin-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.cabin-img-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.cabin-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.cabin-details {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cabin-name {
    font-size: 32px;
    margin-bottom: 24px;
}

.cabin-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--dark-border);
    padding-bottom: 24px;
}

.cabin-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-muted);
    font-size: 14px;
}

.cabin-spec-item svg {
    color: var(--gold-primary);
    width: 20px;
    height: 20px;
}

.cabin-features-list {
    margin-bottom: 32px;
}

.cabin-features-list h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-muted);
    margin-bottom: 16px;
}

.cabin-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cabin-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dark-muted);
}

.cabin-feature::before {
    content: '✓';
    color: var(--gold-primary);
    font-weight: bold;
}

.cabin-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.cabin-price {
    font-size: 24px;
    font-weight: 700;
}

.cabin-price span {
    font-size: 15px;
    color: var(--dark-muted);
    font-weight: 400;
}

/* Footer Section */
.footer-amenities {
    border-top: 1px solid var(--dark-border);
    padding: 60px 0;
    background-color: #090a0d;
}

.amenities-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.amenity-card {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--dark-muted);
}

.amenity-card svg {
    color: var(--gold-primary);
    width: 24px;
    height: 24px;
}

/* --- CLIENT BOOKING PAGE (LIGHT THEME) --- */
.booking-body {
    background-color: var(--light-bg);
    color: var(--light-text);
    padding-top: 130px;
    padding-bottom: 80px;
}

.booking-body .site-header {
    background-color: var(--light-card);
    border-bottom: 1px solid var(--light-border);
    color: var(--light-text);
}

.booking-body .logo-triangle::after {
    background-color: var(--light-card);
}

.booking-body .nav-menu {
    color: var(--light-muted);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light-muted);
    font-weight: 500;
    margin-bottom: 24px;
}

.back-link:hover {
    color: var(--light-text);
}

.booking-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.booking-title-area {
    margin-bottom: 32px;
}

.booking-title-area h1 {
    font-size: 36px;
    color: var(--light-text);
    margin-bottom: 8px;
}

.booking-title-area p {
    color: var(--light-muted);
    font-size: 16px;
}

/* Calendar Styling */
.calendar-card {
    background-color: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calendar-month-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--light-text);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.weekday-header {
    font-weight: 500;
    font-size: 14px;
    color: var(--light-muted);
    padding: 8px 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.calendar-day:hover:not(.disabled) {
    background-color: var(--light-bg);
}

.calendar-day.prev-next-month {
    color: var(--light-border);
    pointer-events: none;
}

.calendar-day.disabled {
    color: #e5e7eb;
    background-color: #f9fafb;
    text-decoration: line-through;
    cursor: not-allowed;
}

.calendar-day.selected {
    background-color: var(--green-primary);
    color: #fff;
}

.calendar-day.in-range {
    background-color: var(--green-light);
    color: var(--green-primary);
}

.calendar-day.booked {
    background-color: #fee2e2;
    color: #ef4444;
    cursor: not-allowed;
}

/* Legend */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    border-top: 1px solid var(--light-border);
    padding-top: 20px;
    font-size: 13px;
    color: var(--light-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--light-border);
}

.legend-color.free { background-color: #fff; }
.legend-color.selected { background-color: var(--green-primary); }
.legend-color.booked { background-color: #fee2e2; border-color: #fca5a5; }
.legend-color.unavailable { background-color: #f9fafb; text-decoration: line-through; }

/* Booking Details & Summary Card */
.form-card {
    background-color: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-title {
    font-size: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--light-border);
    padding-bottom: 12px;
}

.auth-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.auth-btn {
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--light-border);
}

.auth-btn.active {
    background-color: var(--green-primary);
    color: #fff;
    border-color: var(--green-primary);
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--light-text);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-border);
    background-color: #fff;
    color: var(--light-text);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(14, 62, 43, 0.1);
}

/* Pricing Summary Box */
.summary-box {
    background-color: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--light-muted);
}

.summary-row:last-child {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px dashed var(--light-border);
    font-size: 18px;
    font-weight: 700;
    color: var(--light-text);
}

.btn-booking-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Success Screen */
.success-card {
    max-width: 600px;
    margin: 80px auto;
    background-color: #fff;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: 48px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: var(--green-light);
    color: var(--green-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.success-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.success-desc {
    color: var(--light-muted);
    margin-bottom: 32px;
}

.booking-meta-box {
    background-color: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: left;
    margin-bottom: 32px;
}

.booking-meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    border-bottom: 1px solid #f1f2f4;
    padding-bottom: 8px;
}

.booking-meta-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.booking-meta-label {
    color: var(--light-muted);
}

.booking-meta-value {
    font-weight: 600;
}

/* --- ADMIN PANEL (DARK THEME) --- */
.admin-body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    font-family: var(--font-body);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Admin Sidebar */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background-color: var(--dark-card);
    border-right: 1px solid var(--dark-border);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.admin-logo {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark-text);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--dark-muted);
    font-size: 14px;
    font-weight: 500;
}

.admin-nav-item a:hover, .admin-nav-item.active a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.admin-nav-item.active a {
    background-color: var(--green-primary);
    color: #fff;
}

.admin-nav-logout {
    margin-top: auto;
    border-top: 1px solid var(--dark-border);
    padding-top: 24px;
}

/* Admin Header & Stats */
.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 40px;
    min-width: 0;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 24px;
    color: var(--dark-text);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.stat-title {
    font-size: 13px;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Two Column Admin Layout */
.admin-content-columns {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 32px;
}

/* Table Card */
.table-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 32px;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.admin-table th {
    color: var(--dark-muted);
    font-weight: 500;
    padding: 16px 20px;
    border-bottom: 1px solid var(--dark-border);
}

.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--dark-border);
    color: var(--dark-text);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-pending {
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.badge-confirmed {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.badge-cancelled {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Side Card: Calendar & Admin Form */
.side-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 32px;
}

/* Dark mini calendar */
.admin-mini-calendar .calendar-card {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.admin-mini-calendar .calendar-month-title {
    color: #fff;
}

.admin-mini-calendar .weekday-header {
    color: var(--dark-muted);
}

.admin-mini-calendar .calendar-day {
    color: var(--dark-text);
}

.admin-mini-calendar .calendar-day:hover:not(.disabled) {
    background-color: rgba(255,255,255,0.05);
}

.admin-mini-calendar .calendar-day.booked {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.admin-mini-calendar .calendar-day.selected {
    background-color: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Status control buttons */
.status-select {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background-color: var(--dark-bg);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
    font-size: 13px;
}

/* Manual booking form dialog backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 550px;
    padding: 32px;
    color: var(--dark-text);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--dark-border);
    padding-bottom: 16px;
}

.modal-title {
    font-size: 20px;
}

.modal-close {
    font-size: 24px;
    color: var(--dark-muted);
}

.modal-close:hover {
    color: #fff;
}

.modal .form-input {
    background-color: var(--dark-bg);
    border-color: var(--dark-border);
    color: var(--dark-text);
}

.modal .form-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.1);
}

.modal .form-label,
.modal-content .form-label,
.modal-backdrop .form-label {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 13px;
}


/* Admin Login Page */
.admin-login-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-bg);
}

.login-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.login-logo {
    justify-content: center;
    margin-bottom: 32px;
}

.login-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 24px;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE SYSTEM — Mobile First
   Breakpoints: 480px | 640px | 768px | 1024px | 1280px
═══════════════════════════════════════════════════════ */

/* ─── Mobile Hamburger Button (Admin) ──────────────────── */
.admin-hamburger {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark-text);
    transition: all 0.2s;
}
.admin-hamburger:hover { border-color: var(--gold-primary); }
.admin-hamburger svg { width: 20px; height: 20px; }

/* Mobile sidebar overlay backdrop */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 98;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active { display: block; }

/* ─── Landing Page Mobile Nav ───────────────────────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 201;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--dark-card);
    border-left: 1px solid var(--dark-border);
    z-index: 200;
    padding: 80px 32px 40px;
    flex-direction: column;
    gap: 8px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.mobile-nav-drawer.open { right: 0; }
.mobile-nav-drawer a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--dark-text);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--dark-border);
    transition: all 0.2s;
}
.mobile-nav-drawer a:hover { color: var(--gold-primary); background: rgba(197,168,128,0.06); }
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 199;
}
.mobile-nav-overlay.open { display: block; }

/* ─── Tablet — 1024px ───────────────────────────────────── */
@media (max-width: 1024px) {
    /* Admin: narrower sidebar */
    .admin-sidebar { width: 220px; }
    .admin-main    { margin-left: 220px; padding: 32px; }

    /* Landing: two column search */
    .search-widget {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* Admin two-col layouts become single */
    .admin-content-columns { grid-template-columns: 1fr; }
    .settings-grid         { grid-template-columns: 1fr; }
    .sysinfo-grid          { grid-template-columns: 1fr 1fr; }

    /* Houses/cabin grid */
    .cabin-card { grid-template-columns: 1fr; }
    .cabin-img-wrapper { min-height: 280px; }
}

/* ─── Small Tablet / Large Mobile — 768px ───────────────── */
@media (max-width: 768px) {

    /* ── Landing Header ── */
    .nav-menu     { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-nav-drawer { display: flex; }

    .site-header .container { height: 70px; }

    /* ── Hero ── */
    .hero { padding-top: 100px; padding-bottom: 60px; }
    .hero-title { font-size: clamp(32px, 8vw, 52px); }
    .hero-subtitle { font-size: 16px; }

    /* ── Search Widget ── */
    .search-widget {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
        margin-top: 28px;
    }

    /* ── Sections ── */
    .highlights-grid      { grid-template-columns: 1fr; }
    .cabin-specs-grid     { grid-template-columns: 1fr 1fr; }
    .cabin-features-grid  { grid-template-columns: 1fr 1fr; }
    .amenities-row        { flex-wrap: wrap; gap: 8px; }

    /* ── Booking layout ── */
    .booking-layout { grid-template-columns: 1fr; }

    /* ── Admin Panel: hide sidebar, show hamburger ── */
    .admin-hamburger { display: flex; }

    .admin-sidebar {
        width: 260px;
        left: -260px;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }
    .admin-sidebar.open { left: 0; }

    .admin-main {
        margin-left: 0;
        padding: 76px 20px 20px;
    }

    /* ── Admin Header ── */
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 24px;
    }

    /* ── Admin Stats ── */
    .admin-stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
    .stat-value       { font-size: 26px; }

    /* ── Admin Tables: horizontal scroll ── */
    .table-wrapper,
    .table-card > div { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .admin-table      { min-width: 600px; }
    .table-card       { padding: 20px 16px; }

    /* ── Admin Content Two-Col ── */
    .admin-content-columns { grid-template-columns: 1fr; gap: 20px; }

    /* ── Modals ── */
    .modal-backdrop { align-items: flex-end; padding: 0; }
    .modal-content {
        max-width: 100%;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        padding: 24px 20px;
        max-height: 85vh;
    }

    /* ── Settings ── */
    .settings-grid { grid-template-columns: 1fr; gap: 16px; }
    .sysinfo-grid  { grid-template-columns: 1fr; }

    /* ── Success page ── */
    .success-card { margin: 20px; padding: 32px 24px; }
}

/* ─── Mobile — 480px ────────────────────────────────────── */
@media (max-width: 480px) {
    /* Container padding */
    .container { padding: 0 16px; }

    /* ── Hero ── */
    .hero-title    { font-size: clamp(28px, 9vw, 40px); }
    .hero-subtitle { font-size: 15px; margin-bottom: 24px; }

    /* ── Buttons ── */
    .btn { padding: 12px 20px; font-size: 14px; }

    /* ── Admin Stats single column ── */
    .admin-stats-grid { grid-template-columns: 1fr; }
    .stat-card        { padding: 20px; }
    .stat-value       { font-size: 28px; }

    /* ── Admin main ── */
    .admin-main { padding: 72px 16px 16px; }

    /* ── Admin Table ── */
    .admin-table        { min-width: 520px; font-size: 13px; }
    .admin-table th,
    .admin-table td     { padding: 12px 14px; }

    /* ── Cabin specs ── */
    .cabin-specs-grid   { grid-template-columns: 1fr; }
    .cabin-features-grid{ grid-template-columns: 1fr; }

    /* ── Booking form ── */
    .booking-dates-row  { grid-template-columns: 1fr; }

    /* ── Modal full-screen ── */
    .modal-content {
        max-height: 90vh;
        padding: 20px 16px;
    }

    /* ── Login card ── */
    .login-card { padding: 32px 24px; margin: 16px; }

    /* ── Table cards in new admin views ── */
    .table-card { padding: 0; border-radius: var(--radius-sm); }
    .table-card-header { padding: 16px; flex-wrap: wrap; gap: 10px; }

    /* ── Coupon code ── */
    .coupon-code { font-size: 11px; padding: 3px 8px; }

    /* ── Chart ── */
    .chart-container { padding: 16px; }
    .revenue-chart   { height: 120px; gap: 8px; }
    .chart-bar-label { font-size: 9px; }
    .chart-bar-value { font-size: 9px; }
}

/* ─── Very Small — 360px ────────────────────────────────── */
@media (max-width: 360px) {
    .hero-title    { font-size: 26px; }
    .admin-sidebar { width: 240px; left: -240px; }
    .admin-sidebar.open { left: 0; }
    .login-card    { padding: 24px 16px; }
}


/* ─── Admin Extended Utilities ─────────────────────────────── */

/* Customer Avatar */
.customer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), #a08060);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.customer-info-col { display: flex; align-items: center; gap: 14px; }
.customer-name { font-weight: 600; color: var(--dark-text); font-size: 14px; }
.customer-email-phone { font-size: 12px; color: var(--dark-muted); margin-top: 2px; }

/* Coupon Code Badge */
.coupon-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 168, 128, 0.12);
    border: 1px dashed var(--gold-primary);
    border-radius: 6px;
    padding: 4px 12px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1px;
}
.coupon-copy-btn {
    background: none;
    border: none;
    color: var(--dark-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.coupon-copy-btn:hover { color: var(--gold-primary); }

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--dark-border);
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: var(--dark-muted);
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: rgba(14, 62, 43, 0.6); }
.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: #4ade80;
}

/* Revenue Bar Chart */
.revenue-chart { display: flex; align-items: flex-end; gap: 16px; height: 160px; padding: 0 8px; }
.chart-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.chart-bar-container { width: 100%; display: flex; align-items: flex-end; height: 130px; }
.chart-bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--gold-primary), #a08060);
    min-height: 4px;
    transition: opacity 0.2s;
    position: relative;
}
.chart-bar:hover { opacity: 0.8; }
.chart-bar-label { font-size: 11px; color: var(--dark-muted); text-align: center; white-space: nowrap; }
.chart-bar-value { font-size: 11px; color: var(--gold-primary); font-weight: 600; text-align: center; }
.chart-container {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 28px;
}
.chart-title { font-size: 15px; font-weight: 600; color: var(--dark-text); margin-bottom: 20px; }

/* Settings Sections */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.settings-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 28px;
}
.settings-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.settings-card-title svg { color: var(--gold-primary); }

/* System Info Grid */
.sysinfo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sysinfo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}
.sysinfo-icon { color: var(--gold-primary); flex-shrink: 0; }
.sysinfo-label { font-size: 12px; color: var(--dark-muted); }
.sysinfo-value { font-size: 14px; color: var(--dark-text); font-weight: 600; margin-top: 2px; }

/* Admin nav logout bottom positioning */
.admin-nav { display: flex; flex-direction: column; flex: 1; }
.admin-nav-logout { margin-top: auto !important; }

/* ═══════════════════════════════════════
   Landing Page — New Sections Responsive
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .lp-about-grid   { grid-template-columns: 1fr !important; }
    .lp-rules-grid   { grid-template-columns: 1fr !important; }
    .lp-contact-grid { grid-template-columns: 1fr !important; }
    .lp-about-grid > div:last-child { display: none; }
}
@media (max-width: 600px) {
    .lp-stats-grid       { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    .lp-contact-form-row { grid-template-columns: 1fr !important; }
}

