/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;600&family=Nunito:wght@400;700;900&family=Lilita+One&family=Chewy&family=Caveat:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');

:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --dark: #292f36;
    --light: #f7fff7;
    --bubble-gum: #ff9a9e;
    --black-bg: #111111;
    --navbar-bg: rgba(0, 0, 0, 0.7);
    --modal-overlay: rgba(0, 0, 0, 0.85);
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    /* Sticky Footer Setup */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
.fun-font {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.3;
}

/* ArapÃ§a Font Override */
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .fun-font,
html[lang="ar"] .nav-link,
html[lang="ar"] .nav-btn {
    font-family: 'Tajawal', sans-serif !important;
}

/* --- TOP MARQUEE (Kayan Yazi) --- */
.top-marquee {
    background: linear-gradient(90deg, #FF9A9E 0%, #FECFEF 100%);
    color: #292f36;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1002;
    border-bottom: 2px solid #fff;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.marquee-track {
    display: flex;
    animation: scroll 35s linear infinite;
    gap: 0;
    white-space: nowrap;
    width: fit-content;
}

.marquee-item {
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- NAVIGASYON --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(41, 47, 54, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 38px;
    /* Marquee yÃ¼ksekliÄŸi kadar boÅŸluk */
    z-index: 1000;
    border-bottom: 3px solid var(--secondary);
}

.logo-container img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.nav-right-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- LANG SWITCHER STYLES --- */
.lang-switcher {
    position: relative;
    margin-left: 20px;
}

html[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 20px;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--light);
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: rgba(78, 205, 196, 0.2);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--dark);
    border: 1px solid var(--secondary);
    border-radius: 10px;
    margin-top: 10px;
    display: none;
    flex-direction: column;
    min-width: 120px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-switcher.active .lang-dropdown {
    display: flex;
}

.lang-opt {
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-opt:hover {
    background: var(--secondary);
    color: var(--dark);
}

.lang-opt.active {
    background: var(--primary);
    font-weight: bold;
}

.lang-flag {
    width: 20px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s;
    font-family: 'Fredoka', sans-serif;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 0 #d64545;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #d64545;
}

.nav-btn:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #d64545;
}

/* --- MOBILE MENU TOGGLE --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
}

.menu-toggle:hover {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark);
        padding: 20px;
        border-bottom: 3px solid var(--secondary);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-right-container {
        gap: 10px;
    }

    .lang-switcher {
        margin-left: 10px;
    }

    .marquee-item {
        padding: 0 20px;
    }
}

/* --- FOOTER STYLES --- */
footer {
    background: #111;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    margin-top: auto;
    /* Sticky Footer Logic */
}

.footer-legal-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px dotted #444;
}

.footer-legal-links a:hover {
    color: var(--secondary);
    border-bottom: 1px solid var(--secondary);
}

.social-icons {
    font-size: 1.5rem;
    letter-spacing: 10px;
    margin-top: 10px;
}

.social-icons a {
    color: #666;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary);
}
/* --- YASAL SAYFA STÝLLERÝ --- */
.legal-wrapper {
    flex: 1;
    padding: 60px 5%;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at top, #363d45 0%, var(--dark) 100%);
}

.legal-card {
    background: white;
    color: #444;
    max-width: 900px;
    width: 100%;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-top: 8px solid var(--primary);
    position: relative;
    margin-top: 20px;
}

.legal-card::before {
    content: '\f023'; /* FontAwesome Lock Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -25px;
    right: 40px;
    background: var(--accent);
    color: var(--dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 4px solid white;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px dashed #eee;
    padding-bottom: 20px;
}

.legal-header h1 {
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 10px;
}

.legal-header p {
    color: #888;
    font-size: 0.9rem;
}

.legal-content h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-content h3 i {
    font-size: 1.1rem;
    color: var(--accent);
}

.legal-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

.contact-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid var(--accent);
    margin-top: 30px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .legal-wrapper { padding: 30px 20px; }
    .legal-card { padding: 30px 20px; }
    .legal-header h1 { font-size: 1.6rem; }
    .legal-content h3 { font-size: 1.2rem; }
}

