/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #FF6B35;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e55a2b;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-accept,
.btn-necessary,
.btn-custom,
.btn-save,
.btn-close {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #FF6B35;
    color: white;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #FF6B35;
    border: 2px solid #FF6B35;
}

.btn-secondary:hover {
    background-color: #FF6B35;
    color: white;
}

.btn-accept {
    background-color: #4CAF50;
    color: white;
}

.btn-necessary {
    background-color: #2196F3;
    color: white;
}

.btn-custom {
    background-color: #9E9E9E;
    color: white;
}

.btn-save {
    background-color: #FF6B35;
    color: white;
}

.btn-close {
    background-color: #757575;
    color: white;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B35;
}

.nav-brand svg {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FF6B35;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-content p {
    color: white;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-category input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons .btn-primary {
    background-color: white;
    color: #FF6B35;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background-color: white;
    color: #FF6B35;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Menu Preview Section */
.menu-preview {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.menu-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FF6B35;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.review-stars {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #FF6B35;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: #FF6B35;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: white;
    transition: color 0.3s ease;
}

.footer-column a:hover,
.footer-column a.active {
    color: #FF6B35;
}

.footer-column p {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: white;
}

.footer-bottom p {
    color: white;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.blog-articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-date {
    color: #666;
}

.article-category {
    background-color: #FF6B35;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.article-card h2 {
    margin-bottom: 1rem;
}

.article-card h2 a {
    color: #2c3e50;
    text-decoration: none;
}

.article-card h2 a:hover {
    color: #FF6B35;
}

.read-more {
    color: #FF6B35;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Article Page Styles */
.article-page {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 3rem;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #FF6B35;
}

.article-intro {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.article-content {
    line-height: 1.8;
}

.article-content section {
    margin-bottom: 3rem;
}

.article-content h2 {
    border-bottom: 3px solid #FF6B35;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    color: #FF6B35;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.article-content ul, .article-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-footer {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-share {
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.share-btn.facebook {
    background-color: #4267B2;
}

.share-btn.twitter {
    background-color: #1DA1F2;
}

.share-btn.instagram {
    background-color: #E4405F;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    background-color: #FF6B35;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.nav-btn:hover {
    background-color: #e55a2b;
}

/* Related Articles */
.related-articles {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.related-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.related-card h3 a:hover {
    color: #FF6B35;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.last-updated {
    color: #666;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #FF6B35;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: #FF6B35;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-footer {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-top: 3rem;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    text-align: center;
}

.thank-you .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.thank-you-content {
    text-align: left;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-details {
    margin: 2rem 0;
}

.thank-you-details ul {
    margin-left: 2rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-info-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-info-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container,
    .about-content,
    .contact-grid,
    .thank-you .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .services-grid,
    .menu-grid,
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons,
    .thank-you-actions {
        flex-direction: column;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .services,
    .about,
    .menu-preview,
    .reviews,
    .newsletter,
    .contact,
    .blog-articles {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .menu-grid,
    .reviews-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
    }
    
    .article-page {
        padding: 100px 0 60px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-consent,
    .cookie-modal,
    .share-buttons,
    .article-navigation {
        display: none;
    }
    
    .article-page,
    .legal-page {
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
    
    .btn-primary {
        background-color: #000;
        border: 2px solid #fff;
    }
}
