/* אזור הגלריה */
.gallery-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #000;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* הגריד שמסדר את התמונות */
.gallery-grid {
    display: grid;
    /* במובייל תמונה אחת בשורה, במסכים גדולים 3 בשורה */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4; /* שומר על פרופורציות של צילום אופנה */
    display: block;
    transition: transform 0.6s ease;
}

/* אפקט זום עדין במעבר עכבר */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* שכבת הטקסט שמופיעה מלמטה */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item:hover .overlay {
    height: 60px;
}

.overlay span {
    color: #000;
    font-size: 15px;
    letter-spacing: 1px;
}