:root {
    --primary-color: #6f42c1;
    --secondary-color: #ffffff;
    --accent-color: #ff6b6b;
    --dark-purple: #6f42c1;
    --light-purple: #8e44ad;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(
        135deg,
        #f8f9fa 0%,
        #e9ecef 50%,
        #f1e9ff 100%
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    padding: 0 15px;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    margin-top: 5px;
    margin: 0 -15px;
}

.logo {
    height: 85px;
    filter: drop-shadow(0 4px 8px rgba(111, 66, 193, 0.3));
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
}

.menu-section {
    padding: 20px 0;
}

.menu-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.menu-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.row {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 1rem 0;
}

.menu-card {
    background: transparent;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card-content {
    position: relative;
    padding: 0;
}

.menu-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.menu-dropdown {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
    margin-top: 10px;
}

.menu-dropdown.active {
    display: block;
}

.toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-purple);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
}

.toggle-icon:hover {
    background: var(--dark-purple);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.toggle-icon i {
    transition: transform 0.3s ease;
}

.toggle-icon.active i {
    transform: rotate(180deg);
}

.product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(111, 66, 193, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.2);
}

.product-image {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-info h4 {
    margin: 0 0 5px;
    color: var(--dark-purple);
    font-size: 1.1rem;
}

.product-info p {
    margin: 0 0 10px;
    color: #666;
    font-size: 0.9rem;
}

.product-price {
    font-weight: 600;
    color: var(--dark-purple);
    font-size: 1.2rem;
}

.no-products {
    text-align: center;
    color: #666;
    padding: 20px;
    font-style: italic;
}

/* Menü başlığındaki neon efektini kaldıralım ve yeni stil ekleyelim */
.menu-header h1 {
    color: var(--dark-purple);
    position: relative;
    z-index: 2;
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Menü öğesi stilleri */
.menu-item {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(111, 66, 193, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.menu-item-image {
    width: 50px;
    height: 50px;
    min-width: 50px; /* Sabit genişlik */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-purple));
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.2);
}

.menu-item-details {
    flex: 1;
    min-width: 0; /* Taşmayı önlemek için */
    margin-right: 15px; /* Fiyat ile arasında boşluk */
}

.menu-item-details h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-purple);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item-details p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 5px 12px;
    border-radius: 12px;
    background: rgba(111, 66, 193, 0.1);
    white-space: nowrap;
    margin-left: auto; /* Sağa yasla */
    align-self: center; /* Dikeyde ortala */
}

/* Sihirli parçacıklar */
.menu-card:hover::after {
    content: '✨';
    position: absolute;
    font-size: 20px;
    color: var(--primary-color);
    pointer-events: none;
    animation: floatParticle 1.5s ease-out forwards;
}

/* Sihirli parçacıklar için keyframes */
@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-1000%) rotate(720deg);
        opacity: 0;
    }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 10px rgba(111, 66, 193, 0.5); }
    50% { box-shadow: 0 0 30px rgba(111, 66, 193, 0.8), 0 0 50px rgba(111, 66, 193, 0.4); }
    100% { box-shadow: 0 0 10px rgba(111, 66, 193, 0.5); }
}

/* Neon text efekti */
@keyframes neonFlicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 0.99;
        text-shadow: 0 0 10px #6f42c1,
                     0 0 20px #6f42c1,
                     0 0 30px #6f42c1,
                     0 0 40px #6f42c1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.4;
        text-shadow: none;
    }
}

/* Sihirli parçacıklar için container */
.magic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.particle {
    display: none;
}

/* Modal için de büyülü efektler */
.modal-content {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(111, 66, 193, 0.2);
    animation: modalGlow 3s infinite;
}

