/* Custom styles for Yol Yardım Oto Lastik website */

/* Text shadow for hero section text */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Slider container */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center center; /* Default pozisyon */
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

/* Overlay for slider images */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

/* Testimonial cards */
.testimonial-card {
    min-width: 100%;
    transition: transform 0.5s ease;
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        min-width: 33.333%;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Additional animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-slideUp {
    animation: slideUp 0.8s ease-out forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #f97316; /* Turuncu renk - orange-500 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ea580c; /* Koyu turuncu - orange-600 */
}

/* Button hover effect */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

/* Fix for FontAwesome icons */
.fas, .fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Wavy buttons */
.wavy-btn {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wavy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: translateX(-100%) scale(2) translateY(-50%) rotate(45deg);
    transition: all 0.6s ease;
}

.wavy-btn:hover::before {
    transform: translateX(100%) scale(2) translateY(-50%) rotate(45deg);
}

.wavy-btn.green {
    background-color: #25D366;
    border-color: #25D366;
}

.wavy-btn.green:hover {
    background-color: #1da851;
    border-color: #1da851;
}

/* Turuncu tema için renk tanımları */
.bg-primary {
    background-color: #f97316 !important; /* orange-500 */
}

.text-primary {
    color: #f97316 !important; /* orange-500 */
}

.hover-bg-primary:hover {
    background-color: #ea580c !important; /* orange-600 */
}

.hover-text-primary:hover {
    color: #f97316 !important; /* orange-500 */
}

.border-primary {
    border-color: #f97316 !important; /* orange-500 */
}

/* Floating buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform-origin: center bottom;
    animation: wave 2s infinite linear;
}

.floating-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform-origin: center bottom;
    animation: wave 3s infinite linear 0.5s;
}

.floating-btn i {
    font-size: 26px;
    position: relative;
    z-index: 2;
}

@keyframes wave {
    0% {
        transform: rotate(0deg) translate(-50%, 20%) scale(1);
    }
    50% {
        transform: rotate(180deg) translate(-50%, 20%) scale(1.2);
    }
    100% {
        transform: rotate(360deg) translate(-50%, 20%) scale(1);
    }
}

/* Transparent header */
.header-transparent {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

.header-transparent.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Logo stili */
.logo-text {
    font-family: 'Arial', sans-serif;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
} 