/**
 * @package     Mod_Pandawa_Hero
 * @subpackage  mod_pandawa_hero
 * @copyright   Copyright (C) 2026 Pandawa FM. All rights reserved.
 */

/* Hero Slider Container */
.pandawa-hero-module {
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: 'Funnel Sans', 'Poppins', sans-serif;
}

/* Slider Wrapper */
.hero-slider {
    position: relative;
    width: 100%;
}

/* Individual Slide */
.hero-slide {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Content Container */
.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    padding: 20px 10%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Text Alignment */
.hero-content.text-left {
    text-align: left;
}

.hero-content.text-center {
    text-align: center;
}

.hero-content.text-right {
    text-align: right;
}

/* Title */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    line-height: 1.5;
}

.hero-content.text-center .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero-content.text-right .hero-subtitle {
    margin-left: auto;
    margin-right: 0;
}

/* Button */
.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    filter: brightness(1.05);
}

.hero-button-icon {
    transition: transform 0.3s ease;
}

.hero-button:hover .hero-button-icon {
    transform: translateX(5px);
}

/* Navigation Buttons */
.hero-nav-prev,
.hero-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #E67E22;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.7;
}

.hero-nav-prev:hover,
.hero-nav-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

/* Dots Navigation */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 30px;
    border-radius: 6px;
    background: #E67E22;
}

.hero-dot:hover {
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    
    .hero-nav-prev,
    .hero-nav-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-button {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
    
    .hero-content {
        padding: 20px 5%;
    }
    
    .hero-nav-prev,
    .hero-nav-next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .hero-nav-prev {
        left: 10px;
    }
    
    .hero-nav-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-button {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .hero-dots {
        bottom: 10px;
        gap: 8px;
    }
    
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-dot.active {
        width: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-button {
    animation: fadeIn 0.5s ease-out forwards;
}

.hero-slide.active .hero-subtitle {
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-slide.active .hero-button {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}