/* style.css */

/* ==========================================================================
   1. Değişkenler ve Temel Stiller
   ========================================================================== */
:root {
    --primary-color: #1e7e5a;
    --primary-color-dark: #166045;
    --primary-color-light: #e8f5e9;
    --text-color: #212529;
    --text-color-light: #6c757d;
    --background-color: #f8f9fa;
    --white-color: #ffffff;
    --card-border-color: #e9ecef;
    --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 {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   2. Ana Karşılama Bölümü (Hero Section)
   ========================================================================== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Ekran yüksekliği kadar */
    min-height: 700px;
    padding: 20px;
    background: linear-gradient(-45deg, #f4f7f6, #e8eeeb);
}

.split-container {
    display: flex;
    background-color: var(--white-color);
    border-radius: 24px;
    width: 100%;
    max-width: 1100px;
    min-height: 550px;
    box-shadow: 0 20px 50px 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: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-column {
    align-items: flex-start;
    text-align: left;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
}

.subtitle {
    font-size: 19px;
    color: var(--text-color-light);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 450px;
}

.cta-button {
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 600;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 126, 90, 0.25);
}

.cta-button:hover, .cta-button:focus {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    outline: none;
}

.image-column {
    background-color: #f0f4f3;
    align-items: center;
}

.hero-svg {
    width: 85%;
    max-width: 350px;
    height: auto;
    animation: floatAnimation 6s ease-in-out infinite;
}

/* ==========================================================================
   3. Özellikler Bölümü (Features Section)
   ========================================================================== */
.features-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
    text-align: center;
}

.features-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.features-subtitle {
    font-size: 18px;
    color: var(--text-color-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--card-border-color);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: var(--primary-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.feature-card h4 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-color-light);
    line-height: 1.6;
}

/* ==========================================================================
   4. Footer
   ========================================================================== */
.footer {
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-color-light);
    background-color: #e8eeeb;
}

/* ==========================================================================
   5. Responsive Tasarım
   ========================================================================== */
@media (max-width: 992px) {
    .hero-section { min-height: 0; height: auto; padding: 10vh 20px; }
    .split-container { flex-direction: column; min-height: 0; }
    .image-column { display: none; }
    .content-column { align-items: center; text-align: center; padding: 50px 30px; }
}

@media (max-width: 768px) {
    .main-title { font-size: 38px; }
    .subtitle { font-size: 18px; }
    .features-title { font-size: 30px; }
    .features-grid { grid-template-columns: 1fr; }
}