/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height:955px;
    display: flex;
    align-items: center;
    background-image: url('../images/home-banner.png');
    background-size: cover;
    background-position: center right;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #050A16 0%, rgba(5, 10, 22, 0.7) 40%, rgba(5, 10, 22, 0.1) 100%); /* Overlay */
    z-index: 1;
}

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

.hero-wrapper {
    max-width: 100%;
    position: relative;
    z-index: 2;
    padding-top: 41px;
}

.hero-wrapper .subheading {
    margin-bottom: 12px;
}

.subheading {
    color: var(--color-primary);
    display: block;
    letter-spacing: 20%;
}

.hero h1 {
    margin-bottom: 16px;
}

.hero p {
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 566px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: center;
}

.hero-features {
    display: flex;
    gap: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
}

.feature-check {
    color: var(--color-primary);
}

.hero-scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--color-text-light);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
}
#collection-section {
    scroll-margin-top: 90px;
}

/* .links-contact-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
} */

/* .head-phone {
    display: inline-flex;
}

.head-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.head-phone a span {
    display: inline-flex;
    align-items: center;
} */

.hero-scroll span {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 130%;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-light);
}



/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    background: #050A16;
}

.about__wrapper {
    display: grid;
    grid-template-columns: minmax(374px, 1fr) minmax(340px, 540px) minmax(390px, 1fr);
    gap: 48px;
    align-items: center;
}

.about__divider {
    display: block;
    width: 55px;
    height: 1px;
    background: var(--color-primary);
    margin-bottom: 24px;
}

.about__content {
    align-self: end;
    margin-bottom: 52px;
}

.about__title {
    color: var(--color-text-light);
}

.about__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about__image img {
    display: block;
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    object-position: center;
}

.about__text {
    align-self: start;
    padding-top: 34px;
}

.about__text p {
    color: var(--color-medium-gray);
    opacity: 1;
}


.about__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-light);
    padding-bottom: 8px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.3); */
    letter-spacing: 1px;
    /* transition: color 0.3s ease, border-color 0.3s ease; */
}

/* .about__link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
} */

.about__link-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.about__link:hover .about__link-arrow {
    transform: translateX(4px);
}

/* =========================================
   OFFER SECTION
   ========================================= */
.offer {
    padding-block: 0;
}

.offer__wrapper {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.offer__image {
    width: 46%;
    /* height: 100%; */
    overflow: hidden;
    object-fit: cover;
}

.offer__image img {
    display: block;
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    object-position: center;
}

.offer__panel {
    position: relative;
    background: var(--background-color-section);
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    margin: 58px 0 63px 0;
}

.offer__badge {
    position: absolute;
    top: 0;
    right: 30px;
    /* Use a background image instead of solid color + clip-path */
    background-image: url('../images/Rectangle\ 69.png');
    /* <-- Put your image path here */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--color-text-light);
    text-transform: capitalize;
    padding: 10px 12px 17px 12px;
    /* Adjust padding if your image needs different spacing */
}

.offer__buttons .btn {
    white-space: nowrap;
}

.offer__title {
    margin-bottom: 12px;
    color: var(--color-text-light);
}

.offer__panel p {
    color: var(--color-text-light);
    max-width: 470px;
    margin-top: 16px;
    margin-bottom: 32px;
}

.offer__buttons {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 20px;
    align-items: center;
}

