/* Custom Styles */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1e40af;
    --accent-purple: #7c3aed;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Tailwind Custom Font */
.font-sans {
    font-family: 'Poppins', sans-serif;
}

/* Navigation Styles */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Hero Video Background */
#hero-video {
    min-height: 100vh;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Fallback gradient for hero if images not loaded */
#fooldal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Hero Slider Styles */
.hero-slide {
    transition: opacity 1s ease-in-out;
}

.hero-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#slider-prev,
#slider-next {
    opacity: 0.7;
    transition: all 0.3s ease;
}

#slider-prev:hover,
#slider-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.slider-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    transform: scale(1.2);
}

.slider-dot.bg-white\/80 {
    transform: scale(1.2);
}

/* Wave Dividers */
.wave-divider {
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    background-color: #f9fafb;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    color: #2563eb;
}

.wave-divider-reverse {
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    background-color: #1e40af;
}

.wave-divider-reverse svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    color: #ffffff;
}

/* Wave divider for About section - transitions from blue to white */
.wave-divider-about {
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    background-color: #1e40af;
}

.wave-divider-about svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    color: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Workflow Steps */
.workflow-step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.workflow-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Statistics Counter */
.count-up {
    display: inline-block;
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
    .wave-divider,
    .wave-divider-reverse {
        height: 60px;
    }
    
    .wave-divider svg,
    .wave-divider-reverse svg {
        height: 60px;
    }
    
    #hero-video {
        min-height: 70vh;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Stat Item Animation */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Styles */
.faq-item {
    border: 1px solid #e5e7eb;
}

.faq-question {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer:not(.hidden) {
    max-height: 500px;
    transition: max-height 0.5s ease-in, padding 0.3s ease;
}
