/*
 * Public-facing styles for Responsive Hero Slider
 */

.rhs-slider-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rhs-slider {
    width: 100%;
    /* Default aspect ratio for desktop */
    /*height: 600px;*/
    background-color: #f0f0f1; /* Fallback color */
}

.rhs-slide {
    position: relative;
    width: 100%;
  display: grid;
  height: 81vh;
    overflow: hidden;
}

.rhs-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.rhs-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.rhs-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 40px;
    box-sizing: border-box;
}

.rhs-slide-content-inner {
    max-width: 800px;
}

.rhs-heading {
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.rhs-subheading {
    font-size: 1.5rem; /* 24px */
    font-weight: 400;
    margin: 0 0 1rem 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    opacity: 0.9;
}

.rhs-body {
    font-size: 1.125rem; /* 18px */
    margin: 0 0 1.5rem 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    line-height: 1.6;
}

.rhs-body p {
    margin: 0;
}

.rhs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.rhs-button {
    display: inline-block;
  padding: 7.5px 20px 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Primary Button Style */
.rhs-button-1 {
  background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.rhs-button-1:hover {
  background-color: #111111;
    border-color: #111111;
    color: #ffffff;
}

/* Secondary Button Style */
.rhs-button-2 {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.rhs-button-2:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Swiper Navigation/Pagination */
.rhs-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.rhs-slider .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

.rhs-slider .swiper-button-prev,
.rhs-slider .swiper-button-next {
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.rhs-slider .swiper-button-prev:hover,
.rhs-slider .swiper-button-next:hover {
    opacity: 1;
}

.rhs-slider .swiper-button-prev:after,
.rhs-slider .swiper-button-next:after {
    font-size: 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Responsive Styles */
@media (max-width: 960px) {
    .rhs-slider {
        height: 500px;
    }

    .rhs-heading {
        font-size: 2.5rem; /* 40px */
    }
    
    .rhs-subheading {
        font-size: 1.25rem; /* 20px */
    }

    .rhs-body {
        font-size: 1rem; /* 16px */
    }
}

@media (max-width: 600px) {
    .rhs-slider {
        /* Taller aspect ratio for mobile */
        height: 550px; 
    }

    .rhs-slide-content {
        padding: 25px;
    }

    .rhs-heading {
        font-size: 2rem; /* 32px */
    }
    
    .rhs-subheading {
        font-size: 1.125rem; /* 18px */
    }

    .rhs-body {
        /* Hide body text on smallest screens by default, or just make it smaller */
        font-size: 0.95rem;
    }

    .rhs-buttons {
        gap: 0.75rem;
    }

    .rhs-button {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
    
    .rhs-slider .swiper-button-prev,
    .rhs-slider .swiper-button-next {
        /* Hide nav arrows on mobile (pagination is better) */
        display: none;
    }
}