/* ============================================
   APEX THOUGHT - PAGE-SPECIFIC STYLES
   Reusable styles for all internal pages
   ============================================ */

/* ============================================
   PAGE HEADER (Hero for internal pages)
   ============================================ */

.page-header {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 3rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.page-header-compact {
    min-height: 50vh;
}

.page-header-decoration {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.page-header-decoration.decoration-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.page-header-decoration.decoration-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    bottom: -50px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.page-header-content {
    max-width: 800px;
    animation: slideUp 0.8s ease-out both;
}

.page-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.page-title em {
    font-style: italic;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Active nav link */
.nav-links a.active:not(.btn-primary) {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   STORY SECTION (About Page)
   ============================================ */

.story-section {
    padding: 6rem 2rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-visual {
    position: relative;
}

.story-image-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-image {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.story-image:hover {
    transform: translateX(10px);
}

.story-image span {
    font-size: 2rem;
}

.story-image p {
    font-family: 'Instrument Serif', serif;
    font-size: 1.25rem;
    margin: 0;
}

.story-image-1 { margin-left: 0; }
.story-image-2 { margin-left: 2rem; }
.story-image-3 { margin-left: 1rem; }

/* ============================================
   VALUES SECTION (About Page)
   ============================================ */

.values-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.values-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-number {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   TEAM SECTION (About Page)
   ============================================ */

.team-section {
    padding: 6rem 2rem;
}

.team-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.team-header p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.team-name {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent-coral);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-achievements {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.team-achievements span {
    background: var(--bg-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ============================================
   ABOUT STATS SECTION
   ============================================ */

.about-stats {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-stat-number {
    font-family: 'Instrument Serif', serif;
    font-size: 3.5rem;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stat-number span {
    color: var(--accent-coral);
}

.about-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   PROGRAMS DETAIL SECTION
   ============================================ */

.programs-overview {
    padding: 4rem 2rem;
}

.program-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
    align-items: center;
}

.program-detail-alt {
    direction: rtl;
}

.program-detail-alt > * {
    direction: ltr;
}

.program-badge {
    display: inline-block;
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.program-badge-coral {
    background: rgba(255, 107, 74, 0.1);
    color: var(--accent-coral);
}

.program-badge-gold {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-amber);
}

.program-detail-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.program-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.program-feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.program-feature-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.program-feature-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.program-schedule {
    background: var(--bg-secondary);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.program-schedule h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.program-schedule p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.program-visual-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-visual-elite {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    color: white;
}

.program-visual-elite h3 {
    color: white;
}

.program-visual-elite ul li {
    color: rgba(255, 255, 255, 0.8);
}

.program-visual-elite .program-ideal {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.program-visual-elite .program-ideal span {
    color: var(--accent-coral);
}

.visual-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-visual-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.program-visual-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-visual-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-visual-card ul li::before {
    content: '✓';
    color: var(--accent-coral);
    font-weight: 600;
}

.program-ideal {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.program-ideal span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.comparison-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    min-width: 120px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    min-width: 150px;
    position: sticky;
    left: 0;
    background: white;
    z-index: 1;
}

.comparison-table th {
    background: var(--bg-dark);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table th:first-child {
    background: var(--bg-dark);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--bg-secondary);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 6rem 2rem;
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
    padding: 4rem 2rem 6rem;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--bg-secondary);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--text-primary);
}

.filter-btn.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item-large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item-tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.4s ease;
}

.gallery-placeholder span {
    font-size: 3rem;
}

.gallery-placeholder p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

/* Thumbnail rotation for gallery cards with photos */
.gallery-thumbnail-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
}

.gallery-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.gallery-thumb.active {
    opacity: 1;
}

.gallery-item:hover .gallery-thumbnail-container .gallery-thumb.active {
    transform: scale(1.05);
    transition: opacity 0.8s ease, transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.gallery-tag {
    display: inline-block;
    background: var(--accent-coral);
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Video Section */
.video-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.video-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.video-header p {
    color: var(--text-secondary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-placeholder {
    background: var(--bg-dark);
    border-radius: 20px;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-play-btn {
    width: 64px;
    height: 64px;
    background: var(--accent-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
}

.video-placeholder p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   EVENTS SECTION
   ============================================ */

.events-section {
    padding: 4rem 2rem 6rem;
}

.events-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.events-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 2rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    align-items: start;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
}

.event-card-featured {
    border: 2px solid var(--accent-coral);
    background: linear-gradient(135deg, white 0%, rgba(255, 107, 74, 0.02) 100%);
}

.event-date {
    text-align: center;
}

.event-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-coral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-day {
    display: block;
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.event-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.event-badge-local {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.event-title {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-location svg {
    flex-shrink: 0;
}

.event-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.event-details span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.event-flag {
    font-size: 3rem;
}

/* Past Events */
.past-events-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
    color: white;
}

.past-events-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.past-events-header .section-title {
    color: white;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.past-event-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.past-event-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.past-event-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.past-event-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.past-event-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.past-event-result {
    color: var(--accent-coral);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.past-event-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
}

/* Calendar Section */
.calendar-section {
    padding: 6rem 2rem;
}

.calendar-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.calendar-header p {
    color: var(--text-secondary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.calendar-quarter {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.calendar-quarter h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-gradient);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calendar-quarter ul {
    list-style: none;
}

.calendar-quarter ul li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-secondary);
}

.calendar-quarter ul li:last-child {
    border-bottom: none;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 4rem 2rem 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--bg-secondary);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Sora', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
    min-height: 48px;
}

.form-group select {
    min-height: 48px;
    cursor: pointer;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-coral);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
}

.contact-info-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-info-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(8px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-coral);
}

.contact-method h4 {
    font-size: 0.95rem;
    margin-bottom: 0.125rem;
}

.contact-method p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-faq h3 {
    font-family: 'Instrument Serif', serif;
    margin-bottom: 1rem;
}

.mini-faq details {
    margin-bottom: 0.75rem;
}

.mini-faq summary {
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mini-faq details p {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 4rem 2rem 6rem;
    background: var(--bg-secondary);
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.map-info h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.map-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.map-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.map-tags span {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
}

.map-placeholder {
    background: white;
    border-radius: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-visual {
    text-align: center;
}

.map-visual span {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

.map-visual p {
    font-family: 'Instrument Serif', serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ============================================
   GALLERY EVENT PAGE
   ============================================ */

.event-info-bar {
    background: var(--bg-secondary);
    padding: 1.25rem 2rem;
    text-align: center;
}

.event-info-bar-inner {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.event-info-item svg {
    flex-shrink: 0;
    color: var(--accent-coral);
}

.gallery-event-section {
    padding: 4rem 2rem 6rem;
}

.gallery-event-grid {
    column-count: 3;
    column-gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-event-photo {
    border-radius: 16px;
    overflow: hidden;
    break-inside: avoid;
    margin-bottom: 1rem;
}

.gallery-event-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-event-photo:hover img {
    transform: scale(1.05);
}

.gallery-event-empty {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-event-empty span {
    font-size: 5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.gallery-event-empty h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.gallery-event-empty p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Gallery items as links */
a.gallery-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Competition cards as links */
a.competition-card {
    display: flex;
    text-decoration: none;
    color: inherit;
}

/* Clickable past event cards */
.past-event-card[data-event-slug] {
    cursor: pointer;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .story-grid,
    .program-detail,
    .contact-grid,
    .map-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .program-detail-alt {
        direction: ltr;
    }

    .story-visual {
        order: -1;
    }

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

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

/* ============================================
   TABLET RESPONSIVE - 600px
   ============================================ */

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item-large {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        grid-template-columns: 80px 1fr auto;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 100dvh;
        padding: 4.5rem 1.25rem 2.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .story-section,
    .values-section,
    .team-section,
    .about-stats,
    .programs-overview,
    .comparison-section,
    .faq-section,
    .gallery-section,
    .events-section,
    .past-events-section,
    .calendar-section,
    .contact-section,
    .map-section,
    .video-section {
        padding: 3rem 1rem;
    }

    .values-grid,
    .team-grid,
    .faq-grid,
    .past-events-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-item-large {
        grid-column: span 2;
    }

    .gallery-item-tall {
        grid-row: span 1;
    }

    .event-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-date {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .event-flag {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .about-stat-number {
        font-size: 2.5rem;
    }

    .program-features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .story-image-1,
    .story-image-2,
    .story-image-3 {
        margin-left: 0;
    }

    .gallery-event-grid {
        column-count: 2;
    }

    .gallery-event-section {
        padding: 3rem 1rem;
    }

    .event-info-bar {
        padding: 1rem;
    }

    .event-info-bar-inner {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-event-grid {
        column-count: 1;
    }
}
