/* =============================================================
   SKY24 MAIN THEME
============================================================= */

:root {
    --accent: #2f8fff;
    --accent-glow: rgba(47, 143, 255, 0.8);
    --bg-dark: #0e1524;
    --bg-card: #152238;
    --text-light: #d7e1f5;
    --input-bg: #0f1624;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* =============================================================
   NAVBAR
============================================================= */

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: rgba(10, 15, 25, 0.85);
    backdrop-filter: blur(6px);
    top: 0;
    z-index: 9999;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: #1a2335;
    color: white;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 15px;
    margin-top: 10px;
}

.btn:hover {
    background: #22324d;
}

.btn.neon {
    background: var(--accent);
    color: black;
    font-weight: bold;
}

.btn.neon:hover {
    box-shadow: 0 0 16px var(--accent);
}

.btn.ghost {
    background: transparent;
    border: 2px solid var(--accent);
}

.neon-border:hover {
    box-shadow: 0 0 14px var(--accent);
}

/* Re-enable buttons inside navbar */
.top-nav *,
.top-nav button,
.top-nav a {
    pointer-events: auto;
}

/* =============================================================
   HERO SECTION
============================================================= */

.hero-section {
    text-align: center;
    padding: 40px 20px 40px;
    pointer-events: none;   
}

.hero-section h1 {
    font-size: 40px;
    margin-bottom: 8px;

}

.hero-section p {
    opacity: 0.8;
}

/* =============================================================
   SLIDER
============================================================= */

.hero-slider {
    margin: 40px auto;
    width: 95%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
    position: relative;
    pointer-events: none;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 420px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0, 0, 0, 0.45);
    padding: 16px 24px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 30, 45, 0.7);
    border-radius: 50%;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: white;
    transition: 0.25s ease;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-btn:hover {
    background: var(--accent);
    transform: scale(1.15);
    box-shadow: 0 0 18px var(--accent-glow);
}

.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 12px 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    transition: 0.25s;
}

.dot:hover {
    transform: scale(1.5);
    background: var(--accent);
}

.active-dot {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* =============================================================
   ADS SECTION
============================================================= */

.ads-container {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.ad-box {
    background: #122032;
    border-radius: 12px;
    box-shadow: 0 24px 24px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
}

.ad-box img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.ad-box p {
    padding: 12px;
}

/* =============================================================
   PROPERTY TYPES
============================================================= */

.property-types {
    padding: 20px;
}

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

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
}

.type-box {
    background: linear-gradient(145deg, #1a2a3d, #0f1624);
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: 0.25s ease;
    cursor: pointer;
}

/* =============================================================
   BROKER NOTE
============================================================= */

.broker-note {
    margin: 30px 20px;
    padding: 20px;
    border-radius: 12px;
    background: #172235;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* =============================================================
   TRENDING SECTION
============================================================= */

.trending-section {
    padding: 20px;
}

.trending-marquee {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: scroll 18s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.trend-item {
    min-width: 260px;
    padding: 14px 24px;
    background: #122032;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: 0.25s ease;
    cursor: pointer;
}

/* =============================================================
   COMING SOON
============================================================= */

.coming-grid {
    display: flex;
    justify-content: space-around;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px;
}

.coming-box {
    background: #172235;
    color: #ffdd66;
    padding: 22px;
    text-align: center;
    border-radius: 14px;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    transition: 0.25s ease;
    cursor: pointer;
}

/* =============================================================
   CITY SEARCH
============================================================= */

.city-grid {
    padding: 20px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.city-box {
    background: #132037;
    padding: 14px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: 0.25s ease;
    cursor: pointer;
}

/* =============================================================
   MODALS
============================================================= */

.dark-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 500;
    padding: 20px;
    /* important for small screens */
}

.modal-content {
    background: linear-gradient(180deg, #0e1626, #162238);
    border-radius: 16px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    /* ✅ KEY FIX */
    overflow-y: auto;
    /* ✅ KEY FIX */
    padding: 24px 26px 30px;
    box-shadow: 0 0 40px rgba(0, 140, 255, 0.15);
    position: relative;
}

.modal-content .input-box {
    margin-bottom: 16px;
}

.close-modal {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 22px;
    cursor: pointer;
    color: #9aa6c2;
}

.input-box {
    margin-top: 16px;
    position: relative;
}

.input-box input,
.input-box select {
    width: 100%;
    padding: 12px 10px;
    background: var(--input-bg);
    border: 1px solid #243347;
    border-radius: 6px;
    color: white;
}

.input-box label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #152238;
    padding: 0 4px;
    font-size: 13px;
    color: #b3c4e2;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 140, 255, 0.5);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

/* =============================================================
   BLOCKER POPUP
============================================================= */

.blocker {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 400;
}

#blocker {
    pointer-events: auto;
}

#blocker.hidden {
    pointer-events: none;
}

/* THIS FIXES YOUR PROBLEM */
.hidden {
    display: none !important;
}

/* Specifically hide blocker */
#blocker.hidden {
    display: none !important;
}

.blocker-box {
    background: #162238;
    padding: 25px;
    border-radius: 12px;
    width: 300px;
    text-align: center;
}

/* =============================================================
   MAIN CONTENT
============================================================= */

.search-bar {
    padding: 20px;
    display: flex;
    justify-content: center;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    border: none;
    background: #0f1624;
    color: white;
}

.search-bar input {
    width: 80%;
    max-width: 600px;
    padding: 12px;
    border-radius: 10px;
    border: solid;
    background: #0f1624;
    color: white;
}

/* Sticky bar */
.actions-bar {
    display: flex;
    gap: 14px;
    background: rgba(13, 19, 33, 0.8);
    padding: 16px;
    border-radius: 12px;
    margin: 0 auto;
    width: fit-content;
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
    position: relative;
    pointer-events: auto;
}

.actions-bar.sticky {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    z-index: 250;
    width: auto;
    border-radius: 14px;
}

.listings-grid {
    display: grid;
    gap: 18px;
    padding: 20px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.property-card {
    background: #132037;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.property-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* =============================================================
   PREMIUM HOVER EFFECTS
============================================================= */

.fancy-hover {
    transition: 0.25s ease-out;
    position: relative;
}

.fancy-hover:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 20px rgba(47, 143, 255, 0.4);
}

.fancy-hover:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 18px rgba(47, 143, 255, 0.55);
}

.fancy-hover::after {
    pointer-events: none;
}

/* Scroll-in Animation */
@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
    }
}

