/* ─── TOKENS ─────────────────────────────────── */
:root {
    /* ── الألوان الرئيسية ── */
    --gold: #EDBB46;
    --gold-light: #EDBB46;
    --gold-alt: #EDBB46;
    --bg: #141414;
    --card: #1E1E1E;
    --card2: #1E1E1E;
    --border: #1E1E1E;
    --text: #FFFFFF;
    --text-muted: #dddddd;
    --text-dark: #111111;
    --muted: #888888;
    --green: #25D366;
    --radius: 14px;
    --footer-bg: #141414;
    /* ── RGB للاستخدام مع rgba() ── */
    --gold-rgb: 237, 187, 70;
    --bg-rgb: 20, 20, 20;
    --card-rgb: 30, 30, 30;
    --card-hover-rgb: 40, 38, 30;
    --card2-rgb: 26, 26, 26;
    --green-rgb: 37, 211, 102;
    --black-rgb: 0, 0, 0;
}

/* ─── BASE ───────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.serif {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
}

/* ─── SCROLLBAR ──────────────────────────────── */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* ─── PAGE SYSTEM ────────────────────────────── */
.page {
    display: none;
    animation: fadeIn .35s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── HEADER ─────────────────────────────────── */
#site-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 999;
    padding: 25px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background .3s;
}

.header-logos {
    display: flex;
}

.header-logos>div {
    flex: 1;
}

.atabay-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

/* ─── LOGO IMAGES (desktop) ──────────────────── */
.logo-wrap img {
    /* تم زيادة الحجم ليظهر بشكل طبيعي وكبير */
    width: auto;
    object-fit: contain;
}

.atabay-logo img {
    max-height: 65px;
    /* تم زيادة الحجم ليظهر بشكل طبيعي وكبير */
    width: auto;
    object-fit: contain;
}

.logo-name {
    font-family: "Zen Dots", sans-serif;
    font-weight: 400;
    font-size: 26px;
    color: var(--text);
    line-height: 1.2;
}

.logo-sub {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--gold);
}

.detailsnamecat {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: var(--gold);
}

.atabay-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--gold-rgb), .45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.atabay-a {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
    font-size: .9rem;
}

.atabay-text .t1 {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.atabay-text .t2 {
    font-size: .65rem;
    color: var(--muted);
}

/* ─── HERO ───────────────────────────────────── */
#hero {
    position: relative;
    min-height: 118svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2px;
}

#hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

#hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(var(--bg-rgb), 0.05) 0%,
            rgba(var(--bg-rgb), 0.25) 48%,
            rgba(var(--bg-rgb), 0.50) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero-tagline {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    margin-bottom: 6px;
}

.hero-sub {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    margin-bottom: 32px;
}

.hero-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-btn {
    background: rgba(var(--card-rgb), .72);
    backdrop-filter: blur(8px);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 60px 110px;
    text-align: center;
    cursor: pointer;
    transition: border-color .25s, background .25s, transform .2s;
}

.hero-btn:hover {
    border-color: var(--gold);
    background: rgba(var(--card-hover-rgb), 0.5);
    transform: translateY(-3px);
}

.hero-btn span {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 62px;
    line-height: 100%;
    color: var(--gold);
}

.hero-name-badge {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

.hero-name-badge img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.hero-name-badge .n1,
.hero-name-badge .n2 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: var(--text);
}

/* ─── ABOUT ──────────────────────────────────── */
.gold-line {
    width: 281px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}

.about-text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.about-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

/* ─── SECTION TITLE ──────────────────────────── */
.section-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    color: var(--gold);
    text-align: center;
}

/* ─── PROPERTY CARD (grid) ───────────────────── */
.prop-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .25s, background .25s, transform .2s;
    height: 445px;
}

.prop-card:hover {
    border-color: var(--gold);
    background: rgba(var(--card-hover-rgb), 0.5);
    transform: translateY(-3px);
}

.prop-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    box-shadow: 0px 4px 4px 0px rgba(var(--black-rgb), 0.25);
    border-radius: 22px;
}

.prop-card-body {
    padding: 14px 16px 16px;
}

.prop-card-title {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.70;
    margin-bottom: 15px;
}

.prop-card-price {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: var(--gold-alt);
    margin-bottom: 42px;
}

.prop-card-loc {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ─── PAGINATION ─────────────────────────────── */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    gap: 6px;
}

.pagination .page-link {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .2s ease;
}

