/* ═══════════════════════════════════════════════════════════ */
/* BEBEĞİM BÜYÜYOR - GLOBAL CSS                                */
/* Tüm sayfaların ortak stillerini içerir                       */
/* ═══════════════════════════════════════════════════════════ */

/* ── TEMA DEĞİŞKENLERİ: RENKLER, GÖLGELER VE KÖŞE RADII ── */
:root {
    --bubblegum: #FF8FAB;
    --bubblegum-light: #FFD6E2;
    --bubblegum-soft: #FFF0F5;
    --sky: #74C7EC;
    --sky-light: #D6F0FC;
    --sky-soft: #EEF8FE;
    --mint: #7EDBA5;
    --mint-light: #C8F0DA;
    --mint-soft: #EEFAF3;
    --sun: #FFD166;
    --sun-light: #FFF3C4;
    --sun-soft: #FFFBEC;
    --lavender: #B09FE8;
    --lavender-light: #E2DCFA;
    --lavender-soft: #F4F1FD;
    --peach: #FFB085;
    --peach-light: #FFE3CC;
    --peach-soft: #FFF6EE;
    --white: #FFFFFF;
    --bg: #FFF8FA;
    --text: #3D2C35;
    --text-soft: #8A6878;
    --text-light: #C4A8B8;
    --border: #FAE8EF;
    --shadow: 0 6px 28px rgba(255, 143, 171, 0.15);
    --shadow-hover: 0 14px 40px rgba(255, 143, 171, 0.25);
    --shadow-xl: 0 20px 60px rgba(255, 143, 171, 0.2);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --radius-full: 50px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 20px;
    --spacing-xl: 28px;
    --spacing-2xl: 36px;
    --spacing-3xl: 48px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

/* ── GENEL SIFIRLAMA VE KUTU MODELI ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Auth sayfaları için split-screen flex düzeni */
body.login-page,
body.register-page {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    flex-wrap: wrap;
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Baloo 2', cursive;
}

/* ── ARKA PLAN EFEKTI: YILDIZ VE KONFETI ── */
body::before {
    content: '⭐ 🌟 ✨ 💫 ⭐ 🌟 ✨ 💫 ⭐ 🌟';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    font-size: 18px;
    opacity: 0.06;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    z-index: 0;
    letter-spacing: 40px;
    padding: 20px;
}
/* ── ÜST GEZİNME ÇUBUĞU ── */
nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 5%;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--bubblegum-light);
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bubblegum);
    font-size: 24px;
    cursor: pointer;
    z-index: 110;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 800;
    color: var(--bubblegum);
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(255, 143, 171, 0.3));
}

.logo-text span {
    color: var(--sky);
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--bubblegum);
    background: var(--bubblegum-soft);
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}


.btn-cute {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--bubblegum), #FF6B95);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 107, 149, 0.35);
    transition: all 0.2s;
    font-family: 'Quicksand', sans-serif;
}

.btn-cute:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 149, 0.45);
}


 /* VİDEO TÜM SAYFALARDA VAR OLAN ALANLARI KAPLAYACAK ŞEKİLDE AYARLANIYOR */ 
 /* ── GENİŞ VIDEO ALANI ── */
.genis-video-alani {
    
    width: 100%;          
    max-width: 100%;   
    margin: 0 auto;      
    height: 512px;     
    overflow: hidden;
    line-height: 0;
    position: relative;
    aspect-ratio: 16 / 9; 
}

.genis-video-alani::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

video,
.genis-video-alani img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-normal);
}




/* ── GENEL BÖLÜM BAŞLIĞI ── */
section {
    width: 100%;
    padding: 90px 5%;
}


/* s tag index ve grow da ortak kullanılyor */
.s-tag {
    display: inline-block;
    padding: 5px 18px;
    background: var(--bubblegum-soft);
    color: #C71D5C;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--bubblegum-light);
    margin-bottom: 12px;
}
.s-h2 {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}
.s-p {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text);
    max-width: 500px;
    line-height: 1.7;
}


/*    kategori buttonları market ve makale sayfalarında ortak     */
.cat-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Baloo 2', cursive;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-align: left;
}

.cat-btn:hover {
    border-color: var(--lavender);
    background: var(--lavender-soft);
    transform: translateX(4px);
}

.cat-btn.active {
    background: linear-gradient(135deg, var(--lavender), #9B86E0);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 6px 16px rgba(176, 159, 232, 0.3);
}
.cat-btn span:last-child {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.75;
}

.cat-btn.active span:last-child {
    opacity: 0.9;
}
.cat-icon {
    font-size: 18px;
    min-width: 24px;
}
.sort-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat-label {
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 600;
}
.stat-label {
    font-size: 11px;
    color: var(--text-soft);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}



/* ── SAYFALAMA (PAGINATION) ── MARKET VE MAKALE */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    padding: 20px 0;
}
.page-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    color: var(--text-soft);
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.page-btn:hover {
    border-color: var(--lavender-light);
    color: var(--lavender);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 24px rgba(176, 159, 232, 0.15);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--lavender), #9B86E0);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(176, 159, 232, 0.3);
    transform: scale(1.15);
    z-index: 2;
}

