body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    transition: background-color 0.5s ease-in-out;
}

header {
    position: relative;
    background: url('images/IcyBlue_Header.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 200px 0;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 28, 117, 0.7); /* Primary color overlay with opacity */
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 3em;
}

header p {
    font-size: 1.2em;
}

.section {
    text-align: center;
    padding: 200px 0;
}

#about {
    background-color: #a38729;
    color: black;
}

#products {
    background-color: white;
    color: #251c75;
}

#contact {
    background-color: #a38729;
    color: black;
}

footer {
    background-color: #251c75;
    color: white;
    padding: 60px 0;
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-card {
    perspective: 1000px;
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 80px;
    margin-bottom: 60px;
}

.product-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    
}

.product-card:hover .product-card-inner {
    transform: rotateY(180deg);
}

.product-card-front, .product-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 2px solid #251c75;
    border-radius: 10px;
}

.product-card-front img, .product-card-back img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.product-card-back {
    transform: rotateY(180deg);
}

.buy-btn {
    margin-top: 100px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}