/* Custom Hero Banner Styles */

/* Fix navbar dropdown z-index */
.zelda-nav {
    position: relative !important;
    z-index: 1000 !important;
}

.navbar {
    z-index: 1000 !important;
    position: relative;
}

.navbar .dropdown-menu {
    z-index: 1050 !important;
    position: absolute !important;
}

.main-banner {
    min-height: 600px; /* Increase height to show more background */
    padding-top: 200px; /* Move content down */
    padding-bottom: 150px; /* Add more bottom padding */
    margin-bottom: 80px; /* Add space below banner section */
    position: relative;
    background-attachment: scroll;
    z-index: 1; /* Keep banner behind navbar */
}

/* Ensure background image is visible */
.main-banner[style*="background-image"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Add overlay to make text more readable */
.main-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 0;
}

/* Make sure content is above overlay */
.main-banner .container {
    position: relative;
    z-index: 1;
}

/* Adjust banner content positioning */
.banner-content {
    margin-top: 50px; /* Push content down more */
}

.banner-content h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 3rem;
    font-weight: 700;
}

.banner-content p {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 1.25rem;
}

/* Hide the default banner.png image */
.banner-image img[src*="banner.png"] {
    display: none;
}

/* Hero Stats Section */
.hero-stats {
    margin-top: 60px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    min-width: 280px;
}

.stat-card:hover {
    border-color: var(--accent-color, #ff5208);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 82, 8, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    color: #fff;
}

.stat-icon.fivem-icon {
    background: linear-gradient(135deg, #ff5208 0%, #ff7a08 100%);
    box-shadow: 0 4px 15px rgba(255, 82, 8, 0.4);
}

.stat-icon.discord-icon {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.stat-info {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .main-banner {
        min-height: 500px;
        padding-top: 150px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .main-banner {
        min-height: 400px;
        padding-top: 100px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .stat-card {
        flex-direction: column;
        gap: 10px;
        padding: 20px 15px;
    }

    .stat-info {
        text-align: center;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
