:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #858585;
    --accent: #9c9c9c;
    --accent-glow: rgba(255, 255, 255, 0.4);
    --primary: #0184ff;
    --border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.8;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: hidden;
}

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

/* Load Animations (Page Load) */
.load-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.load-reveal.load-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals if needed (optional) */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    position: relative;
    animation: fadeInPage 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Blur Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    filter: blur(8px);
    /* İstediğin blur efekti */

    z-index: -1;
    /* Blur sonucu kenarlardaki beyazlığı önlemek için */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    width: 95%;
    max-width: 1400px;
    margin: 10px auto;
    border: 1px solid var(--border);
    border-radius: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 10px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    width: fit-content;
}

.footer .logo {
    margin-bottom: 16px;
}

.footer .logo span {
    display: inline-block;
    transform: translateY(-8px);
    color: #ffffff;
    /* Pixelify Sans'ın taban boşluğunu dengeler */
}

.logo img {
    height: 32px;
    width: auto;
    border-radius: 7px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;

    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.cta-button {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    color: #000000 !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 700 !important;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 10px 20px -10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    max-width: 1400px;
    margin: 70px auto 140px auto;
    border-radius: 32px;
    text-align: center;
    padding: 140px 20px 200px 20px;
    position: relative;
    border: 1px solid var(--border);
    background-image: url('assets/back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Subtle background glow */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.3;
    z-index: -1;
    filter: blur(80px);
}

.hero-content {
    max-width: 1100px;
    z-index: 1;
}

.hero-title {
    font-size: 65px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.text-gradient {
    /* Subtle silver/gray gradient representing premium tech */
    background: linear-gradient(90deg, rgb(2, 70, 133), #0184ff, rgb(2, 70, 133), #3903cc);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flow 5s linear infinite;
}

@keyframes flow {
    0% {
        background-position: 0% 50%;
    }

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary {
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 34px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 17px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #292929;
    color: #ffffff;
    border: 1px solid #414141;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 34px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 17px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}





/* Marquee Section */
.marquee-section {
    padding: 20px 0 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 32px;
}

.marquee-subtitle {
    text-align: center;
    font-size: 12px;
    border: 1px solid var(--border);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 32px;
    font-weight: 600;
    margin-left: 50%;
    transform: translateX(-50%);
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    /* Logoları merkeze yasla */
    height: 120px;
    width: max-content;
    gap: 80px;
    padding-right: 80px;
    animation: scroll 45s linear infinite;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

.marquee-item:hover {
    opacity: 1;
    filter: grayscale(100%) brightness(0) invert(1);
}

.marquee-item img {
    height: 90px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.marquee-item:hover img {
    transform: scale(1.15);
}

.marquee-item span {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

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

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

/* Footer Enhancements */
.footer {
    padding: 60px 20px 20px 20px;
    border-top: 1px solid var(--border);
    background-color: #000000;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col .logo {
    margin-bottom: 16px;
    font-size: 22px;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
}

/* Contact Page Styles */
.contact-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 100px 20px;
    align-items: center;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
    resize: vertical;
}

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

/* Services Page Styles */
.services-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 100px 20px;
    align-items: center;
}

.services-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 9px 18px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.lang-btn:hover::before {
    left: 100%;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.lang-btn i {
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.lang-btn:hover i {
    color: #ffffff;
    transform: rotate(15deg);
}

.lang-btn:active {
    transform: translateY(0) scale(0.96);
}

@media (max-width: 1250px) {

    .navbar,
    .hero,
    .marquee-section,
    .showcase-section {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        margin: 10px 15px;
        padding: 16px 24px;
        border-radius: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 1000;
        display: flex;
        /* Hide logic via left: -100% */
    }

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

    .nav-links a,
    .lang-btn {
        font-size: 24px;
        color: #ffffff;
    }

    .lang-btn {
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0;
    }

    .mobile-menu-active {
        overflow: hidden;
    }

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

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

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

    .hero {
        margin: 40px 15px 60px 15px;
        padding: 80px 20px 100px 20px;
    }

    .hero-title {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero::before {
        width: 300px;
        height: 300px;
    }

    .footer-container,
    .contact-container,
    .services-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .marquee-section {
        margin-left: 15px;
        margin-right: 15px;
        padding-bottom: 60px;
    }

    .marquee-item span {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        margin: 10px 10px;
    }

    .hero-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .showcase-section,
    .marquee-section {
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-section,
    .services-section,
    .contact-section {
        padding: 40px 10px;
    }

    .service-card {
        padding: 30px 15px;
        border-radius: 20px;
    }

    .showcase-item h2 {
        font-size: 28px;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 28px;
    }

    .navbar .logo {
        font-size: 16px;
    }

    .logo img {
        height: 24px;
    }
}

/* Common Section Styles */
.about-section,
.services-section,
.contact-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    width: 100%;
}

/* Premium Link Button */
.btn-premium-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 24px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    width: fit-content;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-link:hover {
    background: #ffffff;
    color: #000000;
    transform: translateX(5px);
}

.btn-premium-link i {
    font-size: 12px;
    transition: transform 0.4s ease;
}

.btn-premium-link:hover i {
    transform: translate(2px, -2px);
}

/* Project Showcase Section Enhanced */
.showcase-section {
    position: relative;
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-only {
    display: none;
}

.showcase-container {
    width: 100%;
}

.showcase-right {
    width: 100%;
}

.showcase-card-content {
    display: flex;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px;
    transition: all 0.4s ease;
}

.showcase-card-content:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.desktop-img-wrapper {
    flex: 0 0 400px;
    height: 400px;
}

.desktop-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.showcase-text {
    flex: 1;
}

.showcase-item {
    margin-bottom: 60px;
    opacity: 1;
    /* Desktop items always visible as they scroll */
    transform: none;
}

.showcase-glass-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.showcase-image-wrapper {
    position: relative;
    width: 80%;
    height: 80%;
}

.showcase-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8) rotate(-5deg) translateY(40px);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)) grayscale(0.5);
}

.showcase-image-wrapper img.active {
    opacity: 1;
    transform: scale(1) rotate(0deg) translateY(0);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) grayscale(0);
}

.showcase-right {
    flex: 1;
    padding-bottom: 50px;
}

.showcase-item {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.2;
    transform: translateX(20px);
}

.showcase-item.active {
    opacity: 1;
    transform: translateX(0);
}

.showcase-item h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -2px;
}

.showcase-item p {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .navbar {
        background-color: #000000;
        border-color: rgba(255, 255, 255, 0.15);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-only {
        display: block;
    }

    .desktop-img-wrapper {
        display: none;
    }

    .showcase-container {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .showcase-card-content {
        display: block;
        background: transparent;
        border: none;
        padding: 0;
    }

    .showcase-card-content:hover {
        background: transparent;
        transform: none;
    }

    .showcase-left {
        position: sticky;
        top: 100px;
        width: 100%;
        max-width: 450px;
        height: 320px;
        z-index: 10;
        margin-bottom: 40px;
        border-radius: 30px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--border);
    }

    .showcase-section {
        padding: 60px 0;
        mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    }

    .showcase-item {
        min-height: 80vh;
        margin-bottom: 0;
        opacity: 0.2;
        transform: translateX(20px);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .showcase-item.active {
        opacity: 1;
        transform: translateX(0);
    }

    .showcase-item h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .showcase-item p {
        margin: 0 auto;
        font-size: 16px;
    }

    .btn-premium-link {
        margin: 24px auto 0 auto;
    }
}

@media (max-width: 768px) {

    .about-section,
    .services-section,
    .contact-section {
        padding: 40px 10px;
    }

    .showcase-left {
        height: 280px;
        top: 90px;
    }

    .showcase-item h2 {
        font-size: 28px;
    }
}

/* Atmospheric Background Glows */
.glow-bg-1 {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(1, 132, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.glow-bg-2 {
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(1, 132, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.section-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
