/* Modern Hexagonal Slider Styles */

.hexagon-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    /* place images directly under header (remove white gap) */
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hexagon-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hexagon-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon-slide.active {
    opacity: 1;
    visibility: visible;
}

.hexagon-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    /* keep visual spacing for text without adding gap above images */
    padding: 110px 30px 30px 30px;
}

.hexagon-slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hexagon-slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hexagon-slide-content .btn-primary {
    background-color: #B0CB1F;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hexagon-slide-content .btn-primary:hover {
    background-color: #008DD2;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hexagon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 141, 210, 0.7), rgba(176, 203, 31, 0.7));
    z-index: 1;
}


/* Hexagon Pattern */

.hexagon-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


/* Navigation Controls */

.hexagon-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon-slider-arrow {
    background-color: rgba(43, 42, 41, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hexagon-slider-arrow:hover {
    background-color: #B0CB1F;
    transform: scale(1.1);
    border-color: #fff;
}


/* Indicators */

.hexagon-slider-indicators {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.hexagon-indicator {
    width: 15px;
    height: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon-indicator.active {
    background-color: #B0CB1F;
    transform: scale(1.2);
}


/* Progress Bar */

.hexagon-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    /* Transparent so it doesn't create a visible white line under the slider */
    background-color: transparent;
    z-index: 3;
}

.hexagon-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #B0CB1F, #008DD2, #00A0E3);
    transition: width 0.1s linear;
}


/* Responsive Adjustments */

@media (max-width: 992px) {
    .hexagon-slider {
        height: 500px;
    }
    .hexagon-slide-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hexagon-slider {
        height: 400px;
    }
    .hexagon-slide-content h2 {
        font-size: 2rem;
    }
    .hexagon-slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hexagon-slider {
        height: 350px;
    }
    .hexagon-slide-content h2 {
        font-size: 1.8rem;
    }
    .hexagon-slider-arrow {
        width: 40px;
        height: 40px;
    }
}