/* --- Genel Stiller ve Resetleme --- */
:root {
    --primary-color: #3498db; /* Canlı Mavi */
    --secondary-color: #2ecc71; /* Yeşil */
    --accent-color: #f1c40f; /* Sarı */
    --dark-color: #2c3e50; /* Koyu Mavi/Gri */
    --light-color: #ffffff;
    --gray-color: #ecf0f1; /* Çok Açık Gri */
    --text-color: #34495e; /* Metin için biraz daha yumuşak */
    --success-color: #2ecc71;
    --error-color: #e74c3c; /* Kırmızı */
    --font-family: 'Poppins', sans-serif; /* Google Font ekleyin veya sistem fontu */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-align: center; margin-bottom: 3rem; position: relative; padding-bottom: 15px; }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); }

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

p { margin-bottom: 1rem; color: #555; }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
a:hover { color: var(--secondary-color); }
img { max-width: 100%; height: auto; display: block; }

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem auto;
    color: var(--text-color);
    font-size: 1.1rem;
}

.highlight { color: var(--primary-color); font-weight: 700; }
.highlight.free-highlight { color: var(--secondary-color); } /* Ücretsiz vurgusu farklı renk */

/* --- Genel Buton Stilleri --- */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}
.cta-button.primary {
    background: linear-gradient(90deg, var(--primary-color), #5dade2); /* Mavi gradyan */
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}
.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(52, 152, 219, 0.4);
}
.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}
.cta-button i { margin-left: 8px; }

/* --- Header --- */
.site-header {
    background-color: rgba(209, 208, 209, 0.95);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}
.logo img { height: 45px; /* Logonuzun boyutuna göre ayarlayın */ }
.main-nav { display: none; /* Başlangıçta mobil için gizli */ }
.main-nav ul { list-style: none; display: flex; gap: 25px; }
.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--primary-color); }

.header-right { display: flex; align-items: center; gap: 15px; }
.language-switcher { display: flex; gap: 5px; }
.lang-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}
.lang-btn:hover, .lang-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    display: block; /* Mobilde her zaman görünür */
    padding: 5px;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #f0f4f8, #ddebf8); /* Açık Mavi -> Daha Açık Mavi */
    padding: 100px 0 150px 0; /* Alt divider için boşluk */
    position: relative;
    overflow: hidden;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text { flex-basis: 55%; }
.hero-text h1 { font-weight: 700; }
.hero-text p { font-size: 1.2rem; color: #555; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; } /* Mobilde alt alta */
.hero-image { flex-basis: 40%; text-align: center; }
.hero-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: floatImage 4s ease-in-out infinite;
}
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-shape-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.hero-shape-divider svg { position: relative; display: block; width: calc(100% + 1.3px); height: 100px; }
.hero-shape-divider .shape-fill { fill: var(--light-color); } /* Sonraki bölümün bg'si */

/* --- Why Free Section --- */
.why-free-section { padding: 80px 0; background-color: var(--light-color); }
.why-free-section h2 i { color: var(--secondary-color); margin-left: 5px; }
.why-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 2rem;
}
.why-text { flex-basis: 60%; }
.why-text h3 { color: var(--primary-color); margin-bottom: 1rem; }
.why-text p { font-size: 1.05rem; line-height: 1.8; }
.why-text strong { color: var(--secondary-color); font-weight: 600; }
.why-image { flex-basis: 40%; text-align: center; }
.why-image img { max-width: 300px; }

/* --- Features Section --- */
.features-section { padding: 80px 0; background-color: var(--gray-color); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}
.feature-card {
    background-color: var(--light-color);
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid transparent; /* Hover efekti için */
}
.feature-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
    line-height: 1;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; color: var(--dark-color); }
