/* css/style.css */
:root {
    --brand-gold: #C9A961;
    --brand-black: #000000;
    --brand-gold-light: #E8D4A0;
    --brand-cream: #F5F1E8;
    --brand-charcoal: #1A1A1A;
    --primary-color: var(--brand-black);
    --secondary-color: var(--brand-gold);
    --accent-color: var(--brand-gold-light);
    --text-dark: var(--brand-charcoal);
    --text-light: #4f4f4f;
    --bg-light: var(--brand-cream);
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --gold: var(--brand-gold);
    --whatsapp: #25d366;
    --gold-dark: #b8942e;
    --font-en-heading: 'Cinzel', serif;
    --font-en-subheading: 'Playfair Display', serif;
    --font-en-body: 'Montserrat', sans-serif;
    --font-ar-heading: 'Amiri', serif;
    --font-ar-subheading: 'Cairo', sans-serif;
    --font-ar-body: 'Tajawal', sans-serif;
}

/* Skip to main content */
.skip-link {
    position: absolute;
    top: -999px;
    left: -999px;
    z-index: 9999;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 0 0 5px 0;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
    left: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-en-body);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

[dir="rtl"] body {
    font-family: var(--font-ar-body);
}

h1,
.hero-slide h1,
.about-hero h1 {
    font-family: var(--font-en-heading);
    letter-spacing: 0;
}

h2,
.section-header h2,
.about-text h2 {
    font-family: var(--font-en-subheading);
    letter-spacing: 0;
}

h3,
.nav-menu a,
.btn,
.lang-toggle {
    font-family: var(--font-en-body);
}

[dir="rtl"] h1,
[dir="rtl"] .hero-slide h1,
[dir="rtl"] .about-hero h1 {
    font-family: var(--font-ar-heading);
}

[dir="rtl"] h2,
[dir="rtl"] .section-header h2,
[dir="rtl"] .about-text h2 {
    font-family: var(--font-ar-subheading);
}

[dir="rtl"] h3,
[dir="rtl"] .nav-menu a,
[dir="rtl"] .btn,
[dir="rtl"] .lang-toggle {
    font-family: var(--font-ar-body);
}

[dir="rtl"] .property-badge {
    right: auto;
    left: 15px;
}

[dir="rtl"] .property-type {
    left: auto;
    right: 15px;
}

