:root {
    --bg-color: #000;
    --panel-bg: rgba(20, 20, 20, 0.4);
    --border-color: rgba(255, 255, 255, 0.05);
    --accent-color: #00ff00;
    /* Neon Green */
    --accent-glow: rgba(0, 255, 0, 0.4);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --liquid-color-1: #00ff00;
    --liquid-color-2: #0b3d0b;
    --liquid-color-3: #1a1a1a;
    --glass: rgba(0, 255, 0, 0.05);
    /* Translucent Green */
    --glass-border: rgba(0, 255, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Video Background */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(5px) brightness(0.5);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Removed Liquid Background Styles */

/* Scroll Container */
.container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.section {
    min-height: 100vh;
    height: auto;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.nav-pill {
    background: rgba(0, 20, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.15);
    border-radius: 60px;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.1), inset 0 0 15px rgba(0, 255, 0, 0.05);
}

.nav-logo {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo img {
    height: 100%;
    width: auto;
}

.nav-pill ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-pill li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-pill li:not(:last-child)::after {
    content: '';
    height: 15px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
}

.nav-pill a {
    color: white;
    text-decoration: none;
    text-transform: lowercase;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    opacity: 0.3;
}

.nav-pill a.active {
    opacity: 1;
    color: white;
}

.nav-logo img {
    opacity: 1 !important;
    filter: none !important;
}

.nav-pill a:hover {
    color: var(--accent-color);
    opacity: 1;
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-logo-link.active .nav-logo img,
.nav-logo-link:hover .nav-logo img {
    filter: drop-shadow(0 0 8px var(--accent-glow)) brightness(1.2) !important;
    opacity: 1 !important;
}

.nav-pill:hover a:not(:hover) {
    opacity: 0.2;
}

.side-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 101;
    background: rgba(0, 20, 0, 0.6);
    padding: 35px 15px;
    border-radius: 100px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.15);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.1), inset 0 0 15px rgba(0, 255, 0, 0.05);
}

.social-sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.social-sidebar a:hover {
    transform: scale(1.2);
}

.social-sidebar img {
    width: 28px;
    height: 28px;
}

/* Hero Section */
.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.main-logo-container {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-gif {
    width: 400px;
    height: auto;
    margin-bottom: 0px;
}

.brand-name-img {
    width: 700px;
    height: auto;
    display: block;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-indicator {

    bottom: 80px;
    /* Moved higher */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.bizi-tanimak {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    opacity: 0.5;
    margin-top: 15px;
    margin-left: -4px;
    /* Compensate for letter-spacing to center properly */
    color: var(--text-main);
    text-align: center;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    /* Separated arrows */
}

.arrow-img {
    width: 60px;
    height: auto;
    opacity: 0.15;
}

@keyframes scroll-fade {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.5;
    }
}

.scroll-indicator p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.6;
}

.section-title,
.mobile-nav-title {
    display: none;
}

.glass-card {
    background: linear-gradient(135deg, var(--glass), rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    width: 90%;
    max-width: 1200px;
    min-height: 650px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.03), inset 0 0 30px rgba(0, 255, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* Grid Layouts */
.projects-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.no-padding {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    height: auto !important;
    /* Let children define height, but they will be wrapped in a container */
}

.projects-wrapper {
    width: 90%;
    max-width: 1200px;
    height: 650px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: 100%;
}

.project-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
}

.project-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    /* Faded out by default */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.project-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.project-logo-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
    width: 100%;
}

.client-logo {
    max-width: 200px;
    max-height: 100px;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.project-info p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.project-year {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Hover State */
.project-item:hover .project-bg {
    opacity: 0.8;
    /* Return to normal appearance */
    transform: scale(1.05);
}

.project-item:hover .project-logo-wrap {
    transform: scale(1.1);
    transition: transform 0.3s;
}

/* View All Works */
.view-all-works {
    align-self: flex-end;
}

.view-all-works a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: lowercase;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.view-all-works a:hover {
    opacity: 1;
    color: var(--accent);
}

.arrows-mini {
    display: flex;
    gap: 5px;
}

.am-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
    display: inline-block;
}

.am-arrow:nth-child(2) {
    opacity: 0.6;
}

.am-arrow:nth-child(3) {
    opacity: 0.3;
}

/* Partners */
.partners-container {
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 60px;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-items: center;
}

.partner-logo-item {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s;
}

.partner-logo-item:hover {
    transform: scale(1.1);
}

.partner-logo-item img {
    max-width: 80%;
    max-height: 100px;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}

.partner-logo-item:hover img {
    opacity: 1;
}

.partner-logo-item .text-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

/* Services */
.services-container {
    width: 90%;
    max-width: 1200px;
    height: 600px;
    /* Rigid height as seen in good screenshot */
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 25px;
    width: 100%;
    height: 100%;
    min-height: 0;
    /* Prevents grid items from expanding beyond parent */
}

.service-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    /* Ensure full height of vertical card */
}

.service-card.ai-works {
    height: 100%;
}

.card-bg-wrap {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.service-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.services-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    min-height: 0;
}

.service-card-h {
    position: relative;
    flex: 1;
    border-radius: 25px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 0;
}

.service-card-h .service-video {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.service-label {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 30px;
    z-index: 5;
    pointer-events: none;
}

.service-label h3 {
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.amp-green {
    color: var(--accent-color);
}

/* Hover Effects */
.service-card:hover,
.service-card-h:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.1);
}

.service-card:hover .service-video,
.service-card-h:hover .service-video {
    transform: scale(1.05);
}

.service-card-h:hover {
    transform: scale(1.02);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.news-item-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
    height: 550px;
    display: flex;
    flex-direction: column;
}

.news-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: brightness(1.2);
    transition: opacity 0.4s, transform 0.4s, filter 0.4s;
}

.news-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 2;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    border-radius: 0 0 25px 25px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.news-item-card h5 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.news-item-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Hover Effects */
.news-item-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.1);
}

