/* =========================================
   RAJSOORYA HOUSING
   Main Stylesheet
========================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #20251f;
    background: #fff;
    line-height: 1.6;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 80px;
}

.navbar-logo .header-logo {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: contain;
    display: block;
}
img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.section {
    padding: 100px 0;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #174c37;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.logo small {
    display: block;
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: 3px;
    color: #ad7a30;
    font-weight: 700;
}

.logo-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: #174c37;
    color: #fff;
    border-radius: 10px;
    font-size: 18px;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #51564f;
    transition: 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: #b27b32;
    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #174c37;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    background: #174c37;
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #b27b32;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #174c37;
    font-size: 24px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: center;
 background: url("../../img/home.png") center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10, 37, 26, 0.90) 0%,
            rgba(10, 37, 26, 0.70) 48%,
            rgba(10, 37, 26, 0.15) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    max-width: 690px;
    color: #fff;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.tag i {
    color: #d6a453;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span,
.about h2 span,
.section-heading h2 span,
.cta h2 span,
.contact h2 span {
    color: #d5a052;
}

.hero-text > p {
    max-width: 580px;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.82);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.primary-btn {
    background: #b27b32;
    color: white;
}

.primary-btn:hover {
    background: #9a6725;
    transform: translateY(-3px);
}

.outline-btn {
    color: white;
    border-color: rgba(255,255,255,0.45);
}

.outline-btn:hover {
    background: white;
    color: #174c37;
}

.hero-card {
    min-width: 280px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    color: #fff;
    background: rgba(255,255,255,0.13);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d5a052;
}

.hero-card strong {
    display: block;
    font-size: 14px;
}

.hero-card p {
    margin-top: 3px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}


/* =========================================
   STATS
========================================= */

.stats {
    background: #174c37;
    color: white;
}

.stats-grid {
    min-height: 130px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.stat:last-child {
    border: 0;
}

.stat h2 {
    color: #d6a453;
    font-family: "Playfair Display", serif;
    font-size: 32px;
}

.stat p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #b27b32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
}

.section-heading h2,
.about h2,
.contact h2 {
    max-width: 650px;
    font-family: "Playfair Display", serif;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.15;
}

.text-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #174c37;
    font-size: 13px;
    font-weight: 700;
}

.text-link:hover {
    color: #b27b32;
}

.center {
    display: block;
    text-align: center;
}

.center h2 {
    margin: auto;
}

.center > p {
    max-width: 580px;
    margin: 18px auto 0;
    color: #777d76;
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: #faf9f5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 570px;
    object-fit: cover;
    border-radius: 5px;
}

.experience-box {
    position: absolute;
    right: -35px;
    bottom: 35px;
    width: 170px;
    padding: 22px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: #174c37;
    color: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.experience-box strong {
    font-family: "Playfair Display", serif;
    color: #d5a052;
    font-size: 40px;
}

.experience-box span {
    font-size: 11px;
    line-height: 1.4;
}

.about-content > p {
    margin: 20px 0;
    color: #6d736c;
    font-size: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0;
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
}

.about-features i {
    color: #b27b32;
}


/* =========================================
   PROPERTIES
========================================= */

.properties {
    background: #fff;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.property-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9e9e4;
    border-radius: 7px;
    transition: 0.35s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 48, 38, 0.12);
}

.property-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.property-card:hover .property-image img {
    transform: scale(1.06);
}

.property-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 11px;
    background: #b27b32;
    color: white;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.favorite {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: #174c37;
}

.favorite .liked {
    color: #c84242;
}

.property-content {
    padding: 22px;
}

.property-type {
    color: #b27b32;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.property-content h3 {
    margin: 6px 0;
    font-family: "Playfair Display", serif;
    font-size: 23px;
}

.location {
    color: #858b85;
    font-size: 11px;
}

.location i {
    color: #b27b32;
    margin-right: 4px;
}