.pagination .page-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--text-dark);
}

.pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--text-dark);
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    background: var(--card2);
    color: var(--muted);
}

/* ─── PROPERTY CARD (list – mobile) ─────────── */
.prop-list-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    gap: 0;
    cursor: pointer;
    transition: border-color .25s, background .25s, transform .2s;
    margin-bottom: 10px;
    height: 146px;
}

.prop-list-card:hover {
    border-color: var(--gold);
    background: rgba(var(--card-hover-rgb), 0.5);
    transform: translateX(3px);
}

.prop-list-img {
    width: 145px;
    min-width: 145px;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    display: block;
    border-radius: 0px 10px 10px 0px;
    border-right: 1.5px solid var(--border);
}

.prop-list-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prop-list-title {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.70;
    margin-bottom: 8px;
    padding-top: 20px;
}

.prop-list-price {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: var(--gold-alt);
    margin-bottom: 30px;
}

.prop-list-loc {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--muted);
}

/* ─── BACK HEADER ────────────────────────────── */
.page-header {
    display: flex;
    align-items: center; /* لمحاذاة السهم مع نص العنوان عمودياً */
    gap: 12px;           /* المسافة بين السهم والعنوان كما في الصورة */
    padding: 120px 0 20px; /* مسافة علوية كافية تحت اللوجو */
    width: 100%;
}

.back-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--gold); /* اللون الذهبي الخاص بك */
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.back-btn i {
    /* حجم الأيقونة وسمكها ليتناسب مع "Satılık" في الصورة */
    font-size: 1.6rem !important; 
    font-weight: bold !important;
    -webkit-text-stroke: 1px var(--gold); /* لزيادة وضوح السهم إذا كان نحيفاً جداً */
}

.back-btn:hover {
    transform: scale(1.1); /* تأثير خفيف عند المرور */
}

.page-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 28px; /* حجم الخط قريب من اللي بالصورة */
    color: var(--gold);
    margin: 0;
    line-height: 1;
}


/* ─── CATEGORY CARDS ─────────────────────────── */
.cat-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    min-height: 155px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px;
    cursor: pointer;
    transition: border-color .25s, background .25s;
    overflow: hidden;
}

.cat-card:hover {
    border-color: var(--gold);
    background: var(--card2);
}

.cat-card-title {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: var(--text-muted);
    transition: color .25s;
    display: block;
}

.cat-card:hover .cat-card-title {
    color: var(--gold);
}

.cat-sub-links {
    margin-top: 18px;
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    animation: fadeIn .25s;
}

.cat-card.expanded .cat-sub-links {
    display: flex;
}

.cat-sub-link {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: var(--muted);
    padding: 4px 0;
    transition: color .2s;
    border-bottom: 1px solid var(--border);
    padding-bottom: 9px;
}

.cat-sub-link:last-child {
    border-bottom: none;
}

.cat-sub-link:hover {
    color: var(--gold);
}

/* ─── ACCORDION (mobile) ─────────────────────── */
.acc-item {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 10px;
}

.acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    color: var(--gold);
    font-size: .95rem;
    font-weight: 500;
    transition: background .2s;
}

.acc-header:hover {
    background: var(--card2);
}

.acc-header.collapsed {
    color: var(--text-muted);
}

.acc-header.collapsed:hover {
    color: var(--gold);
}

.acc-icon {
    font-size: .85rem;
    transition: transform .3s;
    flex-shrink: 0;
}

.acc-header.open .acc-icon {
    transform: rotate(180deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.acc-body.show {
    max-height: 400px;
}

.acc-link {
    display: block;
    padding: 13px 20px;
    font-size: .88rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    transition: color .2s, background .2s;
}

.acc-link:hover {
    color: var(--gold);
    background: rgba(var(--gold-rgb), .05);
}

/* ─── LAYOUT WRAPPERS ────────────────────────── */
.info_details_row {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    align-items: center;
    flex-wrap: wrap;
}

.gallery-row {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 25px;
}

/* 1. الحاوية المشتركة: تضمن أن كل شيء يبدأ وينتهي في نفس النقطة */
.cards-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
 
}

.pb-section {
    padding-bottom: 80px;
}

/* ─── BREADCRUMB ─────────────────────────────── */
.breadcrumb-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 150px 24px 28px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    flex-wrap: wrap;
}

.breadcrumb-row--space-between {
    justify-content: space-between;
}

.breadcrumb-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-sep {
    color: var(--text);
    font-size: 0.8rem;
}