.news-item-card:hover .news-bg {
    filter: brightness(1.3);
    transform: scale(1.05);
}

/* Mission */
.mission-content {
    text-align: center;
    max-width: 800px;
}

.glow-text {
    font-size: 3rem;
    letter-spacing: 10px;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    height: 100%;
    align-items: center;
}

/* Contact Section Redesign */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    width: 100%;
    align-items: flex-start;
}

.info-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.map-wrapper {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.address-details {
    color: var(--text-main);
}

.address-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 5px;
    opacity: 0.8;
}

.address-details strong {
    font-size: 1.1rem;
    opacity: 1;
}

.contact-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.form-side {
    width: 100%;
}

.styled-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
}

.form-group textarea {
    height: 300px;
    /* As per screenshot */
    resize: none;
}

.kvkk-group {
    margin: 10px 0 15px;
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
    color: var(--text-muted);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s;
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--accent-color);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.kvkk-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    /* Pill shaped like 404 page */
    padding: 15px 40px;
    /* Adjusted padding to match 404 button */
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: inline-block;
    width: fit-content;
    align-self: center;
    /* Center it in the form if needed */
}

.submit-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover .btn-glow {
    left: 100%;
}

.form-status {
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 8px;
    display: none;
    text-align: center;
    margin-bottom: 15px;
}

.form-status.success {
    display: block;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.2);
}


