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

body {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    line-height: 1.6;
    color: #574d3f;
    background-color: #fff;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    background: #fff;
    border-bottom: 1px solid #d9d1c7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 100px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-img {
    height: 76px;
    width: auto;
}

.header-actions {
    display: flex;
    gap: 20px;
}

.highlight-badge {
    background: #fec00f;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 20px;
    color: #000;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: #574d3f;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.icon-btn:hover {
    background-color: #f5f5f5;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    /* background: linear-gradient(135deg, #f9f6f3 0%, #f5f1ed 100%); */
    background-image: url('/image/site/children_bg.png');
    background-size: cover;
    background-position: center;
    /* margin-bottom:500px; */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect width="1920" height="1080" fill="%23f9f6f3"/></svg>');
    background-size: cover;
    background-position: center; */
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(249, 246, 243, 0.9); */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: #fec00f;
    color: #000;
    padding: 12px 24px;
    border-radius: 27.5px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #574d3f;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 66px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin-bottom: 40px;
}

.hero-description {
    font-size: 20px;
    color: #574d3f;
    line-height: 1.6;
    max-width: 949px;
    margin: 0 auto;
}

/* Navigation Tabs */
.nav-tabs {
    background: #fff;
    border-bottom: 1px solid #d9d1c7;
    padding: 20px 0;
}

.tab-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.tab-link {
    text-decoration: none;
    color: #574d3f;
    font-weight: 700;
    font-size: 18px;
    padding: 20px 30px;
    border: 2px solid #574d3f;
    border-radius: 55px;
    transition: all 0.3s ease;
}

.tab-link:hover {
    background: #fec00f;
    color: #000;
}

.tab-divider {
    width: 1px;
    height: 20px;
    background: #574d3f;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    margin-top:60px;
}
.nav-link {
    text-decoration: none;
    color: #574d3f;
    font-weight: 700;
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #fec00f;
}
.nav-list > .nav-div {
    padding:0 40px;
    width:530px;
    height:70px;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    background-color: #fff;
    border-radius:50px;
    border:2px solid #574d3f;
}
.nav-list > .nav-div > a {
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    font-weight:700;
    color:#000;
    text-decoration:none;
    border-right: 1px solid #B2B2B2;
}
.nav-list > .nav-div > a:last-child {
    border-right: none;
}
.nav-list > a {
    width:150px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    font-weight:700;
    color:#000;
    text-decoration:none;
    background-color: #FEC00F;
    border-radius:50px;
    border:2px solid #574d3f;
}
.children-banner > .container {
    display: flex;
    justify-content: center;
}
/* Section Styles */
.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #574d3f;
    text-align: left;
    margin-bottom: 60px;
    line-height: 1.3;
}

/* Program Section */
.program-section, .target-section, .reviews-section, .action-section {
    margin:0 auto;
    width:100%;
    height:auto;
    max-width:1420px;
    padding:0 20px;
}
.container {
    height:auto;
    display: flex;
    justify-content: space-between;
}

.program-cards {
    width:100%;
    height:100%;
    max-width:980px;
}
.program-cards > iframe {
    width:100%;
    height:100%;
    min-height:500px;
    border-radius:20px;
}

.program-card {
    background: #fff;
    border: 1px solid #d9d1c7;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.program-list {
    display:flex;
    flex-direction: column;
    gap:12px;
}
.program-item {
    width:100%;
    height:120px;
    display:grid;
    grid-template-columns: 120px 1fr 120px;
    align-items: center;
    gap:25px;
    border:1px solid #D9D1C7;
    border-radius:20px;
    box-sizing: border-box;
}
.program-item > .program-item-number {
    background-color: #FCFAF8;
    font-size: 36px;
    font-weight: 800;
    color: #cec2b5;
    z-index: 1;
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid #D9D1C7;
    height:100%;
    border-top-left-radius:20px;
    border-bottom-left-radius:20px;
}
.program-item > .program-item-content {
    display:flex;
    flex-direction: column;
    justify-content: center;
    gap:3px;
    height:100%;
    color:#574D3F;
}
.program-item > .time {
    color:#A49E94;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction: column;
    gap:5px;
    border-left:1px solid #D9D1C7;
    height:100%;
    border-top-right-radius:20px;
    border-bottom-right-radius:20px;
}

.card-content {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: #574d3f;
    margin-bottom: 15px;
}

.card-description {
    font-size: 18px;
    color: #574d3f;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-duration {
    font-size: 16px;
    color: #a49e94;
    text-align: center;
    background: #fcfaf8;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #d9d1c7;
}

/* Target Section */
.target-section {
    margin-top:100px;
    background: #fff;
}

.info-cards {
    width:100%;
    max-width:980px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.info-card {
    background: #fff;
    border: 1px solid #d9d1c7;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:nth-child(even) {
    background: #FCFAF8;
}

.info-card:hover {
    transform: translateY(-3px);
}
.info-card > img {
    transition: transform 0.3s ease;
}

.info-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    color: #574d3f;
}

.info-title {
    font-size: 22px;
    font-weight: 800;
    color: #574d3f;
    margin-bottom: 15px;
}

.info-description {
    font-size: 18px;
    color: #574d3f;
    line-height: 1.4;
}