.breadcrumb-active {
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
}

.breadcrumb-parent {
    color: var(--gold);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    cursor: pointer;
}

.breadcrumb-parent:hover {
    text-decoration: underline;
}

/* ─── DETAIL GALLERY ─────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 420px;
}

.gallery-main {
    grid-row: span 2;
    grid-column: span 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-view-all {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(var(--black-rgb), 0.6);
    color: var(--text);
    border: 1px solid rgba(var(--text), 0.3);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}

.gallery-view-all:hover {
    background: rgba(var(--black-rgb), 0.8);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity .2s;
}

.gallery-main img:hover {
    opacity: .9;
}

.gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s, transform .25s;
}

.gallery-thumb img:hover {
    opacity: .85;
    transform: scale(1.02);
}

.gallery-desktop-wrap {
    padding-left: 24px;
    padding-right: 24px;
    margin-bottom: 28px;
    width: 100%;
}

.gallery-mobile {
    display: none;
    overflow-x: scroll;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 6px;
    padding-left: 18px;
    padding-right: 18px;
    margin-bottom: 8px;
    cursor: grab;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    flex-wrap: nowrap;
}

.gallery-mobile::-webkit-scrollbar {
    display: none;
}

.gallery-mobile-img {
    flex: 0 0 calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
}

.gallery-mobile-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.gallery-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 8px;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: background .2s;
}

.gallery-dot.active {
    background: var(--gold);
    width: 18px;
    border-radius: 3px;
}

/* ─── PROPERTY DETAIL PAGE ───────────────────── */
.property-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.property-title {
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0;
    margin: 0;
}

.property-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
    color: var(--gold-alt);
    white-space: nowrap;
}

.property-location {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--text);
    margin-top: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 1px;
}

.property-desc-block {
    margin-top: 40px;
}

.property-desc-title {
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.property-desc-text {
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
}

/* ─── SPECS TABLE ────────────────────────────── */
.spec-row {
    display: flex;
    gap: 40px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: .83rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-key {
    color: var(--gold);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    min-width: 120px;
}

.spec-value {
    color: var(--text-muted);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: right;
    flex: 1;
}

/* ─── MAP ────────────────────────────────────── */
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
}

.map-wrapper--tall {
    height: 480px;
    position: relative;
}

.map-fill {
    width: 100%;
    height: 100%;
}

.map-open-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    padding: 14px 28px;
    border-radius: 30px;
    white-space: nowrap;
    z-index: 10;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(var(--black-rgb), 0.3);
    transition: opacity .2s;
}

.map-open-btn:hover {
    opacity: .9;
    color: var(--text-dark);
}

.btn-map {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gold);
    color: var(--text-dark);
    font-weight: 600;
    padding: 14px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.btn-map:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ─── WHATSAPP CARD ──────────────────────────── */
.wa-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color .25s, transform .2s;
}

.wa-card:hover {
    border-color: var(--green);
    transform: translateY(-2px);
}

.wa-icon {
    width: 73px;
    height: 73px;
    background: rgba(var(--green-rgb), .12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-name {
    font-family: "Zen Dots", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: var(--text);
    margin-bottom: 5px;
}

.wa-sub {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--muted);
}

/* ─── LIGHTBOX ───────────────────────────────── */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(var(--bg-rgb), .96);
    backdrop-filter: blur(4px);
    flex-direction: column;
    animation: fadeIn .25s;
}

#lightbox.open {
    display: flex;
}

.lb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}

.lb-counter {
    font-size: .85rem;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.lb-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
}

.lb-close:hover {
    opacity: 1;
}

.lb-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#lb-img {
    max-width: 92vw;
    max-height: 72vh;
    border-radius: 10px;
    object-fit: contain;
    transition: opacity .2s;
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(var(--gold-rgb), .15);
    border: 1.5px solid rgba(var(--gold-rgb), .3);
    color: var(--gold);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    font-size: 1.1rem;
}

.lb-nav:hover {
    background: rgba(var(--gold-rgb), .3);
}

.lb-prev {
    left: 14px;
}

.lb-next {
    right: 14px;
}

.lb-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 16px 24px;
    scrollbar-width: none;
}

.lb-thumbs::-webkit-scrollbar {
    display: none;
}

