/* Gallery Page Styles */
.gallery-hero {
    padding: 40px 20px;
    background: var(--color-white);
}

.gallery-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-border);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    position: relative;
    height: 75vh;
    background: var(--color-bg-light);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
    padding: 20px;
    font-family: var(--font-sans);
    font-size: 1rem;
    text-align: center;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: var(--color-white);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Quote Section */
.gallery-quote {
    padding: 40px 20px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.gallery-quote p {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-dark);
    text-align: center;
    line-height: 1.8;
}

/* Product Grid */
.product-grid {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin: 15px 20px 10px;
}

.product-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-dark);
    margin: 0 20px 20px;
    line-height: 1.5;
}

/* Current menu indicator */
.product-card.current-menu {
    border: 2px solid var(--color-primary);
    position: relative;
}

.product-card.current-menu::before {
    content: "ON MENU";
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

/* CTA Section */
.gallery-cta {
    padding: 60px 20px;
    text-align: center;
    background: var(--color-surface);
}

.cta-coming-soon {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-dark);
    font-style: italic;
    opacity: 0.75;
    margin-bottom: 35px;
}

.cta-button {
    display: inline-block;
    
    /* Typography & sizing (from place-order-button) */
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 10px 30px;
    
    /* Colors (from inline-newsletter button) */
    background: linear-gradient(135deg, #8B7355 0%, #A0926B 100%);
    color: white;
    
    /* Borders & shape */
    border: 2px solid rgba(139, 115, 85, 0.2);
    border-radius: 10px;
    
    /* Effects */
    box-shadow: 
        0 8px 20px rgba(139, 115, 85, 0.15),
        0 3px 8px rgba(0, 0, 0, 0.08);
    
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(135deg, #7A6349 0%, #8E7F5E 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 28px rgba(139, 115, 85, 0.2),
        0 5px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(139, 115, 85, 0.3);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 12px rgba(139, 115, 85, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2rem;
    }
    
    .carousel-track {
        height: 50vh;
    }
    
    .gallery-quote p {
        font-size: 1.1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .gallery-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .carousel-track {
        height: 40vh;
    }
    
    .carousel-caption {
        font-size: 0.9rem;
        padding: 15px;
    }
    
    .gallery-quote {
        padding: 30px 15px;
    }
    
    .gallery-quote p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}