/* ===== Design Tokens ===== */
:root {
    --green-900: #0f2e1f;
    --green-800: #1a3c2a;
    --green-700: #234d36;
    --green-600: #2d6a4f;
    --green-500: #40916c;
    --green-400: #52b788;
    --green-300: #74c69d;
    --green-100: #d8f3dc;
    --green-50: #f0faf3;
    --gold-500: #d4a017;
    --gold-400: #e8b84b;
    --terracotta: #c87941;
    --cream: #faf8f5;
    --white: #ffffff;
    --gray-900: #1a1a2e;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --red-500: #ef4444;
    --red-50: #fef2f2;
    --amber-500: #f59e0b;
    --amber-50: #fffbeb;
    --blue-500: #3b82f6;
    --blue-50: #eff6ff;
    --emerald-50: #ecfdf5;
    --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.08);
    --shadow-md: 0 4px 16px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 12px 40px rgb(0 0 0 / 0.12);
    --shadow-xl: 0 20px 60px rgb(0 0 0 / 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 72px;
    --gq-logo-navy: #0d1f3a;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazir', Tahoma, sans-serif;
    background: var(--cream);
    color: var(--gray-900);
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

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

a { color: inherit; }

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

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--green-700);
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.brand-logo {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}

.lp-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gq-logo-navy);
    border-radius: 18px;
    padding: 4px;
    box-shadow: 0 4px 14px rgba(13, 31, 58, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover .lp-logo-badge {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13, 31, 58, 0.28);
}

.lp-logo-badge__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 14px;
    padding: 6px 14px;
    min-height: 44px;
}

.lp-logo-badge .brand-logo {
    height: 36px;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    border-radius: var(--radius-md);
    color: white;
}

.brand-footer .brand-icon { background: rgba(255,255,255,0.15); }
.brand-footer { color: white; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover { color: var(--green-600); background: var(--green-50); }

.nav-link-subtle { color: var(--gray-500); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.user-chip:hover { border-color: var(--green-400); background: var(--green-50); }

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--green-600), var(--green-500));
    color: white;
    box-shadow: 0 4px 14px rgb(45 106 79 / 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    box-shadow: 0 6px 20px rgb(45 106 79 / 0.45);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.btn-ghost:hover { background: var(--gray-100); border-color: var(--gray-300); }

.btn-outline {
    background: transparent;
    color: var(--green-600);
    border-color: var(--green-600);
}

.btn-outline:hover { background: var(--green-50); }

.btn-white {
    background: white;
    color: var(--green-700);
    box-shadow: var(--shadow-md);
}

.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-block { width: 100%; }

.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 5rem;
    background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 40%, var(--green-500) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(212, 160, 23, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(82, 183, 136, 0.2) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--cream), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.88;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-search {
    background: white;
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.9rem 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    color: var(--gray-900);
    background: var(--gray-100);
}

.hero-search input:focus { background: white; box-shadow: inset 0 0 0 2px var(--green-400); }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.hero-stat { text-align: center; }

.hero-stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold-400);
}

.hero-stat-label {
    font-size: 0.85rem;
    opacity: 0.75;
}

/* ===== Page Header ===== */
.page-hero {
    padding: calc(var(--header-h) + 3rem) 0 3rem;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 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.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-hero p {
    opacity: 0.85;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.75;
    margin-bottom: 1rem;
}

.breadcrumb a { color: white; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
}

.section-alt { background: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    color: var(--green-600);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--green-800);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

.section-cta { text-align: center; margin-top: 3rem; }

/* ===== Accommodation Cards ===== */
.acc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.acc-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.acc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-300);
}

.acc-card-link { text-decoration: none; color: inherit; display: block; }

.acc-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.acc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.acc-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-100), var(--green-50));
    color: var(--green-500);
}

.acc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,46,31,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.acc-card:hover .acc-card-overlay { opacity: 1; }

.acc-card-cta {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.3);
}

.acc-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.acc-badge-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: white;
    box-shadow: 0 2px 8px rgb(212 160 23 / 0.4);
}

.acc-card-body { padding: 1.25rem; }

.acc-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--gray-900);
}

.acc-card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.acc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.acc-card-meta {
    display: flex;
    gap: 0.75rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.acc-card-price { text-align: left; }

.price-amount {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green-600);
}

.price-unit {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===== Features ===== */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--cream);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-300);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: white;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Filter Bar ===== */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
    margin-bottom: 2.5rem;
    border: 1px solid var(--gray-200);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.filter-form .form-input,
.filter-form .form-select {
    flex: 1;
    min-width: 140px;
}

/* ===== Detail Page ===== */
.detail-page { padding-top: calc(var(--header-h) + 2rem); }

.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 0.75rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.detail-gallery img,
.detail-gallery .gallery-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-gallery img:first-child { grid-row: 1 / 3; }

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-100), var(--green-50));
    color: var(--green-500);
    grid-column: 1 / -1;
    grid-row: 1 / 3;
    min-height: 400px;
    border-radius: var(--radius-lg);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

.detail-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--green-800);
    margin-bottom: 0.5rem;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green-50);
    color: var(--green-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--green-100);
}

.detail-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.detail-section:last-child { border-bottom: none; }

.detail-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h2::before {
    content: '';
    width: 4px;
    height: 1.25rem;
    background: var(--green-500);
    border-radius: 2px;
}

