/**
 * responsive.css - 반응형 스타일시트
 * 소리튠 영어 (Soritune English)
 *
 * Breakpoints:
 * - Mobile: < 576px
 * - Tablet: 576px - 992px
 * - Desktop: 992px - 1200px
 * - Large Desktop: > 1200px
 */

/* ==========================================================================
   Mobile First - Base Styles (< 576px)
   ========================================================================== */

/* Typography for Mobile */
h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

/* Section */
.section {
    padding: var(--space-2xl) 0;
}

.section-title {
    font-size: var(--font-size-2xl);
}

.section-desc {
    font-size: var(--font-size-base);
}

/* Grid - Mobile Stack */
.grid-2,
.grid-3,
.grid-4 {
    grid-template-columns: 1fr;
}

/* Footer Grid Mobile */
.footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
}

.footer-brand {
    max-width: 100%;
    margin-bottom: var(--space-xl);
}

.footer-social {
    justify-content: center;
}

.footer-links,
.footer-contact {
    margin-bottom: var(--space-lg);
}

.contact-list {
    justify-content: center;
}

.contact-list li {
    justify-content: center;
}

/* ==========================================================================
   Small Tablets (>= 576px)
   ========================================================================== */
@media (min-width: 576px) {
    /* Typography */
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    /* Grid 2 columns on small tablets */
    .grid-2,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer Grid */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .contact-list li {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Tablets (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
    /* Section */
    .section {
        padding: var(--space-3xl) 0;
    }

    /* Grid 3 columns */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   Large Tablets / Small Desktop (>= 992px)
   ========================================================================== */
@media (min-width: 992px) {
    /* Typography */
    h1 { font-size: var(--font-size-5xl); }
    h2 { font-size: var(--font-size-4xl); }
    h3 { font-size: var(--font-size-3xl); }
    h4 { font-size: var(--font-size-2xl); }

    /* Section */
    .section {
        padding: var(--space-4xl) 0;
    }

    .section-title {
        font-size: var(--font-size-4xl);
    }

    .section-desc {
        font-size: var(--font-size-lg);
    }

    /* Header */
    .header-top {
        display: block;
    }

    .header-main {
        padding: var(--space-lg) 0;
    }

    /* Navigation */
    .main-nav {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
    }

    /* CTA Button */
    .btn-cta {
        display: inline-flex;
    }

    /* Grid */
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    }

    .footer-brand {
        max-width: 280px;
    }
}

/* ==========================================================================
   Desktop (>= 1200px)
   ========================================================================== */
@media (min-width: 1200px) {
    /* Typography */
    h1 { font-size: var(--font-size-6xl); }

    /* Container */
    .container {
        padding: 0 var(--space-xl);
    }

    /* Header */
    .nav-list {
        gap: var(--space-2xl);
    }
}

/* ==========================================================================
   Large Desktop (>= 1400px)
   ========================================================================== */
@media (min-width: 1400px) {
    .container-lg {
        max-width: var(--container-lg);
    }
}

/* ==========================================================================
   Hero Section Responsive
   ========================================================================== */

/* Mobile */
.hero-section {
    padding: var(--space-2xl) 0;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
}

.hero-buttons .btn {
    width: 100%;
}

.hero-image {
    margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
    .hero-section {
        padding: var(--space-3xl) 0;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: auto;
    }
}

@media (min-width: 992px) {
    .hero-section {
        padding: var(--space-4xl) 0;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
        align-items: center;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: var(--font-size-5xl);
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-image {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: var(--font-size-6xl);
    }
}

/* ==========================================================================
   Slider Responsive
   ========================================================================== */
.slider-container {
    overflow: hidden;
}

.slider-item {
    min-height: 400px;
    padding: var(--space-2xl);
}

.slider-content {
    text-align: center;
}

.slider-title {
    font-size: var(--font-size-2xl);
}

.slider-desc {
    font-size: var(--font-size-base);
}

@media (min-width: 768px) {
    .slider-item {
        min-height: 500px;
        padding: var(--space-3xl);
    }

    .slider-title {
        font-size: var(--font-size-3xl);
    }

    .slider-desc {
        font-size: var(--font-size-lg);
    }
}

@media (min-width: 992px) {
    .slider-item {
        min-height: 600px;
        padding: var(--space-4xl);
    }

    .slider-content {
        text-align: left;
        max-width: 600px;
    }

    .slider-title {
        font-size: var(--font-size-5xl);
    }
}

/* ==========================================================================
   Feature Cards Responsive
   ========================================================================== */
.feature-card {
    padding: var(--space-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: var(--font-size-lg);
}

@media (min-width: 768px) {
    .feature-card {
        padding: var(--space-xl);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon svg {
        width: 35px;
        height: 35px;
    }
}

@media (min-width: 992px) {
    .feature-card {
        padding: var(--space-2xl);
    }

    .feature-icon {
        width: 80px;
        height: 80px;
    }

    .feature-icon svg {
        width: 40px;
        height: 40px;
    }

    .feature-title {
        font-size: var(--font-size-xl);
    }
}

/* ==========================================================================
   Blog Cards Responsive
   ========================================================================== */
.blog-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 576px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
}

/* ==========================================================================
   Team Section Responsive
   ========================================================================== */
.team-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Contact Form Responsive
   ========================================================================== */
.contact-grid {
    display: grid;
    gap: var(--space-2xl);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   FAQ Responsive
   ========================================================================== */
.faq-item {
    padding: var(--space-md);
}

.faq-question {
    font-size: var(--font-size-base);
}

@media (min-width: 768px) {
    .faq-item {
        padding: var(--space-lg);
    }

    .faq-question {
        font-size: var(--font-size-lg);
    }
}

/* ==========================================================================
   Testimonials Responsive
   ========================================================================== */
.testimonial-card {
    padding: var(--space-lg);
}

.testimonial-text {
    font-size: var(--font-size-base);
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: var(--space-xl);
    }

    .testimonial-text {
        font-size: var(--font-size-lg);
    }
}

/* ==========================================================================
   Price Cards Responsive
   ========================================================================== */
.pricing-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Page Header Responsive
   ========================================================================== */
.page-header {
    padding: var(--space-2xl) 0;
}

.page-title {
    font-size: var(--font-size-3xl);
}

@media (min-width: 768px) {
    .page-header {
        padding: var(--space-3xl) 0;
    }

    .page-title {
        font-size: var(--font-size-4xl);
    }
}

@media (min-width: 992px) {
    .page-header {
        padding: var(--space-4xl) 0;
    }

    .page-title {
        font-size: var(--font-size-5xl);
    }
}

/* ==========================================================================
   Back to Top Button Responsive
   ========================================================================== */
.back-to-top {
    width: 40px;
    height: 40px;
    bottom: var(--space-md);
    right: var(--space-md);
}

@media (min-width: 768px) {
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: var(--space-xl);
        right: var(--space-xl);
    }
}

/* ==========================================================================
   Utility Classes - Mobile Display
   ========================================================================== */
.hide-mobile {
    display: none;
}

.show-mobile {
    display: block;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }

    .show-mobile {
        display: none;
    }
}

.hide-tablet {
    display: block;
}

.show-tablet {
    display: none;
}

@media (min-width: 768px) and (max-width: 991px) {
    .hide-tablet {
        display: none;
    }

    .show-tablet {
        display: block;
    }
}

.hide-desktop {
    display: block;
}

.show-desktop {
    display: none;
}

@media (min-width: 992px) {
    .hide-desktop {
        display: none;
    }

    .show-desktop {
        display: block;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .mobile-nav {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
}
