body {
    font-family: 'Comic Sans MS', sans-serif;
    background: linear-gradient(to bottom, #FFCC02, #FFCC02);
    color: #000;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ffcc00;
    padding: 20px;
    text-align: center;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .logo img {
    height: 80px;
    margin-right: 20px;
    animation: logoAnimation 2s infinite;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

main {
    padding: 20px;
}

#main-image {
    text-align: center;
    margin-bottom: 20px;
}

#main-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
}

#cta {
    text-align: center;
    margin: 20px 0;
}

.buy-button {
    position: relative;
    background-color: #ffcc00;
    border: 2px solid #000;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.buy-button:hover {
    background-color: #ffa500;
    transform: scale(1.05);
}

.cat-icon {
    height: 40px;
    margin-right: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 
    40% {transform: translateY(-15px);} 
    60% {transform: translateY(-10px);} 
}

section {
    margin-bottom: 40px;
}

.image-box {
    background-color: #ffcc00;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.image-grid img:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 10px;
}

form input, form textarea {
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    margin-top: 20px;
    padding: 10px;
    border: none;
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #ffa500;
}

footer {
    background-color: #ffcc00;
    padding: 20px;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 15px;
}

footer ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

@keyframes logoAnimation {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-grid img {
        width: 100%;
        max-width: 300px;
    }

    #main-image img {
        width: 90%;
        max-width: none;
    }

    form {
        width: 100%;
    }
}
