/* ==========================================================================
   HAYA PROMOTIONS - RESPONSIVE STYLESHEET
   Handles breakpoints down to 360px
   ========================================================================== */

/* Large Desktop (Up to 1440px) */
@media (max-width: 1440px) {
    .floating-card.card-pub { left: -10px; }
    .floating-card.card-podcast { right: -10px; }
}

/* Desktop & Laptop (Up to 1280px) */
@media (max-width: 1280px) {
    .hero-wrapper { padding: 140px 0 80px; }
    .floating-card { padding: 14px; width: 220px !important; }
}

/* Laptop / Small Desktop (Up to 1024px) */
@media (max-width: 1024px) {
    .timeline-node { width: 30%; margin-bottom: 20px; }
    .timeline-line { display: none; }
    .timeline-steps { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* Tablet (Up to 991px) */
@media (max-width: 991px) {
    .navbar-collapse-haya {
        background: var(--secondary-navy);
        border: 1px solid var(--border-light);
        border-radius: 16px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-card);
    }
    
    .hero-wrapper {
        text-align: center;
        padding: 120px 0 60px;
    }
    
    .hero-visual-wrapper {
        margin-top: 50px;
        min-height: 380px;
    }

    .process-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-container {
        flex-direction: column;
        gap: 20px;
    }

    .ecosystem-node {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 5px;
    }
}

/* Mobile Landscape & Medium Tablet (Up to 768px) */
@media (max-width: 768px) {
    .process-flow-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .timeline-node {
        width: 100%;
    }

    .footer-haya {
        padding: 60px 0 20px;
    }
    
    .floating-card {
        display: none; /* Hide floating cards on small screens for visual clarity */
    }

    .card-center-icon {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
}

/* Small Mobile (Up to 576px) */
@media (max-width: 576px) {
    .btn-haya-primary, .btn-haya-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .popup-box-haya {
        padding: 24px;
    }
}

/* Extra Small Screens (360px to 430px) */
@media (max-width: 430px) {
    body {
        font-size: 15px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .eyebrow-tag {
        font-size: 0.72rem;
    }

    .haya-card {
        padding: 20px;
    }
}
