/* ==========================================================================
   GREEN APPLE INFRATECH — PROJECTS STYLESHEET
   Luxury Real Estate Project Showcase & Detail Pages
   Inspired by Reference Designs (Desktop & Mobile Swiper Views)
   ========================================================================== */

/* ── 1. PORTFOLIO SHOWCASE SECTION (HOMEPAGE) ── */
.portfolio-showcase-section {
    padding: 85px 0 95px 0;
    background-color: #fafbf9;
    position: relative;
    overflow: hidden;
}

.portfolio-showcase-section .page-section {
    margin-bottom: 35px;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-subtitle {
    display: block;
    font-family: 'Philosopher', serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: #1BA84E;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: 'Philosopher', serif;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #123d24;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.portfolio-desc {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6c757d;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Luxury Projects Slider Container ── */
.luxury-projects-wrapper {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 54px;
}

.luxury-projects-slider {
    width: 100%;
    padding: 10px 4px 20px 4px;
}

.luxury-projects-slider .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
    border: none;
    padding: 0;
    background: transparent;
}

/* ── Project Card ── */
.luxury-project-card {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.35s ease;
}

.luxury-project-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px);
}

.luxury-project-img-box {
    width: 100%;
    height: 310px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background-color: #eaeaea;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.luxury-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

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

.luxury-project-divider {
    width: 100% !important;
    height: 1px !important;
    background-color: #e2e5e2 !important;
    margin: 18px 0 14px 0 !important;
    display: block !important;
}

.luxury-project-title,
h3.luxury-project-title,
.luxury-project-card h3,
.luxury-project-card .luxury-project-title,
.luxury-projects-slider .swiper-slide h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: 'Philosopher', serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #2b2b2b !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease !important;
}

.luxury-project-card:hover .luxury-project-title,
.luxury-project-card:hover h3.luxury-project-title {
    color: #1BA84E !important;
}

/* ── Navigation Arrows ── */
.luxury-slider-nav {
    display: flex;
    align-items: center;
}

.luxury-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #1BA84E;
    background-color: #ffffff;
    color: #1BA84E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    padding: 0;
    outline: none;
}

.luxury-nav-btn:hover {
    background-color: #1BA84E;
    color: #ffffff;
    border-color: #1BA84E;
    box-shadow: 0 4px 14px rgba(27, 168, 78, 0.35);
}

.luxury-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #bde5cc;
    color: #8fc7a4;
    background-color: #fff;
    box-shadow: none;
}

/* Desktop Navigation (Image 2 style) */
@media (min-width: 768px) {
    .luxury-nav-prev {
        position: absolute;
        top: calc(50% - 25px);
        left: 0;
        z-index: 10;
    }

    .luxury-nav-next {
        position: absolute;
        top: calc(50% - 25px);
        right: 0;
        z-index: 10;
    }
}

/* Mobile Layout & Navigation (Image 3 style) */
@media (max-width: 767px) {
    .portfolio-showcase-section {
        padding: 50px 0 60px 0;
    }

    .portfolio-subtitle {
        font-size: 13px;
        letter-spacing: 2.5px;
    }

    .portfolio-title {
        font-size: 26px;
        letter-spacing: 1.5px;
    }

    .portfolio-desc {
        font-size: 14px;
        padding: 0 10px;
    }

    .luxury-projects-wrapper {
        padding: 0 15px;
    }

    .luxury-project-img-box {
        height: 250px;
        border-radius: 12px;
    }

    .luxury-project-title {
        font-size: 19px;
    }

    /* Mobile arrows positioned side-by-side at bottom-left */
    .luxury-slider-nav {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        margin-top: 18px;
        padding-left: 6px;
    }

    .luxury-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}


/* ==========================================================================
   2. INDIVIDUAL PROJECT DETAILS PAGE STYLES
   ========================================================================== */

/* ── Hero Banner (Matching Sample Reference) ── */
.proj-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.proj-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.proj-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 40px;
}

.proj-hero-slogan-wrap {
    max-width: 650px;
    color: #ffffff;
}

