/* =================================================================
   Single Project Page Layout
   Page-specific layout and container styles only
   Component styles are in components.css
   Section styles are in project-sections.css
   ================================================================= */

/* ========================================
   Grid Layout - Main Content + Sidebar
   ======================================== */
.single-project-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.project-main-content {
    min-width: 0;
    /* Prevent grid overflow */
}

/* ========================================
   Sidebar Styling
   ======================================== */
.project-sidebar {
    position: sticky;

    top: 120px;
    /* Adjust based on header height */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Sidebar Cards */
.sidebar-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
}

/* Consultant Card */
.consultant-header {
    margin-bottom: 12px;
}

.consultant-label {
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    color: rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.consultant-info {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.consultant-avatar {
    flex-shrink: 0;
}

.consultant-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f5f5f5;
}

.consultant-details {
    flex: 1;
    min-width: 0;
}

.consultant-name {
    font-size: var(--text-base);
    font-weight: 800;
    color: #111;
    margin: 0 0 4px 0;
}

.consultant-tagline {
    font-size: var(--text-13);
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

.consultant-actions {
    display: flex;
    gap: 8px;
}

/* Buttons */
.sidebar-card .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-call {
    background: #fff;
    color: #111;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.btn-call:hover {
    background: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.25);
}

.btn-zalo {
    background: #0068FF;
    color: #fff;
}

.btn-zalo:hover {
    background: #0056d6;
}

/* Consultation Form Card */
.consultation-form-card {
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.form-header span {
    font-size: var(--text-15);
    font-weight: 800;
    color: #111;
}

.form-description {
    font-size: var(--text-13);
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 16px 0;
}

/* Form Styling */
.consultation-form .form-group {
    margin-bottom: 12px;
}

.consultation-form input[type="text"],
.consultation-form input[type="tel"],
.consultation-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-size: var(--text-sm);
    font-family: inherit;
    transition: var(--transition-fast);
    background: #fff;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.consultation-form textarea {
    resize: vertical;
    min-height: 60px;
}

.btn-submit {
    width: 100%;
    background: var(--color-accent);
    color: #111;
    padding: 14px;
    font-weight: 800;
    font-size: var(--text-15);
    margin-top: 4px;
}

.btn-submit:hover {
    background: #FFB300;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* ========================================
   Existing Styles - Products & Layout Section
   ======================================== */

/* Products Section Heading */
.project-products__heading {
    margin: 20px 0 16px;
}

.project-products__title {
    font-weight: var(--weight-black);
    font-size: var(--text-24);
    color: #111;
    margin-bottom: 8px;
}

.project-products__subtitle {
    margin-top: 6px;
    color: rgba(0, 0, 0, .6);
    font-weight: var(--weight-bold);
    font-size: var(--text-sm);
}

/* Products Masterplan Image */
.project-products__masterplan {
    margin: 0 0 24px;
    max-height: 320px;
    /* Limit height */
    overflow: hidden;
    border-radius: 20px;
}

.project-products__masterplan img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    /* Crop to fit height */
    border-radius: 20px;
    display: block;
}

/* Product Type Filter */
.product-filters__header {
    margin: 0 0 20px;
    flex-wrap: wrap;
}

.product-filters__label {
    font-weight: 800;
    font-size: var(--text-15);
    color: #111;
    margin-bottom: 20px;
}

.product-filters__pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Filter Pills/Buttons */
.filter-pill {
    border: 1.5px solid rgba(0, 0, 0, .12);
    background: #fff;
    color: rgba(0, 0, 0, .6);
    border-radius: 999px;
    padding: 3px 20px;
    font-weight: var(--weight-bold);
    font-size: var(--text-13);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-pill:hover {
    border-color: rgba(0, 0, 0, .25);
    color: rgba(0, 0, 0, .8);
    background: #fafafa;
}

.filter-pill--active {
    color: #111;
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* Carousel Component */
.carousel-wrapper {
    position: relative;
    margin: 0 0 24px;
}

.carousel {
    overflow: hidden;
    padding: 4px;
}

.carousel__track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.carousel__item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}

/* Carousel Navigation Buttons */
.carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    color: #111;
}

.carousel__button:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.carousel__button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel__button--prev {
    left: -24px;
}

.carousel__button--next {
    right: -24px;
}

/* Product Cards */
.product-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    border-color: rgba(0, 0, 0, .15);
}

