/* ========================================
   HERO SLIDER - PREMIUM STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Background Image - Fixed */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg-main.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

/* Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 20px;
    margin-bottom: 150px;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.8);
    color: white;
    line-height: 1.3;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInSubtitle 1s ease-out 2s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2.8rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInCTA 0.8s ease-out 2.5s forwards;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.7);
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
}

.hero-cta:active {
    transform: translateY(-2px) scale(1.02);
}

.cta-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta:hover .cta-icon {
    transform: translateX(5px);
}

/* ========================================
   SLIDER CONTAINER
   ======================================== */

.slider-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 4;
    padding: 0 20px;
}

.slider-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   SLIDER CARDS
   ======================================== */

.slider-card {
    min-width: 280px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0.7;
}

.slider-card.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    border: 3px solid #ff6b35;
}

.slider-card:hover {
    transform: scale(0.95);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.slider-card.active:hover {
    transform: scale(1.02);
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-card:hover .card-image img {
    transform: scale(1.1);
}

.card-info {
    padding: 1rem 1.2rem;
    background: white;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

.slider-card.active .card-info h3 {
    color: #ff6b35;
}

.card-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* ========================================
   NAVIGATION BUTTONS
   ======================================== */

.slider-nav {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.slider-nav:hover {
    background: #ff6b35;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.slider-nav:active {
    transform: scale(0.95);
}

.slider-nav svg {
    pointer-events: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fadeInSubtitle {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInCTA {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .slider-card {
        min-width: 240px;
        max-width: 240px;
    }

    .card-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        margin-bottom: 180px;
    }

    .slider-container {
        bottom: 20px;
        gap: 10px;
    }

    .slider-card {
        min-width: 200px;
        max-width: 200px;
    }

    .card-image {
        height: 140px;
    }

    .card-info {
        padding: 0.8rem 1rem;
    }

    .card-info h3 {
        font-size: 1rem;
    }

    .card-info p {
        font-size: 0.85rem;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-wrapper {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }

    .hero-content {
        margin-bottom: 200px;
    }

    .slider-container {
        width: 95%;
        gap: 8px;
    }

    .slider-card {
        min-width: 160px;
        max-width: 160px;
    }

    .card-image {
        height: 120px;
    }

    .card-info {
        padding: 0.6rem 0.8rem;
    }

    .card-info h3 {
        font-size: 0.9rem;
    }

    .card-info p {
        font-size: 0.75rem;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }
}