.property-info {
    display: flex;
    gap: 12px;
    margin: 18px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.property-info span {
    color: #737a73;
    font-size: 10px;
}

.property-info i {
    color: #174c37;
    margin-right: 4px;
}

.property-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-bottom strong {
    color: #174c37;
    font-size: 18px;
}

.property-bottom small {
    color: #999;
    font-size: 9px;
    font-weight: 400;
}

.property-bottom a {
    color: #b27b32;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================
   AMENITIES
========================================= */

.amenities {
    background: #f6f7f2;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 50px;
}

.amenity {
    padding: 32px 25px;
    background: white;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #eceee9;
    transition: 0.3s;
}

.amenity:hover {
    transform: translateY(-5px);
    border-color: #d4ad76;
}

.amenity-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: #edf4ef;
    color: #174c37;
    border-radius: 50%;
    font-size: 22px;
}

.amenity h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.amenity p {
    color: #7c817c;
    font-size: 12px;
}


/* =========================================
   CTA
========================================= */

.cta {
    padding: 80px 0;
    background:
        linear-gradient(100deg, #174c37, #1f6047);
    color: white;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta h2 {
    max-width: 680px;
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15;
}

.cta p {
    margin-top: 14px;
    max-width: 580px;
    color: rgba(255,255,255,0.7);
}

.light-btn {
    flex-shrink: 0;
    background: white;
    color: #174c37;
}

.light-btn:hover {
    background: #d5a052;
    color: white;
}


/* =========================================
   CONTACT
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-info > p {
    margin: 20px 0 35px;
    color: #747a74;
    max-width: 500px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 23px 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #edf4ef;
    color: #174c37;
}

.contact-item small {
    display: block;
    color: #b27b32;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-item strong {
    display: block;
    margin-top: 2px;
    color: #313731;
    font-size: 13px;
}

.contact-form {
    padding: 38px;
    background: #f7f8f4;
    border: 1px solid #e7e9e3;
    border-radius: 7px;
}

.contact-form h3 {
    font-family: "Playfair Display", serif;
    font-size: 29px;
}

.contact-form > p {
    margin: 6px 0 25px;
    color: #858b85;
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    margin-bottom: 7px;
    color: #414740;
    font-size: 11px;
    font-weight: 700;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dfe2dc;
    border-radius: 4px;
    outline: none;
    background: white;
    color: #333;
    font-size: 12px;
    resize: vertical;
    transition: 0.2s;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: #174c37;
    box-shadow: 0 0 0 3px rgba(23,76,55,0.06);
}

.form-btn {
    width: 100%;
    border: 0;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #112f24;
    color: white;
}

.footer-grid {
    padding: 70px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 45px;
}

.footer-logo {
    color: white;
}

.footer-brand > p {
    max-width: 300px;
    margin: 20px 0;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 9px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    font-size: 12px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #b27b32;
}

.footer-column h4 {
    margin-bottom: 18px;
    color: #d5a052;
    font-size: 13px;
}

.footer-column a,
.footer-column p {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 11px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom .container {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255,255,255,0.4);
    font-size: 10px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 1000px) {

    .navbar {
        gap: 20px;
    }

    .nav-btn {
        display: none;
    }

    .hero-card {
        display: none;
    }

    .about-grid {
        gap: 45px;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-card:last-child {
        grid-column: span 2;
        max-width: calc(50% - 12px);
    }

    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: span 3;
    }
}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 768px) {

    .section {
        padding: 70px 0;
    }

    .nav-container {
        height: 72px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 15px 5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: white;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

    .navbar.show {
        display: flex;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 60px);
    }

    .hero-text > p {
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        padding: 20px 0;
    }

    .stat {
        min-height: 90px;
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 430px;
    }

    .experience-box {
        right: 15px;
        bottom: 20px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .property-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .amenity-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom .container {
        padding: 18px 0;
        flex-direction: column;
        text-align: center;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .container {
        width: 90%;
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column:last-child {
        grid-column: auto;
    }
}
header .logo img,
.navbar .logo img,
.logo img {
    width: 150px !important;
    height: 60px !important;
    max-width: 150px !important;
    max-height: 60px !important;
    object-fit: contain;
    display: block;
}

/* =========================================
   QUICK ENQUIRY POPUP
========================================= */
.quick-enquiry-modal { display: none; position: fixed; z-index: 2000; inset: 0; padding: 20px; background: rgba(10,37,26,.68); }
.quick-enquiry-modal.is-open { display: flex; align-items: center; justify-content: center; }
.quick-enquiry-dialog { width: min(470px, 100%); position: relative; padding: 38px; border-radius: 8px; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.3); }
.quick-enquiry-dialog h2 { margin: 3px 0 12px; color: #174c37; font-family: "Playfair Display", serif; font-size: 36px; line-height: 1.15; }
.quick-enquiry-dialog h2 span { color: #b27b32; }
.quick-enquiry-dialog > form > p, .quick-enquiry-success p { margin-bottom: 24px; color: #747a74; font-size: 14px; }
.quick-enquiry-close { position: absolute; top: 13px; right: 15px; border: 0; background: transparent; color: #174c37; font-size: 30px; line-height: 1; cursor: pointer; }
.quick-enquiry-success { text-align: center; padding: 12px 5px; }

@media (max-width: 1000px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .article-grid { grid-template-columns: 1fr; }
    .article-hero-image { height: 280px; }
    .article-detail { padding-top: 120px; }
}

/* =========================================
   ARTICLES
========================================= */
.articles { background: #faf9f5; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.article-card { overflow: hidden; border: 1px solid #e9e9e4; border-radius: 7px; background: #fff; transition: .35s ease; }
.article-card:hover { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(30,48,38,.12); }
.article-card > img { width: 100%; height: 220px; object-fit: cover; }
.article-content { padding: 22px; }
.article-date { color: #b27b32; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.article-content h3 { margin: 8px 0 10px; font-family: "Playfair Display", serif; font-size: 23px; line-height: 1.2; }
.article-content p { color: #747a74; font-size: 13px; margin-bottom: 17px; }
.article-content a { color: #174c37; font-size: 12px; font-weight: 700; }
.article-content a:hover { color: #b27b32; }
.articles-page { min-height: 70vh; padding-top: 150px; }
.empty-state { grid-column: 1 / -1; text-align: center; color: #747a74; }
.article-detail { padding-top: 145px; background: #fff; }
.article-detail-container { max-width: 850px; }
.back-link { margin-bottom: 30px; }
.article-detail h1 { margin: 5px 0 17px; font-family: "Playfair Display", serif; color: #174c37; font-size: clamp(38px, 5vw, 58px); line-height: 1.12; }
.article-lead { max-width: 700px; color: #6d736c; font-size: 18px; }
.article-hero-image { width: 100%; height: 440px; object-fit: cover; border-radius: 7px; margin: 35px 0; }
.article-body { max-width: 760px; color: #414740; font-size: 16px; line-height: 1.9; }