.proj-slogan-leaf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.proj-slogan-leaf svg {
    width: 36px;
    height: 30px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.proj-slogan-prefix {
    display: block;
    font-family: 'Philosopher', serif;
    font-size: 38px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.proj-slogan-main {
    font-family: 'Philosopher', serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    color: #ffffff;
    margin: 4px 0 6px 0;
    letter-spacing: 1.5px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.proj-slogan-suffix {
    display: block;
    font-family: 'Philosopher', serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
}

.proj-slogan-tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(27, 168, 78, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(166, 204, 59, 0.5);
    border-radius: 50px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ── Green Brand Sticky Sub-Navigation Bar (Directly Under Hero) ── */
.proj-subnav-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(135deg, #103d22 0%, #1BA84E 100%);
    box-shadow: 0 4px 18px rgba(16, 61, 34, 0.22);
}

.proj-subnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
}

.proj-subnav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.proj-subnav-wa {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease;
    flex-shrink: 0;
}

.proj-subnav-wa:hover {
    background-color: #20bd5a;
    color: #ffffff;
    transform: scale(1.08);
}

.proj-subnav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    height: 100%;
}

.proj-subnav-links::-webkit-scrollbar {
    display: none;
}

.proj-subnav-link {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-decoration: none;
    padding: 0 2px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    position: relative;
    opacity: 0.9;
    transition: all 0.25s ease;
}

.proj-subnav-link:hover,
.proj-subnav-link.active {
    color: #ffffff;
    opacity: 1;
    font-weight: 600;
    text-decoration: none;
}

.proj-subnav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #A6CC3B;
    transition: width 0.25s ease;
}

.proj-subnav-link:hover::after,
.proj-subnav-link.active::after {
    width: 100%;
}

.proj-subnav-link.proj-subnav-cta {
    background: #A6CC3B;
    border: 1px solid #A6CC3B;
    border-radius: 50px;
    color: #103d22;
    padding: 6px 18px;
    height: auto;
    opacity: 1;
    font-weight: 700;
}

.proj-subnav-link.proj-subnav-cta:hover {
    background: #ffffff;
    color: #1BA84E;
    border-color: #ffffff;
}

.proj-subnav-link.proj-subnav-cta::after {
    display: none;
}

/* ── Smooth Scroll & Anchor Offsets ── */
html {
    scroll-behavior: smooth;
}

.proj-anchor-section {
    scroll-margin-top: 60px;
}

/* ── Quick Stats Strip ── */
.proj-stats-strip {
    background-color: #ffffff;
    border-bottom: 1px solid #eef2ee;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 24px 0;
}

.proj-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
}

.proj-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: #f0faf3;
    color: #1BA84E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.proj-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c9790;
    margin-bottom: 2px;
}

.proj-stat-val {
    font-family: 'Philosopher', serif;
    font-size: 18px;
    font-weight: 700;
    color: #232122;
    margin: 0;
}

/* ── Content Sections Shared ── */
.proj-section {
    padding: 75px 0;
}

.proj-section-alt {
    background-color: #f9fbf9;
}

.proj-section-heading-wrap {
    margin-bottom: 40px;
}

.proj-eyebrow {
    display: block;
    font-family: 'Philosopher', serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #1BA84E;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.proj-section-title {
    font-family: 'Philosopher', serif;
    font-size: 36px;
    font-weight: 700;
    color: #232122;
    margin: 0 0 14px 0;
}

.proj-section-para {
    font-size: 16px;
    color: #555f57;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ── Key Highlights Feature Cards ── */
.proj-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.proj-feature-card {
    background-color: #ffffff;
    border: 1px solid #e7efe9;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
}

.proj-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(27, 168, 78, 0.08);
    border-color: #bde5cc;
}

.proj-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #edf8f1;
    color: #1BA84E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.proj-feature-card h4 {
    font-family: 'Philosopher', serif;
    font-size: 19px;
    font-weight: 700;
    color: #232122;
    margin-bottom: 8px;
}

.proj-feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ── Gallery Grid ── */
.proj-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.proj-gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 280px;
    background-color: #e5ece6;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.proj-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.proj-gallery-card:hover img {
    transform: scale(1.06);
}

.proj-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.proj-gallery-card:hover .proj-gallery-overlay {
    opacity: 1;
}

.proj-gallery-zoom {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #1BA84E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-left: auto;
}