.lb-t {
    width: 74px;
    height: 52px;
    border-radius: 7px;
    object-fit: cover;
    cursor: pointer;
    opacity: .55;
    transition: opacity .2s, border .2s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.lb-t.active {
    opacity: 1;
    border-color: var(--gold);
}

/* ─── SECTION WRAPPER ────────────────────────── */
.section-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-desktop,
.cat-mobile {
    width: 90%;
    max-width: 1000px;
}

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 30px;
    margin-top: auto;
    font-size: .72rem;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 6px;
}

.site-footer a {
    color: #22c55e;
}

.footer-wrapper {
    background: var(--footer-bg);
    width: 100%;
}

main {
    flex: 1;
}

.copyright {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--text);
}

/* ─── ANIMATIONS ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

.reveal-delay-4 {
    transition-delay: .4s;
}

/* ─── SHARE BTN ──────────────────────────────── */
.share-btn {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    background: none;
    border: none;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    transition: color .2s;
}

.share-btn:hover {
    color: var(--gold-light);
}

.share-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--card2);
    color: var(--text);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: .8rem;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    pointer-events: none;
    z-index: 5000;
}

.share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ─── COPY TOAST ─────────────────────────────── */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--text-dark);
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(var(--black-rgb), 0.3);
    transition: opacity 0.5s ease;
}

/* ─── PREVIEW NAV ────────────────────────────── */
#preview-nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    background: rgba(var(--card2-rgb), .96);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 8px 14px;
    display: flex;
    gap: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(var(--black-rgb), .5);
}

.pnav-btn {
    padding: 6px 13px;
    border-radius: 30px;
    font-size: .72rem;
    font-weight: 500;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color .2s, background .2s;
}

.pnav-btn.active,
.pnav-btn:hover {
    color: var(--gold);
    background: rgba(var(--gold-rgb), .1);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 767px) {
    .gallery-row {
        width: 100%;
        left: 0;
        transform: none;
        padding-top: 15px;
    }

    .hero-name-badge {
        display: flex !important;
    }

    #hero-bg {
        background-position: center top;
    }

    .info_details_row {
        margin-top: 24px;
        padding-top: 0;
    }

    .gallery-mobile {
        margin-bottom: 20px !important;
        display: flex;
    }

    .gallery-desktop-wrap {
        display: none !important;
    }

    .atabay-text {
        display: none;
    }

    .atabay-circle {
        width: 30px;
        height: 30px;
    }

    #hero {
        padding-bottom: 36px;
    }

    .hero-btn span {
        font-size: 1.55rem;
    }

    .hero-btns {
        gap: 10px;
    }

    .hero-btn {
        padding: 22px 16px;
    }

    .gallery-grid {
        display: none;
    }

    .cards-grid {
        display: none !important;
    }

    .cards-list {
        display: block !important;
    }

    .cat-desktop {
        display: none !important;
    }

    .cat-mobile {
        display: block !important;
    }

    .breadcrumb-row {
        padding: 150px 18px 22px;
    }

    .page-header {
        padding: 150px 18px 22px;
    }

    .px-page {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .spec-row {
        font-size: .78rem;
    }

    .spec-key {
        min-width: 100px;
    }

    /* ─── HEADER على الجوال ─── */
    #site-header {
        padding: 15px 16px;
        /* تم تغيير 10px إلى 15px لأخذ مساحة من فوق */
        width: 100%;
        left: 0;
        transform: none;
    }

    .logo-wrap {
        display: flex !important;
        align-items: center;
        flex: unset;
    }

    .logo-wrap img {
        max-height: 38px;
        width: auto;
        object-fit: contain;
    }

    .atabay-logo {
        width: auto !important;
        justify-content: flex-end !important;
        flex: unset;
    }

    .atabay-logo img {
        max-height: 38px;
        width: auto;
        object-fit: contain;
    }

    .is-home .logo-wrap {
        display: none !important;
    }

    .is-home .atabay-logo {
        width: 100% !important;
        justify-content: center !important;
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding-top: 24px;
    }

    .copyright {
        text-align: center;
        width: 100%;
    }
    
  
    
    

    .back-btn i {
        font-size: 1.8rem !important;
    }
    
     .page-header {
        padding-top: 80px; /* تقليل المسافة العلوية قليلاً في الجوال */
        gap: 8px;
    }
    .page-title {
        font-size: 22px;
    }
    
}

@media (min-width: 768px) {
    .cards-list {
        display: none !important;
    }

    .cat-mobile {
        display: none !important;
    }

    .gallery-mobile {
        display: none !important;
    }
}