/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f9f9f9, #f0e6d2);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #4A4A4A;
    margin: 0;
    padding: 0;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 50px;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header {
    font-family: 'Pacifico', cursive;
    font-size: 3em;
    color: #8A5A44;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subheader {
    font-size: 1.2em;
    color: #8A5A44;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.cookie-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.cookie {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cookie img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cookie span {
    margin-top: 10px;
    font-family: 'Pacifico', cursive;
    font-size: 1.2em;
    color: #8A5A44;
}

.cookie:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cookie:hover img {
    transform: rotate(360deg);
}

.cta {
    font-size: 1.2em;
    margin-top: 30px;
    color: #8A5A44;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.order-btn {
    background: #8A5A44;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.order-btn:hover {
    background: #6A3E2A;
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

footer {
    margin-top: 50px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer a {
    color: #8A5A44;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #6A3E2A;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 80%;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    transform: scale(0.7);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    font-family: 'Pacifico', cursive;
    color: #8A5A44;
    margin-bottom: 15px;
    font-size: 1.8em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-content p {
    font-size: 1em;
    color: #4A4A4A;
    line-height: 1.5;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    color: #8A5A44;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #6A3E2A;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Gradient Animation */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .logo {
        width: 100px;
    }

    .header {
        font-size: 2em;
    }

    .subheader {
        font-size: 0.9em;
    }

    .cookie {
        width: 100px;
        height: 100px;
    }

    .cookie span {
        font-size: 0.9em;
    }

    .cta {
        font-size: 0.9em;
    }

    .order-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    footer {
        padding: 10px;
    }

    footer a {
        font-size: 0.9em;
    }

    .modal-content {
        padding: 15px;
    }

    .modal-content img {
        width: 60px;
        height: 60px;
    }

    .modal-content h2 {
        font-size: 1.2em;
    }

    .modal-content p {
        font-size: 0.8em;
    }
}

.price {
    font-size: 1.2em;
    color: #8A5A44;
    margin-top: 10px;
    font-weight: bold;
}