/* ========================================
   Page Specific Styles - Light Theme
   Menu, Events, Photos pages
   ======================================== */

/* ========================================
   Page Header (shared)
   ======================================== */
.page-header {
    padding: calc(100px + var(--space-xl)) 0 var(--space-2xl);
    background: var(--color-bg-warm);
    position: relative;
}

.page-header-content {
    max-width: 650px;
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-md);
}

.page-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   Menu Page
   ======================================== */
.menu-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--color-bg);
}

.menu-sections {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.menu-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
}

.section-intro {
    position: sticky;
    top: 100px;
    align-self: start;
}

.menu-number {
    display: block;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 500;
    color: var(--color-surface);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.section-intro h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.section-intro > p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.menu-items {
    display: flex;
    flex-direction: column;
}

.menu-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.menu-item:first-child {
    border-top: 1px solid var(--color-border);
}

.menu-item:hover {
    padding-left: var(--space-md);
    background: var(--color-accent-soft);
    margin: 0 calc(-1 * var(--space-md));
    padding-right: var(--space-md);
}

.menu-item.featured {
    background: var(--color-accent-soft);
    padding: var(--space-md);
    margin: var(--space-xs) 0;
    border: 1px solid rgba(200, 90, 56, 0.15);
    border-radius: 12px;
}

.item-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.menu-item h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
}

.item-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    padding: 0.25rem 0.625rem;
    background: rgba(200, 90, 56, 0.1);
    border-radius: 100px;
}

.menu-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.menu-note {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: var(--color-bg-warm);
    border-radius: 12px;
    text-align: center;
}

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

.menu-note a {
    color: var(--color-accent);
    font-weight: 600;
    transition: color 0.2s ease;
}

.menu-note a:hover {
    color: var(--color-accent-dark);
}

/* ========================================
   Events Page
   ======================================== */
.events-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--color-bg);
}

.calendar-section {
    margin-bottom: var(--space-2xl);
}

.calendar-wrapper {
    background: var(--color-bg-card);
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.calendar-header h2 {
    font-size: 1.5rem;
}

.calendar-embed {
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-warm);
}

.calendar-embed iframe {
    width: 100%;
    height: 550px;
    border: none;
}

.cta-section {
    margin-bottom: var(--space-2xl);
}

.cta-card {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    padding: var(--space-2xl);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.cta-card h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: var(--space-sm);
}

.cta-card h3 em {
    color: rgba(255, 255, 255, 0.9);
}

.cta-card > p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin: 0 auto var(--space-lg);
}

.cta-card .btn {
    background: white;
    color: var(--color-accent);
}

.cta-card .btn:hover {
    background: var(--color-text);
    color: white;
}

.past-events-section {
    margin-bottom: var(--space-2xl);
}

.past-events-section h2 {
    font-size: 2rem;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.past-event-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.past-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.past-event-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.past-event-card:hover img {
    transform: scale(1.05);
}

.past-event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(44, 36, 22, 0.85), transparent);
}

.past-event-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: white;
}

.book-section {
    padding: var(--space-2xl);
    background: var(--color-bg-warm);
    border-radius: 16px;
    text-align: center;
}

.book-section h2 {
    margin-bottom: var(--space-sm);
}

.book-section > p {
    color: var(--color-text-secondary);
    max-width: 550px;
    margin: 0 auto var(--space-lg);
}

.book-features {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.book-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.book-feature span:first-child {
    font-size: 1.5rem;
}

/* ========================================
   Gallery Page
   ======================================== */
.gallery-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(200, 90, 56, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(10px);
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    padding: var(--space-sm) var(--space-md);
    background: rgba(44, 36, 22, 0.7);
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 22, 0.97);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: var(--color-accent);
}

.lightbox-prev { left: var(--space-lg); }
.lightbox-next { right: var(--space-lg); }

.gallery-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

.gallery-cta p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .menu-section {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .section-intro {
        position: static;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .past-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.wide,
    .gallery-item.tall,
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .past-events-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-embed iframe {
        height: 450px;
    }
    
    .book-features {
        flex-direction: column;
        align-items: center;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}
