/* Garden Indian Restaurant - Gallery Stylesheet
   Author: [Your Name]
   Student ID: [Your ID]
*/

/* Gallery Hero Section */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
                url('../images/TheGarden1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.4)
    );
    z-index: 1;
}

.gallery-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-xl);
}

.gallery-hero h2 {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
}

.gallery-hero .hero-subtitle {
    font-size: 1.8rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--neutral-200);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.gallery-filters .filter-btn {
    background-color: var(--neutral-200);
    color: var(--text-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.gallery-filters .filter-btn:hover {
    background-color: var(--primary-light);
    color: white;
}

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

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xxl);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
    color: white;
    padding: var(--space-md);
    transform: translateY(100%);
    transition: transform var(--transition-medium);
    opacity: 0;
}

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

.gallery-item-overlay h3 {
    margin-bottom: var(--space-xs);
    color: white;
    font-size: 1.2rem;
}

.gallery-item-overlay p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--neutral-200);
}

/* Gallery Info Section */
.gallery-info {
    background-color: var(--background-alt);
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
}

.gallery-info .info-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-lg);
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.gallery-info h3 {
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.gallery-info p {
    margin-bottom: var(--space-lg);
}

.info-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-hero {
        height: 550px;
        background-attachment: scroll;
    }

    .gallery-hero h2 {
        font-size: 3.5rem;
    }

    .gallery-hero .hero-subtitle {
        font-size: 1.6rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 450px;
    }

    .gallery-hero h2 {
        font-size: 2.8rem;
    }

    .gallery-hero .hero-subtitle {
        font-size: 1.4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--space-md);
    }
    
    .gallery-item-overlay {
        padding: var(--space-sm);
    }
    
    .gallery-item-overlay h3 {
        font-size: 1rem;
    }
    
    .gallery-item-overlay p {
        font-size: 0.8rem;
    }
    
    .info-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .gallery-hero {
        height: 400px;
    }

    .gallery-hero h2 {
        font-size: 2.2rem;
    }

    .gallery-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .gallery-filters .filter-btn {
        width: 80%;
    }
} 