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

body {
    font-family: 'Noto Sans KR', 'Spoqa Han Sans Neo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #3A3A3A;
    background-color: #FFF8E7;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
}

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

/* 헤더 */
.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header.scrolled {
    background-color: #6B3E26;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    height: 120px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.15) brightness(1.05) saturate(1.1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 네비게이션 메뉴 */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    padding: 10px 15px;
    position: relative;
    border-radius: 5px;
    font-family: 'Noto Sans KR', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

.header.scrolled .nav-link {
    color: #FFF8E7;
    text-shadow: none;
}

.header.scrolled .nav-link::after {
    background-color: #F5B700;
}

.header.scrolled .nav-link:hover {
    color: #FFF8E7;
    background-color: rgba(245, 183, 0, 0.2);
}

.header.scrolled .nav-link.kakao-link {
    background: #F5B700;
    color: #FFFFFF;
}

/* 카카오톡 스타일 링크 */
.nav-link.kakao-link {
    background: #F5B700;
    color: #FFFFFF;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(245, 183, 0, 0.3);
}

.nav-link.kakao-link::after {
    display: none;
}

.nav-link.kakao-link:hover {
    background: #FFA84D;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 168, 77, 0.4);
}

.header.scrolled .nav-link.kakao-link {
    background: #F5B700;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(245, 183, 0, 0.4);
}

.header.scrolled .nav-link.kakao-link:hover {
    background: #FFA84D;
    color: #FFFFFF;
}

/* 모바일 메뉴 토글 버튼 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.header.scrolled .mobile-menu-toggle span {
    background-color: #333;
    box-shadow: none;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 모바일 메뉴 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.mobile-menu.active {
    display: block;
    pointer-events: auto;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: #3A3A3A;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 15px 0;
    border-bottom: 1px solid rgba(107, 62, 38, 0.1);
    transition: color 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.mobile-nav-link:hover {
    color: #6B3E26;
}

/* 모바일 카카오톡 스타일 링크 */
.mobile-nav-link.kakao-link-mobile {
    background: #F5B700;
    color: #FFFFFF;
    font-weight: 800;
    padding: 15px 20px;
    border-radius: 25px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(245, 183, 0, 0.3);
    text-align: center;
    border-bottom: none;
}

.mobile-nav-link.kakao-link-mobile:hover {
    background: #FFA84D;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 168, 77, 0.4);
}

/* 히어로 섹션 */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-section {
        overflow: visible;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: opacity;
    filter: blur(0);
}

@media (max-width: 768px) {
    .hero-slide {
        filter: blur(2px);
    }
}

/* 모바일에서 이미지에 딱 맞게 조정 */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .hero-slide {
        background-size: cover;
        background-position: center;
        background-color: transparent;
    }
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 3;
}

@media (max-width: 768px) {
    .hero-overlay {
        background-color: rgba(0, 0, 0, 0.35);
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #fff;
    padding: 120px 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease-out;
    text-transform: none;
}

.hero-title .highlight {
    font-size: 1.2em;
    color: #F5B700;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 1), 0 0 40px rgba(245, 183, 0, 0.9), 4px 4px 8px rgba(245, 183, 0, 0.7);
    font-weight: 900;
    display: inline-block;
    padding: 0 6px;
    background-color: rgba(245, 183, 0, 0.25);
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(245, 183, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 45px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-button {
    display: inline-block;
    padding: 18px 50px;
    background: #F5B700;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(245, 183, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-button:hover {
    background: #FFA84D;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 168, 77, 0.6);
}

.hero-button:active {
    transform: translateY(-1px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo {
        height: 80px;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .hero-section {
        margin-top: 100px;
        min-height: 600px;
        height: auto;
    }
    
    .hero-content {
        padding: 50px 20px 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: 900;
    }
    
    .hero-title .highlight {
        font-size: 1.2em;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 35px;
        font-weight: 700;
    }
    
    .hero-button {
        padding: 14px 40px;
        font-size: 1.1rem;
    }
}

/* 공통 섹션 스타일 */
.section {
    width: 100%;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    text-align: center;
    position: relative;
    color: #3A3A3A;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #F5B700;
    border-radius: 2px;
}

.section-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.text-large {
    font-size: 1.4rem;
    line-height: 1.9;
    color: #3A3A3A;
    margin-bottom: 25px;
    font-weight: 500;
}

.section-subtitle {
    font-size: 2.2rem;
    font-weight: 800;
    color: #6B3E26;
    margin: 40px 0 30px;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-list li {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #3A3A3A;
    padding: 20px;
    background: rgba(255, 248, 231, 0.8);
    border-radius: 15px;
    border-left: 4px solid #F5B700;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(245, 183, 0, 0.3);
    background: rgba(248, 227, 196, 0.9);
}

.section-chat-button {
    display: block;
    padding: 16px 50px;
    background: #F5B700;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(245, 183, 0, 0.4);
    transition: all 0.3s ease;
    margin: 40px auto 0;
    text-align: center;
    max-width: 400px;
}

.section-chat-button:hover {
    background: #FFA84D;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 168, 77, 0.5);
}

/* 섹션 2. 소개 */
.section-intro {
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #FFF8E7;
}

.section-intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 248, 231, 0.85);
    z-index: 1;
}

/* 섹션 3. 천원빵 운영 사장님 */
.section-owner {
    background-image: url('images/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #3A3A3A;
}

.section-owner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 227, 196, 0.9);
    z-index: 1;
}

.section-owner .section-title,
.section-owner .section-subtitle,
.section-owner .text-large,
.section-owner .feature-list li {
    color: #3A3A3A;
}

.section-owner .section-title::after {
    background: #F5B700;
}

.section-owner .feature-list li {
    background: rgba(255, 248, 231, 0.9);
    border-left-color: #6B3E26;
}

/* 섹션 4. 샵인샵 */
.section-shop {
    background-image: url('images/bg3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #3A3A3A;
}

.section-shop::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 227, 196, 0.85);
    z-index: 1;
}

.section-shop .section-title,
.section-shop .section-subtitle,
.section-shop .text-large,
.section-shop .feature-list li {
    color: #3A3A3A;
}

.section-shop .section-title::after {
    background: #F5B700;
}

.section-shop .feature-list li {
    background: rgba(255, 248, 231, 0.9);
    border-left-color: #6B3E26;
}

/* 섹션 5. 예비 창업자 */
.section-startup {
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #3A3A3A;
}

.section-startup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 248, 231, 0.85);
    z-index: 1;
}

