/* HASKAN.TR Unified Multi-Site Style System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* =========================================================================
   CSS Variables & Design Tokens — DARK THEME (default)
   ========================================================================= */
:root {
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.18), 0 10px 10px -5px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 40px -15px rgba(0,0,0,0.45);

    --container-width: 1280px;
    --touch-target: 48px;

    /* Dark Theme Base */
    --bg-primary: #050505;
    --bg-secondary: #0b0b0b;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --border-color: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.15);
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-dim: #a1a1a6;
    --header-bg: #050505;
    --header-scrolled: #050505;
    --header-border: rgba(255,255,255,0.08);
    --nav-mobile-bg: #080808;
    --input-bg: rgba(255,255,255,0.03);
    --input-border: rgba(255,255,255,0.08);
    --input-focus-border: rgba(255,255,255,0.3);
    --footer-border: rgba(255,255,255,0.06);
    --toggle-bg: rgba(255,255,255,0.08);
    --toggle-border: rgba(255,255,255,0.12);
    --toggle-color: #fff;
    --spotlight-color: rgba(255,255,255,0.04);
}

/* =========================================================================
   LIGHT THEME — [data-theme="light"]
   ========================================================================= */
[data-theme="light"] {
    --bg-primary: #f9f9fb;
    --bg-secondary: #ffffff;
    --bg-card: rgba(0,0,0,0.02);
    --bg-card-hover: rgba(0,0,0,0.05);
    --border-color: rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.18);
    --text-primary: #111113;
    --text-secondary: #6b6b70;
    --text-dim: #88888e;
    --header-bg: #ffffff;
    --header-scrolled: #ffffff;
    --header-border: rgba(0,0,0,0.08);
    --nav-mobile-bg: #f9f9fb;
    --input-bg: rgba(0,0,0,0.03);
    --input-border: rgba(0,0,0,0.12);
    --input-focus-border: rgba(0,0,0,0.35);
    --footer-border: rgba(0,0,0,0.08);
    --toggle-bg: rgba(0,0,0,0.06);
    --toggle-border: rgba(0,0,0,0.1);
    --toggle-color: #111113;
    --spotlight-color: rgba(0,0,0,0.03);
}

/* =========================================================================
   RESET
   ========================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    border: none;
    background: none;
    outline: none;
}

/* =========================================================================
   SCROLL PROGRESS BAR
   ========================================================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 9999;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(90deg, var(--progress-from, #ffffff), var(--progress-to, #888888));
    transition: width 0.1s linear;
    pointer-events: none;
}

/* =========================================================================
   NOISE / GRAIN OVERLAY (subtle premium texture)
   ========================================================================= */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* =========================================================================
   CURSOR SPOTLIGHT
   ========================================================================= */
.cursor-spotlight {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--spotlight-color) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-spotlight {
    opacity: 1;
}

/* =========================================================================
   LAYOUT
   ========================================================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }

/* Grid Utilities */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Bento Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
    color: var(--text-primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-target);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.18) 0%, transparent 70%);
    transition: opacity 0.3s ease;
}

.btn:active::after {
    opacity: 1;
}

/* =========================================================================
   FORMS
   ========================================================================= */
.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    min-height: var(--touch-target);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px rgba(128,128,128,0.1);
}

.form-control::placeholder {
    color: var(--text-dim);
}

/* =========================================================================
   ALERTS
   ========================================================================= */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}
.alert-success {
    background: rgba(16,185,129,0.1);
    color: #10b981;
    border: 1px solid rgba(16,185,129,0.2);
}
.alert-error {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.2);
}

