/* ============================================
   GALLERY PAGE STYLES
   ============================================ */
.gallery-hero {
    background: linear-gradient(135deg, #b3271b 0%, #d14a22 55%, #de6830 100%);
    color: white;
    padding: 160px 20px 80px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.gallery-title {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -3px;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 10px 32px rgba(0,0,0,0.13);
    position: relative;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 42%, rgba(255, 255, 255, 0.16) 0%, transparent 42%);
    pointer-events: none;
 background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='24' height='24.5' patternTransform='scale(1) rotate(20)'><rect x='0' y='0' width='100%' height='100%' fill='%23c0392bff'/><path d='M10-6V6M10 14v12M26 10H14M6 10H-6' transform='translate(2,0)' stroke-linecap='square' stroke-width='0.5' stroke='%23232428ff' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(-38,-25)' fill='url(%23a)'/></svg>")
}
.gallery-section {
    background: linear-gradient(180deg, #fffdf7 0%, #f7f3eb 100%);
    padding: 80px 0 40px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.gallery-item {
    background: #fff;
  
    box-shadow: 0 4px 24px rgba(43,44,82,0.07);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(43,44,82,0.13);
}

.gallery-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: filter 0.3s;
}

.gallery-item:hover .gallery-image {
    filter: brightness(0.92) saturate(1.1);
}

@media (max-width: 900px) {
    .gallery-title {
        font-size: 38px;
        letter-spacing: -1px;
    }
    .gallery-grid {
        gap: 18px;
    }
    .gallery-image {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .gallery-title {
        font-size: 28px;
    }
    .gallery-section {
        padding: 40px 0 20px;
    }
    .gallery-grid {
        gap: 10px;
    }
    .gallery-image {
        height: 120px;
    }
}
