/* Genel Stil Ayarları */
:root {
    --primary-color: #00897B; /* Yeşil-Mavi tonu */
    --secondary-color: #26A69A; /* Açık yeşil tonu */
    --text-color: #333;
    --light-gray: #f8f8f8;
    --dark-gray: #555;
    --white: #fff;
    --section-padding: 60px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    padding-bottom: 10px;
    position: relative;
    margin-top: 0;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section {
    padding: var(--section-padding);
}

/* Header / Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background: url('images/header.jpg') no-repeat center center/cover;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.8em;
    color: var(--white);
}

.contact-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color); /* Ana renk */
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 50px;
    z-index: 3;
}

.contact-info-bar .contact-item {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.contact-info-bar .contact-item i {
    margin-right: 8px;
    font-size: 1.3em;
}

/* Dil Seçici Stilleri Başlangıcı */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.language-selector .flag-icon {
    width: 30px;
    height: 20px;
    margin-right: 8px;
    border: none #ccc;
}

.language-selector select {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M287%2C114.7L159.2%2C242.5c-4.5%2C4.5-10.4%2C6.7-16.3%2C6.7s-11.8-2.2-16.3-6.7L5.3%2C114.7c-9.1-9.1-9.1-23.7%2C0-32.8c9.1-9.1%2C23.7-9.1%2C32.8%2C0l118%2C118l118-118c9.1-9.1%2C23.7-9.1%2C32.8%2C0C296.2%2C91%2C296.2%2C105.6%2C287%2C114.7z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 25px;
}

.language-selector select:focus {
    outline: none;
    border-color: none;
}
/* Dil Seçici Stilleri Sonu */

/* Hakkımızda Section */
.hakkimizda-section {
    background-color: var(--white);
    padding-top: 40px;
}

.hakkimizda-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.hakkimizda-grid .text-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.hakkimizda-grid .image-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hizmetler Section */
.hizmetler-section {
    background-color: var(--light-gray);
    text-align: center;
}

.hizmetler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.hizmet-item {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.hizmet-item:hover {
    transform: translateY(-5px);
}

.hizmet-item .icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hizmet-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hizmet-item p {
    font-size: 0.95em;
    color: var(--dark-gray);
}

/* Projeler Section */
.projeler-section {
    background-color: var(--white);
}

.projeler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.proje-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.proje-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.proje-item img:hover {
    transform: scale(1.05);
}

/* İletişim Section */
.iletisim-section {
    background-color: var(--light-gray);
}

.iletisim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-gray);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.map-container {
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .hakkimizda-grid,
    .iletisim-grid {
        grid-template-columns: 1fr;
    }

    .hakkimizda-grid .image-content {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content p {
        font-size: 1.5em;
    }

    .contact-info-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .contact-info-bar .contact-item {
        font-size: 1em;
    }

    h2 {
        font-size: 2em;
    }

    .projeler-grid,
    .hizmetler-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .hizmetler-grid,
    .projeler-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .section {
        padding: 40px 0;
    }

    .hakkimizda-grid {
        gap: 20px;
    }

    .contact-form, .map-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .contact-info-bar {
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.8em;
    }

    /* Dil Seçici Mobil Düzenleme */
    .language-selector {
        top: 10px;
        right: 10px;
    }

    .language-selector .flag-icon {
        width: 25px;
        height: 17px;
    }

    .language-selector select {
        font-size: 12px;
        padding: 3px 8px;
        padding-right: 20px;
    }
}