/* ============================================
   RESPONSIVE STYLES
   Mobile-first approach
   ============================================ */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: var(--font-size-4xl);
    }
    
    .slide-subtitle {
        font-size: var(--font-size-lg);
        font-weight: 600;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    :root {
        --header-height: 90px;
    }
    
    .hero-slider {
        height: 500px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-4);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Slider Mobile */
    .hero-slider {
        height: 350px;
    }
    
    .slide-content {
        padding: var(--space-4);
        max-width: 100%;
    }
    
    .slide-content .container {
        padding: 0 var(--space-4);
    }
    
    .slide-title {
        font-size: var(--font-size-xl);
        margin-bottom: var(--space-2);
        line-height: 1.2;
    }
    
    .slide-subtitle {
        font-size: var(--font-size-base);
        font-weight: 600;
        margin-bottom: var(--space-3);
        line-height: 1.4;
    }
    
    .slide .btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-sm);
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        font-size: var(--font-size-sm);
    }
    
    .slider-prev {
        left: var(--space-2);
    }
    
    .slider-next {
        right: var(--space-2);
    }
    
    /* Section Padding Mobile */
    .section-padding {
        padding: var(--space-12) 0;
    }
    
    /* Floating CTA Mobile */
    .floating-cta {
        bottom: var(--space-4);
        right: var(--space-4);
    }
    
    .cta-btn {
        width: 48px;
        height: 48px;
        font-size: var(--font-size-lg);
    }
    
    .cta-btn::before {
        display: none;
    }
    
    /* Footer Mobile */
    .footer-grid {
        gap: var(--space-8);
    }
    
    /* Blog Grid Mobile */
    .blog-grid {
        gap: var(--space-6);
    }
    
    /* Gallery Grid Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    /* Contact Page Mobile */
    .contact-form-wrapper,
    .contact-info {
        padding: var(--space-5);
    }
    
    .contact-info {
        order: -1;
    }
    
    /* Contact Info Grid - Mobile 2x2 */
    .info-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: var(--space-4) var(--space-3);
    }
    
    .info-icon {
        margin: 0 auto var(--space-2);
    }
    
    .info-content {
        align-items: center;
    }
    
    .info-label {
        font-size: var(--font-size-xs);
    }
    
    .info-value {
        font-size: var(--font-size-sm);
    }
}
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .hero-slider {
        height: 280px;
    }
    
    .slide-content {
        padding: var(--space-3);
    }
    
    .slide-content .container {
        padding: 0 var(--space-3);
    }
    
    .slide-title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-1);
    }
    
    .slide-subtitle {
        font-size: var(--font-size-sm);
        font-weight: 600;
        margin-bottom: var(--space-2);
    }
    
    .slide .btn {
        padding: var(--space-1) var(--space-3);
        font-size: var(--font-size-xs);
    }
    
    .section-header h2 {
        font-size: var(--font-size-2xl);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Blog Single Post Meta - Mobile */
    .post-meta {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
        font-size: var(--font-size-xs);
    }
    
    .post-meta span {
        margin: 0 !important;
    }
    
    /* Blog Grid Single Column Mobile */
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Blog Single Page Meta Styles */
.post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

@media (max-width: 576px) {
    .post-meta {
        gap: var(--space-2);
        font-size: var(--font-size-xs);
    }
}

/* Print Styles */
@media print {
    .site-header,
    .top-bar,
    .floating-cta,
    .site-footer,
    .hero-slider,
    .slider-prev,
    .slider-next {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .post-content {
        font-size: 11pt;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
