/**
 * GazdaBuna.ro - Design System
 * Portal cazare România
 * Mobile-first, SEO optimized
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary - Forest Green */
    --primary: #2D6A4F;
    --primary-dark: #1B4332;
    --primary-light: #40916C;
    --primary-subtle: #D8F3DC;

    /* Secondary - Terracotta */
    --secondary: #E76F51;
    --secondary-dark: #C9503A;
    --secondary-light: #F4845F;

    /* Accent - Golden */
    --accent: #E9C46A;
    --accent-dark: #D4A843;
    --accent-light: #F2D98B;

    /* Grays */
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #868E96;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --dark: #1A1A2E;

    /* Status */
    --success: #2D6A4F;
    --warning: #E9C46A;
    --danger: #E63946;
    --info: #457B9D;

    /* Fonts */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Sizes */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);

    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    z-index: 10000;
}
.skip-link:focus { top: 0; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Text helpers */
.text-center { text-align: center; }
.text-muted { color: var(--gray-600); }
.text-small { font-size: 0.875rem; }
.required { color: var(--danger); }

/* ============================================
   HEADER
   ============================================ */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 64px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
}
.header__logo i { color: var(--secondary); font-size: 1.4rem; }
.header__logo span { color: var(--secondary); }

.header__nav { display: flex; align-items: center; gap: 0.25rem; }

.header__nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.header__nav a:hover { color: var(--primary); background: var(--primary-subtle); }
.header__nav a.active { color: var(--primary); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 0.5rem; }

/* Mobile menu toggle */
.header__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.25rem;
}

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    overflow-y: auto;
    padding: 1rem;
    animation: slideDown 0.3s ease;
}
.mobile-nav.active { display: block; }

.mobile-nav a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a:hover { background: var(--primary-subtle); color: var(--primary); }

@media (max-width: 768px) {
    .header__nav { display: none; }
    .header__toggle { display: block; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.search-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0.75rem;
    align-items: end;
}
.search-box__field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.search-box__field input,
.search-box__field select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--gray-800);
    transition: border-color var(--transition);
}
.search-box__field input:focus,
.search-box__field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.15);
}

@media (max-width: 768px) {
    .search-box { grid-template-columns: 1fr; }
    .hero { padding: 2rem 1rem; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; }

.btn--secondary { background: var(--secondary); color: white; border-color: var(--secondary); }
.btn--secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: white; }

.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: white; }

.btn--white { background: white; color: var(--primary); border-color: white; }
.btn--white:hover { background: var(--gray-100); }

.btn--danger { background: var(--danger); color: white; border-color: var(--danger); }
.btn--danger:hover { background: #c5303c; border-color: #c5303c; color: white; }

.btn--ghost { background: transparent; color: var(--gray-600); border-color: transparent; }
.btn--ghost:hover { background: var(--gray-100); color: var(--gray-800); }

.btn--sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.btn--lg { padding: 0.8rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn:disabled, .btn.disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: white;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.15);
}
.form-control::placeholder { color: var(--gray-400); }
.form-control.error { border-color: var(--danger); }

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

textarea.form-control { min-height: 100px; resize: vertical; }

.form-text { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.25rem; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 0.25rem; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] { margin-top: 3px; accent-color: var(--primary); }

/* ============================================
   ALERTS / FLASH MESSAGES
   ============================================ */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.3s ease;
    position: relative;
}

.alert--success { background: #D8F3DC; color: #1B4332; border-left: 4px solid var(--success); }
.alert--error { background: #FFE0E3; color: #8B1A25; border-left: 4px solid var(--danger); }
.alert--warning { background: #FFF3CD; color: #664D03; border-left: 4px solid var(--warning); }
.alert--info { background: #D6EAF8; color: #1B4F72; border-left: 4px solid var(--info); }

.alert__close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
    color: inherit;
}
.alert__close:hover { opacity: 1; }

/* ============================================
   CARDS
   ============================================ */

/* Unit Card */
.unit-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.unit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.unit-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-200);
}
.unit-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.unit-card:hover .unit-card__image img { transform: scale(1.05); }

.unit-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--secondary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.unit-card__favorite {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-400);
    font-size: 1rem;
    transition: all var(--transition);
}
.unit-card__favorite:hover,
.unit-card__favorite.active { color: var(--danger); }

.unit-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }

