﻿@import "tailwindcss";

@theme {
    --color-primary: #ff6b00;
    --color-dark: #05070b;
    --color-dark-soft: #0b1018;
    --font-sans: "Inter", sans-serif;
}

@custom-variant dark (&:where(.dark, .dark *));

/* =========================
   GENERAL
   ========================= */

select, option {
    font-family: inherit !important;
}

/* HEADER */
#siteHeader {
    position: fixed;
}

    #siteHeader::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity .3s;
    }

    #siteHeader.scrolled::before {
        opacity: 1;
        backdrop-filter: blur(20px);
        background: rgba(255,255,255,.75);
    }

.dark #siteHeader.scrolled::before {
    background: rgba(5,7,11,.55);
}

/* HERO */
.hero-title {
    margin-top: 1.5rem;
    max-width: 900px;
    font-size: clamp(48px, 6vw, 88px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.dark .hero-title {
    color: #ffffff;
}

/* LANGUAGE BUTTON */

#languageMenu {
    background: linear-gradient( 180deg, #07111f, #04101d );
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 25px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02);
}

.language-flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all .22s ease;
}

    /* Hover */
    .lang-item:hover {
        color: #fff;
        background: rgba(255,255,255,.04);
        border-color: rgba(255,255,255,.06);
    }

    /* Active */
    .lang-item.active {
        color: #ff8a3d;
        background: rgba(255,255,255,.025);
        border-color: transparent;
        box-shadow: none;
    }

        /* Sol neon accent */
        .lang-item.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 10px;
            bottom: 10px;
            width: 4px;
            border-radius: 999px;
            background: #ff6b00;
            box-shadow: 0 0 6px rgba(255,107,0,.9), 0 0 12px rgba(255,107,0,.5);
        }

        /* Hafif parlama */
        .lang-item.active::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient( 90deg, rgba(255,255,255,.04), transparent 40% );
            pointer-events: none;
        }


html:not(.dark) .lang-item {
    color: #475569;
}

    html:not(.dark) .lang-item:hover {
        color: #0f172a;
        background: rgba(255,107,0,.08);
        border-color: rgba(255,107,0,.12);
    }

    html:not(.dark) .lang-item.active {
        color: #ea580c;
        background: linear-gradient( 90deg, rgba(255,107,0,.12), rgba(255,107,0,.04) );
        border-color: transparent;
        box-shadow: none;
    }

        html:not(.dark) .lang-item.active::before {
            background: #ea580c;
            box-shadow: 0 0 4px rgba(234,88,12,.35), 0 0 8px rgba(234,88,12,.20);
        }

html:not(.dark) #languageMenu {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 30px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
}



/* =========================
   SERVICES
   ========================= */
.service-card {
    position: relative;
    display: flex;
/*    align-items: center;*/
    gap: 26px;
    padding: 36px;
    min-height: 180px;
    border-radius: 24px;
    overflow: hidden;
    transition: .4s ease;
    border: 1px solid rgba(15,23,42,.08);
    background: #fff;
    transition: all .35s ease;
}

.dark .service-card {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    backdrop-filter: blur(20px);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: #ff6b00;
    box-shadow: 0 0 20px #ff6b00;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,0,.4);
    box-shadow: 0 15px 40px rgba(255,107,0,.12), 0 0 20px rgba(255,107,0,.06);
}

.service-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ff6b00;
    font-size: 30px;
    border: 1px solid rgba(255,107,0,.25);
    background: linear-gradient( 180deg, rgba(255,107,0,.08), rgba(255,107,0,.02) );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

    .service-icon svg {
        width: 40px;
        height: 40px;
    }

.dark .service-icon {
    border-color: rgba(255,107,0,.25);
    background: rgba(255,107,0,.04);
    color: #ff6b00;
}

.service-content {
    flex: 1;
}

    .service-content h3 {
        margin-bottom: 12px;
        font-size: 28px;
        font-weight: 600;
        color: #0f172a;
    }

.service-card:hover .service-icon {
    border-color: rgba(255,107,0,.40);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 20px rgba(255,107,0,.08);
}

.dark .service-content h3 {
    color: #fff;
}

.service-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
}

.dark .service-content p {
    color: rgba(255,255,255,.65);
}

.service-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: .3s;
    border: 1px solid rgba(15,23,42,.12);
    color: #0f172a;
}

    .service-arrow svg {
        width: 18px;
        height: 18px;
    }

.dark .service-arrow {
    border-color: rgba(255,255,255,.15);
    color: #fff;
}

.service-card:hover .service-arrow {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #fff;
}

@media (max-width:1200px) {

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:768px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-container {
        padding: 0 24px;
    }

    .services-title {
        font-size: 38px;
    }

    .service-card {
        padding: 28px;
        gap: 20px;
        min-height: auto;
    }

    .service-content h3 {
        font-size: 22px;
    }
}


/* =========================
   TECHNOLOGIES
   ========================= */

.tech-card {
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
    border-radius: 24px;
    overflow: hidden;
    transition: all .35s ease;
    border: 1px solid rgba(15,23,42,.08);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15,23,42,.04);
}

.dark .tech-card {
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient( 180deg, rgba(10,15,25,.95), rgba(5,8,15,.95) );
    box-shadow: none;
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,0,.35);
    box-shadow: 0 12px 40px rgba(255,107,0,.08);
}

.dark .tech-card:hover {
    border-color: rgba(255,107,0,.45);
    box-shadow: 0 0 40px rgba(255,107,0,.12);
}

.tech-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.tech-card h4 {
    max-width: 160px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: #0f172a;
}

.dark .tech-card h4 {
    color: #fff;
}

@media (max-width: 1400px) {

    .tech-card {
        height: 200px;
    }
}

