/* 전체 리셋 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

/* 메인 컨테이너 */
.container {
    display: flex;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

/* 사이드바 스타일 */
.sidebar {
    width: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 메인 콘텐츠 */
.main-content {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    padding: 0;
}

.main-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 네비게이션 컨테이너 */
.nav-container {
    padding: 2rem;
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    padding-top: 3rem;
}

.logo h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.navigation ul {
    list-style: none;
}

.navigation li {
    margin-bottom: 1rem;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 700;
}

@media (min-width: 769px) {
    .contact-info {
        position: fixed;
        bottom: 2rem;
        left: 2rem;
        width: 236px;
        text-align: center;
        font-size: 0.9rem;
        opacity: 0.9;
        color: white;
        z-index: 1001;
    }
    
    .mobile-menu-header {
        display: none !important;
    }
}



.contact-info p {
    margin-bottom: 0.5rem;
}

/* 햄버거 메뉴 버튼 */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 메인 콘텐츠 스타일 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* 히어로 섹션 */
.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide:nth-child(1) {
    background-image: url('../img/Image_01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-slide:nth-child(2) {
    background-image: url('../img/Image_02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-slide:nth-child(3) {
    background-image: url('../img/Image_03.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 100;
    max-width: 600px;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.8) !important;
    margin-bottom: 2rem !important;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
}

.indicator-bar {
    width: 30px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-bar.active {
    background: white;
    box-shadow: 0 2px 8px rgba(255,255,255,0.3);
}

/* 섹션 공통 스타일 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 모델 섹션 */
.models-section {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.model-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.model-image {
    width: 100%;
    height: 100%;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.model-card:hover .model-image {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.model-card:hover .model-image img {
    transform: scale(1.05);
}

.model-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.model-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.model-tags {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.model-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: auto;
    align-self: flex-start;
}

.model-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 의뢰하기 섹션 */
.order-section {
    padding: 5rem 5%;
    background-color: white;
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.order-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
}

.order-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.order-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* 포트폴리오 섹션 */
.portfolio-section {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.portfolio-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* 요금 안내 섹션 */
.pricing-section {
    padding: 5rem 5%;
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.pricing-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 모바일 오버레이 */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: 80px;
        position: fixed;
        top: 0;
        left: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 0;
        display: block;
        z-index: 1000;
    }
    
    .main-content {
        margin-left: 0;
        margin-top: 80px;
    }
    
    .container {
        flex-direction: column;
    }
    
    .nav-container {
        position: relative;
        padding: 0 20px;
        height: 50px;
        display: grid;
        grid-template-columns: 50px 1fr 50px;
        align-items: center;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .hamburger-btn {
        display: flex;
        justify-self: start;
    }
    
    .hamburger-btn span {
        background: white;
    }
    
    .logo {
        justify-self: center;
        text-align: center;
    }
    
    .logo h2 {
        color: white;
        margin: 0;
        font-size: 1.2rem;
    }
    
    .contact-info {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        text-align: center;
        padding: 5px 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: auto;
    }
    
    .contact-info p {
        margin: 0;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .contact-info p:last-child {
        display: none;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        padding-top: 60px;
    }
    
    .mobile-menu-header {
        display: block;
        position: relative;
        height: 60px;
    }
    
    .mobile-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .mobile-close-btn:hover {
        background: #f0f0f0;
    }
    
    .mobile-close-btn span {
        font-size: 24px;
        color: #666;
        font-weight: 300;
        line-height: 1;
    }
    
    .navigation.active {
        left: 0;
    }
    
    .navigation ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    .navigation li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        color: #333;
        text-decoration: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: #f8f9fa;
        color: #667eea;
        border-left: 4px solid #667eea;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 0;
        margin-top: 0;
        height: calc(100vh - 80px);
        justify-content: center;
        align-items: center;
    }
    
    .hero-content {
        position: relative;
        z-index: 100;
        max-width: 90%;
        color: white;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-indicators {
        bottom: 30px;
    }
    
    .order-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .models-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* 스크롤바 스타일 */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* 브랜드 버튼 스타일 */
.btn-agents {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-agents:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    color: white !important;
    opacity: 0.9;
}

.btn-agents:active {
    transform: translateY(0);
}

 