/* Restoran Menü Eklentisi CSS */

.rm-restoran-menu {
    max-width: 800px;
    margin: 30px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.rm-restoran-menu h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #5a6fd8;
    position: relative;
    margin-top: 40px;
    padding-bottom: 10px;
}

.rm-restoran-menu h2:not(:first-child)::before {
    content: "";
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #e0e0e0 10%, #bdbdbd 50%, #e0e0e0 90%);
    opacity: 0.7;
}

.rm-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rm-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    background: #fff;
}

.rm-menu-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.rm-menu-item:last-child {
    border-bottom: none;
}

.rm-menu-img {
    margin-right: 20px;
    flex-shrink: 0;
}

.rm-menu-img img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.rm-menu-img img:hover {
    transform: scale(1.05);
}

.rm-menu-title {
    font-weight: 600;
    font-size: 1.1em;
    color: #333;
    flex: 1;
    margin-right: 15px;
}

.rm-menu-fiyat {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #8b4513;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rm-menu-fiyat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .rm-restoran-menu {
        margin: 15px;
        border-radius: 6px;
    }
    .rm-menu-item {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    .rm-menu-img {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    .rm-menu-title-fiyat-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 0;
    }
    .rm-menu-title {
        margin-right: 0;
        margin-bottom: 0;
        text-align: left;
        width: auto;
        font-size: 1em;
    }
    .rm-menu-fiyat {
        align-self: flex-end;
        margin-top: 0;
        margin-left: 0;
        font-size: 1em;
        padding: 6px 12px;
    }
}

/* Masaüstü için varsayılan satır düzeni */
.rm-menu-title-fiyat-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
}

@media (max-width: 480px) {
    .rm-restoran-menu h2 {
        font-size: 1.2em;
        padding: 12px 15px;
    }
    
    .rm-menu-item {
        padding: 15px;
    }
    
    .rm-menu-title {
        font-size: 1em;
    }
    
    .rm-menu-fiyat {
        font-size: 1em;
        padding: 6px 12px;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rm-menu-item {
    animation: fadeInUp 0.6s ease forwards;
}

.rm-menu-item:nth-child(1) { animation-delay: 0.1s; }
.rm-menu-item:nth-child(2) { animation-delay: 0.2s; }
.rm-menu-item:nth-child(3) { animation-delay: 0.3s; }
.rm-menu-item:nth-child(4) { animation-delay: 0.4s; }
.rm-menu-item:nth-child(5) { animation-delay: 0.5s; } 