/* Harika Döner Berlin - Modern Responsive Restaurant Website */
:root {
    --primary-color: #DC2626;
    --secondary-color: #FFD700;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --text-color: #374151;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), #B91C1C) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-nav .nav-link {
    color: white !important;
    margin: 0 12px;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(31, 41, 55, 0.9)),
                url('https://images.unsplash.com/photo-1530469912745-a215c6b256ea?q=80') center/cover;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

.hero-overlay {
    background: rgba(0,0,0,0.2);
    min-height: 100vh;
}

.animate-fadeIn {
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-info .badge {
    font-size: 1rem;
    padding: 12px 24px;
    margin: 5px;
    font-weight: 600;
}

.hero-buttons .btn {
    margin: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.hero-buttons .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #991B1B);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, var(--secondary-color), #F59E0B);
    color: var(--dark-color);
    border: none;
}

/* Features */
.feature-box {
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: white;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Menu Section */
.menu-section {
    background: white;
}

.menu-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.menu-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 25px;
    text-align: center;
}

.menu-header h4 {
    margin: 0;
    font-weight: 700;
}

.menu-list {
    list-style: none;
    padding: 25px;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #E5E7EB;
    transition: var(--transition);
}

.menu-list li:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list .price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.menu-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
    margin: 20px 0;
}

/* About Section */
.about-section h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.stat-box {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}

.stat-box:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.stat-box h4 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 10px 0;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* Reviews */
.rating-summary {
    padding: 35px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.rating-summary .display-3 {
    font-weight: 800;
    color: var(--primary-color);
}

.rating-bars {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-weight: 500;
}

.rating-bar-item .progress {
    flex-grow: 1;
    height: 12px;
    background: #E5E7EB;
    border-radius: 6px;
}

.progress-bar {
    border-radius: 6px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.review-rating {
    color: var(--secondary-color);
}

/* Contact */
.contact-section {
    background: var(--light-color);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-info .info-item {
    display: flex;
    align-items: start;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-info .info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info h5 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Popular Times Chart */
.popular-times {
    background: var(--light-color);
}

.chart-container {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    height: 180px;
    gap: 3px;
    margin-bottom: 15px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.chart-bar:hover {
    opacity: 0.85;
    transform: scaleY(1.05);
}

.chart-bar.current {
    background: linear-gradient(to top, #059669, #10B981);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color), #111827);
    color: white;
    padding: 40px 0;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer a {
    color: #D1D5DB;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
    display: inline-block;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px) rotate(5deg);
    color: var(--secondary-color);
}

/* Form Styles */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #E5E7EB;
    padding: 14px;
    transition: var(--transition);
    font-weight: 500;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    outline: none;
}

/* Modal for Gallery */
.modal-content {
    background: transparent;
    border: none;
}

.modal-body {
    padding: 0;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 90%;
        margin: 10px auto;
    }

    .stat-box {
        margin-bottom: 25px;
    }

    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }

    .navbar-nav .nav-link {
        margin: 10px 0;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .rating-summary {
        margin-bottom: 25px;
    }

    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-info .badge {
        display: block;
        margin: 5px 0 !important;
    }
}

/* Loading Animation */
.spinner-border {
    width: 3.5rem;
    height: 3.5rem;
    border-width: 0.4em;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--dark-color));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}