/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Min Height Screen */
.min-h-screen {
    min-height: 100vh;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 7;
    max-height: 500px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    height: 100%;
    width: 100%;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-pagination {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10;
    width: auto !important;
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
}

.swiper-pagination-bullet {
    width: 80px !important;
    height: 5px !important;
    background: #5f5f5f !important;
    border-radius: 3px !important;
    opacity: 1 !important;
    margin: 0 !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    cursor: pointer !important;
    z-index: 1 !important;
}

.swiper-pagination-bullet::before {
    content: "" !important;
    position: absolute !important;
    width: 150% !important;
    height: 100px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: transparent !important;
    z-index: 10 !important;
}

.swiper-pagination-bullet-active {
    background: rgb(224, 224, 224) !important;
    width: 80px !important;
    height: 5px !important;
}

@media (max-width: 767px) {
    .swiper-pagination {
    position: absolute !important;
    bottom: 10px !important;      /* ← 슬라이더 하단에서 30px 위 */
    left: 50% !important;
    transform: translateX(-50%) !important;  /* ← 가운데 정렬 */
}

.swiper-pagination-bullet {
    width: 20px !important;   /* ← 바 너비 */
    height: 5px !important;   /* ← 바 높이 */
    border-radius: 3px !important;  /* ← 살짝 둥근 직사각형 */
}

.swiper-pagination-bullet-active {
    width: 20px !important;   /* ← 활성 바도 동일 크기 */
    height: 5px !important;
}
}

/* Popup */
.popup {
    position: fixed;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    z-index: 50;
    width: 20rem;
    height: 20rem;
}

.popup-image {
    flex: 1;
    border-radius: 0.5rem 0.5rem 0 0;
    object-fit: cover;
}

.popup-buttons {
    display: flex;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.popup-buttons button {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.popup-buttons button:first-child {
    color: #4b5563;
    border-right: 1px solid #e5e7eb;
}

.popup-buttons button:first-child:hover {
    background-color: #f9fafb;
}

.popup-buttons button:last-child {
    color: #3b82f6;
}

.popup-buttons button:last-child:hover {
    background-color: #eff6ff;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: white;
    animation: fadeInUp 0.6s ease-out;
}

.features-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.features-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 3rem;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.feature-image-wrapper {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.feature-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-card:hover .feature-image {
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.feature-card-description {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Notice Section */
.notice-section {
    padding: 5rem 0;
    animation: fadeInUp 0.6s ease-out;
}

.notice-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 3rem;
    color: #1f2937;
}

.notice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .notice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (min-width: 1024px) {
    
    .notice-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .notice-card-content{
        display: flex;
    }
}

.notice-card {
    border: 0.5px solid #e2e2e2;
    display: block;
    background: white;
    border-radius: 0.5rem;
    transition: all 0.3s;
    overflow: hidden;
    text-decoration: none;
}

.notice-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.notice-card-content {
    aspect-ratio: 1 / 1;
    padding: 2rem;
    display: inline-block;
    flex-direction: column;
    justify-content: space-between;
}


.notice-badge {
    display: inline-block;
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0.25rem 0;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.notice-card-title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.4;
}

.notice-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #f3f4f6;
    animation: fadeInUp 0.6s ease-out;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.contact-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 3rem;
    color: #1f2937;
}

.contact-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phone-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 500;
    color: #535353;
    text-align: left;
    text-decoration: none;
    transition: color 0.2s;
}

.phone-number:hover {
    color: #6b7280;
}

.operating-hours {
    color: #4b5563;
    text-align: left;
    font-size: 0.875rem;
}

/* Info Cards */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    display: block;
    background: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #dadada;
    transition: background-color 0.2s;
    text-decoration: none;
    position: relative;
}

.info-card:hover {
    background: #f3f4f6;
}

.info-card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.info-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.info-card:hover .info-card-title {
    color: #2a7fe0;
}

.info-card-description {
    color: #4b5563;
    font-size: 0.875rem;
}

.arrow-button {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #2a7fe0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.arrow-button::after {
    
}

.info-card:hover .arrow-button {
    background: #8d8d8d;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}