/* ===================================
   JIWOO Corporation - Medical Aesthetics Design
   Beauty Daum Style - Clean & Elegant
   =================================== */

/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Colors - Soft & Elegant */
    --primary-color: #B8AEBD;
    --secondary-color: #8B7BA8;
    --accent-gold: #D4AF7A;
    --accent-rose: #E8B4A8;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F7;
    --medium-gray: #999999;
    --dark-gray: #666666;
    --text-dark: #2C2C2E;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', 'Noto Sans KR', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-slow);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.header.scrolled .logo img {
    filter: none;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.header.scrolled .logo-text {
    color: var(--secondary-color);
}

.nav {
    display: flex;
    gap: 45px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* ===================================
   Main Visual Slider
   =================================== */
.main-visual {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.mainSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.85) 0%, rgba(44, 44, 46, 0.75) 50%, rgba(139, 123, 168, 0.65) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-text {
    max-width: 800px;
    padding: 0 20px;
}

.slide-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.slide-title {
    font-family: var(--font-display);
    font-size: 68px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 45px;
    text-shadow: 0 1px 15px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--accent-gold);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--text-dark);
}

/* Swiper Controls */
.swiper-pagination {
    bottom: 40px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.5;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-gold);
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--white) !important;
    width: 50px !important;
    height: 50px !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 24px !important;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--white);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { height: 50px; opacity: 1; }
    50% { height: 20px; opacity: 0.5; }
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    margin-bottom: 80px;
}

.section-header.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header.light .section-label {
    color: var(--accent-rose);
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 25px;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-description {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.8;
}

.section-header.light .section-description {
    color: rgba(255, 255, 255, 0.85);
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: var(--section-padding);
    background: var(--off-white);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 15px;
}

.stat-number::after {
    content: '+';
    font-size: 40px;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 13px;
    color: var(--medium-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-sublabel {
    font-size: 11px;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 0.5px;
    font-style: italic;
}

/* Feature Cards */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--white);
    padding: 60px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.05);
}

.feature-card.reverse {
    direction: rtl;
}

.feature-card.reverse .feature-content {
    direction: ltr;
}

.feature-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content h3 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-dark);
}

.feature-list i {
    color: var(--accent-gold);
    font-size: 14px;
}

/* ===================================
   Service Section
   =================================== */
.service-section {
    padding: var(--section-padding);
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-box {
    background: var(--off-white);
    padding: 50px 40px;
    border: 1px solid #ECECEC;
    transition: var(--transition-slow);
    position: relative;
}

.service-box:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(139, 123, 168, 0.12);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    color: rgba(184, 174, 189, 0.08);
    line-height: 1;
}

.service-box h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-box p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--medium-gray);
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 18px;
}

/* ===================================
   Global Section - New Design
   =================================== */
.global-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #1a1d2e 0%, #2C2C2E 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.global-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(184,174,189,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.global-section .container {
    position: relative;
    z-index: 10;
}

/* Network Strategy */
.network-strategy {
    margin-bottom: 100px;
}

.strategy-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.strategy-text h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.strategy-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.strategy-map {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.strategy-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Location Timeline */
.location-timeline {
    margin-bottom: 80px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-header h3 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.timeline-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.timeline-tracks {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.timeline-track {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-left: 4px solid var(--accent-gold);
}

.timeline-track.expanding {
    border-left-color: var(--accent-rose);
}

.track-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.track-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-gold);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 20px;
}

.track-badge.upcoming {
    background: var(--accent-rose);
}

.track-label h4 {
    font-size: 24px;
    color: var(--white);
    margin: 0;
}

.track-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    border: 2px solid rgba(184, 174, 189, 0.2);
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition-slow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.timeline-item:hover {
    background: rgba(184, 174, 189, 0.15);
    transform: translateY(-8px);
    border-color: rgba(184, 174, 189, 0.5);
    box-shadow: 0 8px 30px rgba(184, 174, 189, 0.3);
}

.item-flag {
    font-size: 52px;
    line-height: 1;
    flex-shrink: 0;
}

.item-content h5 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.item-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 15px;
}

.item-stats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-stats li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.item-stats li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 18px;
    line-height: 1.3;
}

/* Coverage Stats */
.coverage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-slow);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.stat-icon {
    font-size: 40px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Contact Section
   =================================== */
/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-top: 60px;
}

/* Contact Detail Box (Left Side) */
.contact-detail-box {
    padding: 40px 0;
}

.office-address {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E5E5E5;
}

.contact-detail-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    margin-bottom: 30px;
    align-items: baseline;
}

.detail-label {
    font-size: 16px;
    color: var(--medium-gray);
    font-weight: 400;
}

.detail-value {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 500;
}

.detail-value a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Contact Map Box (Right Side) */
.contact-map-box {
    width: 100%;
    height: 500px;
    background: #F5F5F5;
    border: 1px solid #E5E5E5;
    overflow: hidden;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 25px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.9;
    max-width: 400px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-column a {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .slide-title {
        font-size: 56px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-card.reverse {
        direction: ltr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-content {
        grid-template-columns: 1fr;
    }
    
    .track-items {
        grid-template-columns: 1fr;
    }
    
    .coverage-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark);
        font-size: 20px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .slide-title {
        font-size: 42px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 40px 30px;
    }
    
    .feature-image {
        height: 300px;
    }
    
    .service-box {
        padding: 40px 30px;
    }
    
    .timeline-track {
        padding: 30px 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .item-flag {
        font-size: 56px;
    }
    
    .coverage-stats {
        grid-template-columns: 1fr;
    }
    
    .global-locations {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map-box {
        height: 400px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
}