.section-startup .section-title,
.section-startup .section-subtitle,
.section-startup .text-large,
.section-startup .feature-list li {
    color: #3A3A3A;
}

.section-startup .section-title::after {
    background: #F5B700;
}

.section-startup .feature-list li {
    background: rgba(255, 248, 231, 0.9);
    border-left-color: #6B3E26;
}

/* 섹션 6. 납품 사장님 */
.section-supplier {
    background-image: url('images/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #3A3A3A;
}

.section-supplier::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 227, 196, 0.85);
    z-index: 1;
}

.section-supplier .section-title,
.section-supplier .section-subtitle,
.section-supplier .text-large,
.section-supplier .feature-list li {
    color: #3A3A3A;
}

.section-supplier .section-title::after {
    background: #F5B700;
}

.section-supplier .feature-list li {
    background: rgba(255, 248, 231, 0.9);
    border-left-color: #6B3E26;
}

/* 섹션 7. 상담 안내 */
.section-consulting {
    background-image: url('images/bg3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #3A3A3A;
}

.section-consulting::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 227, 196, 0.85);
    z-index: 1;
}

.section-consulting .section-title,
.section-consulting .consulting-title {
    color: #3A3A3A;
}

.consulting-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 30px 0;
    text-align: center;
}

.consulting-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.consulting-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    background: #F5B700;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid #F5B700;
    transition: all 0.3s ease;
}

.consulting-link:hover {
    background: #FFA84D;
    border-color: #FFA84D;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 168, 77, 0.3);
}

.link-icon {
    font-size: 1.5rem;
}

.consulting-text {
    font-size: 1.3rem;
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
    color: #3A3A3A;
}

/* 섹션 8. CTA */
.section-cta {
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #FFF8E7;
    padding: 120px 0 180px;
}

.section-cta .section-content {
    text-align: center;
}

.section-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(107, 62, 38, 0.9);
    z-index: 1;
}

.section-cta .section-title {
    color: #FFF8E7;
    font-size: 3rem;
    margin-bottom: 30px;
}

.section-cta .section-title::after {
    background: #F5B700;
}

.cta-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #FFF8E7;
}

.cta-arrow {
    font-size: 1.8rem;
    margin: 30px 0;
    font-weight: 700;
    color: #FFF8E7;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cta-button {
    display: inline-block;
    padding: 20px 60px;
    background: #F5B700;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(245, 183, 0, 0.4);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background: #FFA84D;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 168, 77, 0.6);
}

/* 하단 고정 오픈채팅방 버튼 */
.fixed-chat-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    background: #F5B700;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
}

.fixed-chat-button:hover {
    background: #FFA84D;
    transform: translateY(-3px);
    box-shadow: 0 -6px 30px rgba(255, 168, 77, 0.4);
}

.button-icon {
    font-size: 1.5rem;
}

.button-text {
    line-height: 1;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .section-intro,
    .section-owner,
    .section-shop,
    .section-startup,
    .section-supplier,
    .section-consulting,
    .section-cta {
        background-attachment: scroll;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .text-large {
        font-size: 1.1rem;
    }
    
    .section-subtitle {
        font-size: 1.8rem;
        font-weight: 800;
    }
    
    .feature-list li {
        font-size: 1rem;
        padding: 15px;
    }
    
    .consulting-title {
        font-size: 1.5rem;
    }
    
    .consulting-link {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .section-cta {
        padding: 60px 0 200px;
    }
    
    .section-cta .section-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
    
    .fixed-chat-button {
        padding: 16px 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin-top: 100px;
        height: auto;
        min-height: 550px;
    }
    
    .hero-content {
        padding: 40px 20px 100px;
    }
    
    .hero-title {
        font-size: 2rem;
        font-weight: 900;
    }
    
    .hero-title .highlight {
        font-size: 1.2em;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        font-weight: 700;
    }
    
    .hero-button {
        padding: 12px 35px;
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .text-large {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
        font-weight: 800;
    }
    
    .feature-list li {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .section-chat-button {
        padding: 14px 40px;
        font-size: 1.1rem;
        max-width: 100%;
        margin-top: 30px;
    }
    
    .consulting-links {
        flex-direction: column;
        align-items: center;
    }
    
    .consulting-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    .section-cta {
        padding: 50px 0 200px;
    }
    
    .hero-content {
        padding: 80px 20px 60px;
    }
    
    .fixed-chat-button {
        padding: 14px 15px;
        font-size: 1rem;
    }
}
