﻿/* =========================================
   HERO SECTION
========================================= */

.hero-slider {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    overflow: hidden;
    /*background: red !important;*/
}

/* =========================================
   SLIDES
========================================= */

.hero-slider-container {
    position: relative;
    min-height: 88vh;
}

.hero-slide {
    position: relative;
    min-height: 760px;
}

/* =========================================
   IMAGE
========================================= */

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 760px;
    object-fit: cover;
    display: block;
    transform: scale(1);
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

/* =========================================
   CONTENT LAYER
========================================= */

.hero-content-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 140px;
    max-width: 1400px;
    margin: auto;
    padding-left: 40px;
    padding-right: 80px;
}

/* =========================================
   GLASS CARD
========================================= */

.hero-content-card {
    max-width: 700px;
    padding: 34px;
    border-radius: 22px;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    transform: scale(0.8);
    opacity: 0.9;
}

/* =========================================
   TYPOGRAPHY
========================================= */

.hero-title {
    margin: 0;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2937;
}

.hero-subtitle {
    margin-top: 22px;
    margin-bottom: 32px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4b5563;
}

/* =========================================
   CTA BUTTONS
========================================= */

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    text-decoration: none;
    border-radius: 10px;
    padding: 14px 26px;
    font-weight: 700;
    transition: all .3s ease;
}

.hero-btn-primary {
    background: #773f45;
    color: #fff;
}

    .hero-btn-primary:hover {
        transform: translateY(-2px);
        color: #fff;
    }

.hero-btn-secondary {
    background: #fff;
    color: #773f45;
    border: 2px solid #773f45;
}

.hero-btn-secondary:hover {
    transform: translateY(-2px);
    color: #773f45;
}

/* =========================================
   LARGE DESKTOPS
========================================= */

@media (min-width:1600px) {
    .hero-title {
        font-size: 4.2rem;
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width:992px) {
    .hero-image {
        height: 700px;
    }

    .hero-slide {
        min-height: 700px;
    }

    .hero-content-wrapper {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width:768px) {

    .hero-slider-container,
    .hero-slide {
        min-height: 450px;
    }

    .hero-slide {
        min-height: 93vh;
    }

    .hero-image {
        height: 280px;
    }

    .hero-content-wrapper {
        position: static;
        padding: 0;
        background-color: floralwhite;
    }

    .hero-content-card {
        margin: -100px 20px 20px 20px;
        position: relative;
        z-index: 10;
        padding: 26px;
        transform: scale(0.87);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        text-align: center;
    }

    .hero-nav {
        width: 21px;
        height: 21px;
        font-size: 13px;
    }

    .hero-prev {
        left: 10px;
        display: none;
    }

    .hero-next {
        right: 10px;
        display: none;
    }

    .hero-dots {
        display: none !important;
    }

    .hero-btn-secondary {
        display: none;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width:480px) {
    .hero-image {
        height: 260px;
    }

    .hero-title {
        font-size: 1.7rem;
    }
}


/* =========================================
   SLIDER ANIMATION
========================================= */

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
    pointer-events: none;
}

.hero-slide.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

/* =========================================
   NAVIGATION
========================================= */

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 21px;
    height: 21px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    z-index: 20;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.hero-prev {
    left: 25px;
    display: block;
}

.hero-next {
    right: 25px;
    display: block;
}

/* =========================================
   DOTS
========================================= */
/**/
.hero-dots {
    /*center bottom*/
    position: absolute;
    right: 5%;
    top: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
    display: block;

    /*rightcenter*/
    /*position: absolute;
    right: 30px;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;*/
}

.hero-dot {
    background: transparent;
    border: none;
    color: maroon;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 6px;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    color: #ffffff;
}

.hero-dot.active {
    /*color: #fff;*/
    font-weight: 700;
    border-bottom: 2px solid maroon;
}



/* =========================================
   MOBILE
========================================= */

  /*for TABLETS AND IPAD*/
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-slider-container,
    .hero-slide {
        min-height: 450px;
    }
}