@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1180px;
    margin: 0 auto;
    background-color: #ffffff;
}

.container {
    padding: 0 20px;
    max-width: 1140px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Noto Sans KR', 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Block 1: Hero Section */
#hero {
    background: linear-gradient(135deg, #ff4757 0%, #2f3542 100%);
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

#hero p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2f3542;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
    border-color: #ffffff;
    background: #ffffff;
    color: #ff4757;
}

/* Block Styling with Korean-inspired Colors */
#reviews {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    padding: 80px 0;
    color: #ffffff;
}

#reviews h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
}

#products {
    background: #f8f9fa;
    padding: 80px 0;
    color: #2d3436;
}

#products h2 {
    color: #2d3436;
    text-align: center;
}

#products h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff4757;
    border-radius: 2px;
}

#specialists {
    background: linear-gradient(135deg, #2d3436, #636e72);
    padding: 80px 0;
    color: #ffffff;
}

#specialists h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #00b894;
    border-radius: 2px;
}

#subscribe {
    background: linear-gradient(135deg, #00b894, #00a085);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

#subscribe h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
}

#contact {
    background: #ffffff;
    padding: 80px 0;
    color: #2d3436;
}

#contact h2 {
    color: #2d3436;
    text-align: center;
    margin-bottom: 3rem;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #74b9ff;
    border-radius: 2px;
}

/* Grid Layouts */
.reviews-grid,
.products-grid,
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

/* Review Cards */
.review {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #ffd700;
}

.review h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.rating {
    color: #ffd700;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Product Cards */
.product {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff4757, #ffd700, #74b9ff);
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #ff4757;
}

.product h3 {
    color: #2d3436;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.product li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.product li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff4757;
    margin-top: 1.5rem;
}

/* Article Styling */
.topic-article {
    background: linear-gradient(135deg, #2d3436, #636e72);
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
    border-left: 8px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.topic-article::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.topic-article h3 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.topic-article p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Specialist Cards */
.specialist {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.specialist:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #00b894;
}

.specialist h3 {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.specialist strong {
    color: #00b894;
}

/* Form Styling */
.subscribe-form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3436;
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: #ffd700;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.subscribe-form button {
    padding: 18px 35px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2d3436;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 150px;
}

.subscribe-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    background: #ffffff;
    color: #00b894;
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-info strong {
    color: #ff4757;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid #f8f9fa;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
#copyright {
    background: #2d3436;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        margin: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    #hero {
        min-height: 450px;
        padding: 40px 0;
    }

    #hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .reviews-grid,
    .products-grid,
    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product {
        padding: 30px 20px;
    }

    .price {
        font-size: 2rem;
    }

    .topic-article {
        padding: 30px 20px;
        margin-top: 30px;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input[type="email"] {
        width: 100%;
        min-width: auto;
        margin-bottom: 15px;
    }

    .subscribe-form button {
        width: 100%;
        min-width: auto;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Adjust section padding for mobile */
    #reviews,
    #products,
    #specialists,
    #subscribe,
    #contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    #hero h2 {
        font-size: 1.4rem;
    }

    .review,
    .specialist {
        padding: 20px;
    }

    .product {
        padding: 25px 15px;
    }

    .topic-article {
        padding: 25px 15px;
    }

    .topic-article h3 {
        font-size: 1.4rem;
    }

    .price {
        font-size: 1.8rem;
    }
}
