/* 
 * HSRP Agrotech - Responsive Styles
 * 
 * Mobile-first responsive design with media queries
 */

/* ========================================
   RESPONSIVE Typography
   ======================================== */
@media (max-width: 767px) {
    html {
        font-size: 14px;
        /* Slightly smaller base on mobile */
    }
}

/* ========================================
   CONTAINER Adjustments
   ======================================== */
@media (max-width: 640px) {
    .container {
        --container-padding: var(--space-4);
    }
}

@media (min-width: 1440px) {
    .container {
        --container-max-width: 1440px;
    }
}

/* ========================================
   SECTION Spacing
   ======================================== */
@media (max-width: 767px) {
    .section {
        padding-top: var(--space-12);
        padding-bottom: var(--space-12);
    }
}

/* ========================================
   BUTTONS Responsive
   ======================================== */
@media (max-width: 640px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   GRID Responsive
   ======================================== */
@media (max-width: 640px) {

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HERO Section Responsive
   ======================================== */
@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: var(--space-16) 0;
    }

    .hero__scroll {
        display: none;
    }
}

/* ========================================
   SERVICE CARDS Responsive
   ======================================== */
@media (max-width: 640px) {
    .service-card {
        padding: var(--space-6);
    }

    .service-card__icon {
        width: 64px;
        height: 64px;
    }
}

/* ========================================
   PRODUCT CARDS Responsive
   ======================================== */
@media (max-width: 767px) {
    .product-card__content {
        padding: var(--space-4);
    }
}

/* ========================================
   TIMELINE Responsive
   ======================================== */
@media (max-width: 767px) {
    .timeline__line {
        display: none;
        /* Hide connecting line on mobile */
    }

    .timeline-item {
        padding-left: 0;
    }

    .timeline-item__dot {
        position: relative;
        margin-bottom: var(--space-4);
    }
}

/* ========================================
   STATISTICS Responsive
   ======================================== */
@media (max-width: 640px) {
    .stat-box__value {
        font-size: var(--font-size-4xl);
    }
}

/* ========================================
   CTA SECTION Responsive
   ======================================== */
@media (max-width: 767px) {
    .cta-section {
        padding: var(--space-12) var(--container-padding);
    }

    .cta-section__title {
        font-size: var(--font-size-3xl);
    }
}

/* ========================================
   ACCESSIBILITY - Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero__scroll {
        animation: none;
    }
}

/* ========================================
   PRINT Styles
   ======================================== */
@media print {

    .site-header,
    .site-footer,
    .hero__scroll,
    .mobile-menu-toggle,
    .header-actions,
    .cta-section {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}