/* =========================================================
   EAGLE FURNITURE NGARA
   HOME PAGE
========================================================= */


/* =========================================================
   PAGE FOUNDATION
========================================================= */

.home-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.home-page a {
    text-decoration: none;
}


/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(20, 15, 10, 0.88) 0%,
            rgba(20, 15, 10, 0.68) 45%,
            rgba(20, 15, 10, 0.25) 100%
        ),
        url("/static/images/hero/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.30),
        transparent
    );
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero-content {
    max-width: 720px;
    padding: 100px 0;
}

.home-hero-eyebrow {
    display: inline-block;
    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #d8b47a;
}

.home-hero h1 {
    margin: 0 0 25px;

    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 600;
    line-height: 1.08;
    color: #ffffff;
}

.home-hero h1 span {
    display: block;
    color: #d8b47a;
}

.home-hero p {
    max-width: 620px;
    margin: 0 0 35px;

    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   BUTTONS
========================================================= */

.home-hero-actions,
.home-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 50px;
    padding: 13px 25px;

    border: 1px solid transparent;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn-primary {
    background: #8b5e34;
    color: #ffffff;
}

.home-btn-primary:hover {
    background: #704923;
    color: #ffffff;
}

.home-btn-outline {
    border-color: #8b5e34;
    color: #8b5e34;
    background: transparent;
}

.home-btn-outline:hover {
    background: #8b5e34;
    color: #ffffff;
}

.home-btn-light {
    background: #ffffff;
    color: #6d4725;
}

.home-btn-light:hover {
    background: #f3eee8;
    color: #6d4725;
}


/* =========================================================
   FEATURES
========================================================= */

.home-features {
    position: relative;
    z-index: 5;

    margin-top: -50px;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: #ffffff;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.10);
}

.home-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 28px 22px;

    border-right: 1px solid #eeeeee;
}

.home-feature:last-child {
    border-right: none;
}

.home-feature-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5eee7;
    color: #8b5e34;

    font-size: 20px;
}

.home-feature h3 {
    margin: 0 0 6px;

    font-size: 15px;
    font-weight: 600;

    color: #292929;
}

.home-feature p {
    margin: 0;

    font-size: 13px;
    line-height: 1.6;

    color: #777777;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.home-section {
    padding: 100px 0;
}

.home-section-heading {
    max-width: 700px;
    margin: 0 auto 55px;

    text-align: center;
}

.home-section-heading span {
    display: block;
    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;

    color: #9a6b3d;
}

.home-section-heading h2 {
    margin: 0 0 15px;

    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 4vw, 48px);
    font-weight: 600;

    color: #292929;
}

.home-section-heading p {
    margin: 0;

    font-size: 15px;
    line-height: 1.8;

    color: #777777;
}

.home-section-heading-row {
    max-width: none;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    text-align: left;
}

.home-section-heading-row > div {
    max-width: 650px;
}

.home-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;

    color: #8b5e34;
}

.home-view-all:hover {
    color: #5f3d20;
}


/* =========================================================
   CATEGORIES
========================================================= */

.home-categories {
    background: #faf8f5;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.home-category-card {
    position: relative;

    min-height: 300px;

    overflow: hidden;

    background: #eeeeee;
}

.home-category-card img {
    width: 100%;
    height: 100%;

    min-height: 300px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.home-category-card:hover img {
    transform: scale(1.06);
}

.home-category-placeholder {
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e9e3dc;

    color: #8b5e34;

    font-size: 40px;
}

.home-category-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 22px 22px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.82)
    );

    color: #ffffff;
}

.home-category-content h3 {
    margin: 0 0 8px;

    font-family: "Playfair Display", serif;
    font-size: 23px;

    color: #ffffff;
}

.home-category-content span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 12px;
    font-weight: 500;

    color: #e1bd86;
}


/* =========================================================
   PRODUCTS
========================================================= */

.home-products {
    background: #ffffff;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.home-product-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #eeeeee;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.home-product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);
}

.home-product-image {
    position: relative;

    display: block;

    height: 280px;

    overflow: hidden;

    background: #f5f2ef;
}

.home-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

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

.home-product-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaa;

    font-size: 35px;
}

.home-sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;

    padding: 6px 12px;

    background: #8b5e34;
    color: #ffffff;

    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.home-product-info {
    padding: 20px;
}

.home-product-category {
    display: block;
    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;

    color: #999999;
}

.home-product-info h3 {
    margin: 0 0 12px;

    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 600;

    line-height: 1.3;
}

.home-product-info h3 a {
    color: #292929;
}

.home-product-info h3 a:hover {
    color: #8b5e34;
}

.home-product-price {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;
}

.home-price-current {
    font-size: 16px;
    font-weight: 700;

    color: #8b5e34;
}

.home-price-old {
    font-size: 13px;
    text-decoration: line-through;

    color: #999999;
}

.home-product-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 11px;

    border: 1px solid #8b5e34;

    font-size: 13px;
    font-weight: 600;

    color: #8b5e34;

    transition: all 0.25s ease;
}

.home-product-button:hover {
    background: #8b5e34;
    color: #ffffff;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.home-empty-state {
    grid-column: 1 / -1;

    padding: 60px 20px;

    text-align: center;

    background: #faf8f5;
}

.home-empty-state i {
    display: block;

    margin-bottom: 15px;

    font-size: 45px;
    color: #8b5e34;
}

