/* =====================================================
   SHREE SUNDAR ENTERPRISES
   REAL ESTATE WEBSITE - COMPLETE CSS
===================================================== */


/* ================= ROOT ================= */

:root {
    --dark: #222a33;
    --dark-2: #303943;
    --dark-3: #3c4652;

    --red: #ed1728;
    --red-dark: #c81020;

    --gold: #f5d778;
    --gold-dark: #d6ad39;

    --white: #ffffff;
    --light: #f7f8fa;
    --cream: #f8f5f0;

    --text: #30343a;
    --muted: #777f88;

    --border: #e5e7eb;

    --blue: #2878c8;
    --green: #20b85a;
    --pink: #e1306c;
    --map-red: #ea4335;

    --shadow: 0 12px 35px rgba(0,0,0,0.09);

    --radius: 14px;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}

section {
    position: relative;
}


/* ================= HEADER ================= */

.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand h2 {
    color: var(--dark);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand span {
    display: block;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}


/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 23px;
}

.nav-links a {
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s;
}

.nav-links a:hover {
    color: var(--red);
}


/* HEADER SOCIAL ICONS */

.header-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: 0.25s;
    background: #f2f3f5;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.15);
}


/* ICON COLORS */

.call-icon {
    color: var(--blue);
    background: #eaf3ff;
}

.whatsapp-icon {
    color: #ffffff;
    background: var(--green);
}

.whatsapp-icon svg {
    fill: currentColor;
    stroke: none;
}

.instagram-icon {
    color: var(--pink);
    background: #fceaf1;
}

.maps-icon {
    color: var(--map-red);
    background: #fdecec;
}

.menu-toggle {
    display: none;
    border: none;
    background: var(--dark);
    color: white;
    border-radius: 7px;
    padding: 7px 11px;
    font-size: 21px;
    cursor: pointer;
}


/* ================= BUTTONS ================= */

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.25s;
}

.btn-primary {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--dark);
    background: var(--white);
    border-color: var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}


/* ================= HERO ================= */

