/* Değişkenler ve Genel Sıfırlama */
:root {
    --primary-color: rgb(238, 53, 57);
    --dark-color: #1a1a1a;
    --text-color: #333;
    --light-text-color: #f4f4f4;
    --light-bg: #f9f9f9;
    --white-color: #fff;
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
}
.container { max-width: 1600px; margin: 0 auto; padding: 0 2rem; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Header */
#main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
#main-header.scrolled {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#main-header nav {
    margin-left: auto;
    margin-right: 2rem;
}

#main-header .language-switcher {
    margin-left: 0;
}
.logo { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white-color); }
#main-header.scrolled .logo { color: var(--dark-color); }
.logo-accent { color: var(--primary-color); }
nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 2.5rem; }
nav ul li a {
    color: var(--white-color);
    font-weight: 700;
    transition: color 0.3s ease;
}
#main-header.scrolled nav ul li a { color: var(--text-color); }
nav ul li a:hover { color: var(--primary-color); }

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
}

#main-header.scrolled .lang-btn {
    border-color: var(--text-color);
    color: var(--text-color);
}

.lang-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.lang-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}
.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
}
.slide-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
.slide-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
    font-weight: 300;
}
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(238, 53, 57, 0.4);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(238, 53, 57, 0.5);
}

/* Content Sections */
.content-section { padding: 6rem 0; }
.section-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
}
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-color); color: var(--light-text-color); }
.bg-dark .section-title { color: var(--white-color); }

/* Features (Hizmetlerimiz) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--white-color);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}
.feature-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.4rem; margin-bottom: 1rem; }

/* About Section */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.section-title.left-aligned { text-align: left; }
.section-title.left-aligned::after { margin: 0.5rem 0 0; }
.about-image img { border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }

/* Contact Section */
.contact-subtitle { text-align: center; max-width: 500px; margin: -2rem auto 3rem; opacity: 0.8; }
.contact-info { text-align: center; font-size: 1.2rem; line-height: 2; }
.contact-info a { color: var(--primary-color); font-weight: 700; transition: opacity 0.3s ease; }
.contact-info a:hover { opacity: 0.8; }

/* Footer */
footer { background-color: #111; color: #888; text-align: center; padding: 2rem 0; font-size: 0.9rem; }

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

/* Responsive Design */
@media (max-width: 992px) {
    .slide-content h1 { font-size: 3rem; }
    .about-container { grid-template-columns: 1fr; }
    .about-image { margin-top: 2rem; order: -1; } /* Resmi yukarı al */
}
@media (max-width: 768px) {
    :root { --header-height: 70px; }
    #main-header { background-color: var(--white-color); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
    .logo { color: var(--dark-color); }
    nav ul { display: none; } /* Mobil için menü eklenebilir, şimdilik gizli */
    .language-switcher { margin-left: 1rem; }
    .lang-btn { padding: 0.4rem 0.8rem; font-size: 0.8rem; min-width: 45px; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 1.1rem; }
    .content-section { padding: 4rem 0; }
    .section-title { font-size: 2.2rem; }
}