/**
 * Classic Restaurant Page Specific Styles
 * Extends orderix Theme Variables
 */

/* ==========================================================================
   1. GLOBAL UTILITIES
   ========================================================================== */

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-surface-alt);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-sans);
    color: var(--color-accent-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   2. HERO (Classic Style)
   ========================================================================== */

.hero-classic {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Elegant dark gradient overlay */
    background: linear-gradient(to bottom, rgba(46, 42, 36, 0.4), rgba(46, 42, 36, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-sans);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ==========================================================================
   3. ABOUT SECTION
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 4px; /* Slight radius for classic feel */
    box-shadow: var(--shadow-md);
}

.about-content .text-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-accent-dark);
    font-family: var(--font-serif);
    font-style: italic;
}

.signature-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-border);
}

/* ==========================================================================
   4. MENU / WOOCOMMERCE
   ========================================================================== */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.menu-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-soft);
}

.menu-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.05);
}

.menu-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.menu-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin: 0;
    color: var(--color-text);
}

.menu-price {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-accent-dark);
    font-size: 1.2rem;
}

.menu-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-text {
    color: var(--color-text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    align-self: flex-start;
}

.btn-text:hover {
    color: var(--color-accent-dark);
}

/* ==========================================================================
   5. INFO SECTION (Hours & Location)
   ========================================================================== */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.info-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-surface-alt);
    padding-bottom: 0.5rem;
}

.day { font-weight: 500; color: var(--color-text); }
.time { color: var(--color-text-muted); }

.info-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-frame {
    height: 100%;
    min-height: 250px;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    filter: grayscale(100%); /* Classic B&W look, remove for color */
    transition: filter 0.3s;
}

.map-frame:hover {
    filter: grayscale(0%);
}

/* ==========================================================================
   6. GALLERY
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; } /* Large Feature Item */
.gallery-item:nth-child(4) { grid-column: span 2; } /* Wide Item */

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   7. TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: var(--color-surface-alt);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius-sm);
    position: relative;
}

.rating {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.testimonial-author {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--color-accent-dark);
    margin: 0;
}

/* ==========================================================================
   8. CTA / RESERVATION
   ========================================================================== */

.cta-section {
    background-color: var(--color-secondary);
    color: #fff;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+'); /* Subtle texture */
}

.cta-wrapper h2 {
    color: #fff;
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
}

.cta-wrapper p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
}

.reservation-box {
    background: #fff;
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    color: var(--color-text);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .about-grid, .info-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1; /* Image on top on mobile */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gallery-item:nth-child(4) { grid-column: span 2; }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}