/* Manifesto Section */
.manifesto-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 80px 60px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.manifesto-content p {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.manifesto-content .small {
    font-size: 1.15rem !important;
}

.manifesto-content strong {
    font-weight: 700;
    color: var(--text-main);
}

.importance {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

.welcome-note {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.brand-accent {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.brand-accent.reveal {
    color: var(--accent-color) !important;
}

.script-text {
    font-family: 'corinthia', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    color: var(--text-main);
    margin-top: -15px;
    /* Bring closer to Start Frame'e */
}

/* Sentence Reveal Animation (Morph + Fade from Black) */
.sentence-reveal-init {
    opacity: 0;
    color: #000;
    /* Literal fade from black */
    transform: translateY(40px) scale(0.92);
    filter: blur(10px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter, color;
}

.sentence-reveal-init.reveal {
    opacity: 1;
    color: var(--text-main);
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.card-footer-logo {
    margin-top: 40px;
}

.card-footer-logo img {
    width: 40px;
    height: auto;
    opacity: 0.9;
}

/* Reveal Animations (Morph) */
.reveal-init {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    filter: blur(15px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.reveal-init.reveal {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

/* Specific delay for hero section to feel more organic */
.hero-content.reveal-init {
    transition-delay: 0.2s;
}

.section-title.reveal-init {
    transition-delay: 0.1s;
}

/* Footer Styling */
.footer-credits {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
}

.footer-credits a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.main-footer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.main-footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.footer-sep {
    color: var(--text-muted);
    opacity: 0.3;
    margin: 0 10px;
    font-size: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-btn {
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    user-select: none;
}

.lang-btn.active {
    opacity: 1;
    transform: scale(1.1);
}

.lang-btn:hover {
    opacity: 0.8;
}

/* Language Content Control */
.lang-tr,
.lang-en {
    display: none;
}

.lang-tr.active,
.lang-en.active {
    display: block;
}

/* Video Lightbox */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(0.8);
    -webkit-backdrop-filter: blur(20px) saturate(0.8);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10000;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* Hero Section Load Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

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

.hero-logo-gif {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.brand-name {
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Animation state for children handled below */

.bizi-tanimak {
    animation: fadeInUp 1s ease-out 2.5s both;
    /* Text arrives after all arrows */
}

@keyframes fadeInCentered {
    from {
        opacity: 0;
        transform: translateY(calc(-50% + 50px));
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.main-nav {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.side-nav {
    animation: fadeInCentered 0.8s ease-out 0.4s both;
}

.social-sidebar {
    animation: fadeInCentered 0.8s ease-out 0.6s both;
}

/* Individual arrow animations - entrance then continuous fade */
.arrow-img:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 1s both, scroll-fade 2s infinite ease-in-out 1.6s;
}

.arrow-img:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 1.5s both, scroll-fade 2s infinite ease-in-out 2.1s;
}

.arrow-img:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 2s both, scroll-fade 2s infinite ease-in-out 2.6s;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 1024px) {
    .brand-name {
        font-size: 6rem;
    }

    .hero-logo-gif {
        width: 300px;
    }

    .grid-2x2,
    .partners-grid,
    .services-grid,
    .news-grid {
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {

    /* Navigation */
    .main-nav {
        top: 20px;
    }

    .nav-pill {
        padding: 10px 20px;
        width: 90%;
        justify-content: space-between;
        border-radius: 30px;
        height: 60px;
        overflow: hidden;
        transition: height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        position: relative;
    }

    .mobile-nav-title {
        display: block;
        color: white;
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        text-align: center;
        flex: 1;
        pointer-events: none;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 60%;
        /* Prevent overlap with logo/toggle */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-pill.mobile-open .mobile-nav-title {
        display: none;
        /* Hide title when menu is open */
    }

    .nav-pill.mobile-open {
        height: 600px;
        border-radius: 30px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 20px;
        background: #0a0a0a;
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
    }

    .nav-pill ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 30px;
    }

    .nav-pill.mobile-open ul {
        display: flex;
    }

    .nav-pill.mobile-open a {
        opacity: 1 !important;
        color: white !important;
    }

    .nav-pill.mobile-open .nav-logo img {
        opacity: 1 !important;
    }

    .nav-pill li:not(:last-child)::after {
        display: none;
    }

    .nav-pill.mobile-open .nav-logo img {
        opacity: 1 !important;
        filter: none !important;
    }

    .nav-pill a {
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 5px;
        z-index: 102;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 2px;
        background: white;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hide Desktop-only elements */
    .side-nav,
    .social-sidebar {
        display: none !important;
    }

    /* Hero */
    .brand-name {
        font-size: 4rem;
        letter-spacing: -2px;
    }

    .hero-logo-gif {
        width: 250px;
        filter: none !important;
        opacity: 1 !important;
        margin-bottom: 10px;
    }

    .brand-name-img {
        width: 320px;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .bizi-tanimak {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .arrow-img {
        width: 40px;
    }

    #hero.section {
        padding: 0;
        height: 100vh;
        justify-content: center;
    }

    /* .section-title hidden via global style */

    /* Layout General */
    .section {
        padding: 80px 20px;
        height: auto;
        min-height: 100vh;
        scroll-snap-align: none;
    }

    .container {
        scroll-snap-type: none;
        overflow-y: initial;
        height: auto;
    }

    .glass-card,
    .projects-wrapper,
    .services-container {
        height: auto !important;
        padding: 40px 20px;
        width: 100%;
        min-height: 0;
    }

    /* Projects */
    .grid-2x2 {
        grid-template-columns: 1fr;
    }

    .project-item {
        height: 350px;
    }

    .client-logo {
        max-width: 150px;
    }

    /* Partners */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.ai-works {
        height: 400px;
    }

    .services-stack {
        gap: 20px;
    }

    .service-card-h {
        height: 200px;
        flex: none;
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-item-card {
        height: 400px;
    }

    /* Manifesto */
    .manifesto-card {
        padding: 60px 20px;
    }

    .manifesto-content p {
        font-size: 1rem;
    }

    .script-text {
        font-size: 2rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-side {
        order: 2;
    }

    .form-side {
        order: 1;
    }

    .map-wrapper {
        height: 250px;
    }

    .form-group textarea {
        height: 200px;
    }

    /* Footer */
    .footer-credits,
    .main-footer {
        position: relative;
        bottom: 0;
        right: 0;
        left: 0;
        padding: 40px 20px;
        text-align: center;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
    }

    .footer-credits {
        padding-bottom: 0;
    }

    .main-footer {
        padding-top: 10px;
    }
}

/* 404 Page Styles */
.error-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.error-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 255, 0, 0.15);
    border-radius: 40px;
    padding: 60px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.error-code {
    font-family: 'Bebas Neue', cursive;
    font-size: 8rem;
    color: var(--accent-color);
    line-height: 1;
    text-shadow: 0 0 20px var(--accent-glow);
    margin: 0;
}

.error-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
}

.error-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.home-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-main);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.home-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.sf-icon-mini {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
}

/* Policy Pages Styles (KVKK & Privacy) */
.policy-container {
    padding: 120px 20px 100px;
    max-width: 900px;
    margin: 0 auto;
    min-height: 100vh;
}

.policy-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 60px;
    text-align: left;
}

.policy-card h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.policy-card h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: white;
}

.policy-card p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.policy-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.policy-card li {
    margin-bottom: 10px;
}

.policy-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.policy-card a:hover {
    opacity: 0.8;
}

.back-home-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-home-link:hover {
    opacity: 0.7;
}

/* --- Maintenance Page --- */
.maintenance-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 20px;
}

.maintenance-card {
    padding: 60px 40px;
    max-width: 600px;
    height: auto;
}

.maintenance-logo {
    width: 120px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.maintenance-title {
    width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.maintenance-text {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
    margin-top: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

.maintenance-footer {
    margin-top: 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.maintenance-footer p {
    color: rgba(255, 255, 255, 0.6);
}

.maintenance-footer a {
    color: #fff;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.maintenance-footer a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .maintenance-title {
        font-size: 3rem;
    }

    .maintenance-card {
        padding: 40px 20px;
    }
}