/* ============================================
   GLAM SEOUL - Responsive Styles
   Mobile & Tablet Optimization
   ============================================ */

/* ========== TABLET (1024px and below) ========== */
@media screen and (max-width: 1024px) {
    /* Typography adjustments */
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    /* Section padding */
    .section {
        padding: 70px 0;
    }
    
    /* Business grid */
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Network grid */
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact content */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Footer content */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* ========== TABLET PORTRAIT (768px and below) ========== */
@media screen and (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-subtitle-kr {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .keywords {
        font-size: 1.1rem;
    }
    
    /* Section padding */
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-icon {
        font-size: 2.5rem;
    }
    
    /* Header */
    #header .container {
        padding: 15px 20px;
    }
    
    .logo a {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 40px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* Hero adjustments */
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 80px 0 50px;
    }
    
    /* Brands grid */
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-card {
        height: 350px;
    }
    
    /* Products grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image {
        height: 150px;
    }
    
    /* Business card adjustments */
    .business-card {
        padding: 30px;
    }
    
    .business-number {
        font-size: 3rem;
        top: 15px;
        right: 20px;
    }
    
    /* Vision box */
    .vision-box {
        padding: 30px;
    }
    
    .vision-box h3 {
        font-size: 1.5rem;
    }
    
    .vision-box p {
        font-size: 1rem;
    }
}

/* ========== MOBILE (576px and below) ========== */
@media screen and (max-width: 576px) {
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-subtitle-kr {
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-description p {
        padding: 0 10px;
    }
    
    .keywords {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    /* Section padding */
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-icon {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Business cards */
    .business-card {
        padding: 25px;
    }
    
    .business-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .business-number {
        font-size: 2.5rem;
        top: 10px;
        right: 15px;
    }
    
    .business-card h3 {
        font-size: 1.2rem;
    }
    
    .business-card p {
        font-size: 0.95rem;
    }
    
    .business-features {
        gap: 8px;
    }
    
    .business-features span {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    /* Brands */
    .brand-card {
        height: 300px;
        padding: 30px 20px;
    }
    
    .brand-card h3 {
        font-size: 1.4rem;
    }
    
    .brand-card p {
        font-size: 1rem;
    }
    
    .brand-features span {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-overlay {
        font-size: 2.5rem;
    }
    
    .product-category h3 {
        font-size: 1.2rem;
        padding: 15px;
    }
    
    .product-category p {
        padding: 0 15px 15px;
    }
    
    .product-certification {
        padding: 30px 20px;
    }
    
    .cert-content i {
        font-size: 2.5rem;
    }
    
    .cert-content p {
        font-size: 1rem;
    }
    
    /* Network */
    .network-card {
        padding: 30px 20px;
    }
    
    .network-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .network-list {
        gap: 8px;
    }
    
    .network-list span {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .network-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .highlight {
        font-size: 2.5rem;
    }
    
    /* Contact */
    .contact-item {
        gap: 15px;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-stores {
        padding: 30px 20px;
    }
    
    .contact-stores h3 {
        font-size: 1.3rem;
    }
    
    .store-btn {
        padding: 15px;
        font-size: 1rem;
    }
    
    .store-btn i {
        font-size: 1.3rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-about h3 {
        font-size: 1.3rem;
    }
    
    .footer-links h4,
    .footer-social h4 {
        font-size: 1.1rem;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Scroll to top */
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
    
    /* About content */
    .about-main h3 {
        font-size: 1.3rem;
    }
    
    .about-main p {
        font-size: 1rem;
    }
}

/* ========== SMALL MOBILE (400px and below) ========== */
@media screen and (max-width: 400px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-subtitle-kr {
        font-size: 0.85rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .business-number {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .network-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ========== LANDSCAPE MOBILE ========== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .hero-description {
        margin-bottom: 15px;
    }
    
    .hero-tagline {
        margin: 20px 0;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .mobile-toggle,
    .scroll-top,
    .scroll-indicator,
    #header,
    .footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        background: white;
        color: black;
    }
}