.gallery-img-link {
    padding: 0 !important;
    box-sizing: border-box;
}
.gallery-img-padding {
    padding: 1px !important;
    margin: 1px !important;
    box-sizing: border-box;
}

/* Gallery Hero Section */
.gallery-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 1.5s ease-out;
}

.gallery-hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
    width: 100%;
}

.hero-subtitle {
    display: block;
    font-family: var(--body-font);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
    color: var(--primary-color);
}

.hero-title {
    font-family: var(--headings-font);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.4s;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #fff !important;
}

.hero-separator {
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    margin: 0 auto 30px;
    opacity: 0;
    transform: scaleX(0);
    animation: scaleInX 0.8s forwards 0.6s;
}

.hero-description {
    font-family: var(--body-font);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.8s;
    color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleInX {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

.hero-scroll-indicator span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 11px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 4px;
    height: 6px;
    background: var(--primary-color);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .gallery-hero {
        height: 60vh;
    }
    .hero-description {
        font-size: 16px;
        padding: 0 20px;
    }
    .hero-title {
        font-size: 2.5rem !important;
    }
}