/* Reviews Section */
.reviews-section {
    margin-top:100px;
}

.reviews-grid {
    width:100%;
    max-width:980px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: #fff;
    border: 1px solid #d9d1c7;
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-card.featured {
    /* background: #fcfaf8;
    grid-column: span 2; */
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 23px;
    height: 23px;
    color: #574d3f;
}

.review-author {
    font-size: 16px;
    font-weight: 800;
    color: #574d3f;
}

.review-content {
    font-size: 18px;
    color: #574d3f;
    line-height: 1.6;
}

.more-reviews {
    text-align: right;
}

.more-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #574d3f;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    transition: color 0.3s ease;
}

.more-reviews-link:hover {
    color: #fec00f;
}

/* Action Section */
.action-section {
    padding: 80px 0;
    background: #fff;
}
.action-section > .container {
    justify-content: flex-end;
    gap:15px;
}
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.action-btn {
    width:320px;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 200px;
}

.action-btn.primary {
    background: #fec00f;
    color: #000;
}

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

.action-btn.secondary {
    background: transparent;
    color: #574d3f;
    border: 1px solid #574d3f;
}

.action-btn.secondary:hover {
    background: #574d3f;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #574d3f;
    color: #fff;
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-logo-img {
    height: 59px;
    width: auto;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 12px;
    color: #a39d95;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #fff;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fec00f;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-list {
        flex-direction: column;
    }
    .nav-list > .nav-div {
        height:55px;
    }
    .nav-list > .nav-div > a {
        font-size:14px;
    }
    .nav-list > a{
        width:100%;
        font-size:14px;
        height:55px;
    }
    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 36px;
    }

    .program-section, .target-section, .reviews-section, .action-section {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header {
        height: 80px;
    }

    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
    }

    .nav-list {
        gap: 10px;
        margin-top: 20px;
    }

    .nav-list > .nav-div {
        width: 100%;
        max-width: 500px;
        padding: 0 20px;
    }

    .nav-link {
        font-size: 16px;
    }

    .highlight-badge {
        font-size: 16px;
        padding: 8px 16px;
    }

    .hero {
        margin-top: 80px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 18px;
    }

    .children-banner {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 0;
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .program-section, .target-section, .reviews-section, .action-section {
        max-width: 100%;
        padding: 0 20px;
    }

    .program-cards {
        max-width: 100%;
    }

    .program-cards > iframe {
        min-height: 300px;
    }

    .program-list {
        gap: 8px;
    }

    .program-item {
        height: auto;
        min-height: 100px;
        grid-template-columns: 80px 1fr 80px;
        gap: 15px;
        padding: 15px;
    }

    .program-item > .program-item-number {
        font-size: 24px;
    }

    .program-item > .program-item-content {
        gap: 2px;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .info-card {
        padding: 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }

    .review-card {
        padding: 20px;
    }

    .review-card.featured {
        grid-column: span 1;
    }

    .action-section > .container {
        justify-content: center;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .action-btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .nav-list > .nav-div {
        width: 100%;
        padding: 0 15px;
        height: 60px;
    }

    .nav-list > a {
        width: 100%;
        height: 60px;
        font-size: 14px;
    }

    .header-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .children-banner {
        padding: 0 15px;
        height: 300px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .program-section, .target-section, .reviews-section, .action-section {
        padding: 0 15px;
    }

    .program-item {
        height: auto;
        min-height: 80px;
        grid-template-columns: 60px 1fr 60px;
        gap: 10px;
        padding: 10px;
    }

    .program-item > .program-item-number {
        font-size: 20px;
    }

    .program-item > .program-item-content h3 {
        font-size: 16px;
    }

    .program-item > .program-item-content p {
        font-size: 14px;
    }

    .program-item > .time {
        font-size: 12px;
    }

    .info-card {
        padding: 15px;
    }

    .info-title {
        font-size: 18px;
    }

    .info-description {
        font-size: 16px;
    }

    .review-card {
        padding: 15px;
    }

    .review-content {
        font-size: 16px;
    }

    .action-btn {
        font-size: 16px;
        padding: 15px 20px;
        width: 100%;
    }

    .more-reviews {
        text-align: center;
    }
}

/* 추가 모바일 최적화 */
@media (max-width: 360px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 20px;
    }

    .program-item {
        grid-template-columns: 50px 1fr 50px;
        gap: 8px;
        padding: 8px;
    }

    .program-item > .program-item-number {
        font-size: 18px;
    }

    .action-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* Animation and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card,
.info-card,
.review-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.program-card:hover .card-number {
    color: #fec00f;
    transform: scale(1.1);
}

.info-card:hover .info-icon {
    color: #fec00f;
    transform: scale(1.1);
}

/* Focus States for Accessibility */
.nav-link:focus,
.tab-link:focus,
.action-btn:focus,
.social-link:focus {
    outline: 2px solid #fec00f;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .nav-tabs,
    .action-section,
    .footer {
        display: none;
    }

    .hero {
        margin-top: 0;
        height: auto;
        min-height: auto;
    }

    .program-section,
    .target-section,
    .reviews-section {
        padding: 20px 0;
    }
}