/* =========================================================================
   HEADER & NAV
   ========================================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled {
    background: var(--header-scrolled);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 16px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    color: var(--text-primary);
}

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

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

/* Theme Toggle Button */
.theme-toggle {
    width: var(--touch-target, 48px);
    height: var(--touch-target, 48px);
    border-radius: 50%;
    background: var(--toggle-bg);
    border: 1px solid var(--toggle-border);
    color: var(--toggle-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--toggle-border);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: var(--touch-target, 48px);
    height: var(--touch-target, 48px);
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* =========================================================================
   SCROLL REVEAL UTILITY
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* =========================================================================
   MARQUEE
   ========================================================================= */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.marquee-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

/* =========================================================================
   KEYFRAMES
   ========================================================================= */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.1); }
    50% { box-shadow: 0 0 20px 6px rgba(255,255,255,0.07); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }

    .bento-grid { grid-template-columns: 1fr; }

    .nav-menu {
        position: fixed;
        top: 80px; left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: center;
        background: var(--nav-mobile-bg);
        transition: var(--transition-smooth);
        gap: 40px;
        padding-bottom: 100px;
        z-index: 999;
    }

    .nav-menu.active { left: 0; }

    .menu-toggle { display: flex; }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* =========================================================================
   SITE SELECTOR SPLASH OVERLAY
   ========================================================================= */
#siteSelectorOverlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #020408;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#siteSelectorOverlay.hiding {
    opacity: 0;
    pointer-events: none;
}
.site-selector-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(14, 165, 233, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(239, 68, 68, 0.04) 0%, transparent 70%);
}
.site-selector-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 60px 60px;
}
.site-selector-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    text-align: center;
}
.site-selector-brand {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1;
}
.site-selector-brand span {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.site-selector-tagline {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 56px;
    font-weight: 400;
}
.site-selector-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}
.site-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    padding: 40px 28px 36px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.site-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-gradient);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 24px;
}
.site-card:hover {
    border-color: var(--card-accent);
    box-shadow: 0 30px 80px var(--card-shadow), 0 0 0 1px var(--card-accent);
    transform: translateY(-8px);
}
.site-card:hover::before { opacity: 1; }
.site-card-portfolio {
    --card-accent: rgba(56, 189, 248, 0.3);
    --card-shadow: rgba(56, 189, 248, 0.12);
    --card-gradient: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}
.site-card-media {
    --card-accent: rgba(239, 68, 68, 0.3);
    --card-shadow: rgba(239, 68, 68, 0.12);
    --card-gradient: radial-gradient(ellipse at top, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
}
.site-card-teknoloji {
    --card-accent: rgba(99, 102, 241, 0.3);
    --card-shadow: rgba(99, 102, 241, 0.12);
    --card-gradient: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}
.site-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-card:hover .site-card-icon { transform: scale(1.1) translateY(-2px); }
.site-card-icon-portfolio { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.2); }
.site-card-icon-media { background: rgba(239, 68, 68, 0.12); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.site-card-icon-teknoloji { background: rgba(99, 102, 241, 0.12); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.2); }
.site-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #f1f5f9;
    position: relative;
    z-index: 1;
}
.site-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}
.site-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    margin-top: auto;
}
.site-card:hover .site-card-cta { background: rgba(255,255,255,0.12); }
.site-card-skip {
    display: block;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
    font-family: var(--font-sans);
}
.site-card-skip:hover { color: #94a3b8; }

/* =========================================================================
   MARQUEE TICKER
   ========================================================================= */
.marquee-band {
    overflow: hidden;
    padding: 18px 0;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.015);
}
.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.marquee-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================================================
   FLOATING BRAND SWITCHER
   ========================================================================= */