/* ── Amenities Grid ── */
.proj-amenity-card {
    background-color: #ffffff;
    border: 1px solid #e7efe9;
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.proj-amenity-card:hover {
    border-color: #1BA84E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.proj-amenity-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f1faf3;
    color: #1BA84E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px auto;
}

.proj-amenity-name {
    font-family: 'Philosopher', serif;
    font-size: 16px;
    font-weight: 700;
    color: #232122;
    margin-bottom: 4px;
}

.proj-amenity-desc {
    font-size: 12px;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

/* ── Contact / Visit Callout ── */
.proj-cta-box {
    background: linear-gradient(135deg, #123d24 0%, #1ba84e 100%);
    border-radius: 20px;
    padding: 50px 40px;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(27, 168, 78, 0.2);
}

.proj-cta-title {
    font-family: 'Philosopher', serif;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.proj-cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
}

.proj-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
}

.proj-cta-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background-color: #ffffff;
    color: #123d24;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.proj-cta-btn-call:hover {
    background-color: #f2f9f4;
    color: #1ba84e;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.proj-cta-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.proj-cta-btn-wa:hover {
    background-color: #20bd5a;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* ── Lightbox Modal ── */
.proj-modal-img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

/* ── Responsive adjustments for Project Detail Pages ── */
@media (max-width: 991px) {
    .proj-hero-title {
        font-size: 38px;
    }

    .proj-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proj-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proj-cta-actions {
        justify-content: flex-start;
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .proj-hero {
        min-height: 380px;
    }

    .proj-hero-container {
        padding: 35px 20px;
    }

    .proj-slogan-prefix {
        font-size: 26px;
    }

    .proj-slogan-main {
        font-size: 42px;
    }

    .proj-slogan-suffix {
        font-size: 28px;
    }

    .proj-slogan-tag {
        font-size: 11px;
        padding: 4px 12px;
    }

    .proj-subnav-inner {
        height: 48px;
    }

    .proj-subnav-links {
        gap: 16px;
        padding-right: 15px;
    }

    .proj-subnav-link {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .proj-subnav-wa {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .proj-section {
        padding: 48px 0;
    }

    .proj-section-title {
        font-size: 26px;
    }

    .proj-features-grid {
        grid-template-columns: 1fr;
    }

    .proj-gallery-grid {
        grid-template-columns: 1fr;
    }

    .proj-gallery-card {
        height: 220px;
    }

    .proj-cta-box {
        padding: 30px 20px;
    }

    .proj-cta-title {
        font-size: 24px;
    }

    .proj-cta-btn-call,
    .proj-cta-btn-wa {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .proj-hero {
        min-height: 340px;
    }

    .proj-slogan-prefix {
        font-size: 22px;
    }

    .proj-slogan-main {
        font-size: 36px;
    }

    .proj-slogan-suffix {
        font-size: 24px;
    }
}

/* ── Specific Project Hero Backgrounds ── */
.proj-hero-nirvana {
    background-image: url('../img/project/nirvana-enclave/nirvana-enclave1.jpeg');
}

.proj-hero-aasra-enclave {
    background-image: url('../img/project/aasra-enclave/aasra-enclave1.jpeg');
}

.proj-hero-aasra-paradise {
    background-image: url('../img/project/aasra-paradise/aasra-paradise.jpeg');
}

.proj-hero-aasra-puram {
    background-image: url('../img/project/aasra-puram/aasra-puram.jpeg');
}

/* ── All Projects Grid (for Project.aspx) ── */
.projects-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 767px) {
    .projects-listing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.proj-listing-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e7efe9;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.proj-listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(27, 168, 78, 0.12);
    border-color: #bce5cb;
    text-decoration: none;
    color: inherit;
}

.proj-listing-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: #e5ece6;
}

.proj-listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.proj-listing-card:hover .proj-listing-img {
    transform: scale(1.05);
}

.proj-listing-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 61, 36, 0.85);
    backdrop-filter: blur(4px);
    color: #88ffad;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(136, 255, 173, 0.3);
}

.proj-listing-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.proj-listing-title {
    font-family: 'Philosopher', serif;
    font-size: 24px;
    font-weight: 700;
    color: #232122;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.proj-listing-card:hover .proj-listing-title {
    color: #1BA84E;
}

.proj-listing-location {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.proj-listing-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.proj-listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #eef3ef;
}

.proj-listing-link-text {
    font-size: 14px;
    font-weight: 700;
    color: #1BA84E;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.proj-listing-card:hover .proj-listing-link-text {
    color: #123d24;
}

.proj-listing-link-text i {
    transition: transform 0.3s ease;
}

.proj-listing-card:hover .proj-listing-link-text i {
    transform: translateX(4px);
}