@media (max-width: 992px) {

    .tech-card {
        height: 180px;
    }

    .tech-logo {
        width: 56px;
        height: 56px;
    }

    .tech-card h4 {
        font-size: 18px;
        max-width: 130px;
    }
}

@media (max-width: 768px) {

    .tech-card {
        height: 160px;
        gap: 14px;
        border-radius: 20px;
    }

    .tech-logo {
        width: 48px;
        height: 48px;
    }

    .tech-card h4 {
        font-size: 16px;
        max-width: 120px;
    }
}



/* =========================
   CASE STUDIES
========================= */

.case-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,.08);
    transition: .35s;
}

.dark .case-card {
    background: #08111d;
    border-color: rgba(255,255,255,.05);
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,0,.35);
    box-shadow: 0 20px 50px rgba(255,107,0,.12);
}

.dark .case-card:hover {
    box-shadow: 0 20px 50px rgba(255,107,0,.15);
}

.case-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

    .case-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0,0,0,.25), rgba(0,0,0,0) );
        pointer-events: none;
    }

    .case-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

.case-card:hover .case-image img {
    transform: scale(1.06);
}

@media (max-width: 992px) {
    .case-image {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .case-image {
        height: 200px;
    }
}

.case-content {
    padding: 32px;
}

.case-tag {
    display: inline-block;
    color: #ff6b00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.case-content h3 {
    margin: 18px 0;
    color: #0f172a;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    transition: color .3s;
}

.dark .case-content h3 {
    color: #fff;
}

.case-content p {
    color: #64748b;
    line-height: 1.8;
    font-size: 15px;
}

.dark .case-content p {
    color: rgba(255,255,255,.65);
}

.case-result {
    margin-top: 24px;
    color: #ff6b00;
    font-weight: 700;
    font-size: 18px;
}

/* =========================
   PROCESS
   ========================= */

.process-step {
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all .3s ease;
}

/* Light */

.process-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* Dark */

.dark .process-step {
    background: rgba(8,17,29,.85);
    border: 1px solid rgba(255,255,255,.1);
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,0,.4);
    box-shadow: 0 0 35px rgba(255,107,0,.12);
}

.process-step-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #b3b7bc;
}

.dark .process-step-number {
    color: rgba(255,255,255,.30);
}

.process-step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 20px;
    border: 1px solid rgba(255,107,0,.35);
    background: rgba(255,107,0,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b00;
    font-size: 28px;
}

.process-step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.dark .process-step-title {
    color: #ffffff;
}

.process-step-description {
    font-size: 15px;
    line-height: 2;
    color: #64748b;
}

.dark .process-step-description {
    color: rgba(255,255,255,.65);
}


/* =========================
   CONTACT
   ========================= */

.contact-input {
    width: 100%;
    height: 58px;
    padding: 0 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    transition: .3s;
}

    .contact-input::placeholder {
        color: #94a3b8;
    }

    .contact-input:focus {
        outline: none;
        border-color: rgba(255,107,0,.45);
        box-shadow: 0 0 0 4px rgba(255,107,0,.08);
    }

/* Textarea */

textarea.contact-input {
    height: auto;
    min-height: 180px;
    padding: 18px 20px;
}

/* Dark Mode */

.dark .contact-input {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: #ffffff;
}

    .dark .contact-input::placeholder {
        color: rgba(255,255,255,.35);
    }

/* =========================
   FOOTER
   ========================= */

.footer-link {
    color: rgb(100 116 139);
    transition: .3s;
}

.dark .footer-link {
    color: rgba(255,255,255,.65);
}

.footer-link:hover {
    color: #ff6b00;
}



/* =========================
   SOLUTIONS - ERP/MRP
   ========================= */
.faq-icon {
    transition: all .3s ease;
}

    .faq-icon.open {
        transform: rotate(180deg);
    }

.faq-line-v {
    opacity: 1;
    transform: rotate(0deg);
    transition: all .3s ease;
}

.faq-icon.open .faq-line-v {
    opacity: 0;
    transform: rotate(90deg);
}



/* =========================
   SECTION
   ========================= */

.section-header {
    max-width: 48rem; 
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem; 
    text-align: center;
}

.section-label {
    display: block;
    margin-bottom: 1rem;
    color: #ff6b00;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
}

    .section-label.section-label-left {
        text-align: left;
    }

.section-title {
    margin-top: 2rem;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.dark .section-title {
    color: #fff;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.375rem;
    }
}

.section-description {
    margin-top: 2rem;
    max-width: 46.875rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem; 
    line-height: 1.8;
    color: #475569;
}

.dark .section-description {
    color: rgba(255, 255, 255, 0.65);
}


/* =========================
   TECHNOLOGY
   ========================= */

.tech-filter {
    @apply rounded-lg border border-slate-200 bg-white px-5 py-2 text-sm font-medium text-slate-600 transition hover:border-[#ff6b00]/50 hover:text-[#ff6b00] dark:border-white/10 dark:bg-white/[0.04] dark:text-white/70 dark:hover:text-white;
}

    .tech-filter.active {
        @apply border-[#ff6b00] bg-[#ff6b00] text-white shadow-[0_10px_30px_rgba(255,107,0,.25)];
    }

.tech-card {
    @apply flex flex-col items-center justify-center h-36 rounded-2xl border border-slate-200 bg-white px-5 py-6 transition-all duration-300 hover:-translate-y-1 hover:border-[#ff6b00]/40 dark:border-white/10 dark:bg-white/[0.03];
}

.tech-logo {
    @apply h-14 w-auto object-contain transition duration-300;
}

.tech-card:hover .tech-logo {
    transform: scale(1.08);
}


