/* Genel Stiller */
:root {
    --primary-color: #007bff; /* Mavi */
    --primary-dark: #0056b3;
    --secondary-color: #6c757d; /* Gri */
    --accent-color: #28a745; /* Yeşil */
    --background-light: #f8f9fa;
    --text-color: #343a40;
    --heading-color: #212529;
    --border-color: #dee2e6;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; line-height: 1.2; }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.bg-light {
    background-color: var(--background-light);
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Butonlar */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 23px; /* Border kalınlığına göre ayarlama */
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-primary.large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
}

.logo a:hover {
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

nav ul li:last-child {
    margin-left: 40px;
}
nav ul li:last-child a {
    border-bottom: none;
}
nav ul li:last-child a:hover {
    color: #fff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--heading-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3498db 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

#hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
}

.hero-content {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
}

#hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-actions .btn-primary {
    margin-right: 20px;
}

.hero-actions .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.hero-actions .btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.hero-image-placeholder {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}
/* Features Overview Section */
#features-overview {
    padding: 80px 0;
}

#features-overview h2 {
    margin-bottom: 3.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.feature-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1); /* İkonları beyaza çevirir */
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1rem;
    color: var(--secondary-color);
    flex-grow: 1; /* Metinlerin eşit yükseklikte olmasını sağlar */
}
.feature-item p a {
    font-weight: 600;
}

/* How It Works Section */
#how-it-works {
    padding: 80px 0;
}

#how-it-works h2 {
    margin-bottom: 3.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-item {
    background-color: #fff;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.step-item h3 {
    font-size: 1.6rem;
    margin-top: 30px; /* Numara ile çakışmaması için */
    margin-bottom: 15px;
}

.step-item p {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.step-image-placeholder {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    height: 200px; /* Görsel placeholder yüksekliği */
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    font-size: 1rem;
    overflow: hidden;
}

.step-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}

/* Testimonials Section */
#testimonials {
    padding: 80px 0;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
}
.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    border: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.author-image-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    margin-right: 15px;
}
.testimonial-author cite {
    font-style: normal;
}
.testimonial-author cite strong {
    display: block;
    color: var(--heading-color);
}
.testimonial-author cite span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Call to Action Section */
#call-to-action {
    padding: 100px 0;
    text-align: center;
}
#call-to-action .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

#call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#call-to-action p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    background-color: var(--heading-color);
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.95rem;
}
body > main + footer { /* To fix 404 page footer issue */
    position: static;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.footer-col p {
    color: #ccc;
    line-height: 1.8;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #ccc; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: var(--primary-color); }
.social-links { margin-top: 20px; display: flex; gap: 15px; }
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.social-links a:hover { background-color: var(--primary-color); }
.social-links img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.btn-footer-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.btn-footer-cta:hover { background-color: #218838; }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}
.footer-bottom p { color: #ccc; margin-bottom: 0; }

/* --- Responsive Tasarım --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    #hero { padding: 80px 0; }
    #hero .container { text-align: center; flex-direction: column; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; display: flex; flex-wrap: wrap; gap: 15px;}
    .hero-actions .btn-primary, .hero-actions .btn-secondary { margin: 0; }
    .hero-image-placeholder { min-height: 300px; width: 100%; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    h1 { font-size: 2.2rem; } h2 { font-size: 1.8rem; } h3 { font-size: 1.4rem; }
    header .container { flex-wrap: wrap; }
    nav {
        order: 3; width: 100%; display: none; flex-direction: column;
        background-color: #fff; position: absolute; top: 70px; /* Header yüksekliği */
        left: 0; box-shadow: var(--box-shadow); padding: 20px 0;
    }
    nav.active { display: flex; }
    nav ul { flex-direction: column; width: 100%; }
    nav ul li { margin: 10px 0; text-align: center; width: 100%; }
    nav ul li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--background-light); }
    nav ul li a.active { border-bottom: 1px solid var(--primary-color); }
    nav ul li:last-child { margin-left: 0; margin-top: 20px; }
    nav ul li:last-child a { border-bottom: none; }
    .menu-toggle { display: flex; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    #hero { padding: 60px 0; }
    #hero h1 { font-size: 2.8rem; } #hero p { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; gap: 15px; }
    .feature-grid, .steps-grid, .footer-grid, .testimonial-grid, .blog-grid { grid-template-columns: 1fr; }
    .step-item { padding-top: 50px; }
    .step-number { top: 15px; left: 50%; transform: translateX(-50%); }
    #features-overview, #how-it-works, #call-to-action, footer, #testimonials { padding: 60px 0; }
    #call-to-action h2 { font-size: 2rem; } #call-to-action p { font-size: 1rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; } h2 { font-size: 1.6rem; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; }
}

/* --- Sayfaya Özel Stiller --- */
/* Ortak Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(52, 152, 219, 0.8));
    padding: 60px 0; text-align: center; color: #fff;
}
.page-header h1 { color: #fff; font-size: 3rem; }
.page-header p { font-size: 1.2rem; max-width: 800px; margin: 1rem auto 0; opacity: 0.9; }

/* Özellikler */
#features-detail { padding: 80px 0; }
.feature-category { margin-bottom: 60px; }
.feature-category:last-child { margin-bottom: 0; }
.feature-category-title {
    font-size: 2rem; color: var(--primary-dark); margin-bottom: 40px;
    text-align: center; position: relative; padding-bottom: 15px;
}
.feature-category-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 80px; height: 4px;
    background-color: var(--accent-color); border-radius: 2px;
}
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.feature-block:last-child { margin-bottom: 0; }
.feature-block:nth-child(even) .feature-image { order: 2; }
.feature-text h3 { font-size: 1.8rem; color: var(--heading-color); margin-bottom: 15px; }
.feature-text p { color: var(--secondary-color); margin-bottom: 15px; }
.feature-text ul { list-style: none; padding-left: 0; }
.feature-text ul li { padding-left: 25px; position: relative; margin-bottom: 10px; }
.feature-text ul li::before { content: '✔'; color: var(--accent-color); font-weight: bold; position: absolute; left: 0; top: 0; }
.feature-image { background-color: var(--background-light); height: 350px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }

