/* ¹ÝÀÀÇü µðÀÚÀÎ Ãß°¡ ½ºÅ¸ÀÏ */

/* ¸ð¹ÙÀÏ ÃÖÀûÈ­ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .features h2,
    .recent-posts h2,
    .cta h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .post-card {
        margin-bottom: 1rem;
    }
    
    .board-item {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ÅÂºí¸´ ÃÖÀûÈ­ */
@media (min-width: 481px) and (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* µ¥½ºÅ©Åé ÃÖÀûÈ­ */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
    
    .hamburger {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Å« È­¸é ÃÖÀûÈ­ */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .features h2,
    .recent-posts h2,
    .cta h2 {
        font-size: 3rem;
    }
}

/* ÀÎ¼â ½ºÅ¸ÀÏ */
@media print {
    .header,
    .footer,
    .btn,
    .hamburger {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .post-card,
    .board-item {
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* Á¢±Ù¼º °³¼± */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ´ÙÅ© ¸ðµå Áö¿ø */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .header {
        background: #2d2d2d;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .nav-link {
        color: #e0e0e0;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #4a9eff;
    }
    
    .feature-card,
    .post-card,
    .board-item,
    .contact-item,
    .contact-form-wrapper,
    .board-controls,
    .post-detail {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .form-input,
    .form-select,
    .form-group input,
    .form-group textarea {
        background: #3d3d3d;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .page-link {
        background: #2d2d2d;
        color: #e0e0e0;
        border-color: #555;
    }
    
    .page-link:hover,
    .page-link.active {
        background: #4a9eff;
        color: white;
    }
}
