/* ==========================================
   PLOTOODISHA SYSTEM STYLESHEET
   Aesthetics: Rich, Premium, Responsive
   ========================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary: #0a192f;        /* Deep Navy */
    --primary-light: #172a45;  /* Soft Navy */
    --secondary: #1d3557;      /* Muted Indigo */
    --accent: #d4af37;         /* Antique Gold */
    --accent-hover: #c5a880;   /* Muted Gold */
    --accent-light: #fcf8e3;   /* Light Gold Hue */
    --text-main: #2b2d42;      /* Dark Slate */
    --text-muted: #6c757d;     /* Cool Gray */
    --text-light: #f8f9fa;     /* Crisp Off-White */
    --bg-main: #f4f6f9;        /* Warm Light Canvas */
    --bg-card: #ffffff;        /* White cards */
    --border-color: #e2e8f0;   /* Light border */
    --success: #2ec4b6;        /* Teal Success */
    --warning: #ffb703;        /* Warm Amber */
    --danger: #e63946;         /* Crimson Alert */
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 25, 47, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(10, 25, 47, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* --- Reset & Core Config --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

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

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

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

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- App View Routing Visibility --- */
.app-view {
    display: none;
}

.app-view.active {
    display: block;
}

/* --- Reusable Components & Helpers --- */
.badge-accent {
    background-color: var(--accent-light);
    color: #8c721b;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 12px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 600;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.hidden {
    display: none !important;
}

/* --- Toast Notifications --- */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
    border-left: 5px solid var(--accent);
}

.toast.hidden {
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
}

.toast.success {
    border-left-color: var(--success);
}

.toast.danger {
    border-left-color: var(--danger);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.main-header {
    background-color: var(--primary);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    height: 72px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.logo i {
    color: var(--accent);
    font-size: 1.7rem;
}

.logo span span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #a8b2d1;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    border-bottom: 2px solid var(--accent);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.btn-admin {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent) !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   HOME VIEW STYLES
   ========================================== */
.hero-section {
    position: relative;
    height: 520px;
    background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?q=80&w=1932&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    color: #a8b2d1;
    margin-bottom: 40px;
}

/* Quick Search Container */
.hero-search-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 750px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    padding-left: 8px;
}

.search-tab-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.search-tab-btn.active, .search-tab-btn:hover {
    background-color: rgba(10, 25, 47, 0.05);
    color: var(--primary);
}

.search-tab-btn.active {
    background-color: var(--primary);
    color: var(--text-light);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 8px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 4px 12px;
    text-align: left;
}

.search-field i {
    color: var(--accent);
    font-size: 1.2rem;
}

.field-inputs {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.field-inputs label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.field-inputs select, .field-inputs input {
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    padding: 2px 0;
    cursor: pointer;
    width: 100%;
}

.search-divider {
    width: 1px;
    height: 36px;
    background-color: var(--border-color);
}

.search-btn {
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background-color: var(--primary-light);
    color: var(--accent);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.stat-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--accent);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.stat-card h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Featured Section */
.featured-section {
    margin-bottom: 80px;
}

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

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Property Card Layout */
.property-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.4);
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #ddd;
}

.card-image-wrapper img, .card-image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.card-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.badge-gharabari {
    background-color: var(--success);
}

.badge-type {
    background-color: var(--primary);
}

.badge-gated {
    background-color: var(--warning);
    color: var(--primary);
}

.card-price {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: var(--accent);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-location {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-location i {
    color: var(--accent);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 52px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-light);
    font-size: 1rem;
}

.card-footer {
    display: flex;
    margin-top: auto;
}

/* Guide Promo Banner */
.guide-promo {
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    padding: 50px;
    color: var(--text-light);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.guide-promo::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
    top: -50px;
    right: -50px;
}

.promo-content h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.promo-content p {
    color: #a8b2d1;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.promo-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-image i {
    font-size: 10rem;
    color: rgba(212, 175, 55, 0.15);
}

/* ==========================================
   PROPERTIES SEARCH PORTAL
   ========================================== */
.portal-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.filters-sidebar {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 96px;
}

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

.filter-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-clear-filters {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

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

.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background-color: #f8fafc;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    border-color: var(--primary-light);
    background-color: #fff;
}

.filter-group select, .filter-group input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background-color: #f8fafc;
    color: var(--text-main);
    transition: var(--transition);
}

.filter-group select:focus, .filter-group input:focus {
    border-color: var(--primary-light);
    background-color: #fff;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-inputs input {
    flex: 1;
}

.range-inputs span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.checkbox-group {
    margin-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* Listings Content */
.listings-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-card);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.results-count {
    font-weight: 600;
    color: var(--primary);
}

.sort-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-selector label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.sort-selector select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    background-color: #fff;
    cursor: pointer;
}

/* ==========================================
   BUYER'S GUIDE VIEW STYLES
   ========================================== */
