:root {
    --primary-bg: #fdfdfd;      /* Ferah beyaz arka plan */
    --accent-gray: #f4f4f4;    /* Hafif gri geçişler */
    --dark-text: #2c2c2c;      /* Logonun koyu antrasit tonu */
    --logo-coffee: #7d5a44;    /* Logodaki ana kahverengi tonu */
    --text-muted: #666666;     /* Yardımcı metin rengi */
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

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

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: var(--primary-bg);
    color: var(--dark-text);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Navigasyon - Clean & Glassmorphism */
.glass-nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--accent-gray);
}

.nav-container {
    width: 90%; max-width: 1200px;
    margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    font-family: 'Rouge Script', cursive; 
    font-size: 2.5rem;
    color: #6F4E37;
    font-weight: 400;
    display: flex;             /* Esnek kutu yapısı (yan yana dizmek için) */
    align-items: baseline;     /* Alt kısımlarını hizalar */
    gap: 15px;                 /* İki kelime arasındaki boşluk */
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;     /* Blok değil, satır içi olması için */
    font-size: 1.2rem;         /* Yan yana geldiğinde okunması için biraz büyüttük */
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
}

.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a { 
    text-decoration: none; 
    color: var(--dark-text); 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
    transition: 0.3s;
    font-weight: 500;
}
.nav-links a:hover { color: var(--logo-coffee); }

/* Hero Section */
.main-hero {
    height: 100vh;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    position: relative;
}

.hero-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.8));
}

.hero-inner { position: relative; z-index: 2; max-width: 800px; }

.gold-subtitle { 
    color: var(--logo-coffee); 
    font-family: 'Great Vibes', cursive; 
    font-size: 2.6rem; 
    margin-bottom: 10px; 
}

.elegant-title { 
    font-family: 'Marcellus', serif; 
    font-size: 6rem;
    line-height: 1.1; 
	text-align: center;
    margin-bottom: 25px; 
    color: var(--dark-text);
}

.elegant-title span { color: var(--logo-coffee); font-style: italic; }
.elegant-title.small { font-size: 3rem; text-align: center; width: 100%; margin: 50px 0;}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-gold {
    padding: 15px 40px; 
    background: var(--logo-coffee); 
    color: var(--white);
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 5px; 
    transition: 0.4s;
}

.btn-outline {
    padding: 15px 40px; 
    border: 1px solid var(--logo-coffee); 
    color: var(--logo-coffee);
    text-decoration: none; 
    transition: 0.4s;
    border-radius: 5px;
}

.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(125, 90, 68, 0.3); }

/* About Section */
.about-section { padding: 100px 5%; background: var(--primary-bg); }
.about-card {
    display: flex; 
    background: var(--white);
    max-width: 1100px; 
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

/* About Section Görseli */
.about-img {
    flex: 1; /* Kartın yarısını kaplar */
    position: relative;
    overflow: hidden; /* Taşmaları gizler (kırpma etkisi) */
    aspect-ratio: 4 / 3; /* Görseli bu oranda tutar */
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi ezmeden kutuya göre doldurur ve kırpar */
    object-position: center; /* Resmi merkezden hizalar */
    display: block;
}

/* Mobil İçin Ayar */
@media (max-width: 768px) {
    .about-img {
        aspect-ratio: 16 / 9; /* Mobilde daha yatay (geniş) bir görünüm */
        width: 100%;
    }
}
.about-content { flex: 1; padding: 60px; color: var(--text-muted); }
.about-content h2 { color: var(--dark-text); margin-top: 10px; }

/* Products Grid */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; width: 90%; max-width: 1200px; margin: 0 auto 100px;
}