.home-empty-state h3 {
    margin-bottom: 10px;

    font-family: "Playfair Display", serif;
}

.home-empty-state p {
    margin-bottom: 25px;

    color: #777777;
}


/* =========================================================
   BUNDLES
========================================================= */

.home-bundles {
    background: #faf8f5;
}

.home-bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.home-bundle-card {
    position: relative;

    min-height: 430px;

    overflow: hidden;

    background: #222222;
}

.home-bundle-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.75;

    transition: transform 0.5s ease;
}

.home-bundle-card:hover img {
    transform: scale(1.05);
}

.home-bundle-content {
    position: relative;
    z-index: 2;

    min-height: 430px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;

    background: linear-gradient(
        transparent 25%,
        rgba(0, 0, 0, 0.88)
    );

    color: #ffffff;
}

.home-bundle-content > span {
    margin-bottom: 8px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #d8b47a;
}

.home-bundle-content h3 {
    margin: 0 0 10px;

    font-family: "Playfair Display", serif;
    font-size: 27px;

    color: #ffffff;
}

.home-bundle-content p {
    margin: 0 0 20px;

    font-size: 13px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   CUSTOM FURNITURE
========================================================= */

.home-custom {
    padding: 110px 0;

    background:
        linear-gradient(
            90deg,
            rgba(54, 34, 20, 0.95),
            rgba(54, 34, 20, 0.72)
        ),
        url("/static/images/custom-furniture-hero.jpg");

    background-size: cover;
    background-position: center;

    color: #ffffff;
}

.home-custom-content {
    max-width: 700px;
}

.home-custom-content > span {
    display: block;
    margin-bottom: 15px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;

    color: #d8b47a;
}

.home-custom-content h2 {
    margin: 0 0 18px;

    font-family: "Playfair Display", serif;
    font-size: clamp(35px, 4vw, 52px);

    color: #ffffff;
}

.home-custom-content p {
    max-width: 620px;
    margin: 0 0 30px;

    font-size: 16px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.85);
}


/* =========================================================
   SERVICES
========================================================= */

.home-services {
    background: #ffffff;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.home-service-card {
    padding: 35px 25px;

    border: 1px solid #eeeeee;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.home-service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.home-service-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5eee7;
    color: #8b5e34;

    font-size: 24px;
}

.home-service-card h3 {
    margin: 0 0 12px;

    font-family: "Playfair Display", serif;
    font-size: 22px;

    color: #292929;
}

.home-service-card p {
    margin: 0 0 20px;

    font-size: 13px;
    line-height: 1.7;

    color: #777777;
}

.home-service-card > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 12px;
    font-weight: 600;

    color: #8b5e34;
}


/* =========================================================
   FINAL CTA
========================================================= */

.home-final-cta {
    padding: 100px 0;

    background: #f5eee7;
}

.home-final-content {
    max-width: 800px;
    margin: auto;

    text-align: center;
}

.home-final-content > span {
    display: block;
    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #9a6b3d;
}

.home-final-content h2 {
    margin: 0 0 15px;

    font-family: "Playfair Display", serif;
    font-size: clamp(36px, 5vw, 55px);

    color: #292929;
}

.home-final-content p {
    max-width: 600px;
    margin: 0 auto 28px;

    font-size: 15px;
    line-height: 1.8;

    color: #777777;
}

.home-final-actions {
    justify-content: center;
}


/* =========================================================
   RESPONSIVE — TABLETS
========================================================= */

@media (max-width: 991px) {

    .home-hero {
        min-height: 600px;
    }

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

    .home-feature:nth-child(2) {
        border-right: none;
    }

    .home-feature:nth-child(-n + 2) {
        border-bottom: 1px solid #eeeeee;
    }

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

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

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

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

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {

    .home-hero {
        min-height: 620px;

        background-position: center;
    }

    .home-hero-content {
        padding: 80px 0;
    }

    .home-hero h1 {
        font-size: 43px;
    }

    .home-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-btn {
        width: 100%;
    }

    .home-features {
        margin-top: 0;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature {
        border-right: none !important;
        border-bottom: 1px solid #eeeeee;
    }

    .home-feature:last-child {
        border-bottom: none;
    }

    .home-section {
        padding: 70px 0;
    }

    .home-section-heading {
        margin-bottom: 35px;
    }

    .home-section-heading h2 {
        font-size: 34px;
    }

    .home-section-heading-row {
        display: block;
    }

    .home-view-all {
        margin-top: 15px;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-category-card,
    .home-category-card img,
    .home-category-placeholder {
        min-height: 260px;
    }

    .home-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .home-product-image {
        height: 210px;
    }

    .home-product-info {
        padding: 14px;
    }

    .home-product-info h3 {
        font-size: 17px;
    }

    .home-product-price {
        flex-wrap: wrap;
    }

    .home-product-button {
        font-size: 11px;
        padding: 9px;
    }

    .home-bundle-grid {
        grid-template-columns: 1fr;
    }

    .home-bundle-card,
    .home-bundle-content {
        min-height: 400px;
    }

    .home-custom {
        padding: 75px 0;
    }

    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-final-cta {
        padding: 75px 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .home-hero h1 {
        font-size: 38px;
    }

    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-image {
        height: 260px;
    }

    .home-feature {
        padding: 22px 15px;
    }

}
