/* ============================================
   BULUT VINÇ - FINAL POLISH ENHANCEMENTS
   Micro-animations, refined typography, CTA bars
   ============================================ */

/* === REFINED COLOR PALETTE === */
:root {
    /* Softer, refined yellow (not neon) */
    --color-industrial-yellow: #E8B800;
    --color-yellow-hover: #D4A600;
    --color-yellow-glow: rgba(232, 184, 0, 0.4);

    /* Enhanced spacing for premium feel */
    --space-section: 7rem;
    --space-section-mobile: 4rem;
}

/* === HERO SECTION - FINAL UPGRADE === */
.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.hero-company-name {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    display: block;
}

.hero-tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--color-gray-200);
    line-height: 1.4;
    display: block;
}

.hero-power-sentence {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-gray-100);
    line-height: 1.8;
    margin-bottom: var(--space-8);
    max-width: 700px;
    opacity: 0.95;
}

.text-yellow {
    color: var(--color-industrial-yellow);
}

/* === DARK OUTLINE BUTTON === */
.btn-outline-dark {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-gray-300);
    transition: all var(--transition-base);
}

.btn-outline-dark:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* === MICRO-ANIMATIONS === */

/* Button hover glow effect */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--color-yellow-glow);
}

/* Service card hover elevation */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Trust badge animation */
.trust-badge {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-badge:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* === CTA FADE-IN ON SCROLL === */
.cta-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered fade-in class */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === MINI CTA BAR === */
.mini-cta-bar {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin: var(--space-6) 0 var(--space-8);
    border: 1px solid rgba(232, 184, 0, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mini-cta-bar a {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--text-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: color var(--transition-fast);
}

.mini-cta-bar a:hover {
    color: var(--color-industrial-yellow);
}

.mini-cta-bar .divider {
    color: var(--color-gray-500);
    font-size: var(--text-lg);
}

.mini-cta-bar .cta-phone {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-industrial-yellow);
}

.mini-cta-bar .cta-phone:hover {
    color: var(--color-white);
}

.mini-cta-bar .badge-text {
    color: var(--color-gray-300);
    font-size: var(--text-sm);
}

/* Mobile sticky CTA bar */
@media (max-width: 767px) {
    .mini-cta-bar-sticky {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 900;
        border-radius: 0;
        margin: 0;
        padding: var(--space-3) var(--space-4);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
        flex-direction: row;
        justify-content: space-around;
    }

    .mini-cta-bar-sticky .cta-phone {
        font-size: var(--text-base);
    }

    .mini-cta-bar-sticky .divider,
    .mini-cta-bar-sticky .badge-text {
        display: none;
    }

    /* Add padding to body to prevent content being hidden behind sticky bar */
    body.has-sticky-cta {
        padding-bottom: 70px;
    }
}

/* === ENHANCED TYPOGRAPHY & SPACING === */

/* Improved vertical spacing for premium feel */
.section {
    padding: var(--space-section) 0;
}

@media (max-width: 767px) {
    .section {
        padding: var(--space-section-mobile) 0;
    }
}

/* Improved visual hierarchy */
.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
}

.section-header p {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Body text improvements */
p {
    line-height: 1.9;
    letter-spacing: 0.01em;
}

/* === ENHANCED HERO OVERLAY === */
.hero-overlay {
    background: linear-gradient(135deg,
            rgba(14, 14, 14, 0.9) 0%,
            rgba(26, 26, 26, 0.8) 50%,
            rgba(14, 14, 14, 0.85) 100%);
}

/* === PERFORMANCE-OPTIMIZED ANIMATIONS === */

/* Use transform and opacity only (GPU-accelerated) */
* {
    will-change: auto;
}

.btn,
.service-card,
.trust-badge {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cta-section {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* === THUMB-FRIENDLY MOBILE BUTTONS === */
@media (max-width: 767px) {
    .btn {
        min-height: 48px;
        padding: var(--space-4) var(--space-6);
        font-size: var(--text-base);
    }

    .btn-lg {
        min-height: 56px;
        padding: var(--space-5) var(--space-8);
        font-size: var(--text-lg);
    }
}

/* === FOOTER LOCAL SEO ENHANCEMENT === */
.footer-section h3 {
    position: relative;
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-industrial-yellow);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    letter-spacing: 0.02em;
}

/* === REFINED CTA SECTION === */
.cta-section h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.3;
}

.cta-highlight {
    color: var(--color-industrial-yellow);
    display: block;
}

/* === ADDITIONAL UTILITY CLASSES === */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}