/* Gallery Section Styles extracted from Home.css */

/* Gallery Section */
.gallery-section {
    padding: 70px 20px;
    text-align: center;
}

.gallery-header h2 {
    color: #ffffff;
    font-size: 2rem;
    text-shadow: 0 0 15px #ff3700, 0 0 35px #FF2E63;
    margin-bottom: 15px;
}

.gallery-header p {
    color: #eaeaea;
    max-width: 700px;
    margin: auto;
    font-size: 15px;
    line-height: 1.6;
}

/* ================= Gallery Grid ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 50px auto;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.gallery-grid picture {
    display: block;
    width: 100%;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-grid img:hover {
    transform: scale(1.07);
    box-shadow: 0 0 35px rgba(122, 56, 252, 0.7);
}

/* ================= Button ================= */
.gallery-btn {
    margin-top: 30px;
}

.gallery-btn a {
    text-decoration: none;
    padding: 12px 45px;
    background: linear-gradient(90deg, #7A38FC, #FF2E63);
    color: white;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 0 20px #7A38FC;
    transition: 0.3s ease;
}

.gallery-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px #FF2E63;
}

/* Tablet */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .gallery-header h1 {
        font-size: 1.6rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 220px;
    }
}

/* Extracted from General Media Queries in Home.css */
/* Gallery Image Standardization */
.Gallery-container .gallery img,
.gallery-grid img {
    width: 100%;
    /* Fill container width */
    height: 250px;
    /* Fixed height for uniformity */
    object-fit: cover;
    /* Maintain aspect ratio */
}

@media (max-width: 768px) {

    /* Merged gallery specific styles from Home.css mobile query */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet/large phone */
        gap: 10px;
    }

    .gallery-section {
        padding: 20px 10px;
    }
}