/* Home Page Specific Styles */

/* Hero Section - 4 Image Slider */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-swiper {
    width: 100% !important;
    height: 100% !important;
}

.hero-swiper .swiper-slide {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.53);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slide-text {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.clinic-logo {
    margin-bottom: 20px;
    position: relative;
    z-index: 4;
}

.logo-image {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
    max-width: none !important;
    max-height: none !important;
    flex-shrink: 0;
}

.clinic-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 4;
}

.clinic-subtitle {
    font-size: 1.3rem !important;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    z-index: 4;
}

/* Quick Buttons in Slider - 모바일에서만 표시 */
.quick-buttons {
    display: none; /* PC에서는 기본적으로 숨김 */
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 4;
}

.btn-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 120px;
}

.btn-quick:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
    bottom: 30px;
    z-index: 10;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
}



/* Header 스타일은 includes/header-styles.css에서 관리 */

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .clinic-name {
        font-size: 2.2rem;
    }
    
    .clinic-subtitle {
        font-size: 1.15rem !important;
    }
    
    .logo-image {
        width: 100px !important;
        height: 100px !important;
        max-width: none !important;
        max-height: none !important;
    }
    
    /* 모바일에서만 quick-buttons 표시 */
    .quick-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-quick {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .clinic-name {
        font-size: 1.8rem;
    }
    
    .clinic-subtitle {
        font-size: 1.05rem !important;
    }
    
    .logo-image {
        width: 80px !important;
        height: 80px !important;
        max-width: none !important;
        max-height: none !important;
    }
    
    .btn-quick {
        width: 180px;
        padding: 12px 20px;
    }
    

}

/* Animation for loaded hero - DISABLED to prevent flicker */
.hero-section.loaded .slide-text {
    /* animation: fadeInUp 1s ease-out; */
    opacity: 1;
    transform: translateY(0);
}

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

/* Performance optimizations */
.hero-swiper img {
    will-change: transform;
}



/* Print styles */
@media print {
    .hero-swiper .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
        height: 50vh;
        page-break-inside: avoid;
    }
}