/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}
@font-face {
    font-family: dg-heaven-bold;
    src: url(../font/dg_font_bold.ttf) format('truetype');
}
@font-face {
    font-family: DG_Regular;
    src: url(../font/dg_font_heaven.ttf) format('truetype');
}

.tw-cursor {
    color: currentColor;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}
.font-dg{
    font-family: dg-heaven-bold, sans-serif;
}
.font-dg-regular{
    font-family: DG_Regular, sans-serif;
}
.hero-section .mySwiper {
    width: 100%;
    height: 100%;
}

.hero-section .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-section .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none !important;
    display: block;
}

/* Responsive hero images */
.hero-img-desktop { display: none !important; }
.hero-img-mobile  { display: block !important; }

@media (min-width: 640px) {
    .hero-img-mobile  { display: none !important; }
    .hero-img-desktop { display: block !important; }
}

/* Dark gradient overlay */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        transparent 35%,
        rgba(0,0,0,0.5) 75%,
        rgba(0,0,0,0.65) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Project name - bottom left (over thumbnails row) */
.hero-slide-name {
    position: absolute;
    right: 2.5rem;
    bottom: 5.5rem;
    z-index: 2;
    text-align: right;
    color: white;
}

.hero-name-ar {
    font-family: 'Doran-Bold', sans-serif;
    font-size: 2.8rem;
    line-height: 1.15;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.45);
}

.hero-name-en {
    font-size: 1.05rem;
    margin-top: 0.3rem;
    opacity: 0.8;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Project info bar - bottom right */
.hero-slide-info {
    position: absolute;
    top: 50%;
    right: 2.5rem;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    direction: rtl;
    gap: 0;
}

.hero-info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: white;
    padding: 0.9rem 0;
}

.hero-info-label {
    font-size: 0.78rem;
    opacity: 0.6;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.hero-info-value {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-info-separator {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.35);
    flex-shrink: 0;
}

/* Thumbnail navigation - bottom left */
.hero-thumbs-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem;
}

.hero-thumb {
    width: 130px;
    height: 80px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.55;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.hero-thumb.active,
.hero-thumb:hover {
    opacity: 1;
    border-color: white;
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none !important;
    display: block;
}
.logo-white{
    display: block;
}
.logo-dark{
    display: none;
}
.scrolled .logo-white{
    display: none;
}
.scrolled .logo-dark{
    display: block;
}


/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-section .swiper-slide img{
        object-fit: cover;
    }
    .hero-slide-name {
        right: unset;
        left: 1rem;
        bottom: 6.5rem;
        text-align: left;
    }
    .hero-name-ar {
        font-size: 1.8rem;
    }
    .hero-name-en {
        font-size: 0.85rem;
    }
    .hero-slide-info {
        top: auto;
        bottom: 7rem;
        right: 1rem;
        transform: none;
        gap: 0;
    }
    .hero-thumbs-nav {
        display: none;
    }
    .hero-info-item {
        padding: 0.6rem 0;
    }
    .hero-info-separator {
        width: 80px;
    }
}

/* ============================= */

/* Project status badge */
.project-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem 0.35rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Status dot */
/* .project-status-badge::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.9;
    flex-shrink: 0;
} */

/* Per-status colors */
.badge-available {
    background: rgba(30, 30, 30, 0.82);
    border-color: rgba(30, 30, 30,, 0.3);
}
.badge-available::before {
    background: rgb(30,30,30);
    box-shadow: 0 0 5px rgb(30,30,30);
}

.badge-sold {
    background: rgba(30, 30, 30, 0.82);
    border-color: rgba(30, 30, 30, 0.3);
}
.badge-sold::before {
    background: rgb(30,30,30);
    box-shadow: 0 0 5px rgb(30,30,30);
}

.badge-under-construction {
    background: rgba(30, 30, 30, 0.82);
    border-color: rgba(30, 30, 30, 0.3);
}
.badge-under-construction::before {
    background: rgb(30,30,30);
    box-shadow: 0 0 5px rgb(30,30,30);
}

.about-title{
    font-family:'Doran-Bold',sans-serif;
}
hr{
    border: none;
    height: 1px;
    background-color: #1E1E1E;
}
.active{
    background-color: #1E1E1E;
    color:white;
}

.p-name{
    font-family: 'Doran-Bold',sans-serif;
}
.font-doran-bold{
    font-family: 'Doran-Bold',sans-serif;
}
.height-counter{
    height: 200px;
}
#projectMap {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 676px) {
    .height-counter{
        height: 350px;
    }
}
