/* ============================================
   HERO SECTION - RESPONSIVE DESIGN
   ============================================ */

/* Base Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/header.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    z-index: 1;
    filter: brightness(0.9);
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Buttons Overlay */
.hero-buttons-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 3;
}

/* Hero Buttons Container */
.hero-btns-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP (1025px+)
   ============================================ */

@media (min-width: 1025px) {
    .hero {
        min-height: 600px;
        height: 70vh;
        max-height: 700px;
    }

    .hero-bg {
        background-size: contain;
        background-position: center center;
    }

    .hero-btns {
        gap: 25px;
    }

    .hero-btns .btn {
        padding: 15px 40px;
        font-size: 1.1rem;
        min-width: 180px;
    }

    .hero-buttons-overlay {
        padding: 50px 40px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (768px - 1024px)
   ============================================ */

@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        min-height: 500px;
        height: 65vh;
        max-height: 600px;
    }

    .hero-bg {
        background-size: contain;
        background-position: center center;
    }

    .hero-btns {
        gap: 15px;
    }

    .hero-btns .btn {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 150px;
    }

    .hero-buttons-overlay {
        padding: 40px 30px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE (max-width: 767px)
   ============================================ */

@media (max-width: 767px) {
    .hero {
        min-height: 400px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .hero-bg {
        background-size: contain;
        background-position: center center;
        background-attachment: scroll;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-btns .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .hero-buttons-overlay {
        padding: 20px 15px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    }

    .hero-btns-container {
        width: 100%;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE (max-width: 600px)
   ============================================ */

@media (max-width: 600px) {
    .hero {
        min-height: 350px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .hero-bg {
        background-size: contain;
        background-position: center center;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-btns .btn {
        padding: 11px 18px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 260px;
    }

    .hero-buttons-overlay {
        padding: 15px 12px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    }
}

/* ============================================
   RESPONSIVE DESIGN - EXTRA SMALL (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    .hero {
        min-height: 300px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .hero-bg {
        background-size: contain;
        background-position: center center;
    }

    .hero-btns {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .hero-btns .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 240px;
    }

    .hero-buttons-overlay {
        padding: 12px 10px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.35));
    }
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.hero-btns .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    text-decoration: none;
    border: none;
}

.hero-btns .btn-primary {
    background: var(--secondary-color);
    color: white;
}

.hero-btns .btn-primary:hover {
    background: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(128, 0, 0, 0.3);
}

.hero-btns .btn-primary:active {
    transform: translateY(0);
}

.hero-btns .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.hero-btns .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

.hero-btns .btn-outline:active {
    transform: translateY(0);
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */

.hero-btns .btn:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.hero-btns .btn:focus:not(:focus-visible) {
    outline: none;
}

.hero-btns .btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btns-container.fade-in {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

body.dark-mode .hero {
    background: #2a2a2a;
}

body.dark-mode .hero-bg {
    background-color: #2a2a2a;
    filter: brightness(0.7);
}

body.dark-mode .hero-buttons-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .hero {
        height: auto;
        min-height: 300px;
    }

    .hero-buttons-overlay {
        display: none;
    }
}
