/* Gallery Styles */
.gallery-section {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    height: 350px;
    background: #000;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: #fff;
    font-size: 0.9rem;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--dark);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--dark);
}

/* Cineproject Section */
.cineproject-section {
    background: var(--darker);
    color: #fff;
    padding: 6rem 5%;
}

.cineproject-section .section-title {
    color: var(--gold);
}

.cineproject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cineproject-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.cineproject-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cineproject-overlay {
    position: absolute;
    inset: 0;
    background: rgba(201, 169, 110, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.cineproject-card:hover .cineproject-overlay {
    opacity: 1;
}

.cineproject-overlay h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cineproject-overlay p {
    color: var(--dark);
    font-size: 1rem;
}

/* Modal Styles */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: default;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.photo-modal-close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10002;
}

.photo-modal-close:hover {
    color: var(--gold);
}

.gallery-item,
.cineproject-card {
    cursor: pointer;
}