﻿:root {
    --sage-green: #B2AC88;
    --calm-blue: #A2C2E1;
    --coral: #FF7F50;
    --white: #ffffff;
    --soft-gray: #f8f9fa;
    --dark: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body { background-color: var(--soft-gray); overflow-x: hidden; }

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: bold; color: var(--sage-green); }
.logo span { color: var(--calm-blue); }

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); transition: 0.3s; }
.cta-button { background: var(--coral); color: white !important; padding: 0.8rem 1.5rem; border-radius: 50px; }

/* Split Hero Section */
.hero { height: 100vh; display: flex; align-items: center; }
.slider-container { width: 100%; height: 100%; position: relative; }

.slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    align-items: center;
}

.hero-content { padding: 0 15%; animation: fadeInUp 1s ease; }
.hero-content h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1rem; }
.highlight { color: var(--coral); }

.hero-image {
    height: 80%;
    width: 90%;
    border-radius: 30px;
    margin-right: 5%;
    transition: 0.5s;
}

/* Cards Section */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 5rem 10%;
    margin-top: -100px;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
    flex: 1;
}

.card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--calm-blue); }

/* Mobile Responsive */
/*@media (max-width: 768px) {
    .slide { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .features { flex-direction: column; }
}*/

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Hamburger Stil --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--sage-green);
    border-radius: 2px;
}

/* --- Mobil Medya Sorgusu (768px Altı) --- */
@media (max-width: 768px) {
    .hamburger { display: block; }

    /* Menü Kapalıyken Sağdan Dışarıda Durur */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 70%;
        height: 100vh;
        padding-top: 100px;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        border-left: 5px solid var(--sage-green);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li { margin: 1.5rem 0; }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 500;
        color: var(--dark);
    }

    /* Hamburger Aktifleştiğinde 'X' Şekli */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--coral); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--coral); }

    /* Overlay Katmanı */
    .menu-overlay.active {
        display: block;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }

    /* Kahraman Bölümü (Hero) Mobil Düzenleme */
    .hero { text-align: center; padding-top: 50px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; padding: 0 10%; }
}



/* --- Footer Tasarımı --- */
.site-footer {
    background-color: #ffffff;
    padding: 80px 10% 20px 10%;
    border-top: 1px solid #eee;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--sage-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--sage-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    text-decoration: none;
    color: #555;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--coral);
    padding-left: 5px;
}

/* Sosyal İkonlar */
.social-icons {
    margin-top: 1.5rem;
    display: flex;
    gap: 15px;
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

/* Bülten Formu */
.subscribe-form {
    display: flex;
    margin-top: 1rem;
}

.subscribe-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
    width: 100%;
}

.subscribe-form button {
    background-color: var(--coral);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: 0.3s;
}

.subscribe-form button:hover {
    background-color: #e66a40;
}

/* Footer Alt Kısmı */
.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

/* Footer Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .social-icons {
        justify-content: center;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-form input, .subscribe-form button {
        border-radius: 5px;
        padding: 12px;
    }
}