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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}


body {
    line-height: 1.6;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.hero {
    position: relative;
    background: linear-gradient(135deg, gray 0%, #003366 100%);
    min-height: 91vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 100px; 
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* İlk arka plan */
.hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
            animation: backgroundMove 20s linear infinite;
}
       @keyframes backgroundMove {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(-50px, -50px) rotate(360deg); }
        }

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.hero-content .btn-primary {
    background-color: #ff6347;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-content .btn-primary:hover {
    background-color: #ff4500;
    transform: translateY(-3px);
}

.footer {
    background-color: #003366;
    color: white;
    text-align: center;
    margin-top: auto;
    padding-top: 8px;
}

.social-media img {
    width: 40px;
    height: 40px;
    margin: 5px;
    border-radius: 50%;
    transition: opacity 0.3s, transform 0.3s;
}

.social-media img:hover {
    transform: translateY(-5px) rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 99, 71, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    }

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
    }

    .user-input ul {
        flex-direction: column;
        align-items: center;
    }
    
    .hero::before {
        margin-top:45px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }

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

    .hero-content {
        padding: 1rem;
    }

    .btn-primary {
        padding: 0.5rem 1rem;
    }
    
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 1.6rem;
        cursor: pointer;
        color: darkgray;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        }
        .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
    
    .navbar ul {
        flex-direction: column;
        padding: 15px 0;
        background-color: #003366;
    }
    .navbar.active {
        display: flex;
    }
}

/* Animasyonlu Bölümler için Stiller */
.section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-content.active {
    opacity: 1;
    transform: translateY(0);
}

.text-content {
    flex: 1;
    padding: 20px;
    min-width: 300px;
}

.visual-content {
    flex: 1;
    padding: 20px;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #003366;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #ff6347;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333;
}

.btn {
    display: inline-block;
    background-color: #ff6347;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: #ff4500;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Özel Bölüm Stilleri */
.section-1 {
    background-color: #f9f9f9;
}

.section-2 {
    background-color: #e6f2ff;
}

.section-3 {
    background-color: #fff6f2;
}

/* Animasyonlu İkonlar */
.icon-container {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* İkon 1 - Fizik Simülasyon */
.physics-animation {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
}

.physics-object {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #003366;
    top: 0;
    left: calc(50% - 20px);
    animation: bounce 2s infinite ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.physics-floor {
    position: absolute;
    width: 200px;
    height: 10px;
    background: #ff6347;
    bottom: 20px;
    left: 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
    0%, 100% {
        top: 0;
        animation-timing-function: ease-out;
    }
    50% {
        top: 120px;
        animation-timing-function: ease-in;
    }
}

/* İkon 2 - Eğitim */
.education-animation {
    width: 250px;
    height: 250px;
    position: relative;
}

.education-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 15px solid #003366;
    opacity: 0.2;
    transform: scale(0);
    animation: pulse 3s infinite;
}

.education-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #ff6347;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.education-center::before {
    content: '?';
    font-size: 50px;
    color: white;
    font-weight: bold;
}

.education-circle:nth-child(1) {
    animation-delay: 0s;
}

.education-circle:nth-child(2) {
    animation-delay: 1s;
}

.education-circle:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* İkon 3 - Ekip */
.team-animation {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-member {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #003366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: orbit 10s linear infinite;
}

.team-member::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 15px;
}

.center-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ff6347;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.team-member:nth-child(1) {
    animation-delay: 0s;
}

.team-member:nth-child(2) {
    animation-delay: -3.33s;
}

.team-member:nth-child(3) {
    animation-delay: -6.66s;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(90px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(90px) rotate(-360deg);
    }
}

/* Responsive Düzenlemeler */
@media screen and (max-width: 768px) {
    .section-content {
        flex-direction: column;
    }

    .text-content, .visual-content {
        width: 100%;
        text-align: center;
    }

    h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .icon-container {
        width: 200px;
        height: 200px;
    }

    .physics-animation,
    .education-animation,
    .team-animation {
        transform: scale(0.8);
    }
}

