/* Mobile-First Responsive Menu Styles */
/* Color scheme: Dark yellow to dark red gradient */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fade-in animation for page load */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes subtle-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #8b6914 0%, #6b1a1a 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    animation: fadeIn 0.6s ease-out;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 16px;
    min-height: 100vh;
    animation: fadeIn 0.8s ease-out;
}

/* Sticky header option */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    animation: fadeIn 0.6s ease-out;
}

/* Enhanced logo with animation */
.logo {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.8s ease-out;
}

.logo img {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Language Selection */
.language-selection {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.language-link {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(139, 0, 0, 0.3) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px 24px;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s ease-out backwards;
}

.language-link:nth-child(1) { animation-delay: 0.1s; }
.language-link:nth-child(2) { animation-delay: 0.2s; }
.language-link:nth-child(3) { animation-delay: 0.3s; }
.language-link:nth-child(4) { animation-delay: 0.4s; }

/* Shimmer effect on hover */
.language-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.language-link:hover::before {
    left: 100%;
}

.language-link:active,
.language-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(139, 0, 0, 0.4) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-flag {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.language-link:hover .language-flag {
    transform: scale(1.1) rotate(5deg);
}

.language-name {
    flex: 1;
}

/* Section Links */
.section-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.section-link {
    display: block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(139, 0, 0, 0.3) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s ease-out backwards;
}

.section-link:nth-child(1) { animation-delay: 0.1s; }
.section-link:nth-child(2) { animation-delay: 0.15s; }
.section-link:nth-child(3) { animation-delay: 0.2s; }
.section-link:nth-child(4) { animation-delay: 0.25s; }
.section-link:nth-child(5) { animation-delay: 0.3s; }
.section-link:nth-child(6) { animation-delay: 0.35s; }
.section-link:nth-child(7) { animation-delay: 0.4s; }
.section-link:nth-child(8) { animation-delay: 0.45s; }
.section-link:nth-child(9) { animation-delay: 0.5s; }
.section-link:nth-child(10) { animation-delay: 0.55s; }
.section-link:nth-child(11) { animation-delay: 0.6s; }

/* Enhanced hover effect with shimmer */
.section-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.section-link:hover::before {
    left: 100%;
}

.section-link:active,
.section-link:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(139, 0, 0, 0.4) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.back-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.back-link:hover::before {
    width: 300px;
    height: 300px;
}

.back-link:active,
.back-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Visual separator between sections */
.section-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    margin: 40px 0;
    border: none;
}

.category {
    margin-bottom: 50px;
    position: relative;
    padding: 28px 18px;
    border-radius: 16px;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 0, 0, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(139, 105, 20, 0.15) 0%, rgba(107, 26, 26, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

.category > * {
    position: relative;
    z-index: 1;
}

/* Decorative corner elements */
.category::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
    z-index: 2;
}

.category h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.3);
    position: relative;
    padding-left: 40px;
}

.category h2::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: rgba(255, 215, 0, 0.8);
    font-size: 1.4rem;
    animation: subtle-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5));
}

/* Decorative bottom corner */
.category::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 0 4px;
    z-index: 2;
}

/* Special offer box */
.special-offer {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(139, 0, 0, 0.4) 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 28px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

.special-offer::before {
    content: '✨';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: subtle-pulse 2s ease-in-out infinite;
}

.special-offer::after {
    content: '✨';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: subtle-pulse 2s ease-in-out infinite 1s;
}

.special-offer p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.item {
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.4) 0%, rgba(107, 26, 26, 0.5) 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid rgba(255, 215, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out backwards;
}

.item:nth-child(1) { animation-delay: 0.1s; }
.item:nth-child(2) { animation-delay: 0.15s; }
.item:nth-child(3) { animation-delay: 0.2s; }
.item:nth-child(4) { animation-delay: 0.25s; }
.item:nth-child(5) { animation-delay: 0.3s; }
.item:nth-child(6) { animation-delay: 0.35s; }
.item:nth-child(7) { animation-delay: 0.4s; }
.item:nth-child(8) { animation-delay: 0.45s; }
.item:nth-child(9) { animation-delay: 0.5s; }
.item:nth-child(10) { animation-delay: 0.55s; }

/* Decorative corner accent */
.item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 0 12px 0 50px;
    transition: all 0.3s ease;
}

.item:hover::before {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, transparent 70%);
}

.item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-left-color: rgba(255, 215, 0, 0.9);
}

.item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.3),
        0 3px 6px rgba(0, 0, 0, 0.2);
    border-left-color: rgba(255, 215, 0, 0.8);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
}

/* Number badge styling */
.item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.2) 100%);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    margin-right: 10px;
}

.item-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    flex: 1;
    position: relative;
    line-height: 1.4;
    margin: 0;
}

.item-header h3::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.7) 0%, rgba(255, 215, 0, 0.3) 100%);
    border-radius: 2px;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffd700;
    white-space: nowrap;
    flex-shrink: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.item:hover .price {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.2) 100%);
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.05);
}

.item-image {
    margin: 12px 0;
    text-align: center;
}

.item-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-top: 10px;
    padding-left: 14px;
    border-left: 3px solid rgba(255, 215, 0, 0.4);
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Better formatting for multi-line descriptions */
.description + .description {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid rgba(255, 215, 0, 0.4);
}

/* Styling for multi-line descriptions (e.g., lists) */
.description ul {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
}

.description li {
    margin-bottom: 6px;
    padding-left: 1.4em;
    position: relative;
}

.description li::before {
    content: '▸';
    color: #ffd700;
    position: absolute;
    left: 0;
    font-size: 0.8em;
}

/* Enhanced footer */
footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 24px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 30px 24px;
    }

    .logo img {
        max-width: 300px;
    }

    header h1 {
        font-size: 3rem;
    }

    .language-link {
        font-size: 1.3rem;
        padding: 24px 28px;
    }

    .section-link {
        font-size: 1.6rem;
        padding: 28px;
    }

    .category {
        padding: 32px 24px;
    }

    .category h2 {
        font-size: 2rem;
        padding-left: 48px;
    }

    .category h2::before {
        font-size: 1.6rem;
    }

    .item {
        padding: 24px;
    }

    .item-header h3 {
        font-size: 1.4rem;
    }

    .item-number {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 1rem;
    }

    .price {
        font-size: 1.4rem;
        padding: 8px 14px;
    }

    .description {
        font-size: 1rem;
    }

    .special-offer {
        padding: 20px;
    }

    .special-offer p {
        font-size: 1.2rem;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .container {
        max-width: 700px;
    }

    .category {
        padding: 36px 28px;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .container {
        background-color: white;
    }

    .item {
        background-color: #f5f5f5;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .category h2 {
        color: #333;
        border-bottom-color: #ccc;
    }

    .price {
        color: #000;
    }

    .description {
        color: #555;
    }

    /* Disable animations for print */
    * {
        animation: none !important;
        transition: none !important;
    }
}