.product-card__link {
    display: block;
    padding: 14px;
    text-decoration: none;
    color: inherit;
}

.product-card__thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Fixed aspect ratio */
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop image to fit container */
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__thumbnail img {
    transform: scale(1.05);
}

.product-card__title {
    margin: 14px 0 8px;
    font-size: var(--text-base);
    font-weight: var(--weight-black);
    color: #111;
    line-height: 1.4;
}

.product-card__meta {
    font-size: var(--text-13);
    color: rgba(0, 0, 0, .6);
    font-weight: 600;
}/* =================================================================
   Project Sections Styles
   Specific styles for project content sections (overview, location, etc.)
   ================================================================= */

/* Universal Section Spacing */
.project-section {
    margin: 60px 0;
}

.project-section:first-of-type {
    margin-top: 40px;
}

.project-section:last-of-type {
    margin-bottom: 60px;
}

/* =================================================================
   Project Overview Section
   ================================================================= */


.project-overview__title {
    margin: 0 0 16px;
    font-size: var(--text-24);
    font-weight: var(--weight-black);
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Yellow icon before title */
.project-overview__title::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent);
    display: inline-block;
    flex-shrink: 0;
}

.project-overview__kpi-container {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px 18px;
    margin-bottom: 18px;
}

.project-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 16px;
}

.project-kpi {
    display: flex;
    flex-direction: column;
}

.project-kpi__label {
    font-size: var(--text-13);
    color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
}

.project-kpi__value {
    font-size: var(--text-xl);
    font-weight: var(--weight-black);
    color: #111;
    margin-bottom: 4px;
    line-height: 1.2;
}

.project-overview__description {
    color: rgba(0, 0, 0, 0.65);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-top: 4px;
}

/* =================================================================
   Location Section
   ================================================================= */

/* Section heading */
.project-location__heading {
    margin-bottom: 28px;
}

.project-location__title {
    font-size: var(--text-24);
    font-weight: var(--weight-black);
    color: #111;
}

/* Location Cover Image */
.project-location__cover {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 20px;
    background: #F5F5F5;
    max-height: 400px;
}

.project-location__image {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Map Button Overlay */
.project-location__button {
    opacity: .3;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: #fff;
    color: #111;
    text-decoration: none;
    border-radius: 999px;
    font-weight: var(--weight-bold);
    font-size: var(--text-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    transition: var(--transition-fast);
}

.project-location__button:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.project-location__button-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--color-accent);

    display: inline-block;
    flex-shrink: 0;
}

/* Connection Cards Grid */
.project-location__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.project-location__card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    transition: var(--transition-fast);
}

.project-location__card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-location__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    overflow: hidden;
}

.project-location__card-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.project-location__card-icon-fallback {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--color-accent);
}

.project-location__card-content {
    flex: 1;
    min-width: 0;
}

.project-location__card-place {
    font-size: var(--text-2xs);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 6px;
    line-height: 1.3;
}

.project-location__card-time {
    font-size: var(--text-15);
    color: #111;
    line-height: 1.4;
}

.project-location__card-time strong {
    font-weight: var(--weight-black);
}

.project-location__card-note {
    margin-top: 6px;
    font-size: var(--text-xs);
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.4;
}

/* =================================================================
   Products & Layout Section
   ================================================================= *//* =================================================================
   Project Amenities Section
   Displays featured amenity cards and amenity chips
   ================================================================= */

/* Section heading */
.project-amenities__heading {
    margin-bottom: 32px;
}

.project-amenities__title {
    font-size: var(--text-24);
    font-weight: var(--weight-black);
    color: #111;
}

/* =================================================================
   Featured Amenities Cards (Large cards with background images)
   ================================================================= */

