/* GENEL AYARLAR */
:root {
    --primary-color: #003366; /* Lacivert: Güven ve Kurumsallık */
    --secondary-color: #FF8C00; /* Koyu Turuncu: İnşaat ve Enerji */
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e07b00;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.center {
    text-align: center;
}

.section-desc {
    margin-bottom: 40px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* NAVBAR */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 80px; /* Logo yüksekliği */
    width: auto;
}

.navbar nav ul {
    display: flex;
    align-items: center;
}

.navbar nav ul li {
    margin-left: 25px;
}

.navbar nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
}

.navbar nav ul li a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
}

/* HERO SECTION */
.hero {
    /* Arka plana geçici bir resim koydum, kendi görselinle değiştirebilirsin */
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background-color: rgba(0, 51, 102, 0.7); /* Lacivert şeffaf perde */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* FEATURES (NEDEN BİZ) */
.features {
    padding: 60px 0;
    background-color: var(--white);
    margin-top: -50px; /* Hero'nun üzerine hafif çıkma efekti */
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* ABOUT */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.btn-secondary {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
}

/* SERVICES */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 25px;
}

.service-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.text-link {
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
}

/* PROJECTS */
.projects {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: var(--white);
}

.projects h2 {
    color: var(--white);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item img {
    width: 100%;
    height: 300px;         /* YÜKSEKLİK SABİT */
    object-fit: cover;     /* Resmi sündürme, kutuya doldur */
    transition: 0.5s;      /* Hover efekti için yumuşak geçiş */
}

.project-item img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: 0.3s;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

/* REFERENCES */
.references {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
}

.ref-logo img {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: 0.3s;
    max-width: 150px;
}

.ref-logo img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* FOOTER */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-item {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links h4, .footer-map h4 {
    color: var(--white);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #20b85a;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    .navbar nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-container {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}