.brand-switcher {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 9990;
}
.brand-switcher-trigger {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    color: #fff;
    user-select: none;
}
.brand-switcher-trigger:hover { transform: scale(1.08); border-color: rgba(255,255,255,0.25); }
.brand-switcher-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 8px;
    min-width: 210px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom left;
}
.brand-switcher.open .brand-switcher-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.brand-switcher-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s;
}
.brand-switcher-item:hover { background: rgba(255,255,255,0.06); }
.brand-switcher-item.current { background: rgba(255,255,255,0.08); pointer-events: none; }
.brand-switcher-item.current::after { content: '●'; margin-left: auto; font-size: 0.5rem; opacity: 0.5; }
.brand-switcher-dot {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.brand-switcher-label { font-size: 0.7rem; color: #64748b; margin-top: 6px; padding: 4px 14px 8px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* =========================================================================
   SECTION SCROLL REVEAL
   ========================================================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5) { transition-delay: 0.4s; }

@media (max-width: 768px) {
    .site-selector-cards { grid-template-columns: 1fr; max-width: 400px; }
    .site-card { padding: 24px 22px; flex-direction: row; text-align: left; }
    .site-card-desc { display: none; }
    .brand-switcher { bottom: 80px; }
}

/* =========================================================================
   GSAP REVEAL — JS controlled (initial hidden state)
   ========================================================================= */
.gsap-reveal { opacity: 0; transform: translateY(60px); }
.gsap-reveal-left { opacity: 0; transform: translateX(-60px); }
.gsap-reveal-right { opacity: 0; transform: translateX(60px); }
.gsap-scale-in { opacity: 0; transform: scale(0.85); }

/* =========================================================================
   GRADIENT TEXT
   ========================================================================= */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.55) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-red {
    background: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-blue {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================================================
   SHIMMER ANIMATION
   ========================================================================= */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* =========================================================================
   MAGNETIC BUTTON (JS enhanced)
   ========================================================================= */
.magnetic { display: inline-block; will-change: transform; }

/* =========================================================================
   GLOW EFFECTS
   ========================================================================= */
.glow-red { box-shadow: 0 0 40px rgba(229,9,20,0.25), 0 0 80px rgba(229,9,20,0.1); }
.glow-blue { box-shadow: 0 0 40px rgba(56,189,248,0.25), 0 0 80px rgba(56,189,248,0.1); }

/* =========================================================================
   SECTION HEADER UTILITIES
   ========================================================================= */
.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 auto 16px;
    width: fit-content;
}
.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.section-subtext {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 580px;
    line-height: 1.7;
}

/* =========================================================================
   COUNTER / STAT DISPLAY
   ========================================================================= */
.counter-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}
.counter-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* =========================================================================
   ANIMATED BORDER
   ========================================================================= */
@keyframes borderGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
.animated-border { position: relative; }
.animated-border::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    animation: borderGlow 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .section-heading { font-size: clamp(1.7rem, 6vw, 2.4rem); }
    .section-subtext { font-size: 0.95rem; }
    .counter-num { font-size: clamp(2rem, 8vw, 3rem); }
}

/* =========================================================================
   BRAND LOGO SLIDER — PREMIUM (Baysal Teknoloji Style)
   ========================================================================= */
.logo-slider-section {
    padding: 60px 0;
    background: transparent;
    border-top: 1px solid var(--border-color, #e2e8f0);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    overflow: hidden;
}

.logo-slider-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-slate, #64748b);
    margin-bottom: 10px;
}

.logo-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.logo-slider-track {
    display: flex;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: max-content;
}

.logo-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
    flex-shrink: 0;
}

.logo-slide-inner {
    width: 150px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-slide-inner img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-slide-inner:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* Grayscale/Contrast boost for dark theme backgrounds */
[data-theme="dark"] .logo-slider-section .logo-slide-inner img {
    filter: grayscale(100%) brightness(1.4);
    opacity: 0.5;
}

[data-theme="dark"] .logo-slider-section .logo-slide-inner:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Fallback text brand logo styling */
.logo-slide-text {
    color: var(--color-slate, #64748b);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.logo-slide-inner:hover .logo-slide-text {
    color: var(--text-primary, #0f172a);
    opacity: 1;
    transform: scale(1.05);
}

[data-theme="dark"] .logo-slide-text {
    color: var(--text-secondary, #94a3b8);
}

[data-theme="dark"] .logo-slide-inner:hover .logo-slide-text {
    color: var(--text-primary, #ffffff);
}

.logo-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.logo-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-border, #cbd5e1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    padding: 0;
}

.logo-slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--color-primary, #0284c7);
}

[data-theme="dark"] .logo-slider-section .logo-slider-dot.active {
    background-color: var(--color-blue, #0284c7);
}

/* Dual Logo Theme Toggling */
.logo-light-only {
    display: block;
}
.logo-dark-only {
    display: none;
}
[data-theme="dark"] .logo-light-only {
    display: none;
}
[data-theme="dark"] .logo-dark-only {
    display: block;
}