.project-amenities__featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.project-amenities__card {
    position: relative;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-amenities__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-amenities__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-amenities__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-amenities__card-title {
    color: #fff;
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* =================================================================
   Amenity Chips (Small items with icons)
   ================================================================= */

.project-amenities__chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.project-amenities__chip {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.2s ease;
}

.project-amenities__chip:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.project-amenities__chip-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF9E6;
    border-radius: 12px;
    overflow: hidden;
}

.project-amenities__chip-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.project-amenities__chip-content {
    flex: 1;
    min-width: 0;
}

.project-amenities__chip-title {
    font-size: var(--text-15);
    font-weight: var(--weight-bold);
    color: #111;
    margin-bottom: 4px;
}

.project-amenities__chip-subtitle {
    font-size: var(--text-13);
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.4;
}/* =================================================================
   Project Policy Section
   Displays payment policy and loan support policy cards
   ================================================================= */

/* Section heading */
.project-policy__heading {
    margin-bottom: 28px;
}

.project-policy__title {
    font-size: var(--text-24);
    font-weight: var(--weight-black);
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-policy__title-icon {
    font-size: 28px;
    line-height: 1;
}

/* =================================================================
   Grid Layout - Two Cards Side by Side
   ================================================================= */

.project-policy__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* =================================================================
   Policy Cards (Both Payment & Loan)
   ================================================================= */

.project-policy__card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px;
}

.project-policy__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -32px -32px 24px -32px;
    padding: 20px 24px;
    background: #FFFBF0;
    border-radius: 16px 16px 0 0;
}

.project-policy__card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-policy__card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.project-policy__card-title {
    font-size: var(--text-17);
    font-weight: var(--weight-bold);
    color: #111;
    margin: 0;
}

/* =================================================================
   Payment Policy - Steps (Left Card)
   ================================================================= */

.project-policy__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.project-policy__step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.project-policy__step-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: #FFF9E6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: #D4A017;
}

.project-policy__step-content {
    flex: 1;
    padding-top: 2px;
}

.project-policy__step-label {
    font-size: var(--text-15);
    font-weight: var(--weight-bold);
    color: #111;
    margin-bottom: 2px;
}

.project-policy__step-value {
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.5;
}

.project-policy__step-desc {
    font-size: var(--text-13);
    color: rgba(0, 0, 0, 0.5);
    margin-top: 4px;
}

/* Highlighted step */
.project-policy__step--highlight .project-policy__step-number {
    background: var(--color-accent);
}

.project-policy__step--highlight .project-policy__step-label {
    color: var(--color-accent);
}

/* =================================================================
   Offer Box (Special Promotion)
   ================================================================= */

.project-policy__offer {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: #FFF9E6;
    border-radius: 12px;
    margin-top: 24px;
}

.project-policy__offer-icon {
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1;
}

.project-policy__offer-content {
    flex: 1;
}

.project-policy__offer-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: #111;
    margin-bottom: 6px;
}

.project-policy__offer-text {
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
}

.project-policy__offer-text strong,
.project-policy__offer-text b {
    color: var(--color-accent);
    font-weight: var(--weight-bold);
}

/* =================================================================
   Loan Policy - Facts (Right Card)
   ================================================================= */

.project-policy__facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.project-policy__fact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.project-policy__fact:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-policy__fact-label {
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, 0.60);
    flex: 1;
}

.project-policy__fact-value {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: #111;
    text-align: right;
}

.project-policy__fact-value--emphasis {
    color: var(--color-accent);
    font-size: var(--text-base);
}

/* =================================================================
   CTA Button
   ================================================================= */

.project-policy__cta {
    margin-top: 24px;
}

.project-policy__button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    font-size: var(--text-15);
    font-weight: var(--weight-bold);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.project-policy__button--outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.project-policy__button--outline:hover {
    background: var(--color-accent);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.3);
}

.project-policy__button--solid {
    background: var(--color-accent);
    border: 2px solid var(--color-accent);
    color: #111;
}

.project-policy__button--solid:hover {
    background: #FFD54F;
    border-color: #FFD54F;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.3);
}/* =================================================================
   Project Construction Progress Section
   Vertical timeline with milestones and image galleries
   ================================================================= */

