@charset "UTF-8";

/* Reset & Basic Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header (Fixed) */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    /* 고정 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
}

/* Add padding to body to prevent content from hiding behind fixed header */
body {
    padding-top: 80px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.logo span {
    color: #27ae60;
    /* Medical Green */
    margin-right: 5px;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 500;
    font-size: 17px;
    color: #333;
    transition: color 0.3s;
    padding: 10px 0;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #27ae60;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #27ae60;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 600px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-color: #fff;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Slide Background Fallback Colors (if image doesn't load) */
.slide-1 {
    background-color: #1e3c72;
}

.slide-2 {
    background-color: #11998e;
}

.slide-3 {
    background-color: #667eea;
}

.slide-4 {
    background-color: #f093fb;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 40px;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.slide-content h2 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    letter-spacing: -1px;
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.95;
}

.slide-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fff;
    color: #1e3c72;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    margin: 0;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.indicator.active {
    background-color: #fff;
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Main Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #27ae60;
    margin: 15px auto 0;
}

.section-title p {
    color: #7f8c8d;
    font-size: 16px;
}

/* Services Section (Restyled as Specialized Clinics) */
.services-section {
    padding: 100px 0;
    background-color: #fff;
}

.service-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border-radius: 0;
    /* Square look like target */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #27ae60;
}

.service-icon {
    font-size: 40px;
    color: #27ae60;
    margin-bottom: 25px;
    height: auto;
    display: inline-block;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.service-card p {
    color: #888;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Intro Section */
.intro-section {
    padding: 120px 0;
    background-color: #fff;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-title {
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.intro-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

/* Quick Links Section */
.quick-links-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.quick-link-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-5px);
}

.quick-link-icon-circle {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 40px;
    color: #27ae60;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-link-item:hover .quick-link-icon-circle {
    background: #27ae60;
    color: #fff;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.quick-link-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Location Section (Index Specific) */
.index-location-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* Common Layouts (Grid) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Subpage Header */
.page-header {
    background-color: #e8f5e9;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Content Section Padding */
.content-section {
    padding-bottom: 80px;
}

/* Card Styles (Staff, Reviews) */
.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 200px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Reviews Grid */
#review-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.review-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0;
}

.footer-content {
    text-align: center;
}

.footer-info p {
    margin-bottom: 10px;
    color: #bdc3c7;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
        /* Smaller header on mobile */
    }

    header {
        height: 60px;
    }

    .hero-slider {
        height: 580px;
        border-radius: 0;
        margin: 0 0 40px;
    }

    .slide-content {
        padding: 0 20px;
    }

    .slide-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    .slide-content h2 {
        font-size: 36px;
        margin-bottom: 15px;
        letter-spacing: -0.5px;
    }

    .slide-content p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .slide-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 15px;
    }

    .slider-indicators {
        bottom: 20px;
        gap: 8px;
        padding: 6px 12px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 24px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        gap: 20px;
        text-align: center;
    }

    nav ul.show {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Staff Intro Section (Below Hero Slider) */
.staff-intro-section {
    background-color: #fff;
    padding: 80px 0;
}

.staff-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    /* gutter */
    gap: 60px;
}

.staff-info {
    flex: 1;
    padding-right: 20px;
}

.staff-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.staff-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #27ae60;
}

.staff-history {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.history-item {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.history-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #27ae60;
}

.staff-desc {
    margin-top: 30px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
}

.staff-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.staff-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    object-fit: cover;
}

@media (max-width: 900px) {
    .staff-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .staff-image {
        margin-top: 40px;
        justify-content: center;
    }

    .staff-info {
        text-align: left;
    }
}