/* ============================================
   Responsive Styles - Nova Scotia Blooming Church
   ============================================ */

/* Tablet and Below (max-width: 1024px) */
@media (max-width: 1024px) {
    .header-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: var(--spacing-sm);
    }

    .nav-menu li a {
        font-size: 0.9rem;
        padding: var(--spacing-xs);
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile and Below (max-width: 768px) */
@media (max-width: 768px) {

    /* Hide desktop navigation */
    .main-nav {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Show mobile navigation */
    .mobile-nav {
        display: block;
    }

    /* Header adjustments */
    .header-container {
        padding: var(--spacing-sm);
    }

    .logo-image {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text .tagline {
        font-size: 0.65rem;
    }

    /* Hero adjustments */
    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-columns {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    /* Spacing adjustments */
    .section {
        padding: var(--spacing-xl) 0;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 0.95rem;
    }

    .logo-text .tagline {
        display: none;
    }

    .hero {
        height: 400px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Ensure navigation stays on one line on larger screens */
@media (min-width: 769px) {
    .nav-menu {
        flex-wrap: nowrap;
    }

    .nav-menu li {
        flex-shrink: 0;
    }
}

/* Print styles */
@media print {

    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .mobile-nav {
        display: none;
    }

    .main-content {
        margin: 0;
    }
}