/* ==========================================================================
   M JHAVERI REALTY GROUP - LANDING PAGE STYLESHEET
   ========================================================================== */

@font-face {
    font-family: 'IvyMode';
    src: url('../fonts/IvyMode-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IvyMode';
    src: url('../fonts/IvyMode-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   1. CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #0b4234;        /* Deep luxury forest green */
    --color-primary-dark: #072e24;   /* Darker shade for overlays */
    --color-accent-gold: #c59b63;    /* Warm luxury gold/tan */
    --color-accent-gold-light: #d8b27d;
    --color-bg-light: #f7f8f9;       /* Light neutral page background */
    --color-bg-card: #ffffff;        /* Pure white for property cards */
    --color-text-dark: #1b2621;      /* Charcoal for main text */
    --color-text-muted: #5c6861;     /* Subdued paragraph text */
    --color-text-light: #ffffff;     /* White text */
    --color-border: #e2e8e5;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-display: 'IvyMode', var(--font-primary);

    /* Transitions & Shadow */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 12px 32px rgba(11, 66, 52, 0.06);
    --shadow-card-hover: 0 20px 48px rgba(11, 66, 52, 0.12);
}

/* --------------------------------------------------------------------------
   2. Reset & General Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(7, 46, 36, 0.85) 0%, rgba(7, 46, 36, 0) 100%);
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.site-header.scrolled {
    background: rgba(11, 66, 52, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
}

.brand-logo-img {
    width: 38px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.06);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    line-height: 1.1;
    color: #ffffff;
}

.brand-sub {
    font-family: var(--font-primary);
    font-size: 0.52rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.78);
    text-transform: uppercase;
}

/* Center Tagline */
.header-center {
    text-align: center;
}

.header-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

/* Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-contact {
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    color: var(--color-text-light);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.btn-contact:hover {
    background-color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--color-primary-dark);
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--color-text-light);
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-contact-mobile {
    margin-top: 12px;
    text-align: center;
    background-color: var(--color-accent-gold);
    border-radius: 4px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
    background-color: var(--color-primary-dark);
}

.hero-bg-video,
.hero-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(7, 46, 36, 0.45) 0%,
        rgba(7, 46, 36, 0.2) 50%,
        rgba(7, 46, 36, 0.75) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    padding: 0 24px;
    margin-top: 40px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Down Arrow Button at Bottom Left */
.hero-scroll-btn {
    position: absolute;
    bottom: 0;
    left: 10%;
    z-index: 4;
    width: 54px;
    height: 54px;
    background-color: var(--color-primary);
    color: var(--color-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-scroll-btn:hover {
    background-color: var(--color-accent-gold);
    color: #ffffff;
    transform: translateY(-5px);
}

/* --------------------------------------------------------------------------
   5. Value Proposition / About Section
   -------------------------------------------------------------------------- */
.about-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-header {
    max-width: 1050px;
    margin: 0 auto 70px auto;
    text-align: center;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.38;
    color: var(--color-primary);
    letter-spacing: -0.3px;
}

.highlight-gold {
    color: var(--color-accent-gold);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1050px;
    margin: 0 auto;
}

.about-icon-col {
    display: flex;
    justify-content: center;
}

.lotus-emblem-wrapper {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-emblem-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.about-emblem-img:hover {
    transform: scale(1.05);
}

.about-text-col p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

.link-get-in-touch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(11, 66, 52, 0.2);
    padding-bottom: 4px;
}

.link-get-in-touch i {
    transition: var(--transition-smooth);
}

.link-get-in-touch:hover {
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
}

.link-get-in-touch:hover i {
    transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   6. Featured Projects Section (3 Alternating Cards)
   -------------------------------------------------------------------------- */
.projects-section {
    padding: 80px 0 100px 0;
    background-color: var(--color-bg-light);
}

.project-card {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    background-color: #ffffff;
    box-shadow: var(--shadow-card);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

.project-image-wrapper {
    flex: 1.3;
    overflow: hidden;
    position: relative;
    height: 380px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image {
    transform: scale(1.04);
}

.project-content-wrapper {
    flex: 1;
    padding: 50px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Project Card Inner Content */
.project-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.house-logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #111;
}

.logo-subtitle {
    font-size: 0.48rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    color: var(--color-accent-gold);
}

.project-details {
    margin-bottom: 28px;
}

.project-details p {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    line-height: 1.65;
}

.project-location {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-dark);
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.partners-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
    will-change: transform;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: var(--transition-smooth);
    filter: grayscale(80%);
}

.marquee-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.scroller-logo-svg {
    height: 44px;
    width: auto;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   7.5. Why Agricultural Investment Section
   -------------------------------------------------------------------------- */
.agri-investment-section {
    position: relative;
    background-color: #f7f5f0;
    padding: 100px 0;
    font-family: var(--font-primary);
}

.agri-invest-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px auto;
}

.agri-invest-title {
    font-family: var(--font-primary);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.agri-invest-subtitle {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 auto;
}

.agri-invest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.agri-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 34px 26px;
    box-shadow: 0 4px 20px rgba(11, 66, 52, 0.04);
    border: 1px solid rgba(11, 66, 52, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.agri-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 66, 52, 0.09);
    border-color: rgba(11, 66, 52, 0.1);
}

.agri-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #e5ede7;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.agri-card:hover .agri-card-icon {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.05);
}

.agri-card-icon svg {
    width: 20px;
    height: 20px;
}

.agri-card-title {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.agri-card-text {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. Footer Section (Redesigned matching luxury brand specifications)
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    background-color: #083324;
    color: var(--color-text-light);
    padding: 100px 0 95px 0;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}

/* Left Brand Side */
.footer-brand-side {
    flex: 1;
    max-width: 580px;
}

.footer-logo-box {
    margin-bottom: 24px;
}

.footer-emblem {
    width: 90px;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-heading {
    font-family: 'IvyMode', var(--font-primary);
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1.16;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-subtext {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.55;
    color: fff;
    margin: 0;
}

/* Right Info Side */
.footer-info-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 4px;
    flex-shrink: 0;
}

.footer-location-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-company-name {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.footer-company-address {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
    margin: 0;
}

.footer-contact-row {
    display: flex;
    gap: 72px;
    align-items: flex-start;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-contact-label {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.2px;
}

.footer-contact-val {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-contact-val:hover {
    color: var(--color-accent-gold);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   9. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.reveal-element {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   10. Responsive Layout Media Queries (Tablet & Mobile)
   -------------------------------------------------------------------------- */

/* Tablet Screens (Max 1024px) */
@media screen and (max-width: 1024px) {
    .header-tagline {
        display: none;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .about-title {
        font-size: 1.85rem;
    }

    .about-grid {
        grid-template-columns: 60px 1fr 1fr;
        gap: 24px;
    }

    .project-card, .project-card.reverse {
        flex-direction: column;
    }

    .project-image-wrapper {
        width: 100%;
        height: 320px;
    }

    .project-content-wrapper {
        width: 100%;
        padding: 40px 32px;
    }

    .site-footer {
        padding: 90px 0 80px 0;
    }

    .footer-content {
        gap: 40px;
        align-items: flex-end;
    }

    .footer-heading {
        font-size: 2.45rem;
    }

    .footer-contact-row {
        gap: 52px;
    }

    .marquee-track {
        gap: 50px;
    }

    .agri-investment-section {
        padding: 80px 0;
    }

    .agri-invest-title {
        font-size: 1.85rem;
    }

    .agri-invest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Tablet Portrait Screens (Max 860px) */
@media screen and (max-width: 860px) {
    .site-footer {
        padding: 80px 0 70px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 46px;
    }

    .footer-brand-side {
        max-width: 100%;
    }

    .footer-info-side {
        width: 100%;
        padding-bottom: 0;
        gap: 26px;
    }
}

/* Mobile Screens (Max 768px) */
@media screen and (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section {
        min-height: 540px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .hero-scroll-btn {
        left: 20px;
        width: 46px;
        height: 46px;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 1.4rem;
        text-align: left;
    }

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

    .about-icon-col {
        justify-content: flex-start;
    }

    .projects-section {
        padding: 50px 0;
    }

    .project-card {
        margin-bottom: 40px;
    }

    .project-content-wrapper {
        padding: 30px 20px;
    }

    .site-footer {
        padding: 70px 0 60px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-logo-box {
        margin-bottom: 20px;
    }

    .footer-emblem {
        width: 54px;
    }

    .footer-heading {
        font-size: 2.15rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .footer-subtext {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .footer-info-side {
        width: 100%;
        gap: 24px;
        padding-bottom: 0;
    }

    .footer-company-name {
        font-size: 1rem;
    }

    .footer-company-address {
        font-size: 0.92rem;
    }

    .footer-contact-row {
        gap: 48px;
    }

    .footer-contact-label {
        font-size: 0.86rem;
    }

    .footer-contact-val {
        font-size: 0.96rem;
    }

    .agri-investment-section {
        padding: 60px 0;
    }

    .agri-invest-header {
        margin-bottom: 36px;
    }

    .agri-invest-title {
        font-size: 1.65rem;
    }

    .agri-invest-subtitle {
        font-size: 0.82rem;
    }

    .agri-invest-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .agri-card {
        padding: 28px 22px;
    }
}

/* Extra Small Mobile (Max 480px) */
@media screen and (max-width: 480px) {
    .site-footer {
        padding: 55px 0 50px 0;
    }

    .footer-heading {
        font-size: 1.75rem;
    }

    .footer-subtext {
        font-size: 0.9rem;
    }

    .footer-contact-row {
        flex-direction: row;
        gap: 32px;
        flex-wrap: wrap;
    }
}

