:root {
    --primary-color: #C41E3A;
    /* Turkish Red */
    --secondary-color: #FDF5E6;
    /* Old Lace / Warm Cream */
    --accent-color: #2A5C3D;
    /* Dark Green */
    --gold-color: #D4AF37;
    /* Metallic Gold */
    --text-color: #2C2C2C;
    --desc-color: #555555;
    --background-color: #ffffff;
    --border-color: #D4AF37;
    /* Gold borders */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    /* Subtle Islamic Pattern Background */
    background-image:
        radial-gradient(circle at 100% 150%, var(--secondary-color) 24%, #f0e6d2 25%, #f0e6d2 28%, var(--secondary-color) 29%, var(--secondary-color) 36%, #f0e6d2 36%, #f0e6d2 40%, transparent 40%, transparent),
        radial-gradient(circle at 0 150%, var(--secondary-color) 24%, #f0e6d2 25%, #f0e6d2 28%, var(--secondary-color) 29%, var(--secondary-color) 36%, #f0e6d2 36%, #f0e6d2 40%, transparent 40%, transparent),
        radial-gradient(circle at 50% 100%, #f0e6d2 10%, var(--secondary-color) 11%, var(--secondary-color) 23%, #f0e6d2 24%, #f0e6d2 30%, var(--secondary-color) 31%, var(--secondary-color) 43%, #f0e6d2 44%, #f0e6d2 50%, transparent 50%, transparent),
        radial-gradient(circle at 100% 50%, #f0e6d2 5%, var(--secondary-color) 6%, var(--secondary-color) 15%, #f0e6d2 16%, #f0e6d2 20%, var(--secondary-color) 21%, var(--secondary-color) 30%, #f0e6d2 31%, #f0e6d2 35%, transparent 35%, transparent),
        radial-gradient(circle at 0 50%, #f0e6d2 5%, var(--secondary-color) 6%, var(--secondary-color) 15%, #f0e6d2 16%, #f0e6d2 20%, var(--secondary-color) 21%, var(--secondary-color) 30%, #f0e6d2 31%, #f0e6d2 35%, transparent 35%, transparent);
    background-size: 100px 50px;
    line-height: 1.6;
    padding-bottom: 40px;
}

header {
    background: linear-gradient(-45deg, #c41e3a, #8B0000, #c41e3a, #5c0000);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    color: white;
    padding: 50px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 4px solid var(--gold-color);
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(to right, #ffffff 0%, var(--gold-color) 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite, glowPulse 2s ease-in-out infinite alternate;
    margin-bottom: 10px;
}

.header-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: var(--gold-color);
    letter-spacing: 2px;
    opacity: 0.9;
    animation: fadeIn 2s ease-out;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes glowPulse {
    from {
        filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.4));
    }

    to {
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8));
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    30% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

main {
    max-width: 768px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Accordion Styles */
.accordion {
    background-color: var(--background-color);
    color: var(--primary-color);
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: 2px solid var(--gold-color);
    text-align: left;
    outline: none;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: 0.4s;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accordion::after {
    content: '\2726';
    /* Star-like icon */
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a3d28 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    border-bottom: none;
}

.active::after {
    content: "\2726";
    color: var(--gold-color);
}

.panel {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    border-radius: 0 0 12px 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--gold-color);
    border-top: none;
}

.section-subtitle {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--desc-color);
    background-color: #fff9f0;
    border-bottom: 1px solid #f0f0f0;
}

/* Menu Item Card Design */
.menu-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    gap: 20px;
    transition: background-color 0.2s;
}

.menu-item:hover {
    background-color: #fffaf0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.item-details {
    flex-grow: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.item-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.dots {
    flex-grow: 1;
    border-bottom: 2px dotted var(--gold-color);
    margin: 0 12px;
    position: relative;
    top: -4px;
    opacity: 0.6;
}

.item-price {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

.item-description {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--desc-color);
    line-height: 1.4;
}

/* Sticky Footer Removed */

/* Responsive adjustments */
@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .accordion {
        font-size: 1rem;
        padding: 15px;
    }

    .menu-item {
        padding: 12px 15px;
    }

    .menu-item img {
        width: 100px;
        height: 100px;
    }

    .item-name {
        font-size: 0.95rem;
    }
}