/* Çözümler */
#solutions { padding: 80px 0; }
.solution-card { background-color: #fff; padding: 30px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); margin-bottom: 30px; transition: transform 0.3s ease; }
.solution-card:hover { transform: translateY(-5px); }
.solution-card h3 { color: var(--primary-color); }
.solution-card ul { margin-top: 15px; padding-left: 20px; }

/* Fiyatlandırma */
#pricing { padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: center; }
.pricing-card { background-color: #fff; padding: 40px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); }
.pricing-card.popular { border: 3px solid var(--primary-color); transform: scale(1.05); }
.pricing-card.popular .card-header::after {
    content: 'En Popüler'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background-color: var(--primary-color); color: #fff; padding: 5px 15px; border-radius: 15px; font-size: 0.9rem; font-weight: 600;
}
.card-header { margin-bottom: 25px; position: relative; }
.card-header h3 { font-size: 1.8rem; }
.price { font-size: 3rem; font-weight: 700; color: var(--primary-color); margin: 10px 0; }
.price span { font-size: 1.2rem; color: var(--secondary-color); font-weight: 400; }
.features-list { list-style: none; margin: 30px 0; text-align: left; }
.features-list li { margin-bottom: 15px; padding-left: 30px; position: relative; }
.features-list li::before { content: '✔'; color: var(--accent-color); font-weight: bold; position: absolute; left: 0; top: 0; }
.pricing-card .btn-primary { width: 100%; }

/* İletişim */
#contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3, .contact-form h3 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 15px; display: flex; align-items: center; }
.contact-info p img { margin-right: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 1rem; font-family: 'Open Sans', sans-serif; }
.form-group textarea { resize: vertical; min-height: 150px; }
.map-placeholder { width: 100%; height: 300px; background-color: var(--background-light); border-radius: var(--border-radius); display: flex; justify-content: center; align-items: center; color: var(--secondary-color); margin-top: 30px; }

/* S.S.S. */
#faq-section { padding: 80px 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); margin-bottom: 20px; }
.faq-question { width: 100%; background: none; border: none; text-align: left; font-family: 'Roboto', sans-serif; font-size: 1.3rem; font-weight: 600; padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--heading-color); }
.faq-icon { font-size: 1.8rem; font-weight: 400; transition: transform 0.3s ease; color: var(--primary-color); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 10px 20px; color: var(--secondary-color); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Blog */
#blog-listing { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background-color: #fff; box-shadow: var(--box-shadow); border-radius: var(--border-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.post-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.post-image { height: 200px; background-color: var(--background-light); overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-image img { transform: scale(1.05); }
.post-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.post-category { display: inline-block; background-color: var(--primary-color); color: #fff; padding: 3px 10px; border-radius: 15px; font-size: 0.8rem; font-weight: 600; margin-bottom: 15px; align-self: flex-start; }
.post-title { font-size: 1.4rem; margin-bottom: 10px; }
.post-title a { color: var(--heading-color); }
.post-title a:hover { color: var(--primary-color); }
.post-excerpt { color: var(--secondary-color); margin-bottom: auto; padding-bottom: 20px; }
.post-card .btn-secondary { align-self: flex-start; }

/* Blog Tekil Yazı */
#post-detail { padding: 80px 0; }
.post-body { max-width: 800px; margin: 0 auto; }
.post-header { text-align: center; margin-bottom: 40px; }
.post-header h1 { font-size: 2.8rem; }
.post-meta { color: var(--secondary-color); font-size: 0.9rem; }
.post-feature-image { width: 100%; height: 400px; border-radius: var(--border-radius); overflow: hidden; margin-bottom: 40px; }
.post-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.post-body p, .post-body ul { font-size: 1.1rem; line-height: 1.8; color: var(--text-color); }
.post-body h3 { margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; }
.post-body blockquote { border-left: 4px solid var(--primary-color); padding-left: 20px; margin: 30px 0; font-style: italic; font-size: 1.2rem; }
.post-body ul { padding-left: 20px; margin-bottom: 20px; }
.post-share { text-align: center; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }
.post-share .social-links { justify-content: center; }

/* 404 Sayfası */
#error-page { padding: 100px 0; }
#error-page h1 { font-size: 10rem; color: var(--primary-color); line-height: 1; margin-bottom: 0; }
#error-page h2 { font-size: 3rem; margin-top: 0; }

/* Hukuki Sayfalar */
.legal-content { padding: 80px 0; }
.legal-content h2 { text-align: left; margin-bottom: 20px; }
.legal-content h3 { margin-top: 30px; margin-bottom: 15px; font-size: 1.6rem; }
.legal-content p, .legal-content ul { color: var(--secondary-color); }
.legal-content ul { padding-left: 20px; }

/* Responsive için sayfa özel düzenlemeler */
@media(max-width: 992px) {
    .feature-block, .contact-grid { grid-template-columns: 1fr; }
    .feature-block:nth-child(even) .feature-image { order: 0; }
    .feature-image { height: 300px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .post-feature-image { height: 300px; }
}
@media(max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}