﻿/* Theme01.css – Modern Dark Orange Coffee Menu (2025) – Fully Updated */

@font-face {
    font-family: 'IRANSansX';
    src: url('https://shangulipus.github.io/SoudConfig/IRANSansXMedium.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IRANSansX', Tahoma, sans-serif;
}

html, body {
    background: #313038;
    color: #FEFDFF;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    min-height: 100vh;
}

.menu-container {
    max-width: 900px;
    margin: 0 auto;
    background: #313038;
    overflow: hidden;
}

/* Header */
.menu-header {
    background: linear-gradient(135deg, #2a2a30 0%, #1e1e24 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 4px solid #EC732E;
}

.shop-name {
    font-size: 2.8rem;
    font-weight: 800;
    color: #EC732E;
    margin-bottom: 10px;
    letter-spacing: 1.8px;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

.shop-description {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
    margin: 12px 0;
}

.shop-address {
    font-size: 1rem;
    opacity: 0.75;
    margin: 8px 0;
}

/* Sticky Category Navigation */
.category-nav {
    position: sticky;
    top: 0;
    background: #2a2a30;
    padding: 16px 20px;
    z-index: 200;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    border-bottom: 3px solid #EC732E;
    backdrop-filter: blur(10px);
}

.category-nav-btn {
    background: #1e1e24;
    color: #FEFDFF;
    border: 2px solid #EC732E;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-content: space-around;
    flex-direction: column;
    justify-content: space-around;
}

    .category-nav-btn:hover {
        background: #EC732E;
        color: #1e1e24;
        transform: translateY(-3px);
    }

/* Collapsible Category Header */
.category-header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding: 20px 24px;
    background: rgba(236, 115, 46, 0.12);
    border-radius: 16px;
    margin: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* display: flex; */
    /* flex-direction: row; */
}

    .category-header:hover {
        background: rgba(236, 115, 46, 0.2);
    }

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #EC732E;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #EC732E;
    transition: transform 0.3s ease;
    margin-right: auto;
}

.category-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Category Body – Collapsible */
.category-body {
    display: none;
    padding: 0 20px 30px;
}

    .category-body.open {
        display: block;
        animation: slideDown 0.5s ease-out;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 3000px;
    }
}

/* Menu Items – Horizontal Cards */
.menu-item {
    background: linear-gradient(84deg, #05090A, transparent);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    border: 1px solid rgba(236, 115, 46, 0.15);
    transition: all 0.4s ease;
}

    .menu-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(236, 115, 46, 0.3);
        border-color: #EC732E;
    }

.item-image {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #EC732E;
    margin: 16px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(236, 115, 46, 0.4);
}

.item-info {
    padding: 20px;
    flex: 1;
}

.item-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #EC732E;
    margin-bottom: 8px;
}

.item-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
    line-height: 1.6;
}

.item-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #EC732E;
}

/* New Footer – Fully Styled */
.menu-footer {
    background: linear-gradient(to top, #1e1e24, #2a2a30);
    padding: 50px 30px 40px;
    margin-top: 60px;
    border-top: 4px solid #EC732E;
    color: #FEFDFF;
    margin-top: 30;
}

    .menu-footer .footer-title {
        font-size: 1.6rem;
        font-weight: 800;
        color: #EC732E;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid rgba(236, 115, 46, 0.4);
        display: inline-block;
        margin-top: 30px;
    }

.footer-description-text,
.footer-address-text {
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(236, 115, 46, 0.3);
    font-size: 1.1rem;
}

.footer-contact-name {
    opacity: 0.8;
}

.footer-contact-value {
    color: #EC732E;
    font-weight: 700;
    font-size: 24;
}

.footer-social-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(236, 115, 46, 0.15);
    padding: 12px 20px;
    border-radius: 50px;
    color: #FEFDFF;
    text-decoration: none;
    border: 1px solid rgba(236, 115, 46, 0.3);
    transition: all 0.3s ease;
}

    .footer-social-item:hover {
        background: #EC732E;
        color: #1e1e24;
        transform: translateY(-4px);
    }

.social-icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}

.footer-powered {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed rgba(236, 115, 46, 0.3);
    opacity: 0.7;
    font-size: 0.95rem;
}

    .footer-powered strong {
        color: #EC732E;
    }

/* Animation */
.menu-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

    .menu-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .menu-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .menu-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .menu-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .menu-item:nth-child(5) {
        animation-delay: 0.5s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-icon {
    width: 44px;
    margin-left: 6px;
    display: inline-block;
    /* color: #201d1c; */

    filter: invert(62%) sepia(21%) saturate(7113%) hue-rotate(341deg) brightness(150%) contrast(90%);
}


.category-icon-nav {
    width: 44px;
    /* height: 20px; */

    margin-left: 6px;
    display: inline-block;
    /* color: #201d1c; */

    filter: invert(1);
    margin: auto;
    margin-bottom: 10px;
    filter: invert(62%) sepia(21%) saturate(7113%) hue-rotate(341deg) brightness(150%) contrast(90%);
}
