﻿/* ============================================
   HERO ANIMATED BACKGROUND - animation.css
   Hero section (.hero-scales) için tüm animasyon stilleri
   ============================================ */

/* Hero Section - Animasyonlu Arka Plan */
.hero-scales {
    position: relative;
    height: 56vh;
    min-height: 340px;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Animasyonlu arka plan katmanı */
.hero-animated-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Hero içerik - en üstte */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

    .hero-content h1 {
        font-size: clamp(20px, 4vw, 44px);
        margin: 0;
        text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    }

    .hero-content p {
        margin-top: 8px;
        opacity: 0.9;
    }

/* Yüzen elementler */
.floating-element {
    position: absolute;
    opacity: 0.4;
    pointer-events: none;
    animation: float-smooth 25s infinite ease-in-out;
    filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.3));
}

@keyframes float-smooth {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(35px, -45px) rotate(90deg) scale(1.08);
    }

    50% {
        transform: translate(-25px, -70px) rotate(180deg) scale(0.92);
    }

    75% {
        transform: translate(45px, -35px) rotate(270deg) scale(1.05);
    }
}

/* Matematiksel semboller */
.math-symbol {
    font-size: 65px;
    font-weight: bold;
    color: rgba(0, 242, 254, 0.65);
    text-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
}

/* Sayılar */
.number {
    font-size: 75px;
    font-weight: 700;
    color: rgba(236, 64, 122, 0.6);
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 22px rgba(236, 64, 122, 0.45);
}

/* Terazi container */
.scale-container {
    width: 160px;
    height: 160px;
}

.scale-svg {
    animation: gentle-swing 5s infinite ease-in-out;
    transform-origin: center 25%;
}

@keyframes gentle-swing {
    0%, 100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

/* Parçacık efektleri */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 242, 254, 0.7);
    border-radius: 50%;
    animation: rise 11s infinite ease-in;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.7);
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-600px) translateX(var(--drift, 40px));
        opacity: 0;
    }
}

/* Hafif overlay - okunabilirlik için */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Reduced motion desteği */
@media (prefers-reduced-motion: reduce) {
    .floating-element,
    .scale-svg,
    .particle {
        animation: none !important;
    }
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
    .math-symbol {
        font-size: 50px;
    }

    .number {
        font-size: 60px;
    }

    .scale-container {
        width: 120px;
        height: 120px;
    }
}



/*Iletisim Form Css*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

#contact {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Gradient Background */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: float 20s infinite;
    z-index: 1;
}

    .particle:nth-child(1) {
        width: 80px;
        height: 80px;
        left: 10%;
        animation-delay: 0s;
    }

    .particle:nth-child(2) {
        width: 60px;
        height: 60px;
        left: 20%;
        animation-delay: 2s;
    }

    .particle:nth-child(3) {
        width: 100px;
        height: 100px;
        left: 35%;
        animation-delay: 4s;
    }

    .particle:nth-child(4) {
        width: 70px;
        height: 70px;
        left: 50%;
        animation-delay: 6s;
    }

    .particle:nth-child(5) {
        width: 90px;
        height: 90px;
        left: 65%;
        animation-delay: 8s;
    }

    .particle:nth-child(6) {
        width: 50px;
        height: 50px;
        left: 80%;
        animation-delay: 10s;
    }

    .particle:nth-child(7) {
        width: 110px;
        height: 110px;
        left: 90%;
        animation-delay: 12s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Text Styles */
.text-center {
    text-align: center;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-subheading {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Form Styles */
#contactForm {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
}

    .form-control:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        transform: translateY(-2px);
    }

textarea.form-control {
    min-height: 200px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin-top: 20px;
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }

    .btn:active {
        transform: translateY(-1px);
    }

/* Responsive */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #contactForm {
        padding: 25px;
    }

    .section-heading {
        font-size: 2rem;
    }
}
