/* Ana Sayfa Stilleri - Modern Mavi Gri Tema */

/* Hero Section - Arka Plan Resmi ile */
.hero {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.7) 25%, rgba(51, 65, 85, 0.6) 50%, rgba(71, 85, 105, 0.7) 75%, rgba(100, 116, 139, 0.8) 100%),
        url('../images/resim1.jpg'); /* Resim yolu - klasör yapınıza göre ayarlayın */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2364748b" fill-opacity="0.03"><circle cx="30" cy="30" r="1.5"/><circle cx="10" cy="10" r="1"/><circle cx="50" cy="50" r="1"/></g></g></svg>');
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: #cbd5e1;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 160px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

/* Hero Animasyonu */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Section */
.welcome-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 
        0 25px 50px rgba(30, 41, 59, 0.15),
        0 0 0 1px rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 50%, #6366f1 100%);
    border-radius: 30px 30px 0 0;
}

.welcome-card h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.2;
}

.welcome-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature {
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(30, 41, 59, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.4s ease;
}

.feature:hover .feature-icon::after {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(29, 78, 216, 0.2) 100%);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

.feature p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        min-width: 200px;
        padding: 14px 28px;
        font-size: 1rem;
    }

    .welcome-card {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }

    .welcome-card h2 {
        font-size: 2.2rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature {
        padding: 2.5rem 1.5rem;
    }

    .feature-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .welcome-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .welcome-card h2 {
        font-size: 1.8rem;
    }

    .welcome-card p {
        font-size: 1rem;
    }

    .feature {
        padding: 2rem 1rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }
}

/* Parallax Effect */
@media (prefers-reduced-motion: no-preference) {
    .hero {
        background-attachment: fixed;
    }
}

/* Loading Animation */
.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    animation-delay: 0.2s;
}

.hero p {
    animation-delay: 0.4s;
}

.hero-buttons {
    animation-delay: 0.6s;
}

/* Hover Glow Effects */
.hero-buttons .btn {
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.hero-buttons .btn:hover::after {
    animation: shine 0.6s ease-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-icon {
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0) * 0.5s);
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero h1 {
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

/* Glass morphism enhanced */
.welcome-card {
    backdrop-filter: blur(20px);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
        inset 0 0 20px 0 rgba(255, 255, 255, 0.1);
}