[dir="rtl"] .property-location i {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .property-features i {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .newsletter-form input {
    border-radius: 0 5px 5px 0;
}

[dir="rtl"] .newsletter-form button {
    border-radius: 5px 0 0 5px;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

[dir="rtl"] .property-location-detail i {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .hero-floating-card {
    right: auto;
    left: 70px;
}

@media(max-width:992px){
    [dir="rtl"] .hero-floating-card {
        left: auto;
        right: auto;
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand img {
    display: block;
    width: auto;
    height: 76px;
    max-width: 150px;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    background: none;
    border: 1px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero slider */
.hero-slider {
    height: calc(100vh - 70px);
    min-height: 500px;
}

.hero-slide {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(0,0,0,.82) 10%,
        rgba(0,0,0,.55) 40%,
        rgba(0,0,0,.20) 100%
    );
}

[dir="rtl"] .hero-slide::after {
    background: linear-gradient(
        to left,
        rgba(0,0,0,.82) 10%,
        rgba(0,0,0,.55) 40%,
        rgba(0,0,0,.20) 100%
    );
}

.hero-slide .hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
}

.hero-slide .hero-content-inner {
    max-width: 700px;
    color: #fff;
}

.hero-slide h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero-slide p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}



/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.filters-section .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--white);
}

.filters-section .btn-outline:hover,
.filters-section .btn-outline:focus {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.18);
}

/* Home About Section */
.about {
    padding: 90px 0;
    background: var(--white);
}

.about .about-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 70px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.stat-item {
    min-height: 108px;
    padding: 18px 14px;
    border: 1px solid rgba(44, 62, 80, 0.10);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
    text-align: center;
}

.stat-number {
    display: block;
    color: var(--secondary-color);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-item span:last-child {
    display: block;
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}

.about-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.08 / 1;
    object-fit: cover;
    border-radius: 12px;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

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

.category-card {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.category-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Properties Grid */
.properties {
    padding: 80px 0;
}

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

.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.badge-success {
    border-radius: 20px;
    padding: 0px 10px;
    background: #27ae60;
    color: white;
}

.badge-warning {
    background: #b8942e;
    color: white;
}

.property-type {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
}

.property-info {
    padding: 20px;
}

.property-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.property-location {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.property-location i {
    margin-right: 5px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 15px 0;
}

.property-features {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.property-features span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.property-features i {
    margin-right: 5px;
}

/* About Page (Brand Identity) */
.about-hero,
.page-header {
    background: linear-gradient(180deg, var(--brand-cream) 0%, #ffffff 100%);
    color: var(--primary-color);
    padding: 150px 0 56px;
    text-align: center;
    border-bottom: 1px solid rgba(201, 169, 97, 0.35);
}

.about-hero h1,
.page-header h1 {
    font-size: clamp(2.35rem, 4vw, 3.4rem);
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: none;
}

.about-hero p,
.page-header p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
}

.properties-page {
    padding: 56px 0 60px;
}

.properties-page > .container > .section-header:first-child {
    display: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-content-wrap {
    padding: 80px 0;
}

.about-content {
    padding: 90px 0;
}

.about-content img {
    display: block;
    width: 100%;
    min-height: 420px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(44, 62, 80, 0.14);
}

.vision-mission {
    margin-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 25px;
}

.vision-mission h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: #C9A961;
    font-size: 1.25rem;
}

.vision-mission i {
    font-size: 1.1rem;
}

.about-values {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header h2 {
    margin-bottom: 15px;
}

.value-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

.value-card h3 {
    color: #C9A961;
}

.value-card p {
    color: #444;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-hero h1 {
        font-size: 2.3rem;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}


/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--secondary-color);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================
   HERO — index.php (inline styles migrated here)
   ========================= */
.hero{
    position:relative;
    overflow:hidden;
    background:#111;
}
.hero-swiper{
    position:relative;
    min-height:clamp(560px, calc(100vh - 70px), 820px);
    height:clamp(560px, calc(100vh - 70px), 820px);
}
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide{
    height:100%;
}
.hero-slide{
    min-height:100%;
}
.hero-slide .hero-content{
    padding:110px 460px 90px 96px;
}
[dir="rtl"] .hero-slide .hero-content{
    padding-right:96px;
    padding-left:460px;
}
.hero-content h1{
    font-size:clamp(42px, 5vw, 76px);
    line-height:1.08;
    font-weight:800;
    margin-bottom:22px;
    color:#fff;
    text-shadow:0 10px 30px rgba(0,0,0,0.35);
    overflow-wrap:anywhere;
}
.hero-content p{
    font-size:clamp(16px, 1.45vw, 20px);
    line-height:1.65;
    color:rgba(255,255,255,.85);
    margin-bottom:32px;
    max-width:620px;
    overflow-wrap:anywhere;
}
.hero-buttons{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}
.hero .btn{
    min-width:150px;
    text-align:center;
    white-space:normal;
}

.hero-stat{
    padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.12);
}
.hero-stat:last-child{
    border-bottom:none;
    padding-bottom:0;
}
.hero-stat h3{
    font-size:clamp(30px, 2.5vw, 42px);
    line-height:1.1;
    margin-bottom:6px;
    color:#c59d5f;
    font-weight:800;
}
.hero-stat span{
    font-size:15px;
    color:rgba(255,255,255,.82);
}

/* Override Swiper nav styles for hero */
.hero .swiper-button-prev,
.hero .swiper-button-next{
    width:52px;
    height:52px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    color:#fff;
    transition:.3s ease;
}
.hero .swiper-button-prev:hover,
.hero .swiper-button-next:hover{
    background:#c59d5f;
}
.hero .swiper-button-prev::after,
.hero .swiper-button-next::after{
    font-size:18px;
    font-weight:bold;
}
.hero .swiper-pagination-bullet{
    width:12px;
    height:12px;
    opacity:1;
    background:rgba(255,255,255,.5);
}
.hero .swiper-pagination-bullet-active{
    background:#c59d5f;
}

.hero-floating-card{
    position:absolute;
    top:50%;
    right:70px;
    transform:translateY(-50%);
    z-index:30;
    width:320px;
    max-width:calc(100% - 40px);
    padding:28px;
    border-radius:20px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(20px);
    box-shadow:0 25px 80px rgba(0,0,0,.35);
    color:#fff;
}

@media(max-width:1200px){
    .hero-floating-card{
        right:28px;
        width:270px;
    }
    .hero-slide .hero-content-inner{
        max-width:560px;
    }
    .hero-slide .hero-content{
        padding-right:340px;
        padding-left:76px;
    }
    [dir="rtl"] .hero-slide .hero-content{
        padding-right:76px;
        padding-left:340px;
    }
}
@media(max-width:992px){
    .hero-swiper{
        height:auto;
        min-height:0;
    }
    .hero-slide{
        min-height:620px;
    }
    .hero-slide .hero-content{
        justify-content:center;
        text-align:center;
        padding:110px 24px 120px;
    }
    [dir="rtl"] .hero-slide .hero-content{
        padding:110px 24px 120px;
    }
    .hero-content-inner{
        text-align:center;
    }
    .hero-content h1{
        font-size:clamp(36px, 7vw, 54px);
    }
    .hero-content-inner p{
        margin-left:auto;
        margin-right:auto;
    }
    .hero-buttons{
        justify-content:center;
    }
    .hero-floating-card{
        position:relative;
        top:auto;
        right:auto;
        left:auto;
        transform:none;
        width:calc(100% - 40px);
        max-width:760px;
        margin:-88px auto 34px;
        display:flex;
        justify-content:space-between;
        gap:20px;
        padding:22px;
        background:linear-gradient(135deg, rgba(27,37,49,.94), rgba(44,62,80,.86));
    }
    .hero-stat{
        flex:1;
        text-align:center;
        border:none;
    }
}
@media(max-width:768px){
    .hero-slide{
        min-height:560px;
    }
    .hero-slide .hero-content{
        align-items:center;
        padding:100px 18px 118px;
    }
    .hero-content h1{
        font-size:clamp(32px, 9vw, 42px);
    }
    .hero-content p{
        font-size:16px;
        line-height:1.7;
    }
    .hero .btn{
        width:100%;
    }
    .hero-floating-card{
        flex-direction:column;
        gap:0;
        margin:-92px auto 28px;
    }
    .hero-stat{
        padding:14px 0;
        border-bottom:1px solid rgba(255,255,255,.12);
    }
    .hero-stat span{
        display:block;
        line-height:1.45;
    }
    .hero-stat h3{
        font-size:32px;
    }
    .hero .swiper-button-prev,
    .hero .swiper-button-next{
        width:44px;
        height:44px;
    }
    .hero .swiper-button-prev{
        left:10px;
    }
    .hero .swiper-button-next{
        right:10px;
    }
}
@media(max-width:480px){
    .hero-slide{
        min-height:540px;
    }
    .hero-content h1{
        font-size:30px;
        margin-bottom:14px;
    }
    .hero-content p{
        font-size:14px;
        margin-bottom:20px;
    }
    .hero .btn{
        padding:10px 20px;
        font-size:14px;
    }
    .hero-buttons{
        gap:10px;
    }
    .hero-floating-card{
        width:calc(100% - 28px);
        padding:18px;
    }
}

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

/* Utility classes for common inline styles */
.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}
.section-padding {
    padding: 80px 0;
}
.text-center {
    text-align: center;
}
.mt-50 {
    margin-top: 50px;
}
.mb-20 {
    margin-bottom: 20px;
}
.flex-center {
    display: flex;
    align-items: center;
}
.gap-10 {
    gap: 10px;
}
.icon-md {
    width: 40px;
    font-size: 20px;
}
.btn-block {
    width: 100%;
    text-align: center;
}
.no-decoration {
    text-decoration: none;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-light);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.properties-grid.loading {
    position: relative;
    min-height: 200px;
}
.properties-grid.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 992px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        gap: 36px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero slider responsiveness */
    .hero-slider {
        height: auto;
        min-height: unset;
    }

    .hero-slide {
        min-height: 500px;
    }

    .hero-slide img {
        object-position: center top;
    }

    .hero-slide .hero-content {
        padding: 90px 16px 40px;
    }

    .hero-slide h1 {
        font-size: 2.2rem;
        margin-bottom: 14px;
    }

    .hero-slide p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }

    .about .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .about-hero,
    .page-header {
        padding: 124px 0 46px;
    }

    .about-hero h1,
    .page-header h1 {
        font-size: 2.4rem;
    }

    .about-content img {
        min-height: 280px;
    }

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

/* Property Details Page */
.property-gallery {
    margin: 100px 0 40px;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.thumbnail {
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-details {
    padding: 40px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.property-meta {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 100px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--secondary-color);
}

.whatsapp-btn {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

/* Admin Panel */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
}

.admin-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.admin-container {
    margin-top: 80px;
    padding: 20px;
}

.admin-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow-x: auto;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.btn-edit {
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 5px;
}

.btn-delete {
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.pagination-link {
    display: inline-block;
    padding: 10px 15px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}
.pagination-link:hover {
    background: var(--secondary-color);
    color: white;
}
.pagination-link.active {
    background: var(--secondary-color);
    color: white;
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .main-image {
        height: 300px;
    }
}