.detail-text { color: var(--gray-700); line-height: 1.9; }

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    list-style: none;
}

.amenities-grid li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream);
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    border: 1px solid var(--gray-200);
}

.amenities-grid li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
}

/* Reviews */
.review-card {
    background: var(--cream);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.review-name { font-weight: 600; font-size: 0.95rem; }

.stars {
    display: flex;
    gap: 2px;
    color: var(--gold-500);
}

.review-text { color: var(--gray-700); font-size: 0.95rem; }

.reviews-empty {
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

/* Booking Sidebar */
.booking-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }

.booking-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.booking-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.booking-price-row .price-amount { font-size: 1.75rem; }

.booking-price-note { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 1.5rem; }

.booking-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 1.25rem 0;
}

.host-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.host-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta), #e09a5f);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.host-label { font-size: 0.8rem; color: var(--gray-500); }
.host-name { font-weight: 600; font-size: 0.95rem; }

.booking-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.booking-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 0.4rem 0;
}

.booking-features li svg { color: var(--green-500); flex-shrink: 0; }

/* ===== Forms ===== */
.auth-page {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 2rem) 0 3rem;
    background: linear-gradient(160deg, var(--green-50) 0%, var(--cream) 50%, var(--white) 100%);
}

.auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    width: 100%;
}

.auth-card-wide { max-width: 520px; }

.auth-header { text-align: center; margin-bottom: 2rem; }

.auth-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-800);
    margin-bottom: 0.35rem;
}

.auth-header p { color: var(--gray-500); font-size: 0.9rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-900);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--green-400);
    box-shadow: 0 0 0 3px rgb(64 145 108 / 0.15);
}

.form-error {
    color: var(--red-500);
    font-size: 0.8rem;
    display: block;
    margin-top: 0.3rem;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--green-600);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover { text-decoration: underline; }

/* ===== Profile ===== */
.profile-page {
    padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.profile-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.profile-avatar-lg {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    border: 4px solid var(--green-100);
}

.profile-sidebar h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-role {
    display: inline-block;
    background: var(--green-50);
    color: var(--green-600);
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.profile-main {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.profile-main h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.info-item label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.2rem;
}

.info-item span {
    font-weight: 600;
    color: var(--gray-900);
}

.profile-bio {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.profile-bio p { color: var(--gray-700); line-height: 1.8; }

/* ===== Bookings ===== */
.bookings-list { display: flex; flex-direction: column; gap: 1rem; }

.booking-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    flex-wrap: wrap;
    gap: 1rem;
}

.booking-card-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--green-300);
}

.booking-card-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.booking-card-item h3 a {
    text-decoration: none;
    color: var(--gray-900);
    transition: var(--transition);
}

.booking-card-item h3 a:hover { color: var(--green-600); }

.booking-dates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.booking-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.status {
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending { background: var(--amber-50); color: #92400e; }
.status-confirmed { background: var(--emerald-50); color: #065f46; }
.status-cancelled { background: var(--red-50); color: #991b1b; }
.status-completed { background: var(--blue-50); color: #1e40af; }

.booking-detail-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.booking-detail-header {
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: white;
    padding: 2rem;
}

.booking-detail-header h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }

.booking-detail-body { padding: 2rem; }

.detail-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.detail-info-row .label { color: var(--gray-500); font-size: 0.9rem; }
.detail-info-row .value { font-weight: 600; }

.detail-info-row .value.price { color: var(--green-600); font-size: 1.1rem; }

/* ===== About & Contact ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--green-700), var(--green-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.about-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-800);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-300); }

.value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-700);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-card p { color: var(--gray-500); font-size: 0.9rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-300); }

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    flex-shrink: 0;
}

.contact-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.contact-card p { color: var(--gray-500); font-size: 0.9rem; }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.contact-form-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 1.5rem;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--green-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-500);
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-info {
    padding: 0 1rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===== Toast / Alerts ===== */
.toast-container {
    position: fixed;
    top: calc(var(--header-h) + 1rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: 90%;
    max-width: 480px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transition: opacity 0.4s, transform 0.4s;
}

.alert-success { background: var(--emerald-50); color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: var(--red-50); color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: var(--blue-50); color: #1e40af; border: 1px solid #bfdbfe; }

/* ===== Footer ===== */
.site-footer {
    background: var(--green-900);
    color: white;
    margin-top: auto;
    position: relative;
}

.footer-wave {
    height: 4px;
    background: linear-gradient(90deg, var(--green-500), var(--gold-400), var(--green-500));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 4rem 1.5rem;
}

.footer-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--green-300);
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: var(--transition);
}

.footer-links a:hover { color: white; padding-right: 4px; }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .detail-layout { grid-template-columns: 1fr; }
    .booking-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .profile-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }

    .site-nav.open { display: flex; }

    .nav-link { width: 100%; justify-content: center; padding: 0.75rem; }

    .header-actions .nav-link-subtle { display: none; }

    .hero-stats { gap: 1.5rem; }

    .hero-search { flex-direction: column; border-radius: var(--radius-lg); }

    .detail-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .detail-gallery img:first-child { grid-row: auto; }

    .filter-form { flex-direction: column; }
    .filter-form .form-input, .filter-form .form-select { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; }

    .booking-card-item { flex-direction: column; align-items: flex-start; }
}
