/********** Template CSS **********/
:root {
    --primary: #3CB815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}



/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}


/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
/*** Venetz Custom ***/
:root {
    --primary: #0E8A63;
    --secondary: #F2A51A;
    --light: #F7F8FC;
    --dark: #17211D;
}

.hero-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
}

.hero-section::after {
    position: absolute;
    content: "";
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 38%, rgba(255,255,255,.18) 72%);
}

.hero-img {
    height: 720px;
    object-fit: cover;
    object-position: center;
}

.hero-section .carousel-caption {
    z-index: 2;
}

.hero-section h1,
.hero-section p.fs-5 {
    color: var(--dark);
}

.trust-item,
.benefit-item,
.step-item {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    height: 100%;
}

.trust-item i,
.benefit-item i {
    font-size: 2.25rem;
}

.product-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.step-item {
    position: relative;
    border-left: 3px solid var(--primary);
}

.step-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    border-radius: 50%;
    color: #FFFFFF;
    background: var(--primary);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .hero-section,
    .hero-img {
        min-height: 620px;
        height: 620px;
    }

    .hero-section::after {
        background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 54%, rgba(255,255,255,.24) 100%);
    }
}

@media (max-width: 575.98px) {
    .hero-section,
    .hero-img {
        min-height: 560px;
        height: 560px;
    }

    .hero-section .display-2 {
        font-size: 2.4rem;
    }

    .hero-section .btn {
        width: 100%;
        margin: 0 0 12px 0 !important;
    }
}

/* Header and product type updates */
.fixed-top {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 30px rgba(23, 33, 29, .08);
    backdrop-filter: blur(10px);
}

.top-bar {
    background: #EAF7F1;
}

.navbar {
    background: #FFFFFF;
}

.product-types-section {
    scroll-margin-top: 120px;
}

#bed-net-types,
#door-screen-types,
#window-net-types {
    scroll-margin-top: 120px;
}

.type-panel {
    background: #FFFFFF;
    border: 1px solid rgba(14, 138, 99, .14);
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.type-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 1.35rem;
}

.type-list {
    margin: 22px 0 28px;
    padding: 0;
    list-style: none;
}

.type-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-bottom: 1px solid rgba(23, 33, 29, .08);
}

.type-list li::before {
    position: absolute;
    content: "\f00c";
    left: 0;
    top: 9px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

/* Requested homepage refinements */
.hero-section-light::after {
    background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.84) 42%, rgba(255,255,255,.10) 78%);
}

.hero-kicker,
.line-label,
.bestseller-card span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.line-card,
.showcase-card,
.bestseller-card {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.line-card {
    border-top: 4px solid var(--primary);
}

.line-card-alt {
    border-top-color: var(--secondary);
}

.bestseller-card {
    overflow: hidden;
    height: 100%;
}

.bestseller-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.bestseller-card h5 {
    min-height: 48px;
}

.bestseller-card strong,
.price-line {
    display: block;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 700;
}

.showcase-card {
    border: 1px solid rgba(14, 138, 99, .14);
}

.showcase-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.story-video {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 280px;
}

.story-video img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: brightness(62%) saturate(88%);
}

.story-video::after {
    position: absolute;
    content: "";
    inset: 0;
    background: rgba(8, 45, 54, .18);
}

.story-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 1.45rem;
}

.story-play:hover {
    color: #FFFFFF;
    background: var(--secondary);
}

.price-line {
    font-size: 2rem;
}

.price-line span {
    color: #777777;
    font-size: 1rem;
    font-weight: 500;
}

#product-lines,
#bestsellers,
#ezy-fix-king,
#how-it-works,
#accessories-types {
    scroll-margin-top: 120px;
}

@media (max-width: 575.98px) {
    .line-card,
    .showcase-card {
        padding: 2rem !important;
    }

    .price-line {
        font-size: 1.6rem;
    }

    .story-video img {
        height: 260px;
    }
}

/* Venetz logo */
.site-logo {
    width: 168px;
    max-width: 46vw;
    height: auto;
    display: block;
}

.footer-logo {
    width: 178px;
    max-width: 70%;
    height: auto;
    display: block;
}

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