/* Root ve Reset */
:root {
    --primary: var(--primary-color);
    --secondary: var(--accent-color);
    --text: var(--text-color);
    --light-text: var(--text-color);
    --background: var(--bg-color);
    --white: #FFFFFF;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* Header Styles */
.site-header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 50px;
    width: auto;
}

/* Featured Section */
.featured-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary), #34495e);
    margin: 0 0 30px 0;
}

.section-title {
    text-align: center;
    color: var(--white);
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title i {
    color: #f1c40f;
    margin-right: 10px;
    animation: starPulse 2s infinite;
}

.featured-slider {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-wrapper {
    display: flex;
    gap: 25px;
    padding: 10px 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.featured-wrapper::-webkit-scrollbar {
    display: none;
}

.featured-item {
    min-width: 300px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
}

.featured-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
}

.featured-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 12px 0 0 0;
    font-weight: 600;
    font-size: 16px;
    z-index: 2;
    box-shadow: -2px -2px 10px rgba(0,0,0,0.1);
    min-width: 80px;
    text-align: center;
}

.featured-content {
    padding: 20px;
    background: var(--white);
    position: relative;
}

.featured-content h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.featured-content p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Categories Container */
.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Category Card */
.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    margin-bottom: 15px;
}

.category-card::before {
    content: '';
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.category-card::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 28px;
    bottom: 25px;
    color: var(--primary);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.category-card.active::after {
    transform: rotate(180deg);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-image {
    position: relative;
    height: 200px;
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: all 0.3s ease;
}

.category-title {
    position: relative;
    color: var(--white);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    transform: translateY(0);
    transition: all 0.4s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title::after {
    content: '→';
    font-size: 24px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

/* Hover Efektleri */
.category-card:hover .category-image {
    transform: translateY(-5px);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card:hover .category-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.category-card:hover .category-title {
    transform: translateX(10px);
}

.category-card:hover .category-title::after {
    opacity: 1;
    transform: translateX(0);
}

/* Aktif Kategori Stili */
.category-card.active .category-overlay {
    background: linear-gradient(
        180deg,
        rgba(var(--primary-rgb), 0.3) 0%,
        rgba(var(--primary-rgb), 0.7) 50%,
        rgba(var(--primary-rgb), 0.9) 100%
    );
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .category-image {
        height: 200px;
    }

    .category-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .category-overlay {
        padding: 20px;
    }
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.7)
    );
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.8)
    );
}

.category-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
    font-size: 28px;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

/* Products Container */
.products-container {
    display: none;
    background: var(--white);
    border-radius: 12px;
    margin: -5px 10px 20px 10px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.products-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Products Grid */
.products-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: var(--transition);
    position: relative;
}

.product-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    padding: 15px;
    position: relative;
    padding-right: 100px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.product-description {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-tag {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 90px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

.product-card:hover .price-tag {
    background: var(--secondary);
}

/* Animations */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .featured-item {
        min-width: 260px;
    }

    .category-title {
        font-size: 24px;
    }

    .products-container {
        margin: -5px 5px 15px 5px;
        padding: 1px;
    }

    .product-info {
        padding-right: 80px;
    }

    .price-tag {
        width: 70px;
        font-size: 14px;
    }

    .featured-price {
        padding: 6px 12px;
        font-size: 14px;
        min-width: 70px;
    }
}

@media (min-width: 1024px) {
    .featured-wrapper {
        padding: 20px 40px;
    }

    .featured-item {
        min-width: 350px;
    }
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}


/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
}

.slider-nav i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.slider-nav:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav:hover i {
    transform: scale(1.2);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.featured-slider:hover .slider-nav {
    opacity: 1;
}

/* Mobil için düzenleme */
@media (max-width: 768px) {
    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .slider-nav i {
        font-size: 16px;
    }

    .slider-nav.prev {
        left: 5px;
    }

    .slider-nav.next {
        right: 5px;
    }
}




/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.current-lang {
    background: var(--primary-color);
    color: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 8px;
    min-width: 180px;
    box-shadow: var(--shadow);
    display: none;
    animation: slideDown 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.lang-option {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    border-radius: 10px;
    transition: var(--transition);
    margin: 2px 0;
}

.lang-option:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.lang-option.active {
    background: var(--primary-color);
    color: var(--card-bg);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .site-logo {
        height: 50px;
    }

    .categories-container {
        padding: 0 15px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    
    }

    .category-title {
        font-size: 18px;
    }

    .featured-item {
        flex: 0 0 260px;
        min-width: 260px;
    }

    .featured-slider {
        padding: 0 30px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .section-title {
        font-size: 24px;
        margin: 30px 0;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }

    .current-lang {
        padding: 8px 15px;
        font-size: 13px;
    }

    .footer {
        margin-top: 30px;
        padding: 15px 0;
    }

    .footer .contact-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

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



/* Footer Styles */
.footer {
    background: linear-gradient(to right, var(--primary), #34495e);
    color: var(--white);
    padding: 30px 0;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), #f1c40f);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer .contact-info {
    margin-bottom: 20px;
}

.footer .contact-info p {
    margin: 8px 0;
    font-size: 15px;
    opacity: 0.9;
}

.footer .contact-info a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .contact-info a:hover {
    color: var(--secondary);
}

.footer .mt-3 {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer small {
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 25px 0;
        margin-top: 30px;
    }

    .footer .contact-info p {
        font-size: 14px;
    }

    .footer small {
        font-size: 13px;
    }
}

/* Hover Effects */
.footer .container:hover small {
    opacity: 1;
}

/* Social Media Icons (if needed) */
.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.footer .social-icons a {
    color: var(--white);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.footer .social-icons a:hover {
    transform: translateY(-3px);
    color: var(--secondary);
}


/* Google Translate Widget Gizleme */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value:hover {
    text-decoration: none !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

/* Google Translate Dropdown */
.goog-te-menu-frame {
    box-shadow: none !important;
}

/* Top Bar'ı gizle */
.skiptranslate {
    display: none !important;
}

/* Body margin düzeltmesi */
body {
    top: 0 !important;
}

/* Mobil görünümü düzeltme */
.VIpgJd-ZVi9od-l4eHX-hSRGPd, 
.VIpgJd-ZVi9od-l4eHX-hSRGPd:link, 
.VIpgJd-ZVi9od-l4eHX-hSRGPd:visited, 
.VIpgJd-ZVi9od-l4eHX-hSRGPd:hover, 
.VIpgJd-ZVi9od-l4eHX-hSRGPd:active {
    display: none !important;
}

/* Çeviri seçenek kutusunu özelleştirme */
select.goog-te-combo {
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: 6px;
    padding: 5px 10px;
    color: var(--primary);
    font-size: 14px;
    outline: none;
    cursor: pointer;
}



/* Bildirim stilleri */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out;
    background-color: white;
}

.notification.success {
    background-color: #4CAF50;
    color: white;
}

.notification.error {
    background-color: #f44336;
    color: white;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.fade-out {
    animation: slideOut 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Garson çağrı butonu stilleri */
.call-waiter-btn {
    background-color: var(--primary-color, #FF4757);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.call-waiter-btn:hover {
    opacity: 0.9;
}

.call-waiter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.feedback-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    font-size: 30px;
    color: #ddd;
    margin: 0 2px;
}

.rating input:checked ~ label {
    color: #ffd700;
}

button {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background: #45a049;
}