/**
 * Özel CSS Dosyası
 * Dosya Yolu: assets/css/style.css
 */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-color: #e63946;
    --secondary-color: #2d6a4f;
    --accent-color: #f4a261;
    --dark-color: #1d2228;
    --light-color: #f8f9fa;
    --border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Header & Navbar */
.navbar {
    background-color: var(--dark-color);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: #ffffff !important;
    letter-spacing: 0.5px;
}
.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(255, 255, 255, 0.05);
}
.cart-badge-container {
    position: relative;
    display: inline-block;
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 50%;
    line-height: 1;
}

/* Hero Section */
.hero-carousel .carousel-item {
    height: 75vh;
    min-height: 450px;
    background-color: #000;
}
.hero-carousel img {
    object-fit: cover;
    height: 100%;
    opacity: 0.65;
}
.hero-caption {
    bottom: 30%;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.hero-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.hero-caption p {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Premium Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: #c92f3b;
    border-color: #c92f3b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.25);
    color: #ffffff;
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-secondary-custom:hover {
    background-color: #22513c;
    border-color: #22513c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.25);
    color: #ffffff;
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}
.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Cards (Restaurant Items, Blog, Categories) */
.premium-card {
    background: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.card-img-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background-color: #eaeaea;
}
.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.premium-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}
.allergen-icons {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.allergen-badge {
    background-color: rgba(29, 34, 40, 0.85);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}
.card-price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Category Filters */
.category-filter-btn {
    border: 1px solid #dee2e6;
    background-color: #ffffff;
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin: 5px;
    transition: all 0.2s ease;
}
.category-filter-btn:hover, .category-filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

/* Testimonials / Reviews */
.review-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--box-shadow);
    text-align: center;
}
.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}
.review-stars {
    color: #ffc107;
    margin-bottom: 15px;
}

/* Footer Section */
.footer-section {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 20px;
    font-size: 14.5px;
}
.footer-section h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.2s ease;
}
.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sepet Sayfası */
.cart-summary-box {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    width: fit-content;
    overflow: hidden;
}
.quantity-btn {
    background: #f8f9fa;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background 0.2s;
}
.quantity-btn:hover {
    background: #e9ecef;
}
.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    background: transparent;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-caption h1 {
        font-size: 2.2rem;
    }
    .hero-caption p {
        font-size: 1rem;
    }
    .section-padding {
        padding: 50px 0;
    }
}

/* Breadcrumbs Custom Styling */
.breadcrumb {
    padding: 10px 20px;
    background: #ffffff;
    border-radius: 50px;
    font-size: 0.88rem;
    margin-bottom: 2rem !important;
    display: inline-flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}
.breadcrumb-item a:hover {
    color: var(--secondary-color);
}
.breadcrumb-item.active {
    color: #5c636a;
    font-weight: 500;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #ccc;
    font-size: 0.8rem;
}
