/* Section Styles */
:root {
    --section-padding-y: 4rem;
    --section-padding-y-md: 6rem;
    --section-max-width: 1090px;
    --heading-color: #1a202c;
    --subtitle-color: #4a5568;
    --border-color: #e2e8f0;
    --bg-gray: #f7fafc;
    --bg-white: #ffffff;
}

/* Common Section Styles */
.section {
    padding: var(--section-padding-y) 0;
    position: relative;
    overflow: hidden;
}

.section-inner {
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--heading-color);
    text-transform: uppercase;
    font-family: var(--en-heading-font);
}

.section-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--subtitle-color);
    text-align: left;
    font-family: var(--jp-text-font);
}

/* Section Backgrounds */
.section.bg-gray {
    background-color: var(--bg-gray);
}

.section.bg-white {
    background-color: var(--bg-white);
}

/* Section Grid */
.section-grid {
    display: grid;
    gap: 2rem;
}

.section-grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.section-grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

.section-grid-4 {
    grid-template-columns: repeat(1, 1fr);
}

/* Section Card */
.section-card {
    background: var(--bg-white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Section Image */
.section-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    overflow: hidden;
}

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

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

/* Section Text */
.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--subtitle-color);
}

.section-text-lg {
    font-size: 1.125rem;
}

.section-text-xl {
    font-size: 1.25rem;
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

/* Section Animation */
.section-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (min-width: 768px) {
    .section {
        padding: var(--section-padding-y-md) 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    .section-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Section Specific Styles */
/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
}

/* Video Section */
.video-section {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--subtitle-color);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1.125rem;
    }
}

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

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-gray);
}

.contact-info {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    color: var(--heading-color);
}

/* News Section */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.news-date {
    font-size: 0.875rem;
    color: var(--subtitle-color);
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--subtitle-color);
}
