/*
Theme Name: RickPlan
Theme URI: http://rickplan.co.tz/
Author: martin
Description:
Version: 1.0.0
License: 
Text Domain: rickplan
*/

/* Keep this file present for WordPress theme recognition.
   Main styling is expected to come from the template assets copied into /assets. */


/* ========== SLIDER NAVIGATION BUTTONS ========== */
.slider-active {
    position: relative;
}

/* Navigation Arrows - Modern Style */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slick-prev {
    left: 30px;
}

.slick-next {
    right: 30px;
}

.slick-prev:hover,
.slick-next:hover {
    background: #f9b707;
    border-color: #f9b707;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(249, 183, 7, 0.4);
}

.slick-prev:active,
.slick-next:active {
    transform: translateY(-50%) scale(0.95);
}

.slick-prev i,
.slick-next i {
    line-height: 1;
    font-size: 28px;
}

/* Dots Navigation */
.slick-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slick-dots li {
    display: inline-block;
}

.slick-dots li button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.slick-dots li.slick-active button {
    background: #f9b707;
    border-color: #f9b707;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(249, 183, 7, 0.3);
}

.slick-dots li button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slick-dots li.slick-active button:hover {
    background: #f9b707;
}

/* Responsive */
@media (max-width: 992px) {
    .slick-prev,
    .slick-next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .slick-prev {
        left: 20px;
    }
    
    .slick-next {
        right: 20px;
    }
    
    .slick-prev i,
    .slick-next i {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .slick-prev,
    .slick-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slick-prev {
        left: 10px;
    }
    
    .slick-next {
        right: 10px;
    }
    
    .slick-prev i,
    .slick-next i {
        font-size: 18px;
    }
    
    .slick-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .slick-dots li button {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .slick-prev,
    .slick-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slick-prev {
        left: 5px;
    }
    
    .slick-next {
        right: 5px;
    }
    
    .slick-prev i,
    .slick-next i {
        font-size: 14px;
    }
}

/* ========== SLIDER BACKGROUND - PERFECT FIT ========== */
.single-slider {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    position: relative;
}

/* Ensure slider height is consistent */
.slider-height {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
}

/* For smaller screens */
@media (max-width: 768px) {
    .slider-height {
        min-height: 80vh;
        height: 80vh;
    }
}

@media (max-width: 576px) {
    .slider-height {
        min-height: 70vh;
        height: 70vh;
    }
}

/* Fix for any image size issues */
.single-slider .container {
    position: relative;
    z-index: 2;
}

/* Dark overlay for better text readability */
.single-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero__caption {
    position: relative;
    z-index: 2;
}

/* Ensure content is visible */
.hero__caption h1,
.hero__caption .hero-text1,
.hero__caption .stock-text,
.hero__caption .hero-text2 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
/* ========== SLIDER GRADIENT OVERLAYS ========== */

/* Base overlay - dark gradient from bottom */
.single-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* Alternative - Diagonal gradient */
.single-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

/* Alternative - Left to Right gradient */
.single-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

/* Alternative - Radial gradient (spotlight effect) */
.single-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Colorful gradient overlay */
.single-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(249, 183, 7, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

/* Blue gradient for construction theme */
.single-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 40, 80, 0.3) 0%,
        rgba(0, 20, 50, 0.6) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

/* Ensure content is above overlay */
.hero__caption {
    position: relative;
    z-index: 2;
}

.single-slider .container {
    position: relative;
    z-index: 2;
}

/* Remove old overlay if exists */
.single-slider::before {
    display: none;
}