@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --codesys-red: #e30613;
    --codesys-red-dark: #bd0610;
    --ink: #0f172a;
    --muted: #526173;
    --line: #e4e8ee;
    --soft: #f8fafc;
    --navy: #07111f;
    --white: #ffffff;
    --shadow-soft: 0 10px 40px -10px rgba(15,23,42,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Orijinal Logo Boyutlandırması */
.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

/* Sticky Kurumsal Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: all 0.3s ease;
}

/* Buton Standartları */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--codesys-red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25);
}

    .btn-primary:hover {
        background-color: var(--codesys-red-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(227, 6, 19, 0.35);
    }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--ink);
    color: var(--ink);
}

    .btn-outline:hover {
        background-color: var(--ink);
        color: var(--white);
    }

/* Kart Hover Efektleri */
.corporate-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

    .corporate-card:hover {
        transform: translateY(-5px);
        border-color: rgba(227, 6, 19, 0.3);
        box-shadow: 0 20px 40px -10px rgba(227, 6, 19, 0.1);
    }

/* Form Elementleri */
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

    .form-input:focus {
        outline: none;
        border-color: var(--codesys-red);
        background: var(--white);
        box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    }

/* Video Oynatıcı Modal */
.video-overlay {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
}
/* Custom Animations for Preloader & Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animation-delay-300 {
    animation-delay: 300ms;
}

.animation-delay-700 {
    animation-delay: 700ms;
}

.animation-delay-1000 {
    animation-delay: 1000ms;
}

.fill-mode-forwards {
    animation-fill-mode: forwards;
}