/* General styles */
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.logo img {
    height: 90px;
    margin-left: 550px;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
    animation: fadeInUp 1s forwards;
    opacity: 0;
}

.logo img:hover {
    transform: rotate(360deg) scale(1.1);
    filter: brightness(1.2);
}

.heading h1 {
    background-color: #e7deb6;
    text-align: center;
    color: black;
    height: 50px;
    margin: 0;
    padding-top: 1px;
    border-radius: 10px 10px 0 0;
    opacity: 0;
    animation: fadeInDown 1s 0.5s forwards;
}

.heading {
    border-radius: 10px;
    margin-top: 10px;
}

.product {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #ccc;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
    background-color: #080808;
    transition: background-color 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s 0.7s forwards;
    height: 20;
}

.product .image {
    width: 65%;
    height: 450px;
    transition: transform 0.3s ease;
}

.product .image:hover {
    transform: scale(1.05);
}

.product .details {
    width: 30%;
    text-align: left;
    transition: transform 0.3s ease;
    animation: fadeInLeft 1s forwards;
}

.product .details:hover {
    transform: translateX(10px);
}

.product .details h3 {
    margin: 0 0 10px;
    color: #f8f2f2;
}

.details-box {
    margin: 10px 0;
    padding: 10px;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.details-box p {
    margin: 5px 0;
}

.product button a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productdiv {
    background-color: #EEE8AA;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn {
    align-items: center;
    background-color: initial;
    background-image: linear-gradient(#0c0c0cd6, rgba(28, 28, 29, 0.84) 50%);
    border-radius: 50px;
    border-width: 0;
    box-shadow: #f1eff13d 0 2px 2px, #e5e2e966 0 8px 12px;
    color: hsl(0, 23%, 97%);
    cursor: pointer;
    display: flex;
    font-family: Quicksand, sans-serif;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: .04em;
    line-height: 16px;
    margin: 0;
    padding: 18px 18px;
    text-align: center;
    text-decoration: none;
    text-shadow: rgba(255, 255, 255, 0.4) 0 0 4px, rgba(255, 255, 255, 0.2) 0 0 12px, rgba(57, 31, 91, 0.6) 1px 1px 4px, rgba(57, 31, 91, 0.32) 4px 4px 16px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    animation: pulse 2s infinite;
}

.btn i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.btn:hover {
    background-color: #d4d7d4;
    color: rgb(248, 247, 247);
    transform: scale(1.1);
    animation: btnHover 0.5s;
}

.btn:hover i {
    transform: translateX(-5px);
}

/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes btnHover {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .logo img {
        margin-left: 20px;
        height: 70px;
    }

    .heading h1 {
        font-size: 1.9em;
        height: auto;
        padding: 10px;
    }

    .product {
        flex-direction: column;
        align-items: flex-start;
    }

    .product .image, .product .details {
        width: 100%;
        margin: 10px 0;
    }

    .product .image {
        height: auto;
        max-height: 300px;
    }

    .btn {
        width: 100px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .heading h1 {
        font-size: 1.2em;
        padding: 5px;
    }

    .btn {
        width: 80px;
        height: 30px;
        font-size: 0.8em;
    }
}
