* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--main-font); line-height: 1.6; color: #333; }
.container { width: 85%; margin: auto; max-width: 1200px; }

/* Header */
header { background: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-size: 1.4rem; font-weight: bold; color: #1b1d21; }
.logo-text span { color: var(--primary-color); }

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 600; font-size: 0.9rem; }
.nav-links a.active { color: var(--primary-color); }

.btn-phone { background: var(--primary-color); color: #fff; padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: bold; }

/* Hero */
.hero { 
    height: 80vh; 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg.jpg') center/cover; 
    display: flex; align-items: center; color: #fff;
}
.hero-box h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }
.hero-box p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; }
.badge { color: var(--primary-color); font-weight: bold; margin-bottom: 10px; }
.btn-red { background: var(--primary-color); color: #fff; padding: 15px 35px; text-decoration: none; border-radius: 50px; font-weight: bold; border:none; cursor:pointer; }

/* Services */
.services { padding: 80px 0; text-align: center; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 50px; }
.service-card { background: linear-gradient(135deg, #ff5f6d, #ffc371); color: #fff; padding: 40px 20px; border-radius: 20px; transition: 0.3s; }
.service-card:hover { transform: translateY(-10px); }
.icon-box { font-size: 3rem; margin-bottom: 20px; }

/* About & Contact */
.about-section { background: #1b1d21; color: #fff; padding: 80px 0; }
.quote-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.quote-form input, .quote-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 5px; border: none; }
.quote-form textarea { height: 100px; }

footer { background: #111; color: #777; padding: 40px 0; text-align: center; }

/* Sabit Arka Plan (Parallax) Bölümü */
.parallax-section {
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex; align-items: center; justify-content: center; color: #fff;
}

.parallax-section h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

/* --- AKILLI HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s ease-in-out; /* Yumuşak gizlenme efekti */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px); /* Cam efekti */
}

/* Header gizlendiğinde uygulanacak class */
.header-hidden {
    transform: translateY(-100%);
}

/* --- PARALLAX (SABİT RESİM) --- */
.parallax-box {
    height: 500px;
    background-attachment: fixed; /* Resmin sabit durmasını sağlar */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.parallax-overlay {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- PROJE GRİDİ (image_4d4c67.jpg gibi) --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4'lü dizilim */
    gap: 15px;
    padding: 20px 0;
}

.work-item img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Resim yamulmadan kutuyu doldurur */
    border-radius: 5px;
    transition: 0.3s;
}