/*      ANASAYFA VE MARKETTE ORTAK İKİ ADET VAR        */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--sun-soft), var(--sun-light));
    color: #A07000;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid var(--sun);
    margin-bottom: 20px;
}

.hero-badge {
    background: rgba(255, 209, 102, 0.85);
    border-color: var(--sun);
    color: #8A6000;
    backdrop-filter: blur(6px);
}


/* ═══════════════════════════════════════════════════════════ */
/* ── MODAL ── GROW VE MAKETTE ORTAK */
/* ═══════════════════════════════════════════════════════════ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }
/* ═══ MODAL: iç içe görünümü önlemek için koyu overlay ═══ */
.modal-overlay {
    background: rgba(40, 25, 35, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* ═══════════════════════════════════════════════════════════ */
/* ── YATAY ORTALAMA YARDIMCISI ── */
/* ═══════════════════════════════════════════════════════════ */

.yatay-ortala { display: flex; align-items: center; }


/* ═══════════════════════════════════════════════════════════ */
/* ── CTA & FOOTER ── */
/* ═══════════════════════════════════════════════════════════ */

.cta {
    padding: 70px 80px;
    background: linear-gradient(135deg, var(--bubblegum), #FF6B95, #B09FE8);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-decos {
    font-size: 20px;
    letter-spacing: 12px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.cta h2 { font-size: 40px; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.cta p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 1; }
.btn-cta-white {
    padding: 14px 32px;
    background: white;
    color: var(--bubblegum);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Baloo 2', cursive;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15); }
.btn-cta-tr {
    padding: 14px 32px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Baloo 2', cursive;
}

.btn-cta-tr:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

footer {
    background: #2D1F29;
    color: rgba(255, 255, 255, 0.8);
    padding: clamp(40px, 8vw, 80px) 5% clamp(20px, 4vw, 40px);
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 40px; 
    margin-bottom: 40px; 
}
.footer-grid .fb p { font-size: 14px; line-height: 1.8; opacity: 0.7; margin-bottom: 20px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Baloo 2', cursive;
    font-size: 22px;
    font-weight: 800;
    color: var(--bubblegum);
    margin-bottom: 12px;
}
.footer-logo-img { width: 40px; height: 40px; object-fit: contain; }
.socials { display: flex; gap: 12px; }
.soc {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.soc:hover { background: var(--bubblegum); transform: translateY(-3px); }

.fc h4 {
    font-family: 'Baloo 2', cursive;
    font-size: 16px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.fc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.fc ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.fc ul li a:hover { color: var(--bubblegum); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE NAVBAR - MOBİL MENÜ SİSTEMİ                  */
/* Tüm ekran boyutlarında üst çubuğu duyarlı yapar          */
/* ═══════════════════════════════════════════════════════ */
.mobile-only-nav-item { display: none; }

/* Açılır menüde giriş/üyelik düğmeleri */
.mobile-only-nav-item a {
    display: inline-block;
    width: auto;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--bubblegum), #FF6B95);
    color: var(--white) !important;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 107, 149, 0.35);
}
.mobile-only-nav-item a:hover {
    background: linear-gradient(135deg, #FF6B95, var(--bubblegum));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 149, 0.45);
}

/* ═══════════════════════════════════════════════════════ */
/* MOBİL: YATAY KAYDIRMA ENGELLEME                         */
/* Sayfa sağa/sola kaydırılamasın; kapalı menü paneline     */
/* ekran kaydırılarak ulaşılamasın. Menü sadece 3 noktaya   */
/* tıklanınca (navbar.js) açılsın.                          */
/* ═══════════════════════════════════════════════════════ */
html, body {
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y; /* Dikey kaydırma normal, yatay kaydırma pasif */
}


/*        ANİMASYONLAR  */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInCard {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideOutCard {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-20px) scale(0.95); }
}
@keyframes shimmer {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}
@keyframes floatEmoji {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}
@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes ambianceFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 10px) scale(0.95); }
}

@keyframes particleFloat {
    0% { transform: translateY(100%) rotate(0deg) scale(0); opacity: 0; }
    20% { opacity: 0.2; }
    80% { opacity: 0.15; }
    100% { transform: translateY(-100vh) rotate(720deg) scale(1); opacity: 0; }
}
@keyframes detailPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 60px rgba(255, 143, 171, 0.15); }
    50% { transform: scale(1.03); box-shadow: 0 30px 80px rgba(255, 143, 171, 0.2); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}
@keyframes growProfileSheen {
    0%, 100% { opacity: 0.45; }
    50%      { opacity: 1; }
}
@keyframes wiggle {
    0%   { transform: rotate(0deg); }
    30%  { transform: rotate(-12deg); }
    60%  { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}
/* Baloncuk aktif giriş animasyonu */
@keyframes growBubble {
    0%   { transform: scale(0.92); }
    60%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}
@keyframes growAvatarFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

@keyframes growAvatarSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes ttPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

