.gallery-section {
    min-height: 100vh; position: relative; 
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 100px 0; overflow: hidden;
}
.gallery-title { margin-bottom: 50px; z-index: 2; } 
.gallery-title h2 { font-size: 3rem; letter-spacing: 5px; }

.gallery-container {
    display: flex; gap: 50px; width: 90%; height: 60vh; position: relative; z-index: 2;
}

.g-card {
    flex: 1; background-size: cover; background-position: center;
    position: relative; overflow: hidden; filter: grayscale(100%); transition: 0.5s;
    display: flex; align-items: flex-end; padding: 30px;
}
.g-card:hover { filter: grayscale(0%); } 
.g-card span { font-family: 'Oswald'; font-size: 2rem; z-index: 2; } 
.g-card::after { content:''; position: absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }

.left-card, .right-card { opacity: 0; }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2200; 
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    transition: 0.3s ease;
    border-radius: 50%; 
}

.gallery-nav:hover {
    color: var(--accent); 
    background: rgba(255, 255, 255, 0.05); 
    scale: 1.1;
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

@media (max-width: 768px) {
    .gallery-nav { width: 40px; height: 40px; font-size: 1.5rem; }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}