/* --- Genel Stiller ve Değişkenler --- */
:root {
    --primary-color: #28a745; /* Ana Yeşil Renk */
    --primary-hover-color: #218838; /* Ana Yeşil Hover Rengi */
    --dark-color: #333;
    --text-color: #666;
    --light-bg-color: #f8f9fa;
    --white-color: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

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

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

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

h1, h2, h3, h4 {
    color: var(--dark-color);
}

/* --- Navigasyon Barı --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.language-selector {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.language-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.language-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.language-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
}

.menu a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.whatsapp-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: var(--primary-hover-color);
}

/* --- Sayfa Başlığı ve Hero Alanı --- */
.page-header, .hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 90px; /* Navbar yüksekliği kadar */
}

.hero {
    height: 80vh;
}

.page-header {
    height: 40vh;
}

.hero h1, .page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin-bottom: 30px;
}

/* --- Genel İçerik Bölümleri --- */
.content-section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* --- Hakkımızda Sayfası Stilleri --- */
.about-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.about-section-full {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 50px;
}

.about-section-full .about-image {
    height: 400px;
    background-image: url('../images/about.jpg');
    background-size: cover;
    background-position: center;
}

.about-section-full .about-content {
    padding: 40px;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.vision-mission {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.vision, .mission {
    flex: 1;
    min-width: 300px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.vision h3, .mission h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* --- Hizmetlerimiz Sayfası Stilleri --- */
.service-detail-card {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    align-items: center;
}

.service-detail-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 1;
    min-width: 300px;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.service-detail-content {
    flex: 2;
    padding: 40px;
}

.service-detail-content h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-detail-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-content ul {
    list-style-position: inside;
    padding-left: 10px;
}

.service-detail-content ul li {
    margin-bottom: 10px;
}


/* --- Ekip Bölümü (Tüm Sayfalarda) --- */
.team {
    background-color: var(--white-color);
}

.team-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    flex: 1;
    min-width: 210px;
    max-width: 240px;
    background-color: var(--light-bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card-img {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
}

.team-card-content {
    padding: 20px;
}

.team-card-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.team-card-content p {
    font-size: 16px;
    color: var(--primary-color);
}


/* --- İletişim Sayfası Stilleri --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--primary-hover-color);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: #bbb;
    padding: 60px 5%;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: var(--white-color);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p, .footer-section a {
    color: #bbb;
    line-height: 1.8;
    display: block;
}

.footer-section a:hover {
    color: var(--white-color);
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 20px;
    color: #bbb;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Mobil Uyum (Responsive) --- */
@media screen and (max-width: 768px) {
    .menu {
        display: none; /* Hamburger menü için hazırlık */
    }

    .hero h1, .page-header h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .service-detail-card, .service-detail-card:nth-child(even) {
        flex-direction: column;
    }

    .service-detail-image {
        height: 250px;
        width: 100%;
    }
    
    .contact-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}