.feature-card p { font-size: 0.95rem; color: #666; }

/* --- Gallery Section --- */
.gallery-section { padding: 80px 0; background-color: var(--light-color); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    cursor: pointer; /* Büyütme efekti için */
}
.gallery-item img {
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light-color);
    padding: 25px 15px 15px 15px;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* --- Contact Section --- */
.contact-section { padding: 80px 0; background-color: var(--gray-color); }
.contact-form {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    background-color: var(--light-color);
    padding: 40px 35px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}
.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 500;
    font-size: 0.95rem;
}
.form-group label .required { color: var(--error-color); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Form Validation & Feedback Styles */
.form-group .error-message {
    display: none; /* Başlangıçta gizli */
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
}
.form-group.error input,
.form-group.error textarea {
    border-color: var(--error-color);
}
.form-group.error .error-message {
    display: block;
}
#form-feedback { /* Genel form geri bildirim alanı */
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
    display: none; /* Başlangıçta gizli */
    text-align: center;
}
#form-feedback.success {
    background-color: #d4edda; /* Yeşil tonu */
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}
#form-feedback.error {
    background-color: #f8d7da; /* Kırmızı tonu */
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-form button[type="submit"] { width: 100%; margin-top: 10px; }

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-color);
    color: #bdc3c7; /* Daha açık gri */
    padding: 50px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #4a4a4a;
}
.footer-col h4 { color: var(--light-color); margin-bottom: 1.5rem; position: relative; padding-bottom: 8px; font-size: 1.2rem;}
.footer-col h4::after {
    content:''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background-color: var(--secondary-color);
}
.footer-about .footer-logo { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-about p { font-size: 0.95rem; color: #ecf0f1; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #bdc3c7; }
.footer-links a:hover { color: var(--light-color); padding-left: 5px; }
.footer-contact p { margin-bottom: 10px; display: flex; align-items: center; gap: 8px;}
.footer-contact p i { color: var(--secondary-color); width: 15px; text-align: center;}
.footer-contact a { color: #bdc3c7; }
.footer-contact a:hover { color: var(--light-color); }
.footer-social { margin-top: 15px; }
.footer-social a {
    color: #bdc3c7;
    font-size: 1.3rem;
    margin-right: 15px;
    transition: var(--transition);
}
.footer-social a:hover { color: var(--light-color); transform: scale(1.1); }

.footer-bottom { text-align: center; padding: 20px 0; }
.footer-bottom p { margin: 0; font-size: 0.9rem; color: #95a5a6; }

/* --- Mobil Menu Stilleri --- */
.main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 75px; /* Header yüksekliği */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    animation: slideDown 0.4s ease-out;
    z-index: 999; /* Diğer öğelerin üstünde */
}
.main-nav.mobile-open ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
}
.main-nav.mobile-open li { width: 100%; text-align: center; }
.main-nav.mobile-open a {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
    width: 100%;
    transition: background-color 0.2s ease;
}
.main-nav.mobile-open a:hover { background-color: var(--gray-color); }
.main-nav.mobile-open a::after { display: none; } /* Hover çizgisini mobilde kaldır */

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Responsive Tasarım --- */
@media (min-width: 992px) {
    .main-nav { display: block; /* Geniş ekranda menüyü göster */ }
    .mobile-menu-toggle { display: none; /* Geniş ekranda burger'ı gizle */ }
    .main-nav.mobile-open { /* Geniş ekranda mobil stilini kaldır */
        display: block; position: static; flex-direction: row; height: auto;
        background-color: transparent; backdrop-filter: none; box-shadow: none;
        padding: 0; animation: none;
    }
    .main-nav.mobile-open ul { flex-direction: row; gap: 25px; align-items: center;}
    .main-nav.mobile-open li { width: auto; }
    .main-nav.mobile-open a { display: inline; padding: 5px 0; font-size: 1rem;}
    .main-nav.mobile-open a:hover { background-color: transparent; }
}

@media (max-width: 991px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { order: 2; }
    .hero-image { order: 1; margin-bottom: 2rem; max-width: 450px;}
    .why-content { flex-direction: column; }
    .why-text, .why-image { flex-basis: auto; width: 100%; }
    .why-image { margin-top: 2rem; }
    .why-text { text-align: center; }
    .why-text h3 { text-align: center;}
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .section-subtitle { font-size: 1rem; }
    .hero-buttons { justify-content: center; }
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;}
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px;}
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-contact p { justify-content: center; }
}

@media (max-width: 576px) {
    .hero-buttons .cta-button { width: 80%; margin-bottom: 10px; }
    .why-image img { max-width: 250px; }
    .contact-form { padding: 30px 20px; }
    .lang-btn { padding: 3px 6px; font-size: 0.75rem; }
    .header-right { gap: 10px; }
}