/* Değişim27 Evden Eve Nakliyat - Ana Sayfa CSS */

/* Custom CSS Variables */
:root {
    --primary: #137fec;
    --background-light: #f6f7f8;
    --background-dark: #101922;
}

/* Material Symbols Font */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Hero Section Enhancements */
.hero-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Service Cards Hover Effects */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0f6bc7 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(19, 127, 236, 0.4);
}

/* Form Enhancements */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(19, 127, 236, 0.1);
}

/* Line Clamp Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* WhatsApp Button Enhanced Animation */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s infinite;
    will-change: transform;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    animation: none;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3), 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f6bc7;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .service-card:hover {
        background: rgba(19, 127, 236, 0.1);
    }

    .testimonial-card:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .whatsapp-btn {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-btn:hover {
        box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    }
}

/* Print Styles */
@media print {

    .whatsapp-btn,
    .mobile-menu-btn,
    .btn-primary {
        display: none !important;
    }
}