/* Section heading */
.project-progress__heading {
    margin-bottom: 40px;
}

.project-progress__title {
    font-size: var(--text-24);
    font-weight: var(--weight-black);
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-progress__title-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-progress__title-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* =================================================================
   Timeline Container
   ================================================================= */

.project-progress__timeline {
    position: relative;
}

/* =================================================================
   Milestone (Each timeline entry)
   ================================================================= */

.project-progress__milestone {
    display: flex;
    gap: 28px;
    padding-bottom: 48px;
}

.project-progress__milestone:last-child {
    padding-bottom: 0;
}

/* =================================================================
   Milestone Marker (Dot + Line)
   ================================================================= */

.project-progress__milestone-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.project-progress__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E0E0E0;
    border: 3px solid #FAFAFA;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Active milestone - yellow dot */
.project-progress__milestone--active .project-progress__dot {
    background: var(--color-accent);
    border-color: #FFF9E6;
    box-shadow: 0 0 0 4px #FFF9E6;
}

.project-progress__line {
    width: 2px;
    flex: 1;
    background: #E8E8E8;
    margin-top: 8px;
}

/* =================================================================
   Milestone Content
   ================================================================= */

.project-progress__milestone-content {
    flex: 1;
    min-width: 0;
}

/* Header: Time + Title */
.project-progress__milestone-header {
    margin-bottom: 20px;
}

.project-progress__time {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: #999;
    margin-bottom: 8px;
}

/* Active milestone - yellow time */
.project-progress__milestone--active .project-progress__time {
    color: var(--color-accent);
}

.project-progress__milestone-title {
    font-size: 18px;
    font-weight: var(--weight-bold);
    color: #111;
    margin: 0;
    line-height: 1.4;
}

/* =================================================================
   Image Gallery (Max 3 images in a row)
   ================================================================= */

.project-progress__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.project-progress__gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    background: #F5F5F5;
}

.project-progress__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-progress__gallery-item:hover .project-progress__image {
    transform: scale(1.05);
}

/* =================================================================
   Description Text
   ================================================================= */

.project-progress__description {
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.7;
    margin-top: 16px;
}/* =================================================================
   Project Gallery Section
   Displays project images in a masonry grid layout
   ================================================================= */

/* Section heading */
.project-gallery__heading {
    margin-bottom: 28px;
}

.project-gallery__title {
    font-size: var(--text-24);
    font-weight: var(--weight-black);
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-gallery__title-icon {
    font-size: 28px;
    line-height: 1;
}

/* =================================================================
   Gallery Grid - Masonry Layout
   ================================================================= */

.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 16px;
}

/* Main large image - takes left 2 columns and 2 rows */
.project-gallery__item--main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Small images - fill remaining grid */
.project-gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #f5f5f5;
}

.project-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-gallery__item:hover .project-gallery__image {
    transform: scale(1.05);
}

/* =================================================================
   Overlay for "View More" 
   ================================================================= */

.project-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.project-gallery__item:hover .project-gallery__overlay {
    background: rgba(0, 0, 0, 0.8);
}

.project-gallery__overlay-text {
    text-align: center;
}

.project-gallery__overlay-count {
    font-size: var(--text-36);
    font-weight: var(--weight-black);
    line-height: 1;
    margin-bottom: 8px;
}

.project-gallery__overlay-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    opacity: 0.9;
}/* =================================================================
   Project Pages - Responsive Styles
   Centralized responsive CSS for all project sections
   ================================================================= */

/* =================================================================
   TABLET & DESKTOP (max-width: 1024px)
   ================================================================= */

@media (max-width: 1024px) {

    /* Layout */
    .single-project-layout {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }

    .project-sidebar {
        top: 80px;
    }

    /* Product Carousel */
    .carousel__button {
        width: 44px;
        height: 44px;
    }

    .carousel__button--prev {
        left: -16px;
    }

    .carousel__button--next {
        right: -16px;
    }
}

/* =================================================================
   TABLET (max-width: 849px)
   ================================================================= */

