/* style.css */

/* ==========================================================================
   1. Değişkenler ve Temel Stiller
   ========================================================================== */
:root {
    --primary-color: #f39c12; /* Ana Enerjik Turuncu */
    --primary-color-dark: #e67e22; /* Buton hover rengi */
    --text-color: #2c3e50; /* Ana metin rengi (daha yumuşak siyah) */
    --text-color-light: #7f8c8d; /* İkincil metin rengi */
    --background-color-start: #fef9f2; /* Çok açık sıcak ton */
    --background-color-end: #fdf5e6; /* Hafif koyu sıcak ton */
    --white-color: #ffffff;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background: linear-gradient(-45deg, var(--background-color-start), var(--background-color-end));
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   2. İki Sütunlu Ana Konteyner
   ========================================================================== */
.split-container {
    display: flex;
    background-color: var(--white-color);
    border-radius: 20px;
    max-width: 960px;
    width: 100%;
    min-height: 500px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    animation: fadeIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    overflow: hidden;
}

.content-column, .image-column {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==========================================================================
   3. İçerik Sütunu (Sol Taraf)
   ========================================================================== */
.content-column {
    align-items: flex-start;
    text-align: left;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 18px;
    color: var(--text-color-light);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 400px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.cta-button:hover, .cta-button:focus {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    outline: none;
}

/* ==========================================================================
   4. Görsel Sütunu (Sağ Taraf)
   ========================================================================== */
.image-column {
    background-color: #fff9f0;
    align-items: center;
}

.hero-svg {
    width: 80%;
    max-width: 300px;
    height: auto;
    animation: floatAnimation 6s ease-in-out infinite;
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-color-light);
}

/* ==========================================================================
   6. Responsive Tasarım
   ========================================================================== */
@media (max-width: 860px) {
    body {
        justify-content: center;
        overflow: hidden; 
    }
    .split-container {
        flex-direction: column;
        min-height: 0;
        width: 90%;
    }
    .image-column {
        display: none; 
    }
    .content-column {
        align-items: center;
        text-align: center;
        padding: 40px 30px;
    }
    .subtitle {
        max-width: 100%;
    }
    .main-title {
        font-size: 32px;
    }
    .footer {
        position: static;
        margin-top: 30px;
    }
}