.offer__link-arrow {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.offer__buttons a:hover .offer__link-arrow {
    transform: translateX(4px);
}

/* =========================================
   COLLECTION SECTION
   ========================================= */
.collection {
    background: var(--color-bg-dark);
}

.collection__header {
    text-align: center;
    margin-bottom: 48px;
}

.collection__title {
    margin-top: 12px;
    color: var(--color-text-light);
}

.collection__cards {
    position: relative;
}

.collection__card {
    position: sticky;
    top: 0;
    /* height: 100vh;
    min-height: 640px; */
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.collection__card:nth-child(1) {
    z-index: 1;
}

.collection__card:nth-child(2) {
    z-index: 2;
}

/* .collection__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 10, 22, 0.92) 0%, rgba(5, 10, 22, 0.75) 35%, rgba(5, 10, 22, 0.15) 65%, rgba(5, 10, 22, 0) 100%);
    z-index: 1;
} */
.collection .collection__content .subheading {
    margin-top: 108px;
}

.collection__index {
    /* position: absolute;
    top: 32px;
    left: 0; */
    font-family: var(--font-heading);
    font-size: 160px;
    color: rgba(255, 255, 255, 0.12);
    z-index: 1;
    pointer-events: none;
}

.collection__content {
    position: relative;
    z-index: 2;
    padding-block: 57px;
}

.collection__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(78deg,
            rgba(5, 10, 22, 0.88) 1.9%,
            rgba(5, 10, 22, 0.55) 32.13%,
            rgba(5, 10, 22, 0.10) 56.87%);
    z-index: 1;
    pointer-events: none;
}

.collection__card-title {
    margin-top: 12px;
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.collection__content>p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    max-width: 43%;
    width: 100%;
}

.collection__list {
    list-style: none;
    margin-bottom: 32px;
}

.collection__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.collection__list--split {
    display: flex;
    max-width: 43%;
    width: 100%;
    justify-content: flex-start;
    gap: 0 20px;
}

.collection__check {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.collection .collection__list ul {
    max-width: 40%;
    width: 100%;
}

/* .collection__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-light);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.collection__link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.collection__link-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.collection__link:hover .collection__link-arrow {
    transform: translateX(4px);
} */
/* =========================================
   WHY REPLACE SECTION
   ========================================= */
.why-replace {
    background: var(--color-bg-dark);
}

.why-replace__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* .why-replace__gallery {
    width: 100%;
} */

.why-replace__image--main {
    width: 100%;
    overflow: hidden;
}

.why-replace__image--main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.why-replace__image--secondary {
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    max-width: 289px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.why-replace__image--secondary img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.why-replace__content {
    align-self: flex-end;
    max-width: 41%;
    width: 100%;
    padding-bottom: 52px;
}

.why-replace__title {
    color: var(--color-text-light);
}

.why-replace__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    margin-top: 24px;
}

.why-replace__list {
    list-style: none;
}

.why-replace__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
    padding-block: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.why-replace__list li:last-child {
    border-bottom: none;
}

.why-replace__check {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}


/* =========================================
   GALLERY SECTION
   ========================================= */
/* .gallery {
    background: var(--color-bg-dark);
}

.gallery__header {
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 48px;
}

.gallery__title {
    color: var(--color-text-light);
}

.gallery__grid {
    column-count: 3;
    column-gap: 24px;
    column-fill: balance;
}

.gallery__item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 24px;
    overflow: hidden;
}

.gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
} */
/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery {
    background: var(--color-bg-dark);
}

.gallery__header {
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery__title {
    color: var(--color-text-light);
}

.gallery__grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery__item {
    break-inside: avoid;
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 2px;
    height: auto;
}

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

.gallery__item:hover img {
    transform: scale(1.04);
}

/* =========================================
   WARRANTY SECTION
   ========================================= */
.warranty {
    background: var(--color-bg-dark);
}

.warranty__banner {
    padding: 151px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.warranty__bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.warranty__banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            rgba(5, 10, 22, 0.65) 0%,
            rgba(5, 10, 22, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.warranty__content {
    position: relative;
    inset: 0;
    z-index: 2;
    max-width: 580px;
    margin-inline: auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.warranty__title {
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.warranty__text {
    color: var(--color-text-light);
    opacity: 1;
    margin-top: 16px;
}


@media only screen and (max-width:1440px){
	.hero{
		min-height: 700px;
	}
}


@media only screen and (max-width:1366px) {

    /* .links-contact-wrap {
        gap: 32px;
    } */



    .about {
        padding-block: 90px;
    }

    .about__wrapper {
        grid-template-columns: minmax(200px, 0.9fr) minmax(320px, 480px) minmax(240px, 1fr);
        gap: 36px;
    }

    .offer__badge {
        padding: 12px 12px 22px;
        font-size: 11px;
    }

    /* .collection__content {
        max-width: 460px;
    } */

    .offer__buttons .btn {
        white-space: unset;
    }

    .offer__buttons {
        flex-wrap: wrap;
    }

    .offer__panel {
        margin: 0;
    }

    .offer__buttons {
        gap: 10px;
    }

    .collection__content {
        max-width: 49%;
    }

    .collection__content>p,
    .collection__list--split {
        max-width: 100%;
    }

    .collection .collection__content .subheading {
        margin-top: 30px;
    }

    .collection__index {
        font-size: 80px;
    }
    .collection__list{
        margin-bottom: 17px;
    }

    .why-replace__wrapper {
        gap: 40px;
    }

    .why-replace__image--secondary {
        top: 0;
        right: 0;
        max-width: 240px;
    }

    .gallery__grid {
        column-gap: 20px;
    }

    .gallery__item {
        margin-bottom: 20px;
    }


}
@media only screen and (max-width:1280px){
    .hero{
            min-height: 700px;
    }
	.scroll-line{
		height:41px;
	}
}

@media only screen and (max-width:1199px) {
    /* .hero {
        min-height: 750px;
    } */

    .hero-wrapper {
        padding-top: 0;
    }

    /* .links-contact-wrap {
        gap: 20px;
    } */
/* 
    .head-nav-links {
        gap: 15px;
    } */

    .head-btn-wrap .btn {
        padding: 12px;
    }

    .about__wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "content image"
            "text image";
        align-items: start;
        gap: 32px 40px;
    }

    .about__content {
        grid-area: content;
    }

    .about__image {
        grid-area: image;
        aspect-ratio: auto;
        height: 100%;
    }

    .about__text {
        grid-area: text;
    }

    .offer__wrapper {
        grid-template-columns: 1fr;
    }

    .offer__panel {
        padding: 0 40px;
    }

    /* .collection__card {
        min-height: 560px;
    } */

    .collection__content {
        padding-block: 60px;
    }
/* 
    .collection .collection__content .subheading {
        margin-top: 60px;
    } */

    /* .collection__index {
        font-size: 120px;
    } */

    .why-replace__wrapper {
        grid-template-columns: minmax(320px, 460px) 1fr;
        gap: 36px 40px;
    }

    .why-replace__image--secondary {
        top: 0;
        right: 0;
        max-width: 230px;
    }


}


@media only screen and (max-width:1100px) {
/*     .hero {
        min-height: 700px;
    } */

    /* .links-contact-wrap {
        flex-direction: column;
    } */
}

@media only screen and (max-width:1024px) {
    .hero h1 {
        margin-bottom: 15px;
    }

    .hero-wrapper {
        padding-top: 50px;
    }

    /* .scroll-line {
        height: 30px;
    } */

    .hero-features {
        gap: 10px;
    }

    .hero p,
    .hero-buttons {
        margin-bottom: 25px;
    }



    .offer__image {
        width: 50%;
    }

    .offer__wrapper {
        gap: 20px;
    }

    .offer__panel {
        width: 60%;
    }

    /* .collection .collection__content .subheading {
        margin-top: 40px;
    } */

    /* .collection__index {
        font-size: 90px;
    } */



    .why-replace__content {
        padding-bottom: 25px;
    }

    .why-replace__gallery {
        max-width: 40%;
        width: 50%;
    }



}

@media only screen and (max-width:991px) {
    .about {
        padding-block: 70px;
    }

    .about__wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "image"
            "text";
        gap: 28px;
    }

    .about__image {
        max-width: 480px;
        margin-inline: auto;
    }

    /* .collection {
        padding-block: 64px 0;
    } */

    .collection__header {
        margin-bottom: 40px;
    }

    /* .collection__card {
        height: auto;
        min-height: 520px;
    } */

    .collection__content {
        max-width: 63%;
    }

    .why-replace__wrapper {
        grid-template-columns: 1fr;
    }

    .why-replace__image--secondary {
        top: 0;
        right: 0;
        max-width: 159px;
    }

    .why-replace__content {
        text-align: left;
    }



    .gallery__header {
        margin-bottom: 36px;
        padding-bottom: 24px;
    }

    .gallery__grid {
        column-count: 2;
    }

    .why-replace__content {
        max-width: 55%;
    }

    .warranty__banner {
        padding: 100px 0;
    }



    .why-replace__gallery {
        max-width: 33%;
        width: 50%;
    }
}

@media only screen and (max-width:767px) {
/* 	    .hero {
        min-height: 800px;
    } */
    .hero-features {
        gap: 5px;
        flex-direction: column;
    }
    .hero p{
        max-width: 528px;
    }
    .hero::before {
        content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 22, 0.6);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .about {
        padding-block: 56px;
    }

    .about__content {
        margin-bottom: 0;
    }

    .about__text {
        padding-top: 0;
    }

    .offer__panel {
        padding: 0 15px;
    }

    .offer__panel p {
        margin-bottom: 24px;
    }

    .offer__buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .collection__card {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        /* aspect-ratio: 4/5; */
        z-index: auto !important;
    }

    .collection__cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .collection__content {
        padding-block: 40px 32px;
    }

    .collection__list--split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .offer__wrapper {
        flex-direction: column;
    }

    .offer__panel {
        width: 100%;
    }

    .offer__image {
        width: 70%;
        margin: 0 auto;
    }

    .collection .collection__content .subheading {
        margin-top: 20px;
    }

    .collection__index {
        font-size:60px;
    }

    /* .why-replace__benefits {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 24px;
    } */





    .gallery__grid {
        column-gap: 16px;
    }

    .gallery__item {
        margin-bottom: 16px;
    }


    .warranty__content {
        max-width: 480px;
    }

    .why-replace__wrapper {
        display: flex;
        flex-direction: column;
    }

    .why-replace__gallery {
        display: contents;
    }

    .why-replace__image--secondary {
        order: 1;
        position: relative;
        max-width: 100%;
        width: 56%;
        height: 240px;
    }

    .why-replace__content {
        order: 2;
        max-width: 100%;
    }

    .why-replace__image--main {
        order: 3;
        width: 70%;
    }

    .warranty__banner {
        padding: 80px 0;
    }

    .head-phone a{
        gap:5px;
    }

}

@media only screen and (max-width:575px) {
    .about {
        padding-block: 48px;
    }

    .about__wrapper {
        gap: 24px;
    }

    .about__image {
        max-width: 100%;
    }

    .offer__badge {
        right: 20px;
        font-size: 10px;
        padding: 10px 10px 18px;
    }

    .offer__buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* .collection {
        padding-block: 48px 0;
    } */
	#collection-section {
    scroll-margin-top: 90px;
}

    .collection__header {
        margin-bottom: 32px;
    }

    .collection__content {
        max-width: 100%;
    }

    .collection__card-title {
        margin-bottom: 12px;
    }

    .collection__list {
        margin-bottom: 24px;
    }

    .offer__image {
        width: 100%;
    }

    .collection__content {
        max-width: 100%;
    }

    .why-replace__wrapper {
        gap: 28px;
    }



    .gallery__header {
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .gallery__grid {
        column-count: 1;
    }

    .warranty__content {
        padding: 0 16px;
    }

    .warranty__banner {
        padding: 50px 0;
    }



    .why-replace__image--secondary,
    .why-replace__image--main {
        width: 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width:479px) {

    .why-replace__benefits {
        grid-template-columns: 1fr;
    }

    .why-replace__list li:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}