.product-item { 
    text-align: center; 
    transition: 0.4s; 
    background: var(--white); 
    padding-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.product-item:hover { transform: translateY(-10px); }
.p-img { height: 400px; overflow: hidden; border-radius: 10px 10px 0 0; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-info { padding: 20px; }
.p-info h3 { font-family: 'Marcellus', serif; color: var(--logo-coffee); }

/* Rezervasyon Section */
.reservation-section {
    padding: 100px 5%;
    background: var(--accent-gray);
    text-align: center;
}

.reservation-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.res-form input, .res-form select, .res-form textarea {
    flex: 1;
    padding: 15px;
    background: var(--accent-gray);
    border: 1px solid #eee;
    color: var(--dark-text);
    border-radius: 5px;
}

.res-form input:focus, .res-form textarea:focus {
    border-color: var(--logo-coffee);
    outline: none;
    background: var(--white);
}

/* Footer / Contact */
#contact {
    background: var(--white);
    color: var(--dark-text);
    padding: 80px 5% 40px;
    border-top: 1px solid var(--accent-gray);
}

.f-col h3 { color: var(--logo-coffee); font-family: 'Marcellus', serif; letter-spacing: 2px; }
.f-col h4 { color: var(--dark-text); font-weight: 600; }
.f-col p, .f-col a { color: var(--text-muted); }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .elegant-title { font-size: 2.8rem; }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-btns .btn-gold, .hero-btns .btn-outline {
        width: 220px;
        margin-left: 0;
        text-align: center;
    }

    .about-card { flex-direction: column; }
    .about-img { height: 250px; }
    .about-content { padding: 30px 20px; text-align: center; }

    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        visibility: hidden; opacity: 0;
        transition: 0.4s;
    }

    .nav-links.active { visibility: visible; opacity: 1; }
    
    .menu-toggle span { background: var(--logo-coffee); }
    
    .form-group { flex-direction: column; gap: 20px; }
    .reservation-container { padding: 30px; }
}

/* Custom Scrollbar Gizleme */
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

/* Date & Time Picker Styling */
input[type="date"], select[name="rezervasyon_saati"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--accent-gray) !important;
    color: var(--dark-text) !important;
    cursor: pointer;
}

.script-font { font-family: 'Great Vibes', cursive; color: var(--logo-coffee); font-size: 2.5rem; }
.gold-line { border: 0; height: 1px; background: var(--logo-coffee); width: 80px; margin: 20px auto; }

/* Modern & Estetik Ayırıcı */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 60px 0;
    padding: 0 10%;
}

.section-divider::before, 
.section-divider::after {
    content: "";
    height: 1px;
    background: linear-gradient(to right, transparent, var(--logo-coffee), transparent);
    flex: 1;
    opacity: 0.3;
}

.divider-icon {
    width: 40px;
    height: 40px;
    margin: 0 20px;
    background: url('https://img.icons8.com/ios/50/634832/coffee-beans.png') no-repeat center/contain;
    /* Eğer ikon kullanmak istemezseniz küçük bir kare/nokta da olabilir: */
    /* width: 8px; height: 8px; background: var(--logo-coffee); transform: rotate(45deg); */
    opacity: 0.6;
}
/* Footer Ana Stil */
.site-footer {
    background-color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid var(--accent-gray);
    color: var(--dark-text);
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Sütun genişlikleri */
    gap: 60px;
    margin-bottom: 60px;
}

/* Logo ve Metin */
.footer-logo {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.footer-logo span { color: var(--logo-coffee); }

.brand-col p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Sosyal Medya */
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--logo-coffee);
    transition: 0.3s;
    text-decoration: none;
}
.social-links a:hover {
    background-color: var(--logo-coffee);
    color: var(--white);
    border-color: var(--logo-coffee);
    transform: translateY(-3px);
}

/* Başlıklar ve Linkler */
.f-col h4 {
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.f-col h4::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 40px;
    height: 2px;
    background: var(--logo-coffee);
}

.links-col ul { list-style: none; }
.links-col li { margin-bottom: 12px; }
.links-col a {
    text-decoration: none;
    color: var(--text-muted);
    transition: 0.3s;
    font-size: 0.95rem;
}
.links-col a:hover { color: var(--logo-coffee); padding-left: 5px; }

/* İletişim Öğeleri */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}
.contact-item i { color: var(--logo-coffee); margin-top: 5px; }
.contact-item p, .contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

