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

html {
    scroll-behavior: smooth;
    background: #0a0b0d; /* Deep premium dark background */
    color: #f5f5f5;
    overflow-x: hidden;
}

/* ========================= NAVBAR ========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 72px;
    background: rgba(10, 11, 13, 0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s ease;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(255, 215, 0, 0.25));
}

.brand-text {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 6px;
    color: #d4af37;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(212,175,55,0.2);
}

.nav-cta, .footer-cta {
    padding: 12px 24px;
    border: 1px solid #d4af37;
    border-radius: 6px;
    background: transparent;
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-cta:hover, .footer-cta:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

/* ========================= HERO SECTION ========================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../assets/images/estates1.webp') center/cover no-repeat;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 11, 13, 0.6), rgba(10, 11, 13, 0.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.tag {
    color: #d4af37;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.subtext {
    color: #cfcfcf;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn.primary {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, #d4af37 0%, #aa8429 100%);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(212,175,55,0.25);
}

/* ========================= SPLIT SECTIONS ========================= */
.section {
    padding: 120px 8vw;
}

.split-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-content h2 {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.split-content p {
    color: #a0a0a0;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.feature-list li {
    font-size: 16px;
    color: #cfcfcf;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: #d4af37;
    font-size: 20px;
}

.split-image {
    flex: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    pointer-events: none;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

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

/* ========================= MAP SECTION ========================= */
.map-section {
    background: #111216;
    text-align: center;
}

.map-text {
    max-width: 800px;
    margin: 0 auto 50px;
}

.map-text h2 {
    font-size: 38px;
    color: #d4af37;
    margin-bottom: 16px;
}

.map-text p {
    color: #a0a0a0;
    line-height: 1.8;
    font-size: 17px;
}

.map-wrapper {
    max-width: 900px;
    margin: auto;
    background: transparent;
    box-shadow: none;
}

.map-wrapper::after {
    display: none;
}

/*====productgrid==========*/

/* ========================= PROJECTS GRID & CARDS ========================= */
.projects-section {
    background: #0d0e12;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns standard */
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: #15161a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.status-available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%); /* Green */
}

.status-sold {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); /* Red */
}

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

.card-content h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-content .price {
    color: #d4af37;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-explore {
    margin-top: auto;
    padding: 12px;
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-explore:hover {
    background: #d4af37;
    color: #000;
}

/* ========================= ZOOM-IN MODAL ========================= */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.project-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: #111216;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #cfcfcf;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #d4af37;
}

.modal-list {
    margin-left: 20px;
    margin-bottom: 20px;
}
.modal-list li {
    margin-bottom: 8px;
}

/* ========================= RESPONSIVE MODIFICATIONS ========================= */
@media (max-width: 1200px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .projects-grid { grid-template-columns: repeat(1, 1fr); }
    .modal-content { padding: 30px 20px; }
}

/* ========================= FOOTER ========================= */
.footer {
    background: #050507;
    padding-top: 80px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.footer-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    margin: 0;
    filter: drop-shadow(0 3px 10px rgba(255, 215, 0, 0.25));
}

.footer-tagline {
    color: #888;
    margin-top: 5px;
    font-size: 15px;
    text-align: center;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #cfcfcf;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212,175,55,0.1);
}

.social-icons a:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(212,175,55,0.2);
}

.footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 14px;
}

/* ========================= ANIMATIONS ========================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.right {
    transform: translateX(40px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 992px) {
    .split-section, .split-section.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-list li {
        justify-content: center;
    }

    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    .hero {
        padding-top: 120px;
    }
    .hero h1 {
        font-size: 38px;
    }
    .section {
        padding: 80px 20px;
    }
}
