/**
 * Hero Final Mobile Adjustments
 * Light overlay, bigger text, side-by-side buttons
 */

/* Light overlay for text readability */
@media (max-width: 767px) {
    /* Add a light dark overlay */
    .hero.bg_img::after {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.3) !important; /* 30% black overlay for better readability */
        z-index: 1 !important;
        pointer-events: none !important;
        display: block !important;
    }
    
    /* Ensure content is above overlay */
    .hero .container {
        position: relative !important;
        z-index: 2 !important;
    }
    
    .hero__content {
        position: relative !important;
        z-index: 3 !important;
    }
}

/* Bigger text sizes for mobile */
@media (max-width: 767px) {
    /* Hero title - bigger */
    .hero__content h1 {
        font-size: 36px !important; /* Increased from 32px */
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
        font-weight: 700 !important;
    }
    
    .hero__content h1 span {
        color: #FFC107 !important;
        display: inline !important;
    }
    
    /* Hero paragraph - bigger */
    .hero__content p {
        font-size: 18px !important; /* Increased from 17px */
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
        color: #ffffff !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
        font-weight: 400 !important;
    }
    
    /* Hero list - bigger */
    .hero__content .xb-list li {
        font-size: 17px !important; /* Increased from 16px */
        margin-bottom: 12px !important;
        color: #ffffff !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
        font-weight: 500 !important;
    }
    
    .hero__content .xb-list li i {
        font-size: 16px !important;
        color: #28a745 !important; /* Changed from yellow to green check icon */
    }
}

/* Buttons side by side on mobile */
@media (max-width: 767px) {
    .hero__content .btns {
        display: flex !important;
        flex-direction: row !important; /* Side by side */
        gap: 10px !important;
        margin-top: 30px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .hero__content .btns .thm-btn {
        flex: 1 1 auto !important;
        min-width: 140px !important;
        max-width: 180px !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-align: center !important;
        border-radius: 5px !important;
        white-space: nowrap !important;
    }
    
    /* First button - "Hemen Başvur" with white text and dark background */
    .hero__content .btns .thm-btn:first-child {
        background: #212529 !important; /* Dark background */
        color: #ffffff !important; /* White text */
        border: 2px solid #212529 !important;
        text-shadow: none !important;
    }
    
    .hero__content .btns .thm-btn:first-child:hover,
    .hero__content .btns .thm-btn:first-child:active {
        background: #000000 !important;
        border-color: #000000 !important;
    }
    
    /* Second button - "Detaylı Bilgi" */
    .hero__content .btns .thm-btn--white,
    .hero__content .btns .thm-btn:nth-child(2) {
        background: rgba(255, 255, 255, 0.95) !important;
        color: #000000 !important;
        border: 2px solid #ffffff !important;
        text-shadow: none !important;
    }
    
    .hero__content .btns .thm-btn--white:hover,
    .hero__content .btns .thm-btn--white:active,
    .hero__content .btns .thm-btn:nth-child(2):hover,
    .hero__content .btns .thm-btn:nth-child(2):active {
        background: #ffffff !important;
        color: #000000 !important;
    }
}

/* Extra small devices adjustments */
@media (max-width: 480px) {
    .hero__content h1 {
        font-size: 30px !important; /* Increased */
    }
    
    .hero__content p {
        font-size: 17px !important; /* Increased */
    }
    
    .hero__content .xb-list li {
        font-size: 16px !important; /* Increased */
    }
    
    /* Buttons might stack on very small screens */
    .hero__content .btns {
        flex-wrap: wrap !important;
    }
    
    .hero__content .btns .thm-btn {
        min-width: 130px !important;
        font-size: 14px !important;
        padding: 12px 18px !important;
    }
}

/* Landscape mode - keep buttons side by side */
@media (max-width: 767px) and (orientation: landscape) {
    .hero__content h1 {
        font-size: 26px !important;
    }
    
    .hero__content p {
        font-size: 15px !important;
    }
    
    .hero__content .xb-list {
        display: none !important; /* Hide list to save space in landscape */
    }
    
    .hero__content .btns {
        flex-direction: row !important;
        margin-top: 20px !important;
    }
    
    .hero__content .btns .thm-btn {
        min-width: 120px !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
    }
}

/* Ensure overlay doesn't affect other sections */
@media (max-width: 767px) {
    .hero:not(.bg_img)::after {
        display: none !important;
    }
}

/* Button focus states for accessibility */
@media (max-width: 767px) {
    .hero__content .btns .thm-btn:focus {
        outline: 2px solid #ffffff !important;
        outline-offset: 2px !important;
    }
}

/* Ensure text is always readable */
@media (max-width: 767px) {
    .hero__content * {
        color: #ffffff !important;
    }
    
    .hero__content h1 span {
        color: #FFC107 !important;
    }
}