@keyframes modalGlow {
    0% { box-shadow: 0 0 20px rgba(111, 66, 193, 0.3); }
    50% { box-shadow: 0 0 40px rgba(111, 66, 193, 0.5); }
    100% { box-shadow: 0 0 20px rgba(111, 66, 193, 0.3); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Yağmur efekti için yeni class */
.magic-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Yağmur damlası animasyonu */
@keyframes rain {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(1000%) rotate(360deg);
        opacity: 0;
    }
}

/* Yüzen parçacıklar için animasyon */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(100px, -100px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Parıltı efekti */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

/* Top bar için yeni stiller */
.top-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--dark-purple));
    padding: 12px 0;
    margin: 0 -15px;
    box-shadow: 0 2px 10px rgba(111, 66, 193, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.social-links a:hover::before {
    transform: translateX(100%);
}

.social-links a i {
    font-size: 1.4rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.social-links a span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #3897f0;
    border-radius: 50%;
    margin-left: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.verified-badge i {
    font-size: 10px !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

.social-links a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(255, 255, 255, 0.1);
    padding: 8px 25px;
}

/* Bootstrap grid sistemini devre dışı bırak */
.col-12, .col-md-6, .col-lg-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Aktif durumdaki menü kartı için border radius ayarı */
.menu-card.active {
    border-radius: 25px 25px 0 0; /* Alt köşeleri düz yap */
}

/* İlk menü öğesi için üst border radius'u kaldır */
.menu-dropdown .menu-item:first-child {
    border-radius: 0;
}

/* Son menü öğesi için alt border radius'u ekle */
.menu-dropdown .menu-item:last-child {
    border-radius: 0 0 25px 25px;
}

/* Footer Styles */
.menu-footer {
    position: relative;
    margin: 6rem -15px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-purple) 100%);
    padding: 3rem 0 2rem;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    width: calc(100% + 1.3px);
    height: 60px;
    transform: rotate(180deg);
}

.footer-content {
    position: relative;
    color: white;
    padding: 0 1.5rem;
    z-index: 2;
}

.footer-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 70px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.footer-info {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.info-item i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.info-text h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.info-text p {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-qr {
    text-align: center;
}

.qr-code {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-code i {
    font-size: 2.5rem;
    color: white;
}

.qr-code p {
    margin: 0;
    font-size: 0.9rem;
}

.qr-code:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section,
.social-icon,
.info-item,
.qr-code {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.social-icon:nth-child(1) { animation-delay: 0.2s; }
.social-icon:nth-child(2) { animation-delay: 0.3s; }
.social-icon:nth-child(3) { animation-delay: 0.4s; }
.info-item:nth-child(1) { animation-delay: 0.5s; }
.info-item:nth-child(2) { animation-delay: 0.6s; }
.info-item:nth-child(3) { animation-delay: 0.7s; }
.qr-code { animation-delay: 0.8s; }

/* Copyright stil */
.footer-copyright {
    text-align: center;
    padding: 2rem 1rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-copyright p {
    margin: 0;
    transition: all 0.3s ease;
}

.footer-copyright p:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Ürün Detay Sayfası Stilleri */
.product-detail {
    padding: 40px 0;
}

.product-image-large {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(111, 66, 193, 0.2);
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail {
    padding: 20px;
}

.product-info-detail h1 {
    color: var(--dark-purple);
    font-size: 2rem;
    margin-bottom: 20px;
}

.product-info-detail .description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-info-detail .price {
    font-size: 2rem;
    color: var(--dark-purple);
    font-weight: 600;
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--dark-purple);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-back i {
    margin-right: 10px;
}

.btn-back:hover {
    background: var(--light-purple);
    color: white;
    transform: translateY(-2px);
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-content img {
    max-width: 200px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--dark-purple);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.scroll-top-btn:hover {
    background: var(--light-purple);
}

/* Masaüstü için container genişliği */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
}

/* Tablet için ayarlar */
@media (min-width: 768px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
        margin: 0 auto;
        padding: 0 2rem;
    }
}

/* Mobil için ayarlar */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    .scroll-top-btn.visible {
        bottom: 70px;
    }
    .menu-item {
        padding: 12px 15px;
    }
    .menu-item-link {
        gap: 12px;
    }
    .menu-item-image {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.5rem;
    }
    .menu-item-details {
        margin-right: 12px;
    }
    .menu-item-details h3 {
        font-size: 1rem;
    }
    .menu-item-details p {
        font-size: 0.85rem;
        margin-top: 3px;
    }
    .menu-item-price {
        font-size: 1rem;
        padding: 4px 10px;
    }
} 