.guide-header {
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
}

.guide-header h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.guide-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.guide-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guide-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.guide-card h2 {
    font-size: 1.35rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-card p {
    color: var(--text-main);
    margin-bottom: 16px;
    font-size: 1rem;
}

.bhulekh-box {
    background-color: #f8fafc;
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 20px 0;
}

.bhulekh-box h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.bhulekh-box ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.bhulekh-box li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.bhulekh-box a {
    color: var(--accent);
    font-weight: 600;
}

.bhulekh-box a:hover {
    text-decoration: underline;
}

.warning-alert {
    background-color: #fff0f0;
    border-left: 4px solid var(--danger);
    padding: 12px 16px;
    border-radius: 4px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #8c1d1d;
    font-size: 0.9rem;
}

.warning-alert i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.text-gold {
    color: var(--accent);
}

.guide-card ul {
    margin-left: 20px;
    margin-top: 12px;
}

.guide-card li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.checklist-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

.checklist-table th, .checklist-table td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.checklist-table th {
    background-color: #f1f5f9;
    color: var(--primary);
    font-weight: 700;
}

.checklist-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* Guide Sidebar */
.sidebar-box {
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.sticky-box {
    position: sticky;
    top: 96px;
}

.sidebar-box h3 {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.sidebar-box p {
    color: #a8b2d1;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.box-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

.sidebar-box h4 {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.vocab-list {
    list-style: none;
}

.vocab-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.vocab-list strong {
    color: var(--text-light);
    display: block;
}

/* ==========================================
   CONTACT VIEW STYLES
   ========================================== */
.contact-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-info-panel {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.contact-info-panel h1 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.contact-info-panel p {
    color: #a8b2d1;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 4px;
}

.detail-item h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.detail-item p {
    color: #a8b2d1;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-panel {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form-panel p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-light);
    background-color: #fff;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* ==========================================
   ADMIN LOGIN VIEW STYLES
   ========================================== */
.login-container {
    height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.login-header h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
}

.input-icon-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: var(--transition);
}

.input-icon-wrapper input:focus {
    border-color: var(--primary-light);
    background-color: #fff;
}

/* ==========================================
   ADMIN DASHBOARD VIEW STYLES
   ========================================== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: calc(100vh - 72px);
}

.dashboard-sidebar {
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-profile .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
}

.admin-profile h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.admin-profile span {
    font-size: 0.75rem;
    color: #a8b2d1;
    font-weight: 500;
}

.sidebar-menu {
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sidebar-btn {
    background: none;
    border: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #a8b2d1;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
}

.sidebar-btn:hover, .sidebar-btn.active {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-btn.active {
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding-left: 13px;
}

.badge-count {
    background-color: var(--danger);
    color: #fff;
    padding: 2px 6px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: auto;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-logout {
    background: none;
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: var(--danger);
    padding: 10px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-logout:hover {
    background-color: var(--danger);
    color: #fff;
}

/* Dashboard Content Area */
.dashboard-content {
    padding: 40px;
    overflow-y: auto;
    background-color: #f8fafc;
}

.dashboard-tab {
    display: none;
}

.dashboard-tab.active {
    display: block;
}

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

.db-header h1 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.db-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.stat-box {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-blue {
    background-color: rgba(29, 53, 87, 0.1);
    color: var(--primary);
}

.bg-orange {
    background-color: rgba(255, 183, 3, 0.1);
    color: #d48a04;
}

.bg-green {
    background-color: rgba(46, 196, 182, 0.1);
    color: #1f857b;
}

.stat-data h3 {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.stat-data span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.db-row {
    display: flex;
    gap: 24px;
}

.col-8 {
    flex: 2;
}

.col-7 {
    flex: 1.4;
}

.col-5 {
    flex: 1;
}

.col-4 {
    flex: 1;
}

.col-6 {
    flex: 1;
}

.db-card-panel {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    height: fit-content;
}

.db-card-panel h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

/* Tables Styling */
.table-responsive {
    overflow-x: auto;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.db-table th, .db-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.db-table th {
    font-weight: 700;
    color: var(--primary);
    background-color: #f8fafc;
}

.db-table tr:hover td {
    background-color: #f8fafc;
}

/* Leads status pills */
.badge-status {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.status-new {
    background-color: rgba(29, 53, 87, 0.1);
    color: var(--primary);
}

.status-contacted {
    background-color: rgba(255, 183, 3, 0.1);
    color: #cc8400;
}

.status-closed {
    background-color: rgba(46, 196, 182, 0.1);
    color: #1d7c71;
}

/* Location Tree view */
.location-tree {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 8px;
}

.tree-district {
    border-left: 2px solid var(--accent);
    padding-left: 14px;
    margin-bottom: 8px;
}

.tree-district-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tree-district-header h4 {
    font-size: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tree-cities {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tree-city {
    background-color: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    border-left: 2px solid var(--primary-light);
}

.tree-city-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.tree-city-header h5 {
    font-size: 0.9rem;
    color: var(--primary-light);
}

.tree-areas {
    margin-left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tree-area-badge {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-delete-node {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 0.85rem;
    opacity: 0.6;
    transition: var(--transition);
}

.btn-delete-node:hover {
    opacity: 1;
}

/* ==========================================
   MODALS LAYOUT STYLES
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalShow 0.3s ease-out;
}

.modal-large {
    max-width: 900px;
}

@keyframes modalShow {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-main);
    z-index: 10;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background-color: var(--danger);
    color: #fff;
}

.modal-body {
    padding: 40px;
}

/* Property Detail View (Visitor view) */
.detail-title-panel {
    margin-bottom: 24px;
}

.detail-title-panel h1 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.detail-subtitle {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-subtitle i {
    color: var(--accent);
}

/* Image Showcase Slider */
.image-showcase {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #ddd;
    height: 380px;
    margin-bottom: 24px;
}

.showcase-slide {
    width: 100%;
    height: 100%;
    display: none;
}

.showcase-slide.active {
    display: block;
}

.showcase-slide img, .showcase-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    z-index: 5;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.slider-prev {
    left: 16px;
}

.slider-next {
    right: 16px;
}

/* Detail Specs grid */
.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.specs-block h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.spec-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 45%;
}

.spec-table td:last-child {
    color: var(--primary);
    font-weight: 500;
}

.desc-block p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
}

.lead-block {
    background-color: #f8fafc;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    height: fit-content;
}

.lead-block h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.lead-block p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Form layouts in Admin Modals */
.modal-header-panel {
    padding: 30px 40px 10px 40px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.modal-header-panel p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-form {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.check-flex {
    justify-content: flex-end;
    padding-bottom: 4px;
}

.modal-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 10px;
}

/* Media Upload Drag / Preview */
.upload-drag-area {
    border: 2px dashed rgba(10, 25, 47, 0.15);
    background-color: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.upload-drag-area:hover {
    border-color: var(--accent);
    background-color: rgba(212, 175, 55, 0.03);
}

.upload-drag-area i {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.upload-drag-area p {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.upload-drag-area span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hidden-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    background-color: #f8fafc;
}

.preview-thumb img, .preview-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: rgba(230, 57, 70, 0.9);
    color: #fff;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.preview-remove:hover {
    background-color: var(--danger);
    transform: scale(1.1);
}

/* --- Services Page Layout --- */
.construction-highlight-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text-light);
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.badge-accent-gold {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 16px;
}

.construction-content h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.construction-content p {
    color: #a8b2d1;
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.construction-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.c-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 500;
}

.c-feat i {
    color: var(--accent);
    font-size: 1.1rem;
}

.construction-image-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.construction-image-box i {
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.2);
    margin-bottom: 12px;
}

.image-overlay-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sub-section-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.sub-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    color: #8c721b;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .construction-highlight-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    .construction-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* --- Social Media Links --- */
.social-links-container {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.social-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-link-icon.facebook {
    background-color: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    border: 1px solid rgba(24, 119, 242, 0.2);
}

.social-link-icon.facebook:hover {
    background-color: #1877f2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-link-icon.youtube {
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.social-link-icon.youtube:hover {
    background-color: #ff0000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.main-footer {
    background-color: var(--primary);
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    margin-top: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #a8b2d1;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

.footer-social-icon.facebook {
    background-color: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    border: 1px solid rgba(24, 119, 242, 0.2);
}

.footer-social-icon.facebook:hover {
    background-color: #1877f2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.footer-social-icon.youtube {
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.footer-social-icon.youtube:hover {
    background-color: #ff0000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.footer-dev-link {
    color: var(--accent) !important;
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

.footer-dev-link:hover {
    color: var(--accent-hover) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Header Social Icons */
.header-social-icon {
    font-size: 1.2rem !important;
    padding: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #a8b2d1 !important;
    transition: var(--transition);
}

.header-social-icon:hover {
    color: var(--accent) !important;
    background: none !important;
    transform: translateY(-2px);
}

/* Hide header on Admin Dashboard for clean layout */
body:has(#view-admin-dashboard.active) .main-header {
    display: none !important;
}

body:has(#view-admin-dashboard.active) .dashboard-layout {
    height: 100vh;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .portal-container {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
        width: 100%;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-sidebar .sticky-box {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .db-row {
        flex-direction: column;
    }
    
    .col-8, .col-7, .col-5, .col-4 {
        width: 100%;
        flex: none;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu toggles this */
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-divider {
        display: none;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .guide-promo {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .promo-image {
        display: none;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 16px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-form {
        padding: 20px;
    }
    
    .modal-header-panel {
        padding: 20px 20px 0 20px;
    }
}
