/* ---------- Kök Değişkenler & Temel Reset ---------- */
:root {
    --bg-1: #0d1b2a;
    --bg-2: #14233b;
    --gradient-start: #233067;
    --gradient-mid: #1e40af;
    --gradient-end: #0f172a;
    --accent: #00d1b2;
    --text: #e8eaf6;
    --danger: #ff2744;
    --card-bg: rgba(255, 255, 255, .02);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg-1);
    overflow-x: hidden;
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

.container {
    width: min(90%, 1140px);
    margin-inline: auto
}

.btn-primary {
    display: inline-block;
    padding: .9rem 2.4rem;
    border: 2px solid var(--accent);
    border-radius: 55px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    position: relative;
    transition: .3s all;
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg-1);
    box-shadow: 0 0 10px var(--accent)
}

h2.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.15;
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease
}

.in-view {
    opacity: 1 !important;
    transform: none !important
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 25% 30%, var(--gradient-start) 0%, transparent 55%),
        radial-gradient(circle at 75% 70%, var(--gradient-end) 0%, transparent 55%),
        linear-gradient(120deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    background-size: 200% 200%;
    animation: moveGradient 18s ease-in-out infinite;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: saturate(120%) contrast(115%);
}

@keyframes moveGradient {
    0% {
        background-position: 0 0
    }

    50% {
        background-position: 100% 100%
    }

    100% {
        background-position: 0 0
    }
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: .5rem .8rem;
    background: var(--accent);
    color: #000;
    border-radius: 5px;
    z-index: 1000
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(13, 27, 42, .45);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: background .3s ease;
}

header.scrolled {
    background: rgba(13, 27, 42, .85)
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0
}

.logo {
    height: auto;
    width: 200px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo img {
        height: 3.5rem;
    }
}


nav ul {
    display: flex;
    gap: 1.8rem;
    list-style: none
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    font-size: .97rem;
}

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

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

nav a:hover::after,
nav a.active::after {
    width: 100%
}

.lang-switch {
    margin-left: .5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--accent)
}

.hamburger {
    display: none;
    width: 28px;
    cursor: pointer
}

.hamburger span {
    display: block;
    height: 3px;
    margin: 5px 0;
    background: var(--text);
    transition: .3s
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
    opacity: 0
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
}

@media(max-width:768px) {
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        gap: 1.3rem;
        background: rgba(13, 27, 42, .95);
        padding: 2rem 3rem;
        height: calc(100vh - 70px);
        width: 260px;
        transition: .4s;
    }

    nav.open ul {
        right: 0
    }

    .hamburger {
        display: block
    }
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative
}

.hero .content {
    transform: translateY(-4vh)
}

.hero .title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent), var(--gradient-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    font-weight: 500;
    margin-bottom: 2.7rem;
    opacity: .92
}

#about {
    position: relative;
    padding: 8rem 0 6rem;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 18px;
    padding: 3.5rem 3rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.illustration {
    position: relative;
    isolation: isolate;
    min-height: 260px;
}

.illustration picture,
.illustration img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    filter: drop-shadow(0 0 18px rgba(0, 0, 0, .45));
}

.text-block .section-title {
    text-align: left;
    margin-bottom: 1.4rem;
}

.text-block .text {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: .92;
    margin: 0 0 2rem;
}

@media (max-width: 991px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .illustration {
        order: -1;
        max-width: 100%;
        min-height: 0;
        margin: 0 0 2rem;
    }

    .text-block .section-title {
        text-align: center;
    }
}

#team {
    padding: 6rem 0;
    background: var(--bg-2)
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin-inline: auto
}

.member {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, .05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: transform .3s;
    position: relative;
    overflow: hidden;
}

.member:hover {
    transform: translateY(-6px)
}

.member img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.2rem
}

.member h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: .4rem
}

.member p.role {
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: .92rem
}

.member p {
    font-size: .9rem;
    line-height: 1.6;
    opacity: .85
}

#services {
    padding: 6rem 0
}

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

.service {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: .3s;
}

.service:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, .3);
    transform: translateY(-6px)
}

.service svg {
    width: 42px;
    height: 42px;
    fill: var(--accent);
    margin-bottom: 1rem
}

.service h3 {
    font-weight: 600;
    margin-bottom: .6rem;
    font-size: 1.1rem
}

.service p {
    font-size: .9rem;
    line-height: 1.6;
    opacity: .85
}

#announcements {
    padding: 6rem 0;
    background: var(--bg-2)
}

.timeline {
    max-width: 760px;
    margin-inline: auto;
    position: relative
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    transform: translateX(-50%)
}

.entry {
    position: relative;
    width: 50%;
    padding: 2rem 2.5rem;
    box-sizing: border-box;
}

.entry:nth-child(odd) {
    left: 0;
    text-align: right
}

.entry:nth-child(even) {
    left: 50%
}

.entry::before {
    content: "";
    position: absolute;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    right: -6px;
    /* odd */
}

.entry:nth-child(even)::before {
    left: -6px
}

.entry h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: .4rem
}

.entry time {
    font-size: .82rem;
    opacity: .8
}

.entry p {
    font-size: .9rem;
    line-height: 1.6;
    margin-top: .8rem;
    opacity: .85
}

@media(max-width:768px) {

    .entry,
    .entry:nth-child(even) {
        left: 0;
        width: 100%;
        text-align: left;
        padding-left: 3rem
    }

    .timeline::before {
        left: 20px
    }

    .entry::before,
    .entry:nth-child(even)::before {
        left: 14px;
        right: auto
    }
}

#contact {
    padding: 6rem 0
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin-inline: auto
}

form {
    display: grid;
    gap: 1.4rem
}

form input,
form textarea {
    width: 100%;
    padding: .85rem 1.1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-family: inherit;
    resize: none;
}

form button {
    justify-self: start
}

.contact-info p {
    margin-bottom: .8rem;
    font-size: .95rem
}

.contact-info a {
    color: var(--accent);
    text-decoration: none
}

@media(max-width:768px) {
    .contact-wrapper {
        grid-template-columns: 1fr
    }
}

footer {
    padding: 2.2rem 0;
    background: #091422;
    text-align: center;
    font-size: .85rem;
    opacity: .8
}

#network {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none
}
