/* KÖK DEĞİŞKENLER VE GENEL STİLLER */
:root {
    --primary-color: #89CFF0; /* Baby Blue */
    --secondary-color: #B2D8B2; /* Pale Green */
    --heading-color: #2c3e50; /* Koyu Gri Mavi */
    --text-color: #34495e; /* Daha Yumuşak Siyah */
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 8px 30px rgba(44, 62, 80, 0.08);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    transition: opacity 0.4s ease-in-out;
}

body.fade-out {
    opacity: 0;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }
a { text-decoration: none; transition: color 0.3s ease; }

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    color: #7f8c8d;
}
.section-bg {
    background-color: var(--bg-light);
    padding: 80px 0;
}
section {
    padding: 80px 0;
    overflow-x: hidden;
}

/* --- SPLASH SCREEN --- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    transition-delay: 0.5s;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content img {
    max-width: 150px;
    margin-bottom: 1rem;
    animation: pulse 2s infinite ease-in-out;
}

.splash-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    font-family: var(--font-heading);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- ANA İÇERİK --- */
#main-content {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

#main-content.loaded {
    opacity: 1;
}


/* --- NAVBAR --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--heading-color);
}
.logo img {
    height: 45px;
    width: auto;
}
.logo span {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}
.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    padding-bottom: 5px;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--heading-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, rgba(137, 207, 240, 0.8), rgba(178, 216, 178, 0.8)), url('public/slider.jpg');
    background-size: cover;
    background-position: center center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
    min-height: 85vh;
    position: relative;
}
.hero-content {
    max-width: 800px;
    z-index: 2;
    background: rgba(255,255,255,0.2);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero h1 {
    color: var(--heading-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
.hero p {
    font-size: 1.2rem;
    color: var(--heading-color);
    opacity: 0.9;
    margin: 1.5rem 0 2.5rem 0;
}
.cta-button {
    background-color: var(--heading-color);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cta-button:hover {
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Diğer Bölümler */
.about-container { display: flex; align-items: center; gap: 4rem; }
.about-image img { width: 380px; height: 380px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.about-content h2 { margin-bottom: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background-color: var(--white); padding: 2.5rem; text-align: center; border-radius: 15px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(44, 62, 80, 0.15); }
.service-card .icon { font-size: 3.5rem; margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 1rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { background-color: var(--white); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(44, 62, 80, 0.15); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.blog-content p { flex-grow: 1; }
.blog-content a { font-weight: 600; color: var(--primary-color); }
.blog-content a:hover { color: var(--heading-color); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-button { display: block; width: 100%; padding: 15px; margin-bottom: 1rem; border-radius: 10px; text-align: center; font-weight: 600; color: var(--white); transition: opacity 0.3s ease; }
.contact-button i { margin-right: 10px; }
.contact-button:hover { opacity: 0.9; color: var(--white); }
.whatsapp { background-color: #25D366; }
.phone { background-color: var(--primary-color); }
.address { margin-top: 1.5rem; font-style: normal; }
.address i { margin-right: 10px; color: var(--primary-color); }
.contact-map iframe { border-radius: 15px; box-shadow: var(--shadow); }
footer { background-color: var(--heading-color); color: var(--bg-light); text-align: center; padding: 3rem 0; }
.social-icons a { color: var(--white); font-size: 1.5rem; margin: 0 10px; }
footer p { margin: 1rem 0; opacity: 0.8; }
.footer-links a { color: var(--white); opacity: 0.8; margin: 0 10px; }
.footer-links a:hover { opacity: 1; }
.page-header { padding: 80px 0; background-color: var(--primary-color); text-align: center; color: var(--white); }
.page-header h1 { color: var(--white); text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.post-container, .policy-container { max-width: 800px; margin: 0 auto; padding: 4rem 20px; }
.post-image { width: 100%; height: auto; border-radius: 15px; margin-bottom: 2rem; box-shadow: var(--shadow); }
.post-content h2, .post-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.post-content p, .post-content li { font-size: 1.1rem; line-height: 1.8; }
.back-link { display: inline-block; margin-top: 3rem; font-weight: 600; color: var(--primary-color); }
.back-link:hover { color: var(--heading-color); }
.policy-container h2 { margin-bottom: 1.5rem; }
.policy-container .disclaimer { background-color: #fffbe6; border: 1px solid #ffe58f; border-radius: 8px; padding: 1rem; margin-top: 2rem; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.1rem; }
    .about-container { flex-direction: column; text-align: center; }
    .about-image { margin-bottom: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .logo span { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .logo span { display: none; } /* Mobilde sadece logo görünsün */
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; gap: 2rem; text-align: center; }
    .main-nav a { font-size: 1.2rem; }
    .hero { min-height: auto; padding: 80px 0; }
    h1 { font-size: 2.2rem; }
    section, .section-bg { padding: 60px 0; }
}
