/**
 * C&D GUDAS - Responsive Styles
 */

/* ========================================
   Tablet (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
        --header-height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .hero-split {
        flex-direction: column;
    }

    .hero-content {
        order: 1;
        padding: var(--spacing-lg);
    }

    .hero-image {
        order: 2;
        min-height: 40vh;
    }

    .hero-tagline {
        font-size: 1.75rem;
    }

    /* Full width hero responsive */
    .hero-fullwidth {
        min-height: 80vh;
    }

    .hero-overlay {
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(255, 255, 255, 0.8) 40%,
                rgba(255, 255, 255, 0.4) 70%,
                rgba(255, 255, 255, 0) 100%);
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .sub-nav {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-popup-nav {
        padding-left: var(--spacing-md);
    }

    .menu-popup-nav a {
        font-size: 1.25rem;
    }
}

/* ========================================
   Mobile (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --header-height: 60px;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.25rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    /* Full width hero mobile */
    .hero-fullwidth {
        min-height: 70vh;
        background-position: right center;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .image-grid-2,
    .image-grid-3 {
        grid-template-columns: 1fr;
    }

    .menu-popup-nav a {
        font-size: 1.125rem;
    }

    .menu-popup-nav ul {
        gap: var(--spacing-xs);
    }

    .header-logo .logo {
        height: 30px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .menu-toggle .menu-icon {
        width: 24px;
        height: 24px;
    }

    .home-about-section {
        padding: var(--spacing-lg) 0;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .footer-contact p,
    .footer-address p {
        font-size: 0.75rem;
    }

    .site-footer {
        padding: var(--spacing-md) 0;
    }
}

/* ========================================
   Small Mobile (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: var(--spacing-md);
        padding-top: calc(var(--header-height) + var(--spacing-md));
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {

    .site-header,
    .menu-popup,
    .back-to-top,
    .lightbox {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .site-main {
        padding-top: 0;
    }

    .page-header {
        padding-top: 0;
    }

    a {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}