/* ===================================
   MSE Blog hp - Responsive Styles
   Mobile-First Approach
   ================================== */

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .nav-menu {
        gap: var(--space-2xl);
    }
    
    .nav-menu li a {
        font-size: var(--text-xl);
    }
    
    /* Old site-title removed */
    
    .stories-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .merchandise-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .studio-showcase {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .additional-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Promotional Content - Tablet */
    .fear-promo-image {
        max-height: 250px; /* Medium size on tablet */
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .merchandise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .additional-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-content {
        max-width: 900px;
    }
    
    /* Promotional Content - Desktop */
    .fear-promo-image {
        max-height: 350px; /* Full size on desktop */
    }
}

/* Large Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--space-xl);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-item img {
        height: 300px;
    }
}

/* Mobile-Specific Styles (767px and down) */
@media (max-width: 767px) {
    /* Typography scaling for mobile */
    :root {
        --text-8xl: 2.5rem;     /* 40px - reduced from 96px */
        --text-7xl: 2rem;       /* 32px */
        --text-6xl: 1.75rem;    /* 28px */
        --text-5xl: 1.5rem;     /* 24px */
        --text-4xl: 1.375rem;   /* 22px */
        --text-3xl: 1.25rem;    /* 20px */
        --text-2xl: 1.125rem;   /* 18px */
    }
    
    /* Navigation */
    .nav-menu {
        flex-wrap: wrap;
        gap: var(--space-md);
        justify-content: center;
    }
    
    .nav-menu li a {
        font-size: var(--text-base);
        padding: var(--space-xs) var(--space-sm);
    }
    
    /* Hero Section */
    .hero-section {
        padding: var(--space-lg) 0;
        min-height: 80vh;
    }
    
    /* Old site-title styles removed */
    
    .hero-image {
        margin: var(--space-lg) 0;
    }
    
    /* Hero Overlay - Mobile */
    .hero-title {
        font-family: var(--font-headings);
        font-size: var(--text-4xl);
        line-height: 1.1;
        font-weight: normal;
    }
    
    .hero-subtitle {
        font-family: var(--font-subheadings);
        font-size: var(--text-lg);
        font-weight: 400;
    }
    
    .enter-button {
        font-size: var(--text-lg);
        padding: var(--space-sm) var(--space-lg);
    }
    
    /* Content Sections */
    .blog-categories-section,
    .brand-section,
    .merchandise-section,
    .studio-booking-section {
        padding: var(--space-xl) 0;
    }
    
    .section-title {
        font-size: var(--text-5xl);
        margin-bottom: var(--space-xl);
    }
    
    /* Stories and Quote sections removed */
    
    /* Brand Section */
    .brand-text {
        font-size: var(--text-lg);
        text-align: left;
    }
    
    .additional-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .additional-content p {
        font-size: var(--text-base);
        text-align: left;
    }
    
    /* Promotional Content */
    .promotional-content {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
    }
    
    .fear-promo-image {
        max-height: 200px; /* Smaller on mobile */
        margin-bottom: var(--space-sm);
    }
    
    .fear-promo-button {
        font-size: var(--text-base); /* Smaller button text on mobile */
        padding: var(--space-sm) var(--space-lg);
    }
    
    /* Merchandise Section */
    .merchandise-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-lg);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .categories-title {
        font-size: var(--text-4xl);
    }
    
    .category-item img {
        height: 180px;
    }
    
    .category-name {
        font-size: var(--text-lg);
    }
    
    .merchandise-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .merchandise-item img {
        height: 250px;
    }
    
    .studio-showcase {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .booking-title {
        font-size: var(--text-4xl);
    }
    
    .booking-tagline {
        font-size: var(--text-lg);
    }
    
    .studio-item img {
        height: 250px;
    }
    
    .booking-button {
        font-size: var(--text-lg);
        padding: var(--space-md) var(--space-lg);
    }
    
}

/* Extra Small Mobile (480px and down) */
@media (max-width: 480px) {
    :root {
        --space-2xl: 2rem;
        --space-xl: 1.5rem;
        --space-lg: 1rem;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    /* Old site-title removed */
    
    .hero-section {
        min-height: 70vh;
        padding: var(--space-md) 0;
    }
    
    .section-title {
        font-size: var(--text-4xl);
    }
    
    /* Story styles removed */
    
    .gallery-item img {
        height: 180px;
    }
    
    .merchandise-item img {
        height: 220px;
    }
    
    .studio-item img {
        height: 220px;
    }
    
    .booking-title {
        font-size: var(--text-3xl);
    }
}

/* Landscape Phone Orientation */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
    }
    
    /* Old site-title removed */
    
    .blog-categories-section,
    .brand-section,
    .merchandise-section,
    .studio-booking-section {
        padding: var(--space-lg) 0;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    /* Optimize font rendering for high DPI screens */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .site-header {
        min-height: auto;
        background: white !important;
        color: black !important;
    }
    
    .main-navigation,
    .enter-button,
    .social-links {
        display: none;
    }
    
    .hero-main-image,
    .gallery-item img {
        max-width: 100%;
        height: auto;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    p {
        orphans: 3;
        widows: 3;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .social-link:hover {
        transform: none;
    }
}

/* Dark Mode Support - Disabled: site is already dark-themed */
