/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #4F46E5;
    --secondary: #7C3AED;
    --accent: #F472B6;
    --swiper-theme-color: #fff;
    --swiper-navigation-size: 44px;
}

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
}

.swiper-container {
    width: 100%;
    height: 600px;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(0, 0, 0, 0.3) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5) !important;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
    border: 2px solid white !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: white !important;
    border: 2px solid white !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(79, 70, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.animate-pulse-primary {
    animation: pulse 2s infinite;
}

/* Custom gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Custom button styles */
.btn-custom {
    @apply px-6 py-3 rounded-full transition-all duration-300;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(79, 70, 229, 0.5);
}

/* Image hover effects */
.img-hover {
    transition: all 0.3s ease;
}

.img-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom input styles */
.input-custom {
    @apply w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-primary focus:border-primary transition-all duration-300;
}

/* Navbar glass effect */
.navbar-glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Custom section spacing */
.section-padding {
    @apply py-24;
}

/* Mobile menu styles */
.mobile-menu {
    @apply fixed inset-0 bg-gray-800 bg-opacity-50 backdrop-blur-sm z-50 transform transition-transform duration-300;
}

.mobile-menu.hidden {
    transform: translateX(-100%);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Dark mode styles */
[data-theme="dark"] {
    --primary-dark: #3730A3;
    --secondary-dark: #5B21B6;
}

/* AOS custom animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

[data-aos][data-aos][data-aos-duration="400"],
body[data-aos-duration="400"] [data-aos] {
    transition-duration: 400ms;
}

/* Custom decorative elements */
.decorative-circle {
    @apply absolute rounded-full opacity-10 pointer-events-none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.decorative-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.decorative-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

/* Custom container */
.container-custom {
    @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}

/* Custom card styles */
.feature-card {
    @apply bg-white dark:bg-gray-800 rounded-xl p-6 shadow-lg hover:shadow-xl transition-all duration-300;
}

/* Custom social media icons */
.social-icon {
    @apply w-10 h-10 rounded-full flex items-center justify-center transition-all duration-300;
}

.social-icon:hover {
    @apply transform scale-110;
}

/* Custom form styles */
.form-group {
    @apply mb-6;
}

.form-label {
    @apply block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2;
}

.form-input {
    @apply w-full px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 focus:ring-2 focus:ring-primary focus:border-primary dark:bg-gray-700 dark:text-white transition-all duration-300;
}

/* Custom list styles */
.custom-list {
    @apply space-y-3;
}

.custom-list-item {
    @apply flex items-start;
}

.custom-list-icon {
    @apply flex-shrink-0 w-5 h-5 text-primary mt-1;
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        @apply text-4xl;
    }
    h2 {
        @apply text-3xl;
    }
    h3 {
        @apply text-2xl;
    }
}

/* Loading animation */
.loading {
    @apply relative;
}

.loading::after {
    content: '';
    @apply absolute inset-0 bg-gradient-to-r from-transparent via-white to-transparent animate-shimmer;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(126, 34, 206, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7E22CE 0%, #9333EA 100%);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9333EA 0%, #7E22CE 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #6B21A8 0%, #7E22CE 100%);
    transform: scale(0.95);
}

/* Firefox için scrollbar stilleri */
* {
    scrollbar-width: thin;
    scrollbar-color: #7E22CE rgba(126, 34, 206, 0.1);
}

/* Custom hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Custom button styles */
.btn-primary {
    background-color: #7E22CE;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #6B21A8;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: white;
    color: #7E22CE;
    transform: translateY(-2px);
}

/* Custom container max-width */
.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Custom card styles */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Custom form styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #7E22CE;
    box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.1);
}

/* Custom gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #7E22CE 0%, #9333EA 100%);
}

/* Custom image styles */
.img-shadow {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom text gradients */
.text-gradient {
    background: linear-gradient(135deg, #7E22CE 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Slider styles */
.hero-slider {
    width: 100%;
    height: 600px;
}

.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-slider .swiper-slide:hover img {
    transform: scale(1.05);
}

/* Projects Slider Specific Styles */
.projects-slider .swiper-button-next,
.projects-slider .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
    width: 50px !important;
    height: 50px !important;
    color: white !important;
    background: #7E22CE;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.projects-slider .swiper-button-next:hover,
.projects-slider .swiper-button-prev:hover {
    background: #6B21A8;
    transform: translateY(-50%) scale(1.1);
}

.projects-slider .swiper-button-next:after,
.projects-slider .swiper-button-prev:after {
    font-size: 24px !important;
    font-weight: bold;
}

.projects-slider .swiper-pagination {
    bottom: -30px !important;
}

.projects-slider .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(126, 34, 206, 0.2) !important;
    transition: all 0.3s ease;
}

.projects-slider .swiper-pagination-bullet-active {
    background: #7E22CE !important;
    transform: scale(1.2);
}

/* Add margin to container to account for pagination */
.projects-slider {
    padding-bottom: 50px !important;
    margin: 0 50px;
}

/* Header Navigation Styles */
.navbar a {
    position: relative;
    padding-bottom: 4px;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #7E22CE;
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

/* Active link styles */
.navbar a.active::after {
    width: 100%;
    background-color: #7E22CE;
}

/* Mobile menu styles */
#mobile-menu a {
    position: relative;
    padding-bottom: 4px;
}

#mobile-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #7E22CE;
    transition: width 0.3s ease;
}

#mobile-menu a:hover::after {
    width: 100%;
}

#mobile-menu a.active::after {
    width: 100%;
    background-color: #7E22CE;
}

/* Custom Scrollbar */
.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: #7E22CE #f1f1f1;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #7E22CE;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #9333EA;
} 