/* GLOBAL STYLES */
:root {
    --accent-color: #a0f502;
    --primary-color: #333;
    --secondary-color: #666;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e5e5e5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Apple SD Gothic Neo', '맑은 고딕', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

section {
    padding: 80px 0;
}

/* HEADER STYLES */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    z-index: 100;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* HERO SECTION */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--secondary-color);
}

/* SERVICES SECTION */
.services {
    background-color: var(--bg-light);
}

.services h2, .services .section-desc {
    text-align: center;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: var(--text-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    background-color: rgba(160, 245, 2, 0.1);
    border-radius: 50%;
}

.service-icon img {
    width: 50px;
    height: 50px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ABOUT SECTION */
.about {
    background-color: var(--bg-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.about-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.about-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* CTA SECTION */
.cta {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta .btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* TESTIMONIALS SECTION */
.testimonials {
    background-color: var(--bg-light);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 50px;
}

.testimonials-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding-bottom: 30px;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    min-width: 300px;
}

.testimonial-content {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(160, 245, 2, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    margin-top: 20px;
}

/* CONTACT SECTION */
.contact {
    background-color: var(--bg-white);
}

.contact h2, .contact > p {
    text-align: center;
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    flex: 0 0 300px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
}

/* FOOTER STYLES */
footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

/* BLOG STYLES */
.blog-hero {
    padding: 160px 0 80px;
    text-align: center;
    background-color: var(--bg-light);
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-excerpt {
    margin-bottom: 15px;
}

.read-more {
    font-weight: 500;
    color: var(--accent-color);
}

.blog-subscribe {
    background-color: var(--bg-light);
    text-align: center;
    padding: 60px 0;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

/* ARTICLE STYLES */
.blog-article {
    padding: 140px 0 80px;
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.article-meta {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p, .article-content ul, .article-content ol {
    margin-bottom: 20px;
}

.article-content ul li, .article-content ol li {
    margin-bottom: 10px;
}

.article-share {
    margin: 50px 0;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-share a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--accent-color);
}

.related-posts {
    margin-top: 60px;
}

.related-posts h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.related-post {
    display: block;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 15px;
    font-size: 16px;
    transition: var(--transition);
}

.related-post:hover h4 {
    color: var(--accent-color);
}

/* LEGAL PAGES */
.legal {
    padding: 140px 0 80px;
}

.legal h1 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

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

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* THANKS PAGE */
.thanks-section {
    padding: 160px 0 80px;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.thanks-icon {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-white);
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    
    .subscribe-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .services-grid, .blog-grid, .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
}
