:root {
    --primary: #FF9F1C;
    --dark: #0F172A;
    --light: #F8FAFC;
    --surface: #FFFFFF;
    --gray: #64748B;
    --instagram: #E1306C;
    --twitter: #1DA1F2;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    padding-bottom: 100px;
    -webkit-tap-highlight-color: transparent;
}

/* --- HEADER --- */
.app-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: var(--dark);
}

.header-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 3s ease;
}

.header-bg.loaded {
    opacity: 0.7;
    transform: scale(1);
}

.header-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* --- MEVCUT KODU BUNUNLA DEĞİŞTİR --- */

.logo-box {
    /* KUTUYU BÜYÜTTÜK (Eski hali 130px idi) */
    width: 170px;
    height: 170px;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* Çerçeveyi biraz daha belirginleştirelim */
    border: 3px solid #FF007F;
    /* Neon Pembe kalınlaştı */
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Parlama efektini de büyüttük */
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.5);

    position: relative;
    z-index: 10;
    margin-bottom: 15px;
    /* Altındaki konuma fazla yapışmasın */
}

.logo-img {
    /* RESİM KUTUYU TAM DOLDURSUN (Eski hali %95 idi) */
    margin: 6px 5px 0px 0px;
    width: 100%;
    height: 100%;

    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

.brand-name {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0;
}

/* --- NAV --- */
.cat-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 15px 20px;
    scrollbar-width: none;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cat-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--surface);
    color: var(--gray);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid #E2E8F0;
    transition: all 0.3s;
}

.cat-pill.active {
    background: var(--dark);
    color: var(--primary);
    border-color: var(--dark);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
    transform: translateY(-2px);
}

/* --- CARDS --- */
.waffle-card {
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    height: 100%;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.waffle-card:active {
    transform: scale(0.97);
}

.waffle-img-wrap {
    height: 150px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.waffle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.waffle-img.loaded {
    opacity: 1;
}

.waffle-body {
    padding: 15px;
}

.price-tag {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 5px;
    display: block;
}

.drink-item {
    background: var(--surface);
    border-radius: 18px;
    padding: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: 0.2s;
}

.drink-img {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    object-fit: cover;
    background: #f1f5f9;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.drink-img.loaded {
    opacity: 1;
}

.drink-info {
    flex: 1;
    margin-left: 15px;
}

.drink-price {
    font-weight: 700;
    color: var(--dark);
    background: #F1F5F9;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* --- SOCIAL & UTILS --- */
.social-card {
    background: white;
    border-radius: 24px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 1.5rem;
    color: white;
    margin: 0 10px;
    transition: transform 0.2s;
    text-decoration: none;
}

.social-btn:active {
    transform: scale(0.9);
}

.btn-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* --- Twitter yerine Google Haritalar Rengi --- */
.btn-maps {
    background: #EA4335;
    /* Google Kırmızısı */
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.3);
}

.sec-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    margin-top: 30px;
    padding-left: 10px;
    border-left: 5px solid var(--primary);
}

/* --- BOTTOM NAV GÜNCELLEME --- */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    padding: 12px 25px;
    /* Kenar boşlukları ayarlandı */
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    /* İkonları eşit yayar */
    width: 90%;
    /* Telefonta tam oturur */
    max-width: 400px;
    /* Çok genişlemeyi engeller */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-icon {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.3rem;
    transition: 0.3s;
    padding: 5px;
    /* Dokunma alanını rahatlatır */
}

.nav-icon.active {
    color: var(--primary);
    transform: translateY(-3px);
}


/* Builder */
.builder-header {
    background: var(--dark);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
}

.builder-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    margin: 15px 0 10px 0;
    padding-left: 5px;
    border-left: 3px solid var(--primary);
}

.ingredient-opt {
    border: 2px solid #F1F5F9;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.ingredient-opt.selected {
    border-color: var(--primary);
    background: rgba(255, 159, 28, 0.05);
}

.ing-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.ing-name {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.ing-price {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 2px;
}

section {
    scroll-margin-top: 130px;
}

/* --- 1. SPLASH EKRANI (AÇILIŞ) --- */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-logo {
    width: 150px;
    animation: pulse 1.5s infinite;
    filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.5));
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(0.95);
    }
}

/* --- 2. ARAMA ÇUBUĞU --- */
.search-box input {
    background: var(--surface);
    color: var(--dark);
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.search-box input:focus {
    box-shadow: 0 5px 15px rgba(255, 159, 28, 0.2);
    background: white;
}

/* --- 3. DEĞERLENDİRME KARTI --- */
.review-card {
    background: white;
    border-radius: 24px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}