/* BIBERLIN KURUMSAL STYLE - FULL RESPONSIVE & ANIMASYON GÜNCELLEMELİ */
:root {
    --orange: #e9680a;
    --dark: #353332;
    --white: #ffffff;
}

/* GENEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-restoration: manual;
}

body {
    background-color: var(--orange);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 8% 0 0;
    z-index: 2000;
}

.logo-container {
    background-color: var(--white);
    padding: 10px 40px 25px 35px;
    border-radius: 0 0 40px 0;
    box-shadow: 10px 10px 25px rgba(0,0,0,0.15);
}

.logo-container img { height: 60px; width: auto; }

.nav-links { display: flex; list-style: none; padding-top: 35px; }
.nav-links li { margin-left: 30px; }

/* ANA SAYFA VE DIGER SAYFALARDAKI IDEAL BOYUT (1.4rem) */
.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-family: 'Bebas Neue';
    font-size: 1.4rem;
    letter-spacing: 1.5px;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--white); transform: translateY(-2px); }

/* SADECE MENU SAYFASINDAKI YAZILARI KÜÇÜLTEN KOD */
.menu-page .nav-links a {
    font-size: 1.2rem !important;
    letter-spacing: 1.4px !important;
}

/* --- HERO ALANLARI --- */
header.hero {
    flex: 1;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 75vh;
    padding: 150px 5% 100px;
    background: linear-gradient(rgba(233, 104, 10, 0.85), rgba(233, 104, 10, 0.85)), 
                url('https://images.unsplash.com/photo-1529006557810-274b9b2fc783?q=80&w=2000') center/cover no-repeat;
}

header.home-hero {
    flex-direction: row; 
    text-align: left;
    min-height: 100vh;
    padding: 100px 8% 50px;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    gap: 40px;
}

.hero h1 {
    font-family: 'Bebas Neue';
    font-size: clamp(3.5rem, 8vw, 8.5rem); 
    line-height: 0.85;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    color: var(--dark);
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.6rem);
    text-transform: uppercase;
    margin-bottom: 35px;
}

/* --- ORTAK İÇERİK KARTI --- */
.content-container {
    max-width: 900px;
    margin: -100px auto 50px;
    padding: 0 5%;
    position: relative;
    z-index: 100;
}

/* Butonların yan yana düzgün durması için küçük bir ekleme */
.hero-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
@media (max-width: 992px) {
    .hero-btn-group {
        justify-content: center;
    }
}

.menu-section { padding: 40px 8%; }
.category-title { 
    font-family: 'Bebas Neue'; 
    font-size: 3rem; 
    color: var(--dark); 
    border-bottom: 4px solid var(--dark);
    margin-bottom: 30px;
    display: inline-block;
}
.menu-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-bottom: 60px;
}
/* --- MENU KARTI VE ANIMASYONLARI --- */
.menu-card { 
    background: var(--dark); 
    border-radius: 20px; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Daha profesyonel geçiş eğrisi */
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Hover Efekti: Mouse üzerine gelince tetiklenir */
.menu-card:hover { 
    transform: translateY(-12px); /* Yukarı kayma */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); /* Derinlik katan gölge */
    background: #3d3b3a; /* Çok hafif renk açılması */
}

.menu-card img { 
    width: 100%; 
    height: 220px; 
    object-fit: contain; 
    background: #f9f9f9; 
    padding: 10px;
    transition: 0.4s ease; /* Görsel için geçiş */
}

/* Mouse üzerindeyken görselin hafifçe büyümesi (isteğe bağlı, şık durur) */
.menu-card:hover img {
    transform: scale(1.05);
}

.menu-info { padding: 20px; }
.menu-info h3 { 
    font-family: 'Bebas Neue'; 
    font-size: 1.8rem; 
    color: var(--orange); 
    margin-bottom: 10px;
    transition: 0.3s;
}

/* Hoverda başlığın parlaması */
.menu-card:hover .menu-info h3 {
    color: #ff8c3a;
}

.menu-info p { 
    color: var(--white); 
    font-size: 0.9rem; 
    opacity: 0.8;
    font-weight: 500;
}

.white-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* --- İLETİŞİM FORMU ALANLARI --- */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: #fff;
    color: #333;
}
.contact-form textarea { height: 100px; resize: none; }

/* --- HAKKIMIZDA SAYFASI ÖZEL --- */
.about-page .white-card { text-align: left; }
.about-page .white-card h2 {
    font-family: 'Bebas Neue';
    font-size: 2.8rem;
    color: var(--orange);
    margin: 40px 0 20px;
}
.about-page .white-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark);
}

.highlight-box {
    background: var(--dark);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 700;
    border-left: 10px solid var(--orange);
}

.footer-note {
    text-align: center;
    margin: 40px 0;
    font-family: 'Bebas Neue';
    font-size: 2.2rem;
    color: var(--white);
    letter-spacing: 2px;
}

/* --- FRANCHISE ÖZEL --- */
.franchise-page .white-card { text-align: center; }
.check-list { list-style: none; margin: 30px 0; }
.check-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--dark);
    font-weight: 500;
}
.check-list li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 900;
    margin-right: 15px;
    font-size: 1.4rem;
}

    /* Form alanlarını siyah kutuya uygun hale getirelim */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: #fff;
    color: #333;
}
.contact-form textarea { height: 100px; resize: none; }
        
.direct-mail {
    display: block;
    margin-top: 25px;
    color: var(--orange);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
}

/* BUTON */
.btn-primary {
    padding: 20px 55px;
    background: var(--dark);
    color: var(--white);
    font-family: 'Bebas Neue';
    font-size: 1.6rem;
    text-decoration: none;
    transition: 0.4s;
    display: inline-block;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ============================================================
    ANIMASYONLAR
   ============================================================ */
.home-hero .reveal {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideRight 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

@keyframes slideRight {
    to { opacity: 1; transform: translateX(0); }
}

body:not(.home-page) .reveal {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

@keyframes fadeDown {
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.3s !important; }
.delay-2 { animation-delay: 0.6s !important; }
.delay-3 { animation-delay: 0.9s !important; }

/* FOOTER */
.footer {
    padding: 50px 8%;
    background-color: var(--orange);
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: auto;
    color: white;
    font-family: 'Bebas Neue';
    letter-spacing: 1px;
}

/* ============================================================
    RESPONSIVE (MOBIL UYUMLULUK)
   ============================================================ */
@media (max-width: 992px) {
    .navbar { padding: 0 5% 0 0; }
    .logo-container { padding: 10px 25px 15px 20px; }
    .logo-container img { height: 45px; }
    .nav-links { display: none; }
    header.home-hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-wrapper { flex-direction: column; }
    .hero h1 { font-size: 3.5rem; }
    .hero p { font-size: 1.1rem; }
    .white-card { padding: 40px 20px; border-radius: 25px; }
    .content-container { margin-top: -50px; }
    .home-hero .hero-img-col img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Görsel Sınırlandırmalar */
.home-hero .hero-img-col img {
    width: 580px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    display: block;
}

@media (max-width: 1200px) {
    .home-hero .hero-img-col img { max-width: 350px; }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block !important; /* Mobilde butonu göster */
        position: absolute;
        right: 20px;
        top: 25px;
    }
    
    .nav-links {
        display: none; /* Mobilde yan yana linkleri gizle */
    }
}

/* Mobil Menü Açık Hali */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* Varsayılan olarak kapalı */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* JavaScript bu sınıfı eklediğinde menü görünecek */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        margin: 15px 0;
    }
}