﻿/* Set padding to keep content from hitting the edges */
@import url('site.css');
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
/* 로고 링크 전체 중앙 정렬 */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center; /* 세로 중앙 */
    justify-content: center; /* 가로 중앙 */
    gap: 15px; /* 이미지와 글씨 사이 간격 */
}

/* 로고 이미지 */
.logo-img {
    height: 150px;
}

/* 로고 텍스트 */
.logo-text {
    font-family: Teko, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #3b5d50;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}


/* hover 효과 */
/*.logo-link:hover .logo-text {
    color: #2e4439;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}*/
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

/* dropdown-submenu 위치 조정 */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: 0.1rem;
        margin-right: 0.1rem;
    }


/* 고정 높이 설정 및 이미지 비율 유지 */
/* Carousel 높이 고정 */

/* 16:9 비율 Wrapper */
.carousel-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 비율 = 9/16*100% */
    overflow: hidden;
}

/* 이미지가 wrapper 안에서 꽉 차게, 비율 유지 */
.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* div를 꽉 채우면서 비율 유지 */
    filter: brightness(0.7); /* 흐리게 처리 */
}
/* 모바일 반응형 높이 조절 */
@media (max-width: 768px) {
    .carousel-img {
        height: 300px;
    }
}

.intro-card {
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .intro-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    }

.card-title {
    font-weight: 700;
    font-size: 1.2rem;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.hero {
    padding: 3rem 0; /* 상하 2rem, 좌우는 0 */
}

.carousel-item img {
    transition: transform 1s ease, filter 1s ease;
}

.carousel-item.active img {
    transform: scale(1.05); /* 살짝 확대 */
    filter: brightness(0.8); /* 어둡게 */
}

.carousel-item-next img,
.carousel-item-prev img {
    transform: scale(1);
    filter: brightness(1);
}

.team-card img {
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.matches-highlights .card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}

.training-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .training-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 2rem rgba(0,0,0,0.25);
    }

.card-title {
    font-weight: 600;
}

.card-text {
    font-size: 0.9rem;
    color: #555;
}

.btn-sm {
    margin-top: 0.5rem;
}

.timeline-item.highlight::before {
    background-color: #66bb6a; /* 주황색으로 강조 */
}

.timeline-item.highlight h5 {
    color: #66bb6a; /* 제목 색상도 강조 가능 */
}

.partner-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .partner-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 2rem rgba(0,0,0,0.25);
    }

