/* ============================================
   전역 스타일
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 메인 컬러 팔레트 - 오렌지 기반 */
    --primary-color: #ff6b35;
    --primary-dark: #e65525;
    --primary-light: #ff8555;
    --secondary-color: #2c3e50;
    --accent-color: #ffa500;
    
    /* 그레이 스케일 */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #1a1a1a;
    
    /* 시스템 컬러 */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* 타이포그래피 */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* 간격 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* 그림자 */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    /* 전환 효과 */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   헤더
   ============================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.logo h1 span {
    font-size: 1.2rem;
    font-weight: 400;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: var(--transition-base);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a:hover::after {
    width: 100%;
}

/* ============================================
   히어로 섹션
   ============================================ */
.hero {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 50%, #ffa500 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-product {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto 3rem;
    max-width: 600px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.product-badge {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-product h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   버튼
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   섹션 공통
   ============================================ */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ============================================
   회사 소개
   ============================================ */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text > p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.feature-text p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   제품
   ============================================ */
.products {
    background: var(--white);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-image .image-placeholder {
    background: linear-gradient(135deg, #ff6b35, #ffa500);
}

.product-details {
    padding: 2rem;
}

.product-label {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-details h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-specs {
    margin-bottom: 2rem;
}

.product-specs h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-base);
}

.product-specs li:hover {
    background: var(--gray);
    transform: translateX(5px);
}

.product-specs li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.product-specs li strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.product-specs li span {
    display: block;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.product-sizes {
    margin-bottom: 2rem;
}

.product-sizes h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.size-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.size-option {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.size-option:hover,
.size-option.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   회사 연혁
   ============================================ */
.history {
    background: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-start;
    width: 50%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
}

.timeline-item:nth-child(odd) {
    padding-right: 3rem;
    justify-content: flex-end;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* ============================================
   사업 영역
   ============================================ */
.business {
    background: var(--white);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.business-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: var(--white);
}

.business-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.business-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.business-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-base);
}

.business-card.featured .business-icon {
    background: var(--white);
    color: var(--primary-color);
}

.business-card:hover .business-icon {
    transform: rotateY(360deg);
}

.business-card h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.business-card.featured h4 {
    color: var(--white);
}

.business-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.business-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   문의하기
   ============================================ */
.contact {
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.info-text p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.contact-form-wrapper {
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group label {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   푸터
   ============================================ */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-section ul a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ============================================
   스크롤 업 버튼
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    z-index: 999;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.scroll-top.visible {
    display: flex;
}

/* ============================================
   반응형 디자인
   ============================================ */

/* 태블릿 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        width: 100%;
        margin-left: 0;
        padding-left: 3rem;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-marker {
        left: 0;
        transform: translateX(0);
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 5rem 2rem;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav a {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-product h3 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .product-details h3 {
        font-size: 1.6rem;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* ============================================
   애니메이션
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 프린트 스타일 */
@media print {
    .header,
    .hero,
    .scroll-top,
    .btn {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}
