/* ============================================
   Nimet Aydın İnşaat - Ana Stil Dosyası
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    font-size: 16px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: normal;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
p { line-height: 1.75; }

/* ---- Navigation ---- */
nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    padding: 0 2.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo a { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; }
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    color: #b8956a;
    border-bottom-color: #b8956a;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s;
}

/* ---- Hero (Ana Sayfa) ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content { color: #fff; padding: 2rem; max-width: 800px; }
.hero-content h1 {
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.88;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
}
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.hero-dot.active { background: #fff; }

/* ---- Butonlar ---- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1px solid currentColor;
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
    font-family: inherit;
    background: none;
}
.btn-gold { color: #b8956a; border-color: #b8956a; }
.btn-gold:hover { background: #b8956a; color: #fff; }
.btn-white { color: #fff; border-color: #fff; }
.btn-white:hover { background: #fff; color: #1a1a1a; }
.btn-dark { color: #1a1a1a; border-color: #1a1a1a; }
.btn-dark:hover { background: #1a1a1a; color: #fff; }

/* ---- Bölüm Genel ---- */
section { padding: 5rem 2.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { margin-bottom: 3rem; }
.section-title.centered { text-align: center; }
.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: #888; font-size: 0.95rem; }
.section-line {
    display: block;
    width: 40px;
    height: 2px;
    background: #b8956a;
    margin-bottom: 1rem;
}
.section-title.centered .section-line { margin: 0 auto 1rem; }

/* ---- Projeler Grid ---- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.project-card {
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
}
.project-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}
.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-info { padding: 1.2rem 0 0.5rem; }
.project-card-badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b8956a;
    margin-bottom: 0.4rem;
}
.project-card-info h3 { margin-bottom: 0.3rem; font-size: 1.25rem; }
.project-card-meta {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.06em;
}

/* ---- Hakkımızda Snippet (Index) ---- */
.about-snippet { background: #f8f6f3; }
.about-snippet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.about-snippet-text p {
    color: #444;
    margin-bottom: 1.2rem;
    font-size: 1.02rem;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    border-right: 1px solid #e0dbd5;
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: Georgia, serif;
    font-size: 2.8rem;
    color: #b8956a;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---- CTA Bölümü ---- */
.cta-section {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { opacity: 0.65; margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ---- İletişim Bölümü ---- */
.contact-section { background: #f8f6f3; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.contact-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b8956a;
    min-width: 80px;
    margin-top: 3px;
}
.contact-info-value { font-size: 0.95rem; color: #444; line-height: 1.6; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #b8956a; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
    width: 100%;
    padding: 1rem;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
}
.form-submit:hover { background: #b8956a; }

/* ---- Footer ---- */
footer {
    background: #111;
    color: #fff;
    padding: 4rem 2.5rem 2rem;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 2rem;
}
.footer-logo img { height: 36px; width: auto; }
.footer-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    line-height: 1.7;
}
.footer-col h4 {
    font-family: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 1.2rem;
}
.footer-col p, .footer-col a {
    font-size: 0.88rem;
    color: #aaa;
    display: block;
    margin-bottom: 0.6rem;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.6;
}
.footer-col a:hover { color: #b8956a; }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #555;
}

/* ---- Sayfa Hero (İç Sayfalar) ---- */
.page-hero {
    position: relative;
    height: 65vh;
    min-height: 400px;
    overflow: hidden;
}
.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3.5rem;
}
.page-hero-overlay .badge {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b8956a;
    margin-bottom: 0.6rem;
}
.page-hero-overlay h1 { color: #fff; }

/* ---- Proje Bilgi ---- */
.proje-bilgi { border-bottom: 1px solid #ebebeb; }
.proje-bilgi-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.proje-aciklama p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
    margin-bottom: 1.2rem;
}
.proje-specs { padding-left: 3rem; border-left: 1px solid #ebebeb; }
.spec-item { margin-bottom: 1.8rem; }
.spec-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b8956a;
    margin-bottom: 0.3rem;
}
.spec-value {
    font-family: Georgia, serif;
    font-size: 1.05rem;
    color: #1a1a1a;
}
.spec-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid #b8956a;
    color: #b8956a;
    letter-spacing: 0.08em;
    margin-top: 1rem;
}

/* ---- Galeri ---- */
.galeri-section { border-top: 1px solid #ebebeb; }
.galeri-section h3 { margin-bottom: 2rem; font-size: 1.3rem; }
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.galeri-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.galeri-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.galeri-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
}
.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.galeri-item:hover img { transform: scale(1.06); }

/* ---- Daire Tipleri (Tabs) ---- */
.daire-tabs { border-bottom: 2px solid #ebebeb; margin-bottom: 2rem; display: flex; gap: 0; }
.tab-btn {
    padding: 0.9rem 2rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #999;
    letter-spacing: 0.06em;
    font-family: inherit;
    transition: all 0.2s;
}
.tab-btn.active { color: #1a1a1a; border-bottom-color: #b8956a; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Video ---- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.video-item video {
    width: 100%;
    display: block;
    background: #000;
}
.video-item p { font-size: 0.82rem; color: #999; margin-top: 0.5rem; }

/* ---- Hakkımızda Sayfası ---- */
.about-page-content { max-width: 800px; margin: 0 auto; }
.about-page-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 1.5rem;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #ebebeb;
    max-width: 900px;
    margin: 0 auto;
}
.about-stat {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-right: 1px solid #ebebeb;
}
.about-stat:last-child { border-right: none; }
.about-stat-num {
    font-family: Georgia, serif;
    font-size: 2.8rem;
    color: #b8956a;
    display: block;
    line-height: 1;
    margin-bottom: 0.6rem;
}
.about-stat-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---- Projeler Sayfası ---- */
.projeler-page { padding-top: 4rem; }

/* ---- Yardımcı Grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }

/* ---- Lightbox ---- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    user-select: none;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.8rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.18); }
.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .galeri-grid { grid-template-columns: repeat(3, 1fr); }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stat:nth-child(2) { border-right: none; }
    .about-stat:nth-child(3) { border-right: 1px solid #ebebeb; border-top: 1px solid #ebebeb; }
    .about-stat:nth-child(4) { border-right: none; border-top: 1px solid #ebebeb; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    nav { padding: 0 1.2rem; height: 62px; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #ebebeb;
        padding: 0.5rem 0;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-links li a { display: block; padding: 0.9rem 1.5rem; }
    .hamburger { display: flex; }

    section { padding: 3.5rem 1.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .galeri-grid { grid-template-columns: repeat(2, 1fr); }
    .galeri-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }

    .proje-bilgi-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .proje-specs { border-left: none; border-top: 1px solid #ebebeb; padding-left: 0; padding-top: 2rem; }

    .video-grid { grid-template-columns: 1fr; }
    .about-snippet-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .stats-row { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .grid-3 { grid-template-columns: 1fr; gap: 2rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .page-hero { height: 50vh; min-height: 300px; }
    .page-hero-overlay { padding: 2rem; }

    .hero-content h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid #e0dbd5; }
    .stat-item:last-child { border-bottom: none; }
    .about-stats-grid { grid-template-columns: 1fr 1fr; }
    .galeri-grid { grid-template-columns: repeat(2, 1fr); }
}