/* Footer Alt Kısım */
.footer-bottom {
    border-top: 1px solid var(--accent-gray);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.developer-credit a {
    color: var(--logo-coffee);
    text-decoration: none;
    font-weight: bold;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .f-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
    .contact-item { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}
/* Genel form alanı düzeni */
.res-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Elemanlar arası boşluk */
}

/* 2'li ve 3'lü grup yönetimi */
.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 sütunlu yapı */
    gap: 15px;
}

.form-group.row-3 {
    grid-template-columns: 1.5fr 1fr 1fr; /* Tarihi biraz daha geniş, diğerlerini eşit yap */
}

/* Input ve Select stili - Temiz ve Modern */
.res-form input, 
.res-form select, 
.res-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--accent-gray);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}

.res-form input:focus, 
.res-form select:focus, 
.res-form textarea:focus {
    border-color: var(--logo-coffee);
    outline: none;
    box-shadow: 0 0 5px rgba(125, 90, 68, 0.2);
}

/* Mobilde tek sütuna düşür */
@media (max-width: 600px) {
    .form-group, .form-group.row-3 {
        grid-template-columns: 1fr; /* Mobilde hepsi alt alta */
    }
}

/* Mobil Toggle İkonu - Masaüstünde gizle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--dark-text);
    transition: 0.3s;
}

@media (max-width: 768px) {
    /* Hamburger İkonu */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }
    .menu-toggle span {
        width: 25px; height: 2px; background: var(--dark-text);
        transition: 0.3s;
    }

    /* Menü Kutusu */
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(13, 13, 13, 0.75);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        
        visibility: hidden;
        opacity: 0;
        transform: scale(0.95);
        transition: all 0.4s ease-in-out;
    }

    /* Menü Aktif Olduğunda */
    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: scale(1);
    }
	/* Navigasyon ve Menü için Buzlu Beyaz */
.glass-nav, .nav-links {
    /* Beyaz tonunda %85 opaklık (şeffaflık) */
    background: rgba(255, 255, 255, 0.85) !important; 
    
    /* Buzlu cam efekti için blur */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Metinlerin okunabilmesi için koyu renkler */
    color: var(--dark-text) !important; 
}

/* Navigasyon linklerinin rengini güncelle */
.nav-links a {
    color: var(--dark-text) !important;
}

/* Mobil Menü ikonu (barlar) */
.bar {
    background-color: var(--dark-text) !important;
}
}
.gallery-section {
    padding: 100px 5%;
    background-color: #fafafa; /* Çok hafif bir gri tonu */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.1); /* Hover efektinde hafif büyüme */
}

/* Mobil için */
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
}
/* Modal Gizliyken */
.modal {
    display: none; /* JS sadece bunu değiştirecek */
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Modal Aktifken */
.modal.open {
    display: flex; /* Flex ile ortalamayı garantile */
    opacity: 1;
}

.modal-content {
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    border: 1px solid black;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.open .modal-content {
    transform: scale(1);
}
.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--dark-text);
    padding: 2px 8px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
    border-radius: 3px;
}

.lang-btn.active, .lang-btn:hover {
    background: var(--gold);
    color: #7d5a44;
}
.delivery-badge {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 100px; /* Daha kompakt */
    height: 100px;
    background-color: #FF9800;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.3);
    z-index: 9999;
    animation: swing-hard 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.delivery-badge i {
    font-size: 1.8rem; /* İkonu biraz küçülttük */
    margin-bottom: 5px;
}

.delivery-badge span {
    font-weight: 600;
    font-size: 0.75rem; /* Metin biraz daha küçük ve narin */
    line-height: 1.1;
}

.delivery-badge:hover {
    transform: scale(1.05);
    background-color: #F57C00;
}

/* Sallanma Animasyonu */
@keyframes swing-hard {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(6deg); } /* Sallanma açısını da biraz yumuşattık */
    30% { transform: rotate(-6deg); }
    45% { transform: rotate(3deg); }
    60% { transform: rotate(0deg); }
}

/* Mobil için çok daha minik */
@media (max-width: 576px) {
    .delivery-badge { width: 85px; height: 85px; bottom: 15px; right: 15px; }
    .delivery-badge i { font-size: 1.4rem; }
    .delivery-badge span { font-size: 0.65rem; }
}