/**
 * Hero Section Styles
 *
 * @package Dakro_Serwis
 * @since 1.0.0
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(237, 28, 36, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 0 80px;
}

/* Hero Content */
.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(237, 28, 36, 0.1);
    border: 1px solid rgba(237, 28, 36, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #ED1C24;
    margin-bottom: 24px;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #111;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #ED1C24 0%, #ff3b42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 32px;
    max-width: 480px;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #111 0%, #333 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.hero-btn-secondary svg {
    transition: transform 0.3s ease;
}

.hero-btn-secondary:hover svg {
    transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.hero-stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, #ccc, transparent);
}

/* Hero Visual & Slider */
.hero-visual {
    position: relative;
}

.hero-slider {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-slides {
    display: flex;
    transition: transform 0.6s ease;
}

.hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-slide-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 500px;
}

.hero-slide-tag {
    display: inline-block;
    padding: 10px 20px;
    background: #ED1C24;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.hero-slide-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide-text {
    font-size: 16px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Slider Indicators */
.hero-slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-slider-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

.hero-brands {
    position: absolute;
    bottom: -30px;
    left: 30px;
    right: 30px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.hero-brands-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-brands-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-brand {
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease;
    cursor: default;
}

.hero-brand:hover {
    background: #111;
    color: #fff;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hero Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-slide-image {
        height: 350px;
    }

    .hero-slide-title {
        font-size: 24px;
    }

    .hero-brands {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 20px;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-slide-image {
        height: 280px;
    }

    .hero-slide-title {
        font-size: 20px;
    }

    .hero-slide-text {
        font-size: 14px;
    }
}