/* ═══════════════════════════════════════════════
   TTCELL — Teknoloji Transformasyon Center
   site.css — Ana Stil Dosyası
   ═══════════════════════════════════════════════ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111119;
    --bg-card: #16161f;
    --accent: #4A9EFF;
    --accent-dim: #2A6FDF;
    --accent-glow: rgba(74,158,255,0.15);
    --text-primary: #eaeaf0;
    --text-secondary: #8888a0;
    --text-muted: #55556a;
    --border: #222233;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── SPLASH SCREEN ── */
.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

    .splash.hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.splash-logo {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

    .splash-logo .s-accent {
        color: var(--accent);
    }

    .splash-logo::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0,229,160,0.15), transparent);
        animation: splashShine 1.5s 0.3s ease forwards;
    }

@keyframes splashShine {
    0% {
        left: -100%;
    }

    100% {
        left: 150%;
    }
}

.splash-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 1.2rem;
    opacity: 0;
    animation: splashFadeIn 0.8s 0.5s ease forwards;
}

@keyframes splashFadeIn {
    to {
        opacity: 1;
    }
}

.splash-bar {
    width: 120px;
    height: 2px;
    background: var(--border);
    margin-top: 2rem;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: splashFadeIn 0.5s 0.8s ease forwards;
}

.splash-bar-inner {
    width: 0;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    animation: splashLoad 1.8s 1s ease forwards;
}

@keyframes splashLoad {
    0% {
        width: 0;
    }

    60% {
        width: 80%;
    }

    100% {
        width: 100%;
    }
}

.splash-motto {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 0.8rem;
    font-style: italic;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: splashFadeIn 0.8s 0.8s ease forwards;
}

.splash-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    opacity: 0;
    animation: splashFadeIn 0.6s 1.4s ease forwards;
}

.splash-btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.03em;
}

.splash-btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
}

    .splash-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0,229,160,0.3);
    }

.splash-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

    .splash-btn-secondary:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

/* ── SKIP LINK (A11y) ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.8rem 1.6rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 200;
    text-decoration: none;
    transition: top 0.3s;
}

    .skip-link:focus {
        top: 0;
    }

/* ── NAV ── */
header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4rem;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

    .nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        transition: color 0.3s;
        position: relative;
    }

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

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

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

.nav-cta {
    padding: 0.6rem 1.6rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
}

    .nav-cta:hover {
        background: #fff;
        box-shadow: 0 0 30px var(--accent-glow);
    }

/* ── NAV RIGHT ── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ── LANG SWITCH ── */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
}

    .lang-switch:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(0,229,160,0.06);
    }

/* ── HERO ── */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(ellipse 600px 400px at 30% 20%, rgba(0,229,160,0.06) 0%, transparent 70%), radial-gradient(ellipse 500px 500px at 70% 80%, rgba(0,100,200,0.04) 0%, transparent 70%);
        animation: heroOrb 20s ease-in-out infinite alternate;
    }

@keyframes heroOrb {
    0% {
        transform: translate(0,0) rotate(0deg);
    }

    100% {
        transform: translate(-5%,3%) rotate(10deg);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s ease both;
    background: rgba(22,22,31,0.6);
}

    .hero-badge .dot {
        width: 6px;
        height: 6px;
        background: var(--accent);
        border-radius: 50%;
        animation: pulse 2s ease-in-out infinite;
    }

@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s 0.15s ease both;
}

    .hero h1 .accent {
        color: var(--accent);
    }

.hero-acronym {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    font-weight: 400;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s 0.3s ease both;
}

    .hero-acronym strong {
        color: var(--accent);
        font-weight: 700;
    }

.hero-desc {
    max-width: 560px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
    animation: fadeUp 0.8s 0.4s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeUp 0.8s 0.55s ease both;
}

.btn-primary {
    padding: 0.9rem 2.4rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0,229,160,0.25);
    }

.btn-secondary {
    padding: 0.9rem 2.4rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

    .btn-secondary:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── STATS BAR ── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── SECTIONS ── */
section {
    padding: 7rem 4rem;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.7;
}

/* ── SERVICES ── */
#hizmetler {
    background: var(--bg-primary);
}

.services-header {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), transparent);
        opacity: 0;
        transition: opacity 0.4s;
    }

    .service-card:hover {
        border-color: rgba(0,229,160,0.3);
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }

        .service-card:hover::before {
            opacity: 1;
        }

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ── ABOUT ── */
#hakkimizda {
    background: var(--bg-secondary);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.about-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.about-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.about-orb-1 {
    top: 20%;
    left: 20%;
    background: rgba(0,229,160,0.2);
}

.about-orb-2 {
    bottom: 20%;
    right: 20%;
    background: rgba(0,100,230,0.15);
    animation-delay: -4s;
}

@keyframes float {
    0%,100% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(20px,-20px);
    }
}

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

    .about-center-text .big-tt {
        font-family: var(--font-display);
        font-size: 5rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        color: var(--text-primary);
        opacity: 0.15;
    }

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-item {
    padding: 1.2rem;
    border-left: 2px solid var(--accent);
    padding-left: 1.2rem;
}

    .value-item h4 {
        font-family: var(--font-display);
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
    }

    .value-item p {
        font-size: 0.82rem;
        color: var(--text-secondary);
    }

/* ── TECH STACK ── */
#teknoloji {
    background: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.tech-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

    .tech-item:hover {
        border-color: var(--accent);
        transform: translateY(-3px);
    }

    .tech-item .tech-name {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 0.95rem;
        margin-top: 0.8rem;
    }

    .tech-item .tech-icon {
        font-size: 2rem;
        display: block;
        margin-bottom: 0.3rem;
    }

/* ── CONTACT ── */
#iletisim {
    background: var(--bg-secondary);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 600px;
    width: 100%;
}

    .contact-form input,
    .contact-form textarea {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1rem 1.2rem;
        color: var(--text-primary);
        font-family: var(--font-body);
        font-size: 0.9rem;
        outline: none;
        transition: border-color 0.3s;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--accent);
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: var(--text-muted);
        }

    .contact-form .full-width {
        grid-column: 1 / -1;
    }

    .contact-form textarea {
        resize: vertical;
        min-height: 120px;
    }

    .contact-form .btn-primary {
        grid-column: 1 / -1;
        justify-self: center;
        width: auto;
    }

/* ── FOOTER ── */
footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

    .footer-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.82rem;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: var(--accent);
        }

/* ── COPYRIGHT BAR ── */
.copyright-bar {
    background: #08080d;
    text-align: center;
    padding: 1.2rem 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

    .copyright-bar a {
        color: var(--accent-dim);
        text-decoration: none;
    }

        .copyright-bar a:hover {
            color: var(--accent);
        }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    header nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-cta {
        display: none;
    }

    section {
        padding: 4rem 1.5rem;
    }

    #hakkimizda {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        height: 280px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .splash-logo {
        font-size: 3rem;
    }

    .splash-actions {
        flex-direction: column;
    }
}
.logo-img {
    height: 72px;
    width: auto;
    display: block;
}
/* ── SCROLL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.no-js .reveal {
    opacity: 1;
    transform: none;
}
