/* 예약 페이지 스타일 */
.page-container {
    display: flex;
    padding: 100px 0px 50px 0px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.reservation-options {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 32px 122px 32px;
    flex: 1;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.reservation-page {
    padding-top: 100px;
    min-height: 100vh;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
}

.reservation-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
}

.reservation-card {
    flex: 1;
    min-width: 380px;
    max-width: 500px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.reservation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.8));
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.card-content {
    padding: 32px;
}

.card-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
}

.reservation-info {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.description {
    color: #8f8f8f;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
    min-height: 60px;
}

.reservation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background-color: #00c471;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reservation-button:hover {
    background-color: #00a862;
    transform: translateY(-2px);
}

.arrow {
    margin-left: 8px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.reservation-button:hover .arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .page-container {
        padding: 80px 0px 30px 0px;
    }

    .content-wrapper {
        padding: 0 1rem;
    }

    .reservation-options {
        padding: 0px 16px 60px 16px;
        gap: 2rem;
    }

    .reservation-page {
        padding-top: 80px;
    }

    .reservation-page h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .reservation-card {
        min-width: 300px;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 24px;
    }

    .card-content h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .reservation-info {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .description {
        font-size: 14px;
        min-height: auto;
        margin-bottom: 16px;
    }

    .reservation-button {
        padding: 14px;
        font-size: 15px;
    }
}

/* 코스 정보 스타일 */
.course-info {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.course-info h1 {
    margin-bottom: 1rem;
    color: #333;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.payment-type {
    background-color: #00c73c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-left: 10px;
}

.duration, .capacity {
    color: #666;
    margin: 0.5rem 0;
}

/* 알림 스타일 */
.reservation-notice {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.reservation-notice p {
    color: #333;
    font-weight: 500;
    margin-bottom: 12px;
}

.reservation-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reservation-notice li {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* 예약 섹션 스타일 */
.reservation-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 캘린더 스타일 */
.calendar-section {
    width: 100%;
}

.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.month-navigation button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    color: #333;
}

.month-navigation h3 {
    font-size: 1.2rem;
    color: #333;
}

#calendar {
    width: 100%;
    border-collapse: collapse;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
}

.day:not(.disabled):hover {
    background-color: #e3f2fd;
}

.day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.day.today {
    background-color: #e3f2fd;
}

.day.selected {
    background-color: #3498db;
    color: white;
}

/* 시간 선택 스타일 */
.time-section {
    margin-top: 2rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.time-slot {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: none;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot:hover {
    background-color: #f8f9fa;
}

.time-slot.selected {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* 예약 폼 스타일 */
.reservation-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.selected-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.selected-info p {
    margin: 0.5rem 0;
    color: #666;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* 반응형 디자인 */
@media (min-width: 768px) {
    .reservation-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .reservation-form {
        grid-column: 1 / -1;
    }
}

/* 카카오톡 예약 스타일 */
.kakao-reservation {
    margin-top: 2rem;
    text-align: center;
}

.kakao-notice {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

#kakao-talk-channel-chat-button {
    margin: 0 auto;
}

#kakao-talk-channel-chat-button iframe {
    width: 100% !important;
    max-width: 200px;
}

/* 애니메이션 기본 설정 */
.fade-in,
.slide-in-left,
.slide-in-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

/* 페이드 인 애니메이션 */
.fade-in {
    transform: translateY(20px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 왼쪽에서 슬라이드 인 */
.slide-in-left {
    transform: translateX(-100px);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 오른쪽에서 슬라이드 인 */
.slide-in-right {
    transform: translateX(100px);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 예약 옵션 컨테이너 스타일 */
.reservation-options {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.reservation-option {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.option-details {
    margin: 1.5rem 0;
}

.option-details p {
    margin: 0.5rem 0;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .reservation-options {
        flex-direction: column;
    }

    .reservation-option {
        margin-bottom: 2rem;
    }
} 