/* ===================================
   TruNav LLC Website - Responsive Styles
   =================================== */

/* ===================================
   Tablet & Below (1024px and down)
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

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

/* ===================================
   Tablet (768px and down)
   =================================== */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    /* Container */
    .container {
        padding: 0 var(--space-md);
    }

    /* Sections */
    section {
        padding: var(--space-3xl) 0;
    }

    /* Navigation */
    .logo-img {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-4xl) var(--space-xl) var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        width: 100%;
        padding: var(--space-md) 0;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    /* Mobile Menu Toggle Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Solutions */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .solution-image {
        height: 250px;
    }

    /* Industries */
    .industries-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* News Highlight */
    .news-content {
        flex-direction: column;
        text-align: center;
    }

    .award-badge {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Back to Top */
    .back-to-top {
        bottom: var(--space-lg);
        right: var(--space-lg);
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ===================================
   Mobile (480px and down)
   =================================== */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    /* Container */
    .container {
        padding: 0 var(--space-md);
    }

    /* Logo */
    .logo-img {
        height: 35px;
    }

    /* Sections */
    section {
        padding: var(--space-2xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    /* Hero */
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: var(--space-lg);
        font-size: 1.5rem;
    }

    /* Feature Cards */
    .feature-card {
        padding: var(--space-xl);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Solution Cards */
    .solution-content {
        padding: var(--space-xl);
    }

    .solution-image {
        height: 200px;
    }

    /* Industry Cards */
    .industry-card {
        padding: var(--space-xl);
    }

    .industry-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    /* Award Badge */
    .award-badge {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .client-logo {
        padding: var(--space-lg);
        min-height: 100px;
    }

    /* Back to Top */
    .back-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }

    /* Buttons */
    .btn {
        padding: var(--space-sm) var(--space-lg);
    }
}

/* ===================================
   Landscape Mobile
   =================================== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .scroll-indicator {
        display: none;
    }
}