.unit-card__type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.unit-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}
.unit-card__title a { color: inherit; }
.unit-card__title a:hover { color: var(--primary); }

.unit-card__location {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.unit-card__location i { color: var(--secondary); font-size: 0.8rem; }

.unit-card__features {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.unit-card__features span { display: flex; align-items: center; gap: 0.25rem; }
.unit-card__features i { color: var(--primary-light); }

.unit-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.unit-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.unit-card__price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-500);
}

.unit-card__rating { display: flex; align-items: center; gap: 0.25rem; font-size: 0.85rem; }
.unit-card__rating i { color: var(--accent); }
.unit-card__rating span { font-weight: 600; color: var(--gray-700); }

/* Category Card */
.category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
    text-decoration: none;
    display: block;
}
.category-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.category-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.75rem;
    transition: all var(--transition);
}
.category-card:hover .category-card__icon { background: var(--primary); color: white; }

.category-card__name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}
.category-card__count { font-size: 0.8rem; color: var(--gray-500); }

/* Region Card */
.region-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/2;
    display: block;
    text-decoration: none;
}
.region-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}
.region-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.region-card:hover img { transform: scale(1.08); }

.region-card__info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 1;
    color: white;
}
.region-card__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.region-card__count { font-size: 0.85rem; opacity: 0.85; }

/* Stat Card */
.stat-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
    text-align: center;
}
.stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 0.75rem;
}
.stat-card__value { font-size: 1.75rem; font-weight: 700; color: var(--dark); line-height: 1; }
.stat-card__label { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.25rem; }

/* ============================================
   SECTION LAYOUT
   ============================================ */
.section {
    padding: 3rem 1rem;
}
.section--gray { background: var(--gray-100); }
.section--green { background: var(--primary); color: white; }

.section__header {
    text-align: center;
    margin-bottom: 2rem;
}
.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}
.section__subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid layouts */
.grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1024px) {
    .grid--4, .grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
}

/* Stats bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 1rem;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}
.stats-bar__item { text-align: center; }
.stats-bar__number { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stats-bar__label { font-size: 0.8rem; color: var(--gray-600); }

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.step { text-align: center; }
.step__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.step__title { font-weight: 600; margin-bottom: 0.35rem; }
.step__text { font-size: 0.9rem; color: var(--gray-600); }

@media (max-width: 640px) {
    .steps { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    border-radius: var(--radius-xl);
    max-width: 1000px;
    margin: 0 auto;
}
.cta__title { font-family: var(--font-display); font-size: 1.75rem; color: white; margin-bottom: 0.75rem; }
.cta__text { font-size: 1rem; opacity: 0.9; margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb { padding: 1rem 0; }
.breadcrumb__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.85rem;
}
.breadcrumb__item { display: flex; align-items: center; gap: 0.25rem; }
.breadcrumb__item::after { content: '/'; color: var(--gray-400); margin-left: 0.25rem; }
.breadcrumb__item:last-child::after { display: none; }
.breadcrumb__item a { color: var(--gray-600); }
.breadcrumb__item a:hover { color: var(--primary); }
.breadcrumb__item--active { color: var(--gray-800); font-weight: 500; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; justify-content: center; margin-top: 2rem; }
.pagination__list { list-style: none; display: flex; gap: 0.25rem; }
.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    background: white;
    border: 1px solid var(--gray-300);
    transition: all var(--transition);
    text-decoration: none;
}
.pagination__link:hover { border-color: var(--primary); color: var(--primary); }
.pagination__link--active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination__dots { padding: 0.5rem 0.25rem; color: var(--gray-400); }

/* ============================================
   BADGE
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    line-height: 1.4;
}
.badge--success { background: #D8F3DC; color: #1B4332; }
.badge--warning { background: #FFF3CD; color: #664D03; }
.badge--danger { background: #FFE0E3; color: #8B1A25; }
.badge--info { background: #D6EAF8; color: #1B4F72; }
.badge--secondary { background: var(--gray-200); color: var(--gray-600); }

/* ============================================
   STAR RATING
   ============================================ */
.star-rating { display: inline-flex; align-items: center; gap: 0.1rem; }
.star-rating i { color: var(--accent); font-size: 0.85rem; }
.star-rating__number { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-left: 0.25rem; }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.7;
}
.lightbox__close:hover { opacity: 1; }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.6;
    padding: 1rem;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 2rem 1rem;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-xl);
}
.auth-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.25rem;
}
.auth-card__subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   DASHBOARD LAYOUT (admin/owner/tourist)
   ============================================ */
.dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 64px);
}

.dashboard__sidebar {
    background: var(--dark);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

.dashboard__sidebar-header {
    padding: 0 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}
.dashboard__sidebar-name { font-weight: 600; font-size: 0.95rem; }
.dashboard__sidebar-role { font-size: 0.8rem; opacity: 0.6; }

.dashboard__sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.dashboard__sidebar-nav a:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}
.dashboard__sidebar-nav a.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--secondary);
}
.dashboard__sidebar-nav a i { width: 20px; text-align: center; font-size: 0.9rem; }

.dashboard__sidebar-section {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    padding: 1rem 1.25rem 0.5rem;
}

.dashboard__content {
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    overflow-x: auto;
}

.dashboard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.dashboard__title { font-size: 1.5rem; margin-bottom: 0.15rem; }
.dashboard__subtitle { color: var(--gray-500); font-size: 0.9rem; }

/* Mobile sidebar */
@media (max-width: 1024px) {
    .dashboard { grid-template-columns: 1fr; }
    .dashboard__sidebar {
        position: fixed;
        left: -260px;
        top: 64px;
        width: 250px;
        z-index: 998;
        transition: left var(--transition);
    }
    .dashboard__sidebar.active { left: 0; }
    .dashboard__content { padding: 1rem; }
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 997;
    }
    .sidebar-overlay.active { display: block; }
}

/* ============================================
   DATA TABLE
   ============================================ */
.data-table {
    width: 100%;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border-collapse: collapse;
}
.data-table th {
    background: var(--gray-50);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
}
.data-table td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.data-table tr:hover td { background: var(--gray-50); }
.data-table tr:last-child td { border-bottom: none; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 1rem 1.5rem;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}
.footer__brand { font-size: 0.9rem; line-height: 1.7; }
.footer__brand .header__logo { margin-bottom: 0.75rem; }
.footer__brand .header__logo { color: white; }

.footer__title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 1rem;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer__links a:hover { color: white; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
}
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: white; }

@media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: white;
    padding: 1rem 1.5rem;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-banner.show { display: flex; }
.cookie-banner a { color: var(--accent); }

@media (max-width: 640px) {
    .cookie-banner { flex-direction: column; text-align: center; }
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    display: flex;
    gap: 0.5rem;
    max-width: 450px;
    margin: 0 auto;
}
.newsletter input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input:focus { outline: none; border-color: white; }

@media (max-width: 480px) {
    .newsletter { flex-direction: column; }
}

/* ============================================
   GALLERY (property page)
   ============================================ */
.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 0.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.gallery__item { overflow: hidden; cursor: pointer; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:first-child { grid-row: 1 / 3; }
.gallery__more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery__more::after {
    content: attr(data-count);
    position: absolute;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px; }
    .gallery__item:first-child { grid-column: 1 / 3; }
}

/* ============================================
   FACILITIES LIST
   ============================================ */
.facilities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}
.facility {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.facility i { color: var(--primary); width: 20px; text-align: center; }

/* ============================================
   CONTACT BUTTONS (property page)
   ============================================ */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.btn--whatsapp { background: #25D366; color: white; border-color: #25D366; }
.btn--whatsapp:hover { background: #1DA851; border-color: #1DA851; color: white; }
.btn--phone { background: var(--info); color: white; border-color: var(--info); }
.btn--phone:hover { background: #365F7D; border-color: #365F7D; color: white; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}
.empty-state__icon { font-size: 3rem; color: var(--gray-400); margin-bottom: 1rem; }
.empty-state__title { color: var(--gray-600); margin-bottom: 0.5rem; font-size: 1.1rem; }
.empty-state__text { color: var(--gray-500); margin-bottom: 1.5rem; font-size: 0.9rem; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.animate-fade { animation: fadeIn 0.5s ease; }
.animate-fade-up { animation: fadeInUp 0.5s ease; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }

/* ============================================
   PRINT
   ============================================ */
@media print {
    .header, .footer, .cookie-banner, .dashboard__sidebar, .btn, .pagination { display: none !important; }
    body { background: white; color: black; }
    .dashboard { grid-template-columns: 1fr; }
}