:root {
    /* Colors */
    --bg-color: #121212;
    --surface-color: #1E1E1E;
    --primary-color: #D4AF37;
    /* Gold */
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --border-color: #333333;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: var(--spacing-md);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/steak.png');
    background-size: cover;
    background-position: center;
    padding: var(--spacing-md);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Search Bar - Premium Style */
.search-container {
    margin-top: var(--spacing-md);
    position: relative;
    width: 100%;
    max-width: 600px;
    z-index: 10;
}

#search-input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: rgba(20, 20, 20, 0.85);
    /* Dark Glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-style: italic;
}

#search-input:focus {
    background-color: rgba(30, 30, 30, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

#search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color), #b8860b);
    color: #000;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

#search-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    color: #fff;
}

/* Category Section - Luxury Grid */
.category-section {
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.category-section h2 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    background: linear-gradient(to right, #cfc09f, #ffecb3, #cfc09f);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 10px;
}

.category-card {
    position: relative;
    height: 300px;
    /* Taller for more impressive look */
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.category-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    filter: brightness(0.8);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.5s ease;
}

.category-name {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

/* Hover Effects */
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--primary-color);
}

.category-card:hover .category-card-bg {
    transform: scale(1.15);
    filter: brightness(1);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.95) 100%);
    padding-bottom: 40px;
    /* Slide text up slightly */
}

.category-card:hover .category-name {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Add a subtle decorative element on hover */
.category-card::after {
    content: 'İNCELE';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.category-card:hover::after {

    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Restored Menu Section Styles --- */
.menu-section {
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.category-title {
    font-size: 2rem;
    margin: var(--spacing-lg) 0 var(--spacing-md);
    padding-left: var(--spacing-sm);
    border-left: 4px solid var(--primary-color);
    color: var(--text-primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.menu-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
}

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

.card-ingredients {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer (Contact) */
.footer {
    background-color: var(--surface-color);
    padding: var(--spacing-lg) var(--spacing-md);
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
    filter: grayscale(100%) invert(92%) contrast(83%);
    /* Dark mode map style */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-links {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .nav-links a {
        margin: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
}