/* ============================================================
   MOBILE OPTIMIZATION (max-width: 1024px)
   כל מה שכתוב כאן משפיע רק על טלפונים וטאבלטים
   ============================================================ */
@media (max-width: 1024px) {

    /* --- 1. Hero Section --- */
    .hero {
        height: 100vh !important;
        min-height: 100svh !important; /* תמיכה טובה יותר בדפדפנים של ניידים */
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        background-color: #000000;
        background-position: left 20% top center !important;
        background-size: cover !important;
        background-attachment: scroll !important; /* מבטל fixed בנייד לביצועים */
    }

    .hero-content {
        margin-top: 50px !important;
        height: auto !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-logo {
        width: 100% !important;
        max-width: 420px !important;
        height: auto !important;
        margin-bottom: 20px !important;
    }

    .hero-main {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 15px !important;
    }

    .cta-button {
        display: inline-block !important;
        width: auto !important;
        min-width: 200px !important;
        max-width: 90% !important;
        padding: 12px 20px !important;
        font-size: 0.75rem !important;
        text-align: center !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        box-sizing: border-box !important;
    }

    /* --- 2. Transformation Section (Audio Players) --- */
    .transformation-section {
        padding: 40px 15px !important; /* הצמדה להירו */
        margin-top: 0 !important;
    }

.transformation-section .section-title {
    font-size: 5.8vw !important; /* הקטנה נוספת כדי להכניס הכל בשורה אחת */
    white-space: nowrap !important; /* מבטיח שהטקסט לא ירד שורה */
    letter-spacing: 0.5px !important; /* צמצום קטן בין האותיות כדי לחסוך מקום */
    max-width: 100% !important;
    text-align: center !important;
    display: block !important;
    margin-bottom: 10px !important;
}

    .section-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        max-width: 280px !important;
        margin: 0 auto 30px auto !important;
    }

    /* --- 3. Categories Grid (הכרטיסים מתחת לנגנים) --- */
    .categories-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* שורה אחת רק במובייל */
        gap: 15px !important;
        padding: 0 15px !important;
        margin-top: 10px !important;
        margin-bottom: 40px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    .category-card {
        padding: 25px 20px !important;
        min-height: auto !important;
        text-align: center !important;
        border-radius: 10px !important;
        transform: none !important; /* מבטל תזוזה של הובר בנייד */
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }

    .category-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .category-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }

    /* --- 4. Profile Section (About) --- */
    .profile-section {
        padding: 40px 20px !important;
        opacity: 1 !important; /* מוודא שנראה במובייל */
        transform: none !important;
		margin-top:  -55px;
		margin-bottom: 30px;
    }

    .profile-container {
        flex-direction: column !important; /* תמונה מעל טקסט */
        text-align: center !important;
        gap: 25px !important;
    }

    .profile-container img {
        width: 180px !important;
        height: 180px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        object-fit: cover !important;
    }

    .profile-text {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
    }

    /* --- 5. Testimonials Section --- */
    .testimonials-section {
        padding: 40px 20px !important;
    }

    .testimonials-section .section-title {
        font-size: 7.5vw !important;
        white-space: nowrap !important;
        letter-spacing: 1px !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }

    .testimonial-container {
        max-width: 100% !important;
        width: 100% !important;
        min-height: auto !important;
    }

    .testimonial {
        padding: 25px 15px !important;
        border-radius: 12px !important;
        width: 100% !important;
    }

    .testimonial p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }

    /* --- 6. Audio Player Elements --- */
    .audio-player {
        padding: 12px 15px !important;
    }

    .play-pause-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    .track-name {
        font-size: 0.9rem !important;
    }

    .visualizer {
        display: flex !important;
        height: 18px !important;
    }

} /* סוף ה-Media Query של 1024px */


/* ============================================================
   תוספות למכשירים קטנים במיוחד (iPhone SE)
   ============================================================ */
@media (max-width: 370px) {
    .transformation-section .section-title,
    .testimonials-section .section-title {
        font-size: 6.5vw !important;
    }
    
    .genre-name {
        display: none !important; /* חוסך מקום בנגן */
    }
}