/**
 * Kartal Teknik Servis - Premium UI System
 * Brand colors, typography, buttons, animations
 */

/* ============================================
   BRAND DESIGN TOKENS
   ============================================ */
:root {
    /* Colors - Primary Palette */
    --primary: #0B1F3B;
    --primary-light: #1a3a5c;
    --primary-dark: #061429;

    /* Colors - Accent (CTA) */
    --accent: #E11D48;
    --accent-light: #f43f5e;
    --accent-dark: #be123c;

    /* Colors - Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Colors - Neutrals */
    --bg-neutral: #F6F8FB;
    --bg-white: #FFFFFF;
    --bg-dark: #0f172a;

    /* Colors - Text */
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-light: #94a3b8;
    --text-white: #FFFFFF;

    /* Typography */
    --font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --section-padding-y: 5rem;
    --section-padding-y-mobile: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow-accent: 0 0 20px rgba(225, 29, 72, 0.3);
    --shadow-glow-primary: 0 0 20px rgba(11, 31, 59, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-slower: 400ms ease;
}

/* ============================================
   GLOBAL RESETS & BASE
   ============================================ */
body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-accent);
    color: var(--text-white);
}

.btn-success-premium {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-success-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    color: var(--text-white);
}

.btn-outline-light-premium {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light-premium:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--text-white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-premium {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(11, 31, 59, 0.92) 0%,
            rgba(11, 31, 59, 0.75) 50%,
            rgba(11, 31, 59, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-eyebrow i {
    color: var(--accent-light);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
}

.hero-badge i {
    color: #22c55e;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--bg-white);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trust-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card-premium {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    height: 100%;
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.service-card-premium:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 1.5rem;
}

.service-card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-card-desc {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-neutral);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-secondary);
}

.service-tag i {
    font-size: 0.625rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap var(--transition-base);
}

.service-card-link:hover {
    gap: 0.75rem;
    color: var(--accent);
}

/* ============================================
   STATS / PROOF SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: var(--section-padding-y) 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Infinite Marquee Reviews */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-left {
    animation: marqueeScrollLeft 45s linear infinite;
}

.marquee-right {
    animation: marqueeScrollRight 40s linear infinite;
}

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

.marquee-content {
    display: flex;
    gap: 1.25rem;
    padding: 0.5rem 0.625rem;
}

@keyframes marqueeScrollLeft {
    0% {
        transform: translateX(0);
    }

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

@keyframes marqueeScrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Mini Review Card */
.review-card-mini {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    min-width: 320px;
    max-width: 360px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.review-card-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.rcm-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.rcm-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.rcm-author {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rcm-author span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.78rem;
}

@media (max-width: 575px) {
    .review-card-mini {
        min-width: 270px;
        max-width: 300px;
        padding: 1rem 1.15rem;
    }

    .rcm-text {
        font-size: 0.82rem;
    }
}

/* ============================================
   TIMELINE / PROCESS
   ============================================ */
.timeline-section {
    background: var(--bg-neutral);
    padding: var(--section-padding-y) 0;
}

.timeline-item {
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

.timeline-step {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: var(--text-white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.timeline-item:hover .timeline-step {
    transform: scale(1.1);
}

.timeline-duration {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Desktop connector line */
@media (min-width: 768px) {
    .timeline-connector {
        position: absolute;
        top: 40px;
        left: calc(50% + 50px);
        width: calc(100% - 100px);
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
    }

    .timeline-item:last-child .timeline-connector {
        display: none;
    }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-premium {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-slogan {
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.footer-desc {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    line-height: 1.6;
}

.footer-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-hours {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.footer-cta {
    background: #22c55e;
    color: var(--text-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-cta:hover {
    background: #16a34a;
    transform: translateY(-2px);
    color: var(--text-white);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.footer-seo-text {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-xs);
    color: var(--text-light);
    line-height: 1.7;
    opacity: 0.7;
}

.footer-seo-text p {
    margin-bottom: 0.5rem;
}

.footer-seo-text strong {
    color: var(--text-white);
    opacity: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.visible {
    animation: fadeUp 0.6s ease forwards;
}

.fade-up-delay-1 {
    animation-delay: 0.1s;
}

.fade-up-delay-2 {
    animation-delay: 0.2s;
}

.fade-up-delay-3 {
    animation-delay: 0.3s;
}

.fade-up-delay-4 {
    animation-delay: 0.4s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .hero-premium {
        min-height: 70vh;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    :root {
        --section-padding-y: 4rem;
    }
}

@media (max-width: 767.98px) {
    .hero-premium {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-badges {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trust-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    :root {
        --section-padding-y: 3rem;
    }
}