.hero {
    padding: 85px 0 95px;
    background:
        radial-gradient(circle at 80% 20%, rgba(245,215,120,0.25), transparent 35%),
        linear-gradient(135deg, #f7f8fa, #ffffff);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 65px;
}

.eyebrow,
.section-tag {
    display: inline-block;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h1 {
    color: var(--dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(39px, 5vw, 62px);
    line-height: 1.16;
    margin-bottom: 23px;
}

.hero-content h1 span {
    display: block;
    color: var(--red);
}

.hero-content > p {
    color: var(--muted);
    font-size: 16px;
    max-width: 560px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
}

.hero-contact a {
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}

.hero-contact a:hover {
    color: var(--red);
}


/* HERO OWNER PHOTO */

.hero-photo-wrapper {
    position: relative;
    max-width: 470px;
    width: 100%;
    margin-left: auto;
    padding: 12px 12px 75px;
}

.photo-decoration {
    position: absolute;
    width: 80%;
    height: 85%;
    right: 0;
    top: 0;
    background: var(--red);
    border-radius: 18px;
    opacity: 0.95;
}

.hero-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 440px;
    overflow: hidden;
    background: #e5e5e5;
    border: 7px solid white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.owner-label {
    position: absolute;
    z-index: 2;
    left: -15px;
    bottom: 12px;
    width: 82%;
    padding: 22px 25px;
    background: white;
    border-left: 6px solid var(--red);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.owner-label span {
    display: block;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.owner-label h3 {
    color: var(--dark);
    font-size: 20px;
    line-height: 1.4;
}

.owner-label p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}


/* ================= TRUST BAR ================= */

.trust-bar {
    background: var(--dark);
    color: white;
    padding: 30px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
    text-align: center;
    padding: 10px 15px;
    border-right: 1px solid rgba(255,255,255,0.14);
}

.trust-grid > div:last-child {
    border-right: none;
}

.trust-grid h3 {
    color: var(--gold);
    font-size: 21px;
    margin-bottom: 4px;
}

.trust-grid p {
    color: #d5d9df;
    font-size: 13px;
}


/* ================= COMMON SECTION ================= */

.section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.section-heading h2 {
    color: var(--dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(29px, 4vw, 42px);
    line-height: 1.25;
    margin-bottom: 13px;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
}


/* ================= ABOUT ================= */

.about-section {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 65px;
}

.about-image {
    height: 430px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 7px solid white;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--dark);
    font-size: clamp(30px, 4vw, 41px);
    line-height: 1.25;
    margin-bottom: 22px;
}

.about-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.about-content .btn {
    margin-top: 10px;
}


/* ================= SERVICES ================= */

.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 5px 22px rgba(0,0,0,0.04);
    transition: 0.3s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold-dark);
    box-shadow: var(--shadow);
}

.service-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
}

.service-card h3 {
    color: var(--dark);
    font-size: 19px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.service-inquiry {
    display: inline-block;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}

.service-inquiry:hover {
    color: var(--red-dark);
}


/* ================= PROJECTS ================= */

.projects-section {
    background: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.project-image {
    height: 235px;
    overflow: hidden;
    background: #e8e8e8;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-info {
    padding: 21px;
}

.project-info span {
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.project-info h3 {
    color: var(--dark);
    font-size: 18px;
    margin: 7px 0;
}

.project-info p {
    color: var(--muted);
    font-size: 13px;
}


/* ================= INQUIRY ================= */

.inquiry-section {
    background:
        linear-gradient(120deg, rgba(34,42,51,0.97), rgba(48,57,67,0.96));
    color: white;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 65px;
    align-items: center;
}

.inquiry-content h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: white;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.25;
    margin-bottom: 20px;
}

.inquiry-content > p {
    color: #d2d7dc;
    font-size: 15px;
    margin-bottom: 25px;
}

.inquiry-contact p {
    color: var(--gold);
    font-weight: 700;
    margin: 10px 0;
}

.inquiry-form {
    background: white;
    color: var(--text);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

.inquiry-form h3 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 23px;
}

.inquiry-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin: 13px 0 7px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dfe2e6;
    border-radius: 7px;
    background: #fafafa;
    color: var(--text);
    outline: none;
    font-size: 13px;
    transition: 0.2s;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: var(--red);
    background: white;
    box-shadow: 0 0 0 3px rgba(237,23,40,0.08);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form button {
    width: 100%;
    margin-top: 20px;
}


/* ================= CONTACT ================= */

.contact-section {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.contact-card {
    min-height: 155px;
    padding: 25px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border);
    background: white;
    border-radius: 12px;
    transition: 0.25s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-card span {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 25px;
    font-weight: 800;
}

/* CALL BLUE */

.contact-card:nth-child(1) span,
.contact-card:nth-child(2) span {
    color: var(--blue);
    background: #eaf3ff;
}

/* WHATSAPP GREEN */

.contact-card:nth-child(3) span {
    color: var(--green);
    background: #e8f9ef;
}

/* INSTAGRAM PINK */

.contact-card:nth-child(4) span {
    color: var(--pink);
    background: #fceaf1;
}

/* MAPS RED */

.contact-card:nth-child(5) span {
    color: var(--map-red);
    background: #fdecec;
}

.contact-card h3 {
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-card p {
    color: var(--muted);
    font-size: 12px;
}


/* ================= FOOTER ================= */

.footer {
    background: var(--dark);
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer h2 {
    font-size: 17px;
    color: white;
    margin-bottom: 5px;
}

.footer p {
    color: #c6cbd1;
    font-size: 12px;
}

.footer .powered {
    color: #f1a2aa;
    font-weight: 700;
}


/* ================= IMAGE ZOOM ================= */

.zoom-image {
    cursor: zoom-in;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 5000;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,13,17,0.95);
    align-items: center;
    justify-content: center;
    padding: 65px 70px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 7px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: none;
    cursor: pointer;
    color: white;
    background: rgba(255,255,255,0.14);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--red);
}

.lightbox-close {
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    font-size: 30px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 43px;
    height: 43px;
    font-size: 18px;
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}


/* ================= RESPONSIVE TABLET ================= */

@media (max-width: 1000px) {

    .navbar {
        gap: 12px;
    }

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .brand h2 {
        font-size: 16px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .header-social {
        gap: 6px;
    }

    .social-icon {
        width: 34px;
        height: 34px;
    }

    .hero-grid,
    .about-grid,
    .inquiry-grid {
        gap: 35px;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* ================= RESPONSIVE MOBILE ================= */

@media (max-width: 760px) {

    .navbar {
        min-height: 70px;
        gap: 8px;
    }

    .brand {
        gap: 7px;
    }

    .brand img {
        width: 39px;
        height: 39px;
    }

    .brand h2 {
        font-size: 14px;
    }

    .brand span {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .header-social {
        gap: 5px;
    }

    .social-icon {
        width: 31px;
        height: 31px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .menu-toggle {
        display: block;
        padding: 5px 8px;
        font-size: 18px;
    }


    /* MOBILE NAV */

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 18px 5%;
        background: white;
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.09);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
    }


    /* HERO */

    .hero {
        padding: 55px 0 65px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-content > p {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-contact {
        justify-content: center;
    }

    .hero-photo-wrapper {
        max-width: 410px;
        margin: auto;
    }

    .hero-photo {
        height: 370px;
    }

    .owner-label {
        left: 0;
        width: 88%;
    }


    /* TRUST */

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 15px;
    }

    .trust-grid > div:nth-child(2) {
        border-right: none;
    }

    .trust-grid h3 {
        font-size: 18px;
    }


    /* SECTIONS */

    .section {
        padding: 65px 0;
    }

    .about-grid,
    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        height: 300px;
    }

    .about-content {
        text-align: center;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .service-card {
        padding: 13px;
    }

    .service-card img {
        height: 145px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 12px;
    }

    .project-image {
        height: 165px;
    }

    .project-info {
        padding: 13px;
    }

    .project-info h3 {
        font-size: 15px;
    }

    .project-info p {
        font-size: 11px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .contact-card {
        min-height: 140px;
        padding: 18px 8px;
    }

    .inquiry-form {
        padding: 23px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 13px;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 380px) {

    .container {
        width: 94%;
    }

    .brand h2 {
        font-size: 12px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .header-social {
        gap: 3px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-icon svg {
        width: 15px;
        height: 15px;
    }

    .menu-toggle {
        font-size: 16px;
        padding: 4px 6px;
    }

    .hero-content h1 {
        font-size: 33px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 200px;
    }

    .project-image {
        height: 220px;
    }

    .contact-card {
        min-height: 125px;
    }

    .lightbox {
        padding: 55px 12px;
    }

    .lightbox img {
        max-width: 100%;
    }

}


/* ================= ACCESSIBILITY ================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}


/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}

/* Compact Owner Label */
.owner-label {
    padding: 12px 16px;
    max-width: 270px;
}

.owner-label span {
    font-size: 10px;
    letter-spacing: 1px;
}

.owner-label h3 {
    font-size: 19px;
    line-height: 1.25;
    margin: 5px 0;
}

.owner-label p {
    font-size: 12px;
    margin: 0;
}

@media (max-width: 600px) {
    .owner-label {
        padding: 10px 13px;
        max-width: 235px;
    }

    .owner-label h3 {
        font-size: 16px;
    }
}
