/* ==========================================================================
   SHIV KRUPA DUDH DAIRY - Responsiveness Stylesheet
   ========================================================================== */

/* 1. Media Queries for Laptops & Small Desktops (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .intro-grid {
        gap: 2.5rem;
    }
    
    .contact-grid {
        gap: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* 2. Media Queries for Tablets (max-width: 768px) */
@media screen and (max-width: 768px) {
    .section-padding {
        padding: 4.5rem 0;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 2px solid var(--light-gray);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Grid adjustments */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .intro-img-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    /* Timeline adjustments */
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
        right: auto;
    }
    
    .right {
        left: 0%;
    }
}

/* 3. Media Queries for Mobile Phones (max-width: 480px) */
@media screen and (max-width: 480px) {
    .section-padding {
        padding: 3.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .logo-text {
        font-size: 1.15rem;
    }
    
    .logo-text span {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .cta-flex {
        text-align: center;
        justify-content: center;
    }
    
    .cta-text h2 {
        font-size: 1.75rem;
    }
    
    .intro-experience-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
    }
    
    .intro-experience-badge h3 {
        font-size: 1.5rem;
    }
}
