* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

ul {
    list-style: none;
}

/* Başlıklar */
h1, h2, h3, h4, h5, h6 {
    color: #343a40;
    margin-bottom: 15px;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

/* Butonlar */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: 1px solid #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.btn-tertiary {
    background-color: #fff;
    color: #007bff;
    border: 1px solid #007bff;
}

.btn-tertiary:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}

/* Header (Üst Kısım) */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: #343a40;
    font-weight: 600;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #007bff;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* Hero Section (Ana Sayfa Büyük Resimli Bölüm) */
.hero-section {
    position: relative;
    height: 88vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    /* Yüklediğiniz görsel */
    background: url('../img/Gemini_Generated_Image_6lod0o6lod0o6lod.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* %50 opak siyah katman */
}

.hero-content {
    position: relative;
    z-index: 2; /* İçeriği overlay'in üzerine alır */
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Styling (Genel Bölüm Stilleri) */
section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.about-brief-section, .featured-projects-section {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    text-align: center;
}

.about-brief-section h2, .featured-projects-section h2 {
    margin-bottom: 40px;
    position: relative;
}

.about-brief-section h2::after, .featured-projects-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: #007bff;
}

.about-brief-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
}

/* Projeler Izgarası */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    
}

.project-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

.project-card h3 {
    margin: 15px 15px 10px 15px;
    color: #007bff;
}

.project-card p {
    padding: 0 15px 15px 15px;
    font-size: 0.95em;
    color: #555;
}

.project-card .btn-tertiary {
    margin-bottom: 15px;
}

.all-projects-link {
    margin-top: 40px;
}

/* Footer */
.main-footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 40px 0;
    font-size: 0.9em;
}

.main-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: #007bff;
}

.footer-col ul {
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col p {
    margin-bottom: 10px;
    color: #adb5bd;
}

.social-links a {
    display: inline-block;
    color: #fff;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

.main-footer .copyright {
    text-align: center;
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 20px;
    color: #adb5bd;
}

/* --- Yeni Eklenen veya Güncellenen CSS Stilleri --- */

/* Her Sayfa İçin Başlık Alanı (Hero Section benzeri) */
.page-hero {
    background-color: #5a6268;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.page-hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    color: #fff;
}

.page-hero p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
}

/* Hakkımızda Sayfası İçeriği */
.about-us-content {
    padding: 40px 0;
}

.about-us-content .text-block {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-us-content ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
}

.about-us-content ul li {
    margin-bottom: 8px;
}

/* Tüm Projeler Sayfası */
.all-projects-section {
    padding: 40px 0;
}

/* Konum Sayfası */
.location-content {
    padding: 40px 0;
    text-align: center;
}

.location-details {
    margin-bottom: 30px;
}

.location-details p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.location-details i {
    margin-right: 10px;
    color: #007bff;
}

.map-container {
    margin-top: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}

/* İletişim Sayfası */
.contact-content {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info i {
    margin-right: 10px;
    color: #007bff;
}

.contact-info .social-links {
    margin-top: 20px;
    text-align: left;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px 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: #555;
}

.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;
    box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Duyarlılık (Responsive Design) */
@media (max-width: 992px) {
    .main-header .container {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .main-nav ul.active {
        display: flex;
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero-section h1, .page-hero h1 {
        font-size: 2.5em;
    }

    .hero-section p, .page-hero p {
        font-size: 1.1em;
    }

    .about-brief-section h2, .featured-projects-section h2,
    .about-us-content h2, .all-projects-section h2,
    .location-content h2, .contact-content h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .hero-section, .page-hero {
        padding: 80px 20px;
    }

    .hero-section h1, .page-hero h1 {
        font-size: 2em;
    }

    .hero-section p, .page-hero p {
        font-size: 1em;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info .social-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
    .main-nav ul li a {
        font-size: 1em;
    }
    .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

.project-gallery {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.gallery-images {
    height: 600px;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-images img {
    min-width: 100%;
    display: block;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}