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

:root {
    --coffee-brown: #C6A664;
    --dark-roast: #2C221F;
    --cream-bg: #FDFBF7;
    --warm-gray: #8F9779;
    --light-cream: #FFFDF5;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cream-bg);
    color: var(--dark-roast);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--coffee-brown);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(253, 251, 247, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(198, 166, 100, 0.2);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--coffee-brown);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-roast);
}

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

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-switch a {
    font-size: 0.8rem;
    opacity: 0.7;
}

.lang-switch a.active,
.lang-switch a:hover {
    opacity: 1;
    color: var(--coffee-brown);
    border-bottom: 1px solid var(--coffee-brown);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 34, 31, 0.6), rgba(44, 34, 31, 0.6)), url('https://images.unsplash.com/photo-1497935586351-b67a49e012bf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--light-cream);
    animation: fadeInUp 1s ease;
}

.btn-cafe {
    padding: 12px 30px;
    background-color: var(--coffee-brown);
    border: 2px solid var(--coffee-brown);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
}

.btn-cafe:hover {
    background-color: transparent;
    color: var(--coffee-brown);
}

/* Sections */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--coffee-brown);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--coffee-brown);
}

/* About */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

/* QR Section */
.qr-section {
    background-color: #E8DCCA;
    text-align: center;
}

#qrcode {
    margin: 20px auto;
    padding: 20px;
    background: white;
    width: fit-content;
    border-radius: 10px;
}

.qr-desc {
    margin-bottom: 20px;
    color: #666;
}

/* Gallery Section */
#gallery {
    padding: 80px 5%;
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--coffee-brown) var(--warm-gray);
}

.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: var(--light-cream);
}

.gallery-container::-webkit-scrollbar-thumb {
    background-color: var(--coffee-brown);
    border-radius: 4px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 450px;
    scroll-snap-align: center;
    border: 2px solid var(--coffee-brown);
    box-shadow: 0 4px 15px rgba(198, 166, 100, 0.3);
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

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

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

/* Contact & Map */
#contact {
    background-color: #E8DCCA;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-info,
.map-container {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--coffee-brown);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 1px solid var(--coffee-brown);
    filter: sepia(30%);
}

/* Footer */
footer {
    background-color: var(--dark-roast);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--coffee-brown);
    color: var(--light-cream);
}

.socials {
    margin-bottom: 20px;
}

.socials a {
    margin: 0 10px;
    font-size: 1.2rem;
    color: var(--coffee-brown);
}

/* Menu Page Styles */
.menu-page {
    padding-top: 120px;
}

.menu-category {
    margin-bottom: 50px;
    padding: 30px;
    border-radius: 12px;
}

.menu-category:nth-of-type(even) {
    background-color: #E8DCCA;
}

.menu-category h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--coffee-brown);
    display: inline-block;
    padding-bottom: 10px;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    color: var(--coffee-brown);
}

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

.menu-item-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.menu-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--coffee-brown);
}

.menu-details {
    flex: 1;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dotted var(--warm-gray);
    padding-bottom: 5px;
}

.menu-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-roast);
}

.menu-item-price {
    color: var(--coffee-brown);
    font-weight: 700;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.menu-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--coffee-brown);
    cursor: pointer;
    order: 2;
}

/* =========================================
   RESPONSIVE (Premium Dropdown - Cafe Edition)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Header Sabitleme */
    .navbar {
        height: 80px;
        padding: 0 5%;
        background-color: var(--cream-bg);
        border-bottom: 1px solid rgba(198, 166, 100, 0.2);
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--coffee-brown);
    }

    /* 2. Menü Kutusu (Dropdown Container) */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        /* Header'ın hemen altı */
        left: 0;
        width: 100%;
        background-color: var(--light-cream);
        /* Premium Açık Zemin */

        padding: 0;
        margin: 0;
        gap: 0;
        /* Boşlukları biz padding ile vereceğiz */

        border-bottom: 2px solid var(--coffee-brown);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

        /* Gizleme Efektleri */
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        /* Tıklanmayı engeller */
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1000;

        /* Uzarsa scroll çıksın ama genelde gerekmez */
        max-height: 70vh;
        overflow-y: auto;
    }

    /* Menü Açılınca */
    .navbar.active .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* 3. Linklerin Tasarımı */
    .nav-links>a {
        font-family: 'Playfair Display', serif;
        font-size: 1rem;
        color: var(--dark-roast);
        text-align: center;
        text-decoration: none;

        /* Sıkı ve Nizami Boşluklar */
        padding: 14px 0;
        width: 100%;
        display: block;

        /* İnce Altın Çizgi */
        border-bottom: 1px solid rgba(198, 166, 100, 0.1);
        transition: background 0.2s;
    }

    .nav-links>a:active {
        background-color: rgba(198, 166, 100, 0.1);
    }

    /* 4. Dil Seçici (Artık kutunun içinde uslu duracak) */
    .lang-switch {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        /* Linklerden biraz ayrı dursun */
        background-color: var(--cream-bg);
        /* Hafif ton farkı */
        width: 100%;
    }

    .lang-switch a {
        font-size: 0.9rem;
        opacity: 0.5;
        padding: 5px 8px;
        border: 1px solid transparent;
        border-radius: 4px;
        text-decoration: none;
        color: var(--dark-roast);
    }

    .lang-switch a.active {
        opacity: 1;
        color: var(--coffee-brown);
        border-color: var(--coffee-brown);
    }
}

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

/* Animasyonlar */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* Floating Chat Buttons */
.chat-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.chat-btn:hover {
    transform: scale(1.1);
}

.whatsapp {
    background-color: #25D366;
}

.zalo {
    background-color: #0068FF;
    font-size: 14px;
}

.zalo span {
    font-family: Arial, sans-serif;
}