.type-box,
.trend-item,
.coming-box,
.city-box,
.ad-box {
    animation: fadein 0.7s ease;
}

.location-search {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.search-select {
    padding: 10px;
    background: #0f1624;
    border: 1px solid #2a3954;
    border-radius: 8px;
    color: white;
    outline: none;
}

.search-select option {
    background: #0f1624;
    color: white;
}

.search-wrapper {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.loc-search-box,
.type-search-box {
    background: #121b2e;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
}

.search-select {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    background: #0f1624;
    border: 1px solid #2a3954;
    border-radius: 8px;
    color: #fff;
}

/* =====================================================
   SINGLE PROPERTY DETAILS PAGE
===================================================== */

.property-details {
    padding: 30px 6%;
    color: #e5ecff;
}

/* Back button */
.back-btn {
    margin-bottom: 20px;
    background: transparent;
    border: 1px solid #2f80ff;
    color: #2f80ff;
    padding: 8px 14px;
    border-radius: 8px;
}

/* Layout */
.property-details {
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

/* Gallery */
.property-gallery {
    background: #0e1626;
    padding: 14px;
    border-radius: 16px;
}

.property-gallery .main-image {
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

/* Thumbnails */
.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail-row img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.85;
    transition: 0.3s;
}

.thumbnail-row img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Info Section */
.property-info {
    background: #0e1626;
    padding: 24px;
    border-radius: 16px;
}

.property-info h1 {
    font-size: 26px;
    margin-bottom: 6px;
}

.pd-location {
    color: #9aa6c2;
    margin-bottom: 14px;
}

.pd-price {
    font-size: 28px;
    color: #2f80ff;
    margin-bottom: 18px;
}

/* Specs grid */
.pd-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.pd-specs div {
    background: #162238;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* Description */
.pd-description {
    margin-bottom: 20px;
}

.pd-description h3,
.pd-owner h3,
.pd-broker h3 {
    margin-bottom: 8px;
    color: #2f80ff;
}

/* Owner / Broker boxes */
.pd-owner,
.pd-broker {
    background: #162238;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.pd-owner p,
.pd-broker p {
    font-size: 14px;
    margin-bottom: 6px;
}

/* Broker button */
#viewBrokerListings {
    margin-top: 10px;
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .property-details {
        grid-template-columns: 1fr;
    }

    .property-gallery .main-image {
        height: 280px;
    }
}

.property-card.sold {
    opacity: 0.6;
    pointer-events: auto;
}

.sold-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff4d4f;
    color: rgb(141, 0, 0);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    z-index: 10;
}

/* =====================================================
   BROKER PROFILE PAGE
===================================================== */

.broker-profile {
    padding: 30px 6%;
    color: #e5ecff;
}

/* Broker Header */
.broker-header {
    background: #0e1626;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 28px;
}

.broker-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.broker-header p {
    font-size: 14px;
    color: #c8d1f0;
    margin-bottom: 6px;
}

.broker-header strong {
    color: #2f80ff;
}

/* Listings section */
.broker-listings h2 {
    margin-bottom: 16px;
    color: #2f80ff;
}

/* Grid reuse */
#bp_listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Back button already styled, just spacing */
#backFromBroker {
    margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .broker-profile {
        padding: 20px;
    }

    .broker-header h1 {
        font-size: 22px;
    }
}

/* ==============================
   BROKER ID SEARCH
============================== */

.broker-search-box {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    max-width: 420px;
}

.broker-search-box input {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #2f80ff;
    background: #0e1626;
    color: #fff;
}

/* =====================================================
   ADMIN DASHBOARD (FOUNDER PANEL)
===================================================== */

.admin-dashboard {
    padding: 30px 6%;
    color: #e5ecff;
}

.admin-dashboard h1 {
    font-size: 30px;
    margin-bottom: 24px;
    color: #2f80ff;
}

.admin-section {
    background: #0e1626;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
}

.admin-section h2 {
    margin-bottom: 14px;
    font-size: 20px;
    color: #2f80ff;
}

/* Admin rows (users, brokers, listings) */
.admin-row {
    background: #162238;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.admin-row-info {
    font-size: 14px;
    line-height: 1.4;
}

.admin-row-info span {
    display: block;
    color: #c8d1f0;
}

/* Admin actions */
.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-actions button {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

/* Action buttons */
.btn-approve {
    background: #2f80ff;
    color: #fff;
}

.btn-reject,
.btn-ban {
    background: #e74c3c;
    color: #fff;
}

.btn-unban {
    background: #27ae60;
    color: #fff;
}

.btn-delete {
    background: #ff6b6b;
    color: #fff;
}

/* Document preview (Aadhar / photo) */
.admin-docs {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.admin-docs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #2f80ff;
}

/* Back button spacing */
#backFromAdmin {
    margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-dashboard {
        padding: 20px;
    }

    .admin-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

.static-page {
    max-width: 900px;
    margin: 0px auto;
    padding: 20px;
    line-height: 1.7;
    color: #dfe6ff;
}

.static-page h2 {
    margin-bottom: 20px;
}

.static-page h3 {
    margin-top: 30px;
}

/* ================= FOOTER ================= */

.site-footer {
    background: #0b1220;
    color: #b8c1d1;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.footer-brand h3 {
    color: #3fa9f5;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    margin-top: 20px;
}

.footer-links h4 {
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-links a {
    display: block;
    color: #b8c1d1;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #3fa9f5;
}

.footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
    opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ================= HEADER LEGAL LINKS ================= */

.header-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-links a {
    color: #c9d4e5;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-links a:hover {
    color: #3fa9f5;
}

.header-links a.active {
    color: #2f6bff;
    border-bottom: 2px solid #2f6bff;
    padding-bottom: 4px;
}

/* Keep header clean on mobile */
@media (max-width: 900px) {
    .header-links {
        display: none;
    }
}

/* ================= COOKIE CONSENT ================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f1b2e;
    color: #cdd7ea;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    max-width: 90%;
}

.cookie-banner a {
    color: #3fa9f5;
    text-decoration: none;
}

.cookie-banner.hidden {
    display: none;
}

.reset-container {
    max-width: 400px;
    margin: 120px auto;
    background: #0f172a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.reset-container input {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border-radius: 6px;
    border: none;
}

/* ===============================
   TEAM / ABOUT PAGE
================================ */

.team-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #e6f0ff;
}

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

.team-card {
    background: linear-gradient(180deg, #0b1220, #0e1628);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.team-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #2f6bff;
}

.team-card h3 {
    margin: 10px 0 4px;
    font-size: 20px;
    color: #ffffff;
}

.team-card .role {
    font-size: 14px;
    color: #8fb3ff;
    margin-bottom: 12px;
}

.team-card .desc {
    font-size: 14px;
    color: #c7d6ff;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 16px;
}

.footer-social a {
    width: 100px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    border-radius: 50%;
    color: #c7d6ff;
    font-size: 40px;
    transition: all 0.3s ease;
    border: 1px solid #1e2a4a;
}

.footer-social a:hover {
    transform: translateY(-4px);
    color: #fff;
}

/* Brand hover colors */
.footer-social a:hover .fa-instagram {
    color: #e1306c;
}

.footer-social a:hover .fa-youtube {
    color: #ff0000;
}

/* ================================
   MOBILE NAVBAR FIX
================================ */

.desktop-only {
    display: flex;
    gap: 10px;
}

.mobile-only {
    display: none;
}

/* Mobile button */
.mobile-menu-btn {
    font-size: 26px;
    cursor: pointer;
    color: white;
}

/* Mobile menu panel */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(10, 15, 25, 0.95);
    padding: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 300;
    animation: slideDown 0.3s ease;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forgot-link {
    color: var(--accent);
    text-align: center;
    cursor: pointer;
    font-size: 14px;
}

/* Active state */
.mobile-menu.active {
    display: flex;
}

/* Animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
}

/* ===============================
   FULLSCREEN GALLERY
================================ */
.gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-overlay.hidden {
    display: none;
}

.gallery-main {
    max-width: 92%;
    max-height: 75vh;
    border-radius: 10px;
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 38px;
    color: #fff;
    cursor: pointer;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
}

.gallery-nav.left { left: 20px; }
.gallery-nav.right { right: 20px; }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px;
}

.gallery-thumbs img {
    height: 70px;
    width: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    border: 2px solid transparent;
}

.gallery-thumbs img.active {
    opacity: 1;
    border-color: #2f80ff;
}
