/*==================================================
JYOTI INTERIOR HUB - HOMEPAGE PREMIUM REDESIGN
Add this file AFTER style.css
==================================================*/

/* Header refinement */
.header {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 92px;
    padding: 8px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-brand img {
    width: auto;
    height: 88px;
    max-width: 230px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    margin-left: 20px;
    font-size: 14px;
    font-weight: 600;
}

.navbar .btn {
    padding: 12px 25px;
    box-shadow: 0 9px 22px rgba(200, 155, 60, .22);
}


/* ==================================================
NEW HERO DESIGN
================================================== */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 110px 0 120px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(
            90deg,
            rgba(5, 22, 43, .96) 0%,
            rgba(7, 31, 61, .91) 42%,
            rgba(7, 31, 61, .48) 72%,
            rgba(7, 31, 61, .20) 100%
        ),
        url("../images/hero.jpg") center 58% / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 32%, rgba(200, 155, 60, .14), transparent 28%),
        linear-gradient(180deg, transparent 70%, rgba(4, 18, 35, .42) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    background: linear-gradient(to top, rgba(255,255,255,.11), transparent);
    pointer-events: none;
}

.hero .overlay {
    display: none;
}

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

.hero .row {
    align-items: center;
}

.hero .col-lg-7,
.hero .col-lg-6:first-child {
    max-width: 760px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    color: #e2b95f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-subtitle::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--secondary);
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 6.4vw, 78px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -2.5px;
    text-wrap: balance;
}

.hero h2 {
    margin: 17px 0 18px;
    color: var(--secondary);
    font-size: clamp(23px, 2.8vw, 34px);
    line-height: 1.2;
    font-weight: 650;
}

.hero p {
    max-width: 650px;
    margin: 0 0 34px;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-buttons .btn {
    min-width: 175px;
    padding: 14px 26px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 650;
}

.hero-buttons .btn-warning {
    box-shadow: 0 12px 30px rgba(200, 155, 60, .28);
}

.hero-buttons .btn-outline-light {
    color: #fff;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.48);
    backdrop-filter: blur(8px);
}

.hero-buttons .btn-outline-light:hover {
    color: var(--primary);
    background: #fff;
    border-color: #fff;
}


/* Hide old rectangular hero image on desktop.
The hero.jpg background becomes the main visual. */
.hero-image {
    display: none;
}


/* Category strip */
.hero .row.g-3.mt-5,
.hero .hero-features {
    max-width: 760px;
    margin-top: 52px !important;
}

.icon-box {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.icon-box:hover {
    background: rgba(200,155,60,.95);
    border-color: var(--secondary);
    transform: translateY(-6px);
}

.icon-box i {
    margin-bottom: 10px;
    color: #fff;
    font-size: 29px;
}

.icon-box h6 {
    color: #fff;
    font-size: 13px;
    font-weight: 650;
}


/* Softer transition after hero */
.about-section {
    position: relative;
    z-index: 2;
}


/* Homepage product cards refinement */
.product-card {
    border-radius: 20px;
}

.product-card img {
    height: 280px;
}

.product-content {
    padding: 27px 23px;
}


/* Desktop wide screens */
@media (min-width: 1400px) {
    .hero {
        min-height: 760px;
    }

    .hero .container {
        max-width: 1320px;
    }
}


/* Tablet */
@media (max-width: 991.98px) {
    .navbar {
        min-height: 78px;
    }

    .navbar-brand img {
        height: 66px;
        max-width: 190px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 90px;
        text-align: left;
        background-position: 62% center;
    }

    .hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(5, 22, 43, .95) 0%,
                rgba(7, 31, 61, .87) 66%,
                rgba(7, 31, 61, .50) 100%
            );
    }

    .hero p {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero .row.g-3.mt-5,
    .hero .hero-features {
        max-width: 680px;
    }
}


/* Mobile */
@media (max-width: 767.98px) {
    .header {
        position: sticky;
    }

    .navbar {
        min-height: 70px;
        padding: 5px 0;
    }

    .navbar-brand img {
        height: 58px;
        max-width: 165px;
    }

    .hero {
        min-height: 660px;
        padding: 82px 0 64px;
        text-align: center;
        background-position: 67% center;
    }

    .hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(4, 18, 35, .91) 0%,
                rgba(5, 22, 43, .89) 54%,
                rgba(5, 22, 43, .82) 100%
            );
    }

    .hero-subtitle {
        justify-content: center;
        font-size: 11px;
        letter-spacing: 2.1px;
    }

    .hero-subtitle::before {
        width: 28px;
    }

    .hero h1 {
        font-size: clamp(39px, 12vw, 54px);
        line-height: 1.06;
        letter-spacing: -1.4px;
    }

    .hero h2 {
        margin: 14px 0 15px;
        font-size: 23px;
    }

    .hero p {
        max-width: 520px;
        margin: 0 auto 29px;
        font-size: 15px;
        line-height: 1.75;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        width: min(100%, 330px);
        min-width: 0;
    }

    .hero .row.g-3.mt-5,
    .hero .hero-features {
        margin-top: 38px !important;
    }

    .icon-box {
        min-height: 104px;
        padding: 15px 7px;
    }

    .icon-box i {
        font-size: 25px;
    }

    .icon-box h6 {
        font-size: 11px;
    }

    .product-card img {
        height: 235px;
    }
}


/* Very small phones */
@media (max-width: 420px) {
    .hero {
        min-height: 630px;
        padding-top: 72px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-subtitle::before {
        display: none;
    }
}