@media (max-width: 849px) {
    /* =================================================================
       Universal Section Spacing
       ================================================================= */

    .project-section {
        margin: 40px 0;
    }

    .project-section:first-of-type {
        margin-top: 24px;
    }

    .project-section:last-of-type {
        margin-bottom: 40px;
    }

    /* =================================================================
       Layout
       ================================================================= */

    .single-project-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-sidebar {
        position: static;
        order: -1;
    }

    /* =================================================================
       Overview Section
       ================================================================= */

    .project-kpis {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

    .project-overview__title {
        font-size: var(--text-xl);
    }

    .project-overview__title::before {
        width: 18px;
        height: 18px;
    }

    /* =================================================================
       Location Section
       ================================================================= */

    .project-location__grid {
        grid-template-columns: 1fr;
    }

    .project-location__title {
        font-size: var(--text-xl);
    }

    .project-location__cover {
        border-radius: 16px;
        max-height: 300px;
    }

    .project-location__image {
        max-height: 300px;
    }

    /* =================================================================
       Products Section
       ================================================================= */

    .project-products__title {
        font-size: var(--text-xl);
    }

    .product-filters__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .carousel__item {
        flex: 0 0 100%;
    }

    .carousel__button {
        width: 40px;
        height: 40px;
    }

    .carousel__button--prev {
        left: 8px;
    }

    .carousel__button--next {
        right: 8px;
    }

    .project-products__masterplan img {
        border-radius: 16px;
    }

    /* =================================================================
       Amenities Section
       ================================================================= */

    .project-amenities__title {
        font-size: var(--text-xl);
    }

    .project-amenities__featured {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .project-amenities__card {
        height: 140px;
    }

    .project-amenities__card-overlay {
        padding: 16px;
    }

    .project-amenities__card-title {
        font-size: var(--text-sm);
    }

    .project-amenities__chips {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-amenities__chip {
        padding: 14px 16px;
    }

    .project-amenities__chip-icon {
        width: 40px;
        height: 40px;
    }

    .project-amenities__chip-icon img {
        width: 24px;
        height: 24px;
    }

    /* =================================================================
       Policy Section
       ================================================================= */

    .project-policy__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-policy__card {
        padding: 20px;
    }

    .project-policy__title {
        font-size: var(--text-xl);
    }

    .project-policy__card-title {
        font-size: var(--text-base);
    }

    .project-policy__step-number {
        width: 28px;
        height: 28px;
        font-size: var(--text-sm);
    }

    .project-policy__step-label {
        font-size: var(--text-sm);
    }

    .project-policy__step-value {
        font-size: var(--text-13);
    }

    /* =================================================================
       Progress Section
       ================================================================= */

    .project-progress__title {
        font-size: var(--text-xl);
    }

    .project-progress__milestone {
        gap: 20px;
        padding-bottom: 40px;
    }

    .project-progress__milestone-title {
        font-size: var(--text-base);
    }

    .project-progress__gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .project-progress__dot {
        width: 14px;
        height: 14px;
    }
}

/* =================================================================
   MOBILE (max-width: 549px)
   ================================================================= */

@media (max-width: 549px) {
    /* =================================================================
       Universal Section Spacing
       ================================================================= */

    .project-section {
        margin: 32px 0;
    }

    .project-section:first-of-type {
        margin-top: 20px;
    }

    /* =================================================================
       Amenities Section
       ================================================================= */

    .project-amenities__featured {
        grid-template-columns: 1fr;
    }

    .project-amenities__card {
        height: 160px;
    }

    /* =================================================================
       Policy Section
       ================================================================= */

    .project-policy__card {
        padding: 16px;
    }

    .project-policy__offer {
        flex-direction: column;
        gap: 8px;
    }

    .project-policy__fact {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .project-policy__fact-value {
        text-align: left;
    }

    /* =================================================================
       Progress Section
       ================================================================= */

    .project-progress__milestone {
        gap: 16px;
    }

    .project-progress__gallery {
        grid-template-columns: 1fr;
    }

    .project-progress__time {
        font-size: var(--text-13);
    }

    .project-progress__milestone-title {
        font-size: var(--text-15);
    }

    .project-progress__description {
        font-size: var(--text-13);
    }
}