:root {
    --primary-red: #d60808;
    --secondary-red: #FF0000;
    --light-red: #FFE4E1;
}
@font-face {
    font-family: 'IRANSansWeb';
    src: url('../font/IRANSansWeb.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'IRANSansWeb', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e32626;
    color: #222;
}

button {
    font-family: 'IRANSansWeb';
}
.logo-container {
    text-align: center;
    padding: 24px;
    background-color: #000;
}
.logo {
    max-width: 150px;
    height: auto;
}
.chance-container {
    background: linear-gradient(to bottom, #0000004f, #00000090);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 10px auto;
    gap: 8px;
}

.chance-container .chance-title {
    color: #ffd500;
    /*text-shadow: 0 0 5px #a68c00, 0 0 10px #ba9d00, 0 0 15px #c59e00, 0 0 20px #cd9600, 0 0 30px #c28100, 0 0 40px #cb6c00;*/
    font-size: 13px;
    font-weight: bold;
}
.chance-selection {
    width: 94%;
    margin-top: 8px;
}
.chance-selection .menu-item {
    display: flex;
    gap: 12px;
    padding: 8px 22px;
    background-color: #0000004f;
    border: 2px dashed #f85c4d;
}


.menu-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    gap: 20px;
}

.tab-container {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    scroll-behavior: smooth;
}

.tab-button {
    background-color: rgba(0, 0, 0);
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s;
    color: #fff;
    text-align: right;
    width: 200px;
}

.tab-button:hover,
.tab-button.active {
    background-color: #fff;
    color: #000;
    font-weight: bold;
}

.menu-sections-container {
    flex: 1;
    background: linear-gradient(to bottom, #0000004f, #000000aa);
    border-radius: 12px;
    padding: 13px;
}

.menu-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
    border-top: 2px solid #00000017;
}

.menu-section:first-child {
    border-top: none;
}
.category-title {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    margin-right: 12px;
    color: #fffd9a;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    /* margin-bottom: 10px; */
    border-radius: 5px;
    flex-wrap: wrap;
    /* font-weight: 400; */
    color: #ffe6e6;
    font-size: 18px;
}

.menu-item:hover {
    background-color: rgba(255, 228, 225, 0.3);
}

.item-name {
    font-size: 18px;
    margin-left: 10px;
    color: #fff;
}

.item-price {
    color: #ffaec9
}

.item-description {
    color: #d2a5a5;
    font-size: 14px;
    margin-top: 4px;
    width: 100%;
}

.unavailable {
    text-decoration: line-through;
    opacity: 0.6;
}

.inline-icon {
    margin-left: 10px;
}

.background-chicken {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 50vh;
    width: auto;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}
.cafe-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.footer-logo {
    max-width: 80px;
    height: auto;
    margin-top: 24px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section p {
    line-height: 1.6;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.social-link:hover {
    color: #795548;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    aspect-ratio: 2/1;
    background: #00000017;
}

.photo-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        aspect-ratio: 1/2;
    }
}
.title-section {
    text-align: center;
    padding: 1px 20px 20px;
    background: black;
    color: white;
}
.hero-section {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5));
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.features-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 50px 20px;
    background: #f9f9f9;
}

.feature {
    text-align: center;
    padding: 20px;
    margin: 10px;
    flex: 1;
    min-width: 250px;
}

.feature i {
    font-size: 3em;
    color: #795548;
    margin-bottom: 15px;
}

.menu-preview {
    text-align: center;
    padding: 50px 20px;
}

.menu-preview h2, .menu-preview p {
    background: #00000033;
    color: #fff;
    width: fit-content;
    padding: 10px 20px;
    margin: 8px auto;
    border-radius: 5px;
}

.menu-button {
    display: inline-block;
    padding: 15px 30px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.menu-button:hover {
    background: #5d4037;
}

.map-section {
    height: 350px;
    background: #eee;
}

.map-section iframe {
    width: 100%;
    height: 350px;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2em;
    }
    
    .feature {
        flex: 100%;
    }
}

@media (max-width: 768px) {
    .footer-section {
        flex: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .menu-container {
        flex-direction: column;
        padding: 10px;
    }

    .category-title {
        margin-bottom: 14px;
        font-size: 16px;
    }
    .tab-container {
        position: sticky;
        top: 14px;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
    }

    .tab-button {
        padding: 12px 20px;
        font-size: 14px;
        width: auto;
        white-space: nowrap;
    }

    .item-name, .item-price {
        font-size: 14px;
    }
    
    .item-description {
        font-size: 10px;
        margin-top: 2px;
        
    }

    .menu-item {
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        max-width: 100px;
    }

    .tab-button {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .chance-container {
        margin: 10px;
    }

}