/* 京都旭文塾專用頁面樣式 */

.kyoto-page {
    margin-top: calc(var(--header-h) + 32px);
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Hero 區塊 */
.kyoto-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.kyoto-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cherry" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cherry)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-image-placeholder {
    width: 400px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
}

/* 學校介紹 */
.kyoto-about {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.location-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.nearby-facilities {
    margin-top: 1.5rem;
}

.nearby-facilities h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.nearby-facilities ul {
    list-style: none;
    padding: 0;
}

.nearby-facilities li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background: var(--light-gray);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-highlights {
    text-align: center;
    margin-top: 2rem;
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 課程規劃 */
.kyoto-courses {
    padding: 4rem 2rem;
    background: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.course-schedule h3,
.course-details h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.time-slot {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 80px;
    text-align: center;
}

.course-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.teacher-ratio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.teacher-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.teacher-type {
    font-weight: 600;
    color: var(--primary-color);
}

.teacher-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.enrollment-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--accent-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.enrollment-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.course-chart {
    margin-top: 3rem;
    text-align: center;
}

.chart-placeholder {
    width: 100%;
    max-width: 600px;
    height: 300px;
    background: var(--light-gray);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin: 0 auto;
}

/* 住宿方案 */
.kyoto-accommodation {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.accommodation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.room-option {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.room-option h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.room-image {
    margin-top: 1.5rem;
}

.accommodation-features {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.accommodation-features h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.bike-bonus {
    text-align: center;
    padding: 1.5rem;
    background: var(--accent-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.bike-bonus h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 生活支援 */
.kyoto-support {
    padding: 4rem 2rem;
    background: white;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.support-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.support-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* 特色 & 優惠 */
.kyoto-highlights {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.highlight-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.highlight-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* 照片 & 視覺 */
.kyoto-gallery {
    padding: 4rem 2rem;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 報名資訊 */
.kyoto-apply {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.apply-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.apply-info h3,
.apply-form h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
}

.fee-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fee-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-note {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
}

.form-placeholder {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    color: var(--text-muted);
}

.form-placeholder span {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .kyoto-hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-image-placeholder {
        width: 300px;
        height: 200px;
        margin-top: 2rem;
    }
    
    .about-grid,
    .courses-grid,
    .accommodation-grid,
    .apply-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
    }
    
    .time-slot {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .teacher-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .kyoto-page {
        margin-top: calc(var(--header-h) + 16px);
    }
    
    .kyoto-hero,
    .kyoto-about,
    .kyoto-courses,
    .kyoto-accommodation,
    .kyoto-support,
    .kyoto-highlights,
    .kyoto-gallery,
    .kyoto-apply {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .room-option,
    .support-item,
    .highlight-item {
        padding: 1.5rem;
    }
}
