/* Genel Ayarlar & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #f39c12; /* İnşaat Sarısı / Turuncusu */
    --secondary-color: #2c3e50; /* Kurumsal Koyu Lacivert */
    --text-color: #555555;
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

/* Ortak Sınıflar */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.py-100 {
    padding: 80px 0;
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.bg-light { background-color: var(--light-bg); }
.w-100 { width: 100%; }
.text-center { text-align: center; }

.sub-title {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #d68910;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* 1. Üst Bilgi (Top Bar) */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.contact-infos span {
    margin-right: 20px;
}

.contact-infos i {
    color: var(--primary-color);
    margin-right: 5px;
}

.social-links a {
    color: var(--white);
    margin-left: 12px;
    transition: 0.3s;
}

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

/* 2. Navigasyon (Header) & Logo */
.main-nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease-in-out;
}

.main-nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-container img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease-in-out;
    z-index: 99;
}

.main-nav.scrolled .brand-container img {
    height: 42px;
}

.brand-container .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 1px;
    transition: font-size 0.3s ease-in-out;
}

.brand-container .logo-text span {
    color: var(--primary-color);
}

.main-nav.scrolled .brand-container .logo-text {
    font-size: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
    z-index: 99;
}

/* 3. Hero Slider Bölümü */
.hero-section {
    position: relative;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    animation: zoomEffect 7s infinite alternate;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    color: var(--white);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.9s ease 0.4s, opacity 0.9s ease 0.4s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content .sub-title {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 15px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-controls {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-arrow {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.hero-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active, .dot:hover {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* 4. İstatistik Alanı */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.stat-box i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-box h3 {
    font-size: 36px;
    font-weight: 700;
}

.stat-box p {
    font-size: 14px;
    color: #bbb;
}

/* 5. Hakkımızda */
.about-content h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--secondary-color);
}

.check-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 6. Hizmetler */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* 7. Projeler & Modal */
.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.project-overlay p {
    color: var(--primary-color);
    font-size: 14px;
}

.project-modal {
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-modal.active {
    display: flex;
}

.project-modal-content {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: modalScaleUp 0.3s ease;
}

@keyframes modalScaleUp {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.project-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.project-modal-img-box {
    height: 100%;
    min-height: 350px;
}

.project-modal-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal-text-box {
    padding: 40px 30px;
}

.project-modal-text-box h2 {
    color: var(--secondary-color);
    font-size: 26px;
    margin-bottom: 15px;
}

.project-modal-text-box p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.project-modal-close:hover {
    color: var(--primary-color);
}

/* 8. Galeri & Lightbox */
.gallery-hidden {
    display: none !important;
}

.lightbox-modal {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--white);
    font-size: 45px;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s;
}

.lightbox-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* 9. Kadromuz */
.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.team-img {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    background: rgba(44, 62, 80, 0.85);
    padding: 12px 0;
    transition: 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.team-social a:hover {
    background-color: var(--primary-color);
}

.team-info {
    padding: 25px 20px;
}

.team-info h3 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 5px;
}

.team-info span {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.team-info p {
    font-size: 14px;
    color: var(--text-color);
}

/* 10. İletişim & Harita */
.contact-info-box h3 {
    color: var(--secondary-color);
    font-size: 28px;
    margin-bottom: 15px;
}

.info-list {
    list-style: none;
    margin-top: 25px;
}

.info-list li {
    margin-bottom: 15px;
    font-weight: 500;
}

.info-list i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
}

.contact-img-box {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-container {
    width: 100%;
}

.map-container h3 {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.map-frame-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 4px solid var(--white);
}

/* 11. Footer */
.main-footer {
    background-color: #1a252f;
    color: #aaa;
    padding: 70px 0 20px 0;
    font-size: 14px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a i {
    font-size: 10px;
    color: var(--primary-color);
    margin-right: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #bbb;
}

.footer-contact-info i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #bbb;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-credits a:hover {
    text-decoration: underline;
}

.footer-credits .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* 12. Responsive (Mobil Uyum) */
@media (max-width: 992px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .top-bar {
        display: none;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-controls {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .project-modal-grid {
        grid-template-columns: 1fr;
    }
    
    .project-modal-img-box {
        height: 220px;
        min-height: auto;
    }

    .project-modal-text-box {
        padding: 20px;
    }

    .contact-img-box {
        height: 250px;
    }
}