/* ============================ */
/* GALLERY PAGE STYLING         */
/* ============================ */
.gallery-page {
    padding: 80px 20px;
    background: #f0f4ff; /* lighter, fresher background */
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.gallery-title {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.gallery-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    margin: 15px auto 0;
    border-radius: 5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* ============================ */
/* PRODUCT CARD STYLING          */
/* ============================ */
.product-card {
    background: linear-gradient(145deg, #ffffff, #e6f0fa);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid #e0e5f0;
}

.product-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #d9e6f8, #f0f6ff);
}

/* Images */
.product-card img {
    width: 100%;
    display: block;
    border-bottom: 1px solid #e0e5f0;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.08) rotateZ(1deg);
    filter: brightness(1.1);
}

/* Video support */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-bottom: 1px solid #e0e5f0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Product info overlay */
.product-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(30, 60, 114, 0.9);
    color: #fff;
    padding: 15px;
    text-align: left;
    transform: translateY(100%);
    transition: transform 0.4s ease, background 0.4s ease;
}

.product-card:hover .product-info {
    transform: translateY(0);
    background: rgba(30, 60, 114, 0.95);
}

.product-info h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-info p {
    font-size: 0.9rem;
    color: #d3e0ff;
}

/* Quick view button */
.btn-quickview {
    padding: 8px 22px;
    background: #fff;
    color: #1e3c72;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quickview:hover {
    background: #2a5298;
    color: #fff;
    transform: scale(1.05);
}

/* ============================ */
/* RESPONSIVE STYLING           */
/* ============================ */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .btn-quickview {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 20px;
    }

    .product-info h3 {
        font-size: 0.95rem;
    }
}
