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

/* Main Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-logo {
    font-family: 'Malangmalang', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2C3321;
    letter-spacing: 0.5px;
}

.header-navigation {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #2C3321;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #fff;
    background-color: #2C3321;
    transform: translateY(-2px);
}

@font-face {
    font-family: 'GowunBatang';
    src: url('fonts/GowunBatang-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GowunBatang';
    src: url('fonts/GowunBatang-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'NanumSquare';
    src: url('fonts/NanumSquareR.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NanumSquare';
    src: url('fonts/NanumSquareB.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Malangmalang';
    src: url('fonts/MalangmalangR.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Malangmalang';
    src: url('fonts/MalangmalangB.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: 'NanumSquare', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Slide 1: Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 10%;
    padding-bottom: 15%;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: right;
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-family: 'GowunBatang', serif;
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 1.2rem;
    letter-spacing: 0.3px;
    transition-delay: 0.1s;
}

.logo {
    font-family: 'GowunBatang', serif;
    font-size: 6.5rem;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    transition-delay: 0.3s;
}

.hero-description {
    font-family: 'GowunBatang', serif;
    font-size: 1.2rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-top: 0;
    max-width: 580px;
    margin-left: auto;
    margin-right: 0;
    word-break: keep-all;
    text-align: right;
    transition-delay: 0.5s;
}

/* Slide 2: Problem Section */
.problem-section {
    padding: 80px 0;
    background-color: #2C3321;
    background-image: url('images/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    min-height: auto;
    display: flex;
    align-items: center;
}

.section-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: 'GowunBatang', serif;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: normal;
    line-height: 1.5;
}

.highlight {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 2px 12px;
    border-radius: 4px;
}

.problem-image-container {
    margin: 3rem 0 4rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.problem-main-image {
    max-width: 70%;
    height: auto;
    max-height: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    display: block;
    position: relative;
    z-index: 1;
}

.problem-image-container:hover .problem-main-image {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.user-icons {
    margin: 4rem 0 3rem;
}

.icon-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.user-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-person {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
}

.user-icon.filled .icon-person {
    background-color: #fff;
}

.user-icon.filled .icon-person::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background-color: #353d35;
    border-radius: 50%;
}

.user-icon.filled .icon-person::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 20px;
    background-color: #353d35;
    border-radius: 50% 50% 0 0;
}

.user-icon.outlined .icon-person {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
}

.user-icon.outlined .icon-person::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.user-icon.outlined .icon-person::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50% 50% 0 0;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 8rem;
    margin: 2rem 0 1rem;
}

.stat-label {
    color: #fff;
    font-size: 1rem;
    line-height: 1.8;
}

.stat-label-sub {
    color: #fff;
    font-size: 1rem;
}

.underline-red {
    text-decoration: underline;
    text-decoration-color: #ff6b6b;
    text-decoration-thickness: 2px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin: 3rem 0;
}

.stat-text p {
    color: #fff;
    font-size: 1.2rem;
}

.stat-text strong {
    font-size: 1.4rem;
    font-weight: bold;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 3rem;
}

/* Slide 3: Problem Detail Section */
.problem-detail-section {
    padding: 80px 0;
    background-color: #2C3321;
    background-image: url('images/bg3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    min-height: auto;
    display: flex;
    align-items: center;
}

.white-text {
    color: #fff;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.problem-item {
    text-align: center;
}

.problem-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
}

.problem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.problem-caption {
    color: #fff;
    font-size: 0.95rem;
}

.problem-center {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
    position: relative;
}

.problem-center::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

.problem-point {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    white-space: nowrap;
}

.conclusion {
    font-family: 'GowunBatang', serif;
    color: #fff;
    font-size: 1.8rem;
    font-weight: normal;
    margin-top: 4rem;
}

.underline {
    text-decoration: underline;
    text-decoration-color: #ff6b6b;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Slide 4: Solution Section */
.solution-section {
    padding: 80px 0;
    background-color: #e8e6df;
    text-align: center;
    min-height: auto;
    display: flex;
    align-items: center;
}

.section-label.dark {
    color: #666;
}

.section-title.dark {
    color: #333;
}

.solution-card {
    max-width: 700px;
    margin: 4rem auto;
    padding: 2rem;
}

.solution-image {
    max-width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.solution-text {
    color: #333;
    font-size: 1.3rem;
    margin-top: 3rem;
}

.bold {
    font-weight: bold;
}

/* Slide 5: Footer Section */
.footer-section {
    padding: 80px 0;
    background-color: #2C3321;
    text-align: center;
    color: white;
    min-height: auto;
    display: flex;
    align-items: center;
}

.footer-title {
    font-family: 'GowunBatang', serif;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.vertical-line {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 auto 3rem;
}

.footer-logo {
    font-family: 'GowunBatang', serif;
    font-size: 5rem;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.footer-brand {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Business Info Footer */
.business-footer {
    background-color: #1a1f15;
    padding: 40px 0;
    text-align: left;
}

.business-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.business-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

.company-name {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.85);
}

.divider {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

/* Fade-in Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header */
    .main-header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .header-logo {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
    
    .header-navigation {
        gap: 10px;
        margin-top: 10px;
        width: 100%;
        justify-content: flex-end;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 6px 15px;
    }
    
    /* Hero Section */
    .hero-section {
        padding-right: 5%;
        padding-left: 5%;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .logo {
        font-size: 3.5rem;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    /* Container */
    .container {
        padding: 0 20px;
    }
    
    /* Section Labels and Titles */
    .section-label {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }
    
    /* Problem Section */
    .problem-section,
    .problem-detail-section {
        padding: 60px 0;
    }
    
    .problem-main-image {
        max-width: 95%;
        max-height: 300px;
    }
    
    .conclusion {
        font-size: 1.3rem;
        margin-top: 2.5rem;
    }
    
    /* Solution Section */
    .solution-section {
        padding: 60px 0;
    }
    
    .solution-image {
        max-width: 95%;
    }
    
    .solution-text {
        font-size: 1.1rem;
        margin-top: 2rem;
    }
    
    /* Footer Section */
    .footer-section {
        padding: 60px 0;
    }
    
    .footer-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-logo {
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 2rem;
    }
    
    .footer-brand {
        font-size: 1.1rem;
    }
    
    .vertical-line {
        height: 60px;
        margin-bottom: 2rem;
    }
    
    /* Problem Grid (if exists) */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .problem-center::before {
        display: none;
    }
    
    .stats-row,
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Business Footer */
    .business-footer {
        padding: 30px 0;
    }
    
    .business-info {
        gap: 6px;
    }
    
    .business-item {
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    .divider {
        display: none;
    }
    
    .business-item .company-name::after {
        content: '\A';
        white-space: pre;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
}