/* ========================================
   Responsive Styles - Mobile First
   ======================================== */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {

    /* Typography adjustments */
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Header */
    .header-top {
        font-size: 0.85rem;
    }

    .header-top-content {
        justify-content: center;
        text-align: center;
    }

    .header-contact {
        justify-content: center;
        width: 100%;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .logo-tagline {
        font-size: 0.8rem;
    }

    /* Navigation - Mobile Menu */
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 500px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: var(--spacing-sm) 0;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .main-nav a {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-cta {
        margin: var(--spacing-sm) var(--spacing-md);
        display: block;
        text-align: center;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Sections */
    .section {
        padding: var(--spacing-lg) 0;
    }

    .section-lg {
        padding: var(--spacing-xl) 0;
    }

    /* Grid adjustments */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container,
    .container-wide {
        padding: 0 var(--spacing-sm);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        min-height: 400px;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .card {
        padding: var(--spacing-sm);
    }
}

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .container-wide {
        max-width: 1600px;
    }
}

/* Hover effects only on non-touch devices */
@media (hover: hover) {
    .card:hover {
        transform: translateY(-8px);
    }

    .btn:hover {
        transform: translateY(-3px);
    }
}

/* Print styles */
@media print {

    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .hero-buttons,
    .nav-cta {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}