/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

/* Header Section */
.header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff, #e9e9e9);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 3.5rem;
    color: #c9302c;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.header p {
    font-size: 1.4rem;
    color: #555;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* Jewellery Gallery */
.jewellery-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.gallery-item {
    position: relative;
    margin: 20px;
    width: 280px;
    overflow: hidden;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.4s ease-in-out;
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* Item Details with Fade-in Effect */
.item-details {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease-in-out;
}

.gallery-item:hover .item-details {
    opacity: 1;
    transform: translateY(0);
}

.item-details h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.item-details p {
    font-size: 1.1rem;
    font-weight: 300;
}

/* Footer */
.footer {
    text-align: center;
    padding: 25px;
    background-color: #2d2d2d;
    color: #ddd;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer p {
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.8rem;
    }

    .header p {
        font-size: 1.2rem;
    }

    .gallery-item {
        width: 90%;
    }

    .jewellery-gallery {
        padding: 30px 10px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2.4rem;
    }

    .header p {
        font-size: 1rem;
    }
}
