/* Page Sections - Hero, Mission, Values, Structure, Events, Services, Join */

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgb3BhY2l0eT0iMC4wNSI+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiBmaWxsPSIjZmZmIi8+PC9zdmc+');
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-logo {
    height: 80px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mission-card {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.mission-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.mission-card p {
    color: var(--color-text-muted);
}

.vision-statement blockquote {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.4;
    color: var(--color-text);
    padding: 40px;
    border-left: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid transparent;
    transition: var(--transition-base);
}

.value-item:hover {
    background: var(--color-surface-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.value-item p {
    color: var(--color-text-muted);
}

/* Structure Section */
.structure-section .row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.col-text { flex: 1; }
.col-visual {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 2px solid var(--color-primary);
}

.feature-list strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-text);
}

.feature-list p {
    color: var(--color-text-muted);
}

.stat-card {
    background: linear-gradient(135deg, var(--color-surface) 0%, #151515 100%);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Events Section */
.featured-event {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.1), transparent), var(--color-surface);
    border: 1px solid var(--color-primary);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.event-date {
    background: var(--color-bg);
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.event-date .month {
    display: block;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.event-date .day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-serif);
}

.event-details {
    flex: 1;
}

.event-badge {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.event-details h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.event-location {
    color: var(--color-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-mini-card {
    background: var(--color-surface);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.event-mini-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-text);
}

.event-mini-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.event-meta {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
}

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

.event-full {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-mini-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.event-time {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 5px;
}

.events-cta {
    text-align: center;
    margin-top: 40px;
}

/* Past Events */
.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.past-event-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition-base);
}

.past-event-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.past-event-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.event-date-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    padding: 8px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
}

.event-date-small .month {
    font-size: 0.75rem;
    color: var(--color-primary);
}

.event-date-small .day {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.past-event-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.past-event-info .event-location {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.past-event-photos {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.past-event-photo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    max-width: 80px;
    min-height: 80px;
    max-height: 80px;
    -webkit-flex: 0 0 80px;
    flex: 0 0 80px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.photo-more {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    min-width: 80px;
    -webkit-flex: 0 0 80px;
    flex: 0 0 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    color: var(--color-primary);
    font-weight: 600;
}

.past-event-summary p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.past-event-footer {
    text-align: right;
}

.view-detail {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.no-events {
    text-align: center;
    color: var(--color-text-muted);
    padding: 40px;
}

/* Services Section - Category Navigation */
.services-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    margin-bottom: 40px;
}

.category-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    background: linear-gradient(168deg, #1e1e1e 0%, #151515 100%);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -12px rgba(212, 175, 55, 0.1);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary),
                0 16px 40px -12px rgba(212, 175, 55, 0.15);
}

.category-card.active::before {
    opacity: 1;
}

.category-card-inner {
    position: relative;
    padding: 32px 24px 28px;
    text-align: center;
    z-index: 1;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.category-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.category-count {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-primary);
    background: rgba(212, 175, 55, 0.08);
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.category-count.coming-soon {
    color: var(--color-text-muted);
    background: rgba(161, 161, 170, 0.08);
}

.category-desc {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* Services Section - Service Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}

.service-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(168deg, #1e1e1e 0%, #151515 100%);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -15px rgba(212, 175, 55, 0.1), 0 0 0 1px rgba(212, 175, 55, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-card-glow {
    opacity: 1.5;
}

.service-card-inner {
    position: relative;
    padding: 36px 28px 32px;
    z-index: 1;
}

.service-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 20px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
}

.service-icon svg,
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.service-count {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-primary);
    background: rgba(212, 175, 55, 0.08);
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.service-count.coming-soon {
    color: var(--color-text-muted);
    background: rgba(161, 161, 170, 0.08);
}

.service-cat-desc {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

.service-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    margin: 16px auto;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 0.9rem;
    line-height: 1;
    position: relative;
    padding: 0;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 12px;
    margin: 0 -12px;
    border-radius: 10px;
    color: var(--color-text-muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.service-item:hover {
    background: rgba(212, 175, 55, 0.06);
    color: var(--color-text);
}

.service-item-text {
    flex: 1;
    text-align: left;
}

.service-item-arrow {
    font-size: 1.2rem;
    color: rgba(212, 175, 55, 0.3);
    transition: color 0.2s ease, transform 0.2s ease;
    margin-left: 8px;
}

.service-item:hover .service-item-arrow {
    color: var(--color-primary);
    transform: translateX(3px);
}

.service-item-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-text-muted);
    opacity: 0.4;
    padding: 16px 0;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.empty-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text-muted);
    opacity: 0.5;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* New Service Cards (Card-based layout) */
.service-card-new {
    display: flex;
    flex-direction: column;
    background: linear-gradient(168deg, #1e1e1e 0%, #151515 100%);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.service-card-new:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 50px -15px rgba(212, 175, 55, 0.15);
}

.card-cover {
    position: relative;
    height: 180px;
    background: var(--color-surface);
    overflow: hidden;
}

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

.service-card-new:hover .card-cover-img {
    transform: scale(1.05);
}

.card-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 15, 0.6) 100%);
}

.card-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(212, 175, 55, 0.9);
    color: var(--color-bg);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-host {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.host-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

.host-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-host .host-name {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-host .host-role {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.card-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--color-primary);
    color: var(--color-bg);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.services-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

/* Join Section */
.join-section {
    padding-top: 100px;
    padding-bottom: 150px;
}

.criteria-box {
    background: var(--color-surface);
    display: inline-block;
    padding: 40px 60px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: left;
    border: 1px solid var(--color-border);
}

.criteria-box h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.criteria-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.join-note {
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-style: italic;
}
