/* Hero Slider Wrapper */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Hero Slider Container */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 700px;
    max-height: 900px;
}

/* Individual Hero Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 5.5%;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    color: #ffffff;
    text-align: left;
    z-index: 2;
    padding-bottom: 50px;
}

/* Heading animation */
.hero-heading {
    font-size: 3.5rem !important;
    max-width: 550px;
    font-weight: 500;
    line-height: 5rem;
    margin: 0 0 1rem 0;
    color: #09090B;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Subheading animation */
.hero-subheading {
    font-size: 0.9rem;
    font-weight: 400;
    color: #09090B;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    max-width: 600px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}



/* Hero Button */
.hero-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(180deg, #F8D86C 29%, #8F753B 100%);
    color: #09090B !important;
    gap: 15px;
    padding: 8px 15px 8px 16px;
    text-decoration: none !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 1.6px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-button::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 2em;
    background-image: url('/wp-content/uploads/2025/10/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.hero-button:hover {
    background: linear-gradient(100deg, #535353 0%, #09090B 87%);
    color: #EDEBD4 !important;
    text-decoration: none !important;
}

.hero-button::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 2em;
    background-image: url('/wp-content/uploads/2025/10/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

.hero-button:hover::after {
    filter: brightness(0) invert(1);
}

/* Overlay Rating Box */
.overlay-rating-box {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Google Reviews Badge */
.hero-reviews-badge {
    position: absolute;
    bottom: 8%;
    justify-items: center;
    right: 5%;
    color: #ffffff;
    padding: 1rem 1rem;
    border-radius: 12px;
    min-width: 280px;
    z-index: 3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.reviews-top {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.reviews-rating {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.reviews-stars-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    align-items: center;
}

.reviews-stars {
    color: #F8D86C;
    font-size: 1em;
    line-height: 1;
    margin-left: 10px;
    letter-spacing: 0.8rem;
    display: flex;
}

.reviews-stars .star-half {
    position: relative;
    display: inline-block;
    -webkit-background-clip: text;
    background-clip: text;
}

.reviews-count {
    font-size: 0.67rem;
    color: #ffffff;
    opacity: 0.95;
    font-weight: 400;
}

/* Reviewer Avatars */
.reviews-avatars {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin-left: -0.5rem;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-left: -0.75rem;
    position: relative;
    transition: transform 0.3s ease;
}

.avatar-circle:first-child {
    margin-left: 0;
}

.avatar-circle:hover {
    transform: translateY(-4px);
    z-index: 10;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail Navigation */
.hero-thumbnails {
    position: absolute;
    bottom: 2rem;
    left: 5%;
    display: flex;
    gap: 1.25rem;
    z-index: 10;
}

.thumbnail-item {
    width: 110px;
    height: 110px;
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    background: transparent;
    backdrop-filter: blur(15px);
    padding: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-item:hover {
    opacity: 0.9;
    transform: translateY(-6px);
}

.thumbnail-item.active {
    border-color: #1a1a1a;
    opacity: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    background: transparent;
    backdrop-filter: blur(20px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider-container {
        height: 80vh;
        min-height: 500px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-heading {
        font-size: 2rem !important;
        line-height: 3rem !important;
        max-width: 250px !important;
    }

    .hero-subheading {
        font-size: 1rem;
    }

    .hero-reviews-badge {
        bottom: auto;
        top: 2rem;
        right: 2rem;
        padding: 1.25rem 1.5rem;
        min-width: 200px;
        display: none;

    }

    .reviews-top {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .reviews-rating {
        font-size: 2.5rem;
    }

    .reviews-stars {
        font-size: 1.1rem;
    }

    .reviews-count {
        font-size: 0.8rem;
    }

    .avatar-circle {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }

    .hero-thumbnails {
        bottom: 1rem;
        left: 50%;
        padding-bottom: 20px;
        transform: translateX(-50%);
        gap: 0.75rem;
    }

    .thumbnail-item {
        width: 70px;
        height: 70px;
        border-width: 3px;
        border-radius: 12px;
        padding: 3px;
    }

    .thumbnail-item img {
        border-radius: 9px;
    }
    .hero-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .hero-slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 1;
        pointer-events: none;
    }
}