@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Pacifico&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: #fff;
}

.menu-container {
    width: 100%;
    max-width: 800px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.85)), url('/api/placeholder/800/600');
    background-size: cover;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.menu-header {
    padding: 20px;
    text-align: center;
    position: relative;
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    color: #ff5733;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
    background: linear-gradient(45deg, #ff5733, #ff8a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
    display: inline-block;
}

.logo:after {
    content: "";
    position: absolute;
    top: -10px;
    right: -30px;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2329a645'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15l-5-5 1.41-1.41L11 14.17l7.59-7.59L20 8l-9 9z'/%3E%3C/svg%3E");
    background-size: contain;
    transform: rotate(15deg);
}

.subtitle {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
}

.tabs {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 10px 20px;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ff5733;
}

.tab-btn.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #ff5733, #ff8a65);
}

.tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.menu-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.menu-table th {
    color: #fff;
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.menu-table td {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.menu-table tr {
    transition: all 0.3s ease;
}

.menu-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    cursor: pointer;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-name {
    flex: 2;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.item-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid rgba(255, 87, 51, 0.5);
    transition: all 0.3s ease;
}

.menu-table tr:hover .item-thumbnail {
    transform: scale(1.15);
    border-color: #ff5733;
    box-shadow: 0 0 10px rgba(255, 87, 51, 0.7);
}

.item-details {
    flex: 1;
}

.item-name-arabic {
    color: #e0e0e0;
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

.price-col {
    text-align: center;
    font-weight: 600;
    width: 50px;
}

.price-s {
    color: #ff5733;
}

.price-m {
    color: #29a645;
}

.price-l {
    color: #ff8a65;
}

.contact {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    margin-top: 20px;
}

.phone {
    font-size: 28px;
    font-weight: 700;
    color: #ff5733;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
    margin-bottom: 10px;
}

.location {
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.location-icon {
    margin-right: 8px;
    color: #29a645;
}

.location-text {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 3px;
}

.pizza-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px 0;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pizza-image:hover {
    transform: scale(1.03);
}

.pizza-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
}

@media (max-width: 768px) {
    .pizza-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pizza-gallery {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    from { text-shadow: 0 0 5px #ff5733, 0 0 10px #ff5733; }
    to { text-shadow: 0 0 10px #ff5733, 0 0 20px #ff5733, 0 0 30px #ff5733; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.detail-row {
    display: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #ff5733;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px);
}

.detail-row.show {
    display: table-row;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.4s ease-out;
}

.detail-content {
    padding: 20px;
    border-radius: 8px;
    background: white;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: start;
}

.detail-section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #ff5733;
    transition: transform 0.2s ease;
}

.detail-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.detail-section h4 {
    margin: 0 0 8px 0;
    color: #ff5733;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-section p {
    margin: 0;
    color: #495057;
    font-size: 13px;
    line-height: 1.5;
}

.spice-level {
    display: flex;
    gap: 4px;
    align-items: center;
}

.spice-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    transition: all 0.2s ease;
}

.spice-dot.active {
    background: linear-gradient(45deg, #ff5733, #ff8a65);
    box-shadow: 0 2px 4px rgba(255, 87, 51, 0.3);
}

.prep-time {
    font-weight: 600;
    color: #28a745;
    font-size: 14px;
}

.pizza-row {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pizza-row:hover {
    background: linear-gradient(90deg, rgba(255, 87, 51, 0.05) 0%, rgba(255, 87, 51, 0.1) 100%);
    transform: translateX(5px);
}

.pizza-row.active {
    background: linear-gradient(90deg, rgba(255, 87, 51, 0.1) 0%, rgba(255, 87, 51, 0.15) 100%);
    border-left: 4px solid #ff5733;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

.detail-row.hide {
    animation: slideUp 0.3s ease-in;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .detail-content {
        margin: 5px;
        padding: 15px;
    }
    
    .detail-section {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .detail-section h4 {
        font-size: 12px;
    }
    
    .detail-section p {
        font-size: 12px;
    }
    
    .spice-dot {
        width: 10px;
        height: 10px;
    }
}
