/* ============================================
   LA MAISON - Lüks Restoran Tema CSS
   ============================================ */

/* === Genel Stiller === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* === Overflow & Responsive Protection === */
body {
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

*, *::before, *::after {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

pre, code {
    white-space: pre-wrap;
    word-break: break-word;
}

::selection {
    background-color: #991b1b;
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: #991b1b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a853;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Gecikmeli animasyonlar */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* === Hero Bölümü === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(17, 24, 39, 0.7) 0%,
        rgba(17, 24, 39, 0.5) 50%,
        rgba(17, 24, 39, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* === Altın Ayraç === */
.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gold-divider::before,
.gold-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, #d4a853, transparent);
}

/* === Bölüm Başlığı === */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.section-title .subtitle {
    color: #d4a853;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

/* === Yemek Kartları === */
.menu-card {
    background: #1f2937;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 83, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.menu-card .card-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.menu-card:hover .card-image {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}

.menu-card .card-image i {
    font-size: 3rem;
    color: rgba(212, 168, 83, 0.3);
    transition: all 0.4s ease;
}

.menu-card:hover .card-image i {
    color: rgba(212, 168, 83, 0.6);
    transform: scale(1.1);
}

.menu-card .price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(153, 27, 27, 0.9);
    color: #d4a853;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

/* === Şef Kartları === */
.chef-card {
    text-align: center;
    transition: all 0.4s ease;
}

.chef-card:hover {
    transform: translateY(-5px);
}

.chef-card .chef-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(212, 168, 83, 0.3);
    transition: all 0.4s ease;
}

.chef-card:hover .chef-avatar {
    border-color: #d4a853;
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.2);
}

/* === Galeri Grid === */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(153, 27, 27, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.gallery-item:hover .overlay {
    background: rgba(153, 27, 27, 0.6);
}

.gallery-item .overlay i {
    color: #d4a853;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.gallery-item:hover .overlay i {
    opacity: 1;
    transform: scale(1);
}

/* === Yorum Kartları === */
.testimonial-card {
    background: #1f2937;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(212, 168, 83, 0.2);
    transform: translateY(-5px);
}

.testimonial-card .quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(212, 168, 83, 0.2);
    line-height: 1;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

/* === Menü Sayfası === */
.menu-category-tab {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9999px;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.menu-category-tab:hover,
.menu-category-tab.active {
    background: #991b1b;
    border-color: #991b1b;
    color: #fff;
}

.menu-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.menu-item-row:hover {
    padding-left: 0.5rem;
    border-bottom-color: rgba(212, 168, 83, 0.2);
}

.menu-item-row:last-child {
    border-bottom: none;
}

.menu-item-row .item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    color: #fff;
    font-weight: 600;
}

.menu-item-row .item-desc {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.menu-item-row .item-price {
    color: #d4a853;
    font-size: 1.125rem;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 2rem;
}

/* === Form Stiller === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #d4a853;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #1f2937;
    border: 1px solid rgba(255,255,255,0.1);
    color: #e5e7eb;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d4a853;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

/* === Butonlar === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: #991b1b;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0.5rem;
    border: 1px solid #991b1b;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #7f1d1d;
    border-color: #d4a853;
    box-shadow: 0 10px 30px rgba(153, 27, 27, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #d4a853;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0.5rem;
    border: 1px solid #d4a853;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: #d4a853;
    color: #111827;
}

/* === Page Header === */
.page-header {
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
    background: linear-gradient(to bottom, #111827, #1f2937);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #d4a853;
}

/* === Responsive === */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.875rem;
    }

    .menu-item-row {
        flex-direction: column;
    }

    .menu-item-row .item-price {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
