/* --- Variables & Reset --- */
:root {
    --bg-color: #ffffff;
    --text-primary: #0f172a; /* Slate 900 - Daha koyu */
    --text-secondary: #475569; /* Slate 600 */
    --text-light: #94a3b8; /* Slate 400 */
    --accent: #0f172a; /* Slate 900 (Navbar için) */
    --border-color: #e2e8f0;
    --container-width: 1100px; /* Biraz daha geniş */
    --font-main: 'Inter', sans-serif;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Sticky Header (Slate) --- */
.sticky-header {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 70px;
    background: var(--accent); /* Slate 900 */
    color: white;
    z-index: 100;
    transform: translateY(-100%);
    transition: transform 0.4s var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sticky-header.visible { transform: translateY(0); }

.header-inner {
    width: 100%; max-width: var(--container-width);
    padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}

.header-left { display: flex; align-items: center; gap: 20px; }
.brand { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }

.breadcrumb-nav {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.breadcrumb-nav .current { color: white; }
.breadcrumb-nav .divider { margin: 0 6px; opacity: 0.4; }

.project-nav .nav-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.2s;
    font-size: 1rem;
}
.project-nav .nav-btn:hover { background: rgba(255,255,255,0.25); }

/* --- Container & Technical Specs --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 20px;
    background: var(--bg-color);
    position: relative; z-index: 10;
}

.project-specs {
    margin-bottom: 120px;
    padding: 40px;
    background: #f8fafc; /* Very light slate */
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.specs-header { margin-bottom: 40px; border-bottom: 1px solid #cbd5e1; padding-bottom: 20px; }
.specs-header h2 { font-size: 1.8rem; font-weight: 500; margin-bottom: 5px; }
.specs-header p { color: var(--text-secondary); font-size: 0.95rem; }

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.spec-item { display: flex; flex-direction: column; }
.spec-label { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    color: var(--text-light); 
    font-weight: 600; 
    letter-spacing: 0.05em; 
    margin-bottom: 5px;
}
.spec-value { font-size: 1rem; color: var(--text-primary); font-weight: 500; }

/* --- Content Blocks --- */
.content-block {
    display: flex; align-items: center; gap: 80px; margin-bottom: 140px;
}
.content-block.reverse { flex-direction: row-reverse; }

.block-image {
    flex: 1.2;
    border-radius: 4px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    cursor: pointer;
}
.block-image img { transition: transform 0.6s ease; width: 100%; }
.block-image:hover img { transform: scale(1.02); }

.block-text { flex: 1; }
.section-tag { 
    display: inline-block; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    color: #3b82f6; /* Accent Blue */
    font-weight: 600; 
    margin-bottom: 15px; 
    letter-spacing: 0.1em;
}

.block-text h2 {
    font-size: 2.2rem; margin-bottom: 25px; line-height: 1.2; letter-spacing: -0.02em;
}
.block-text p {
    color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 20px;
}

.feature-list { list-style: none; margin-top: 20px; }
.feature-list li {
    padding-left: 20px; position: relative; margin-bottom: 10px; color: var(--text-primary); font-weight: 500;
}
.feature-list li::before {
    content: "•"; color: #3b82f6; position: absolute; left: 0; font-size: 1.2rem; line-height: 1;
}

/* --- Slider Section --- */
.slider-section { margin-bottom: 140px; }
.slider-header {
    display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px;
}
.slider-header h3 { font-size: 1.5rem; font-weight: 500; }

.slider-controls .slider-btn {
    width: 44px; height: 44px;
    border: 1px solid var(--border-color);
    background: white; color: var(--text-primary);
    border-radius: 50%; cursor: pointer;
    font-size: 1.2rem; margin-left: 10px;
    transition: all 0.2s;
}
.slider-controls .slider-btn:hover { background: var(--text-primary); color: white; border-color: var(--text-primary); }

.slider-container { width: 100%; overflow: hidden; border-radius: 6px; }
.slider-track {
    display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.slide {
    min-width: 45%; /* Shows part of next slide */
    margin-right: 20px;
    position: relative;
}
.slide img { width: 100%; height: 400px; object-fit: cover; border-radius: 4px; cursor: pointer;}
.slide-caption {
    margin-top: 10px; font-size: 0.9rem; color: var(--text-secondary); font-style: italic;
}

/* --- Gallery Grid --- */
.gallery-section h3 { font-size: 1.5rem; text-align: center; margin-bottom: 40px; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.gallery-item {
    aspect-ratio: 1/1; overflow: hidden; cursor: pointer; position: relative;
}
.gallery-item::after {
    content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.3s;
}
.gallery-item:hover::after { background: rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }

/* --- Footer --- */
footer {
    background: #0f172a; color: white; padding: 100px 20px; text-align: center;
}
.footer-tag { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; opacity: 0.5; margin-bottom: 20px; }
.footer-content h2 { font-size: 2.5rem; margin-bottom: 50px; font-weight: 400; letter-spacing: -0.02em; }
.cta-button {
    background: white; color: #0f172a; padding: 18px 40px; border-radius: 50px; text-decoration: none; font-weight: 600; display: inline-block; margin-bottom: 60px; transition: transform 0.2s;
}
.cta-button:hover { transform: translateY(-3px); }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 15px; font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.copyright { margin-top: 50px; color: rgba(255,255,255,0.3); font-size: 0.85rem; }

/* --- Lightbox (No Zoom, Just Nav) --- */
.lightbox {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.98);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }

.lightbox-content {
    max-width: 85%; max-height: 85%;
    display: flex; justify-content: center; align-items: center;
}
#lb-img {
    max-width: 100%; max-height: 80vh; 
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    user-select: none;
}

.lb-close {
    position: absolute; top: 30px; right: 30px;
    background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer;
    opacity: 0.7; transition: opacity 0.2s;
}
.lb-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: white; font-size: 3rem; cursor: pointer;
    padding: 20px; opacity: 0.6; transition: opacity 0.2s;
}
.lb-nav-btn:hover, .lb-close:hover { opacity: 1; }
.lb-nav-btn.prev { left: 20px; }
.lb-nav-btn.next { right: 20px; }

.lb-counter {
    position: absolute; bottom: 30px; color: rgba(255,255,255,0.5); font-size: 0.9rem; letter-spacing: 0.1em;
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: white;
  text-decoration: none;
  border-radius: 12px; /* Modern karemsi oval */
  
  /* Gradyan Renkleri */
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.btn-gradient:hover {
  /* Üzerine gelince biraz daha parlak ve yukarıda */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
  filter: brightness(1.1);
}

.btn-gradient:active {
  transform: translateY(0);
}



/* --- Responsive --- */
@media (max-width: 900px) {
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .content-block { flex-direction: column; gap: 30px; }
    .content-block.reverse { flex-direction: column; }
    .hero-title { font-size: 3rem; }
    .slide { min-width: 85%; }
}

/* --- Mobile View Enhancements --- */
@media (max-width: 768px) {
    /* Ana container boşluğunu daraltalım */
    .container {
        padding: 40px 15px;
    }

    .btn-gradient{
        display: inline-block;
        padding: 10px 8px;    
    }
    
    .breadcrumb-nav{
        display: inline-block;
        justify-content: center;
    }
    
    /* Künye (Specs) alanını daha sıkışık yapalım */
    .project-specs {
        padding: 20px;
        margin-bottom: 60px;
    }
    
    .spec-value {
        font-size: 0.9rem;
    }

    /* İçerik bloklarındaki görselleri küçültme */
    .block-image {
        max-width: 90%; /* Görselin ekranı tamamen kaplamasını önler */
        margin: 0 auto; /* Ortalar */
    }

    .block-text h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    /* Slider görsellerinin yüksekliğini mobilde azaltalım */
    .slide img {
        height: 250px; /* Desktop'ta 400px idi */
    }

    /* Galeri gridini daha küçük resimler için 2'li kalsın ama boşluğu azaltalım */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    /* Lightbox içindeki resmi mobilde çok büyük olmaması için sınırlayalım */
    #lb-img {
        max-width: 95%;
        max-height: 70vh;
    }
    
    /* Mobilde yön butonlarını küçültelim */
    .lb-nav-btn {
        font-size: 2rem;
    }
}