/* Hero Section Mobile Improvements */

/* Base mobile adjustments */
@media (max-width: 992px) {
    .hero-gunawangsa {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
    }
    
    .hero-content-section {
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-logo-section img {
        max-width: 400px; /* Smaller logo on tablets */
        height: auto;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .hero {
        min-height: 100vh;
        padding: 80px 0; /* Add padding to ensure content is visible */
    }
    
    .hero-gunawangsa {
        padding: 0 15px;
        gap: 20px;
    }
    
    .hero-logo-section img {
        max-width: 340px; /* Even smaller logo on phones */
    }
    
    .hero-title-main {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-width: auto;
        width: 100%; /* Full width button on small mobile */
        margin-bottom: 10px;
    }
}

/* Fix for background image */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll; /* Fix for mobile devices */
    }
    
    .hero::before {
        background: rgba(0, 0, 0, 0.65); /* Slightly darker overlay on mobile for better text readability */
    }
}
