/* --- PENGRAF HOME THEME V31 --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-yellow: #F5D300;
    --text-dark: #1D1D1F;
    --text-gray: #86868B;
    --bg-light: #F5F5F7;
    --bg-white: #FFFFFF;
}

* { box-sizing: border-box; }

body { margin: 0; font-family: 'Inter', sans-serif; background-color: var(--bg-white); color: var(--text-dark); overflow-x: hidden; overflow-y: scroll; }

.navbar { height: 70px; background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(0,0,0,0.05); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; position: sticky; top: 0; z-index: 1000; }
.nav-content { width: 100%; max-width: 1200px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.logo-img-wrapper img { height: 36px; display: block; }

.nav-links { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-gray); font-size: 14px; font-weight: 500; transition: 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-yellow); }

.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: #1D1D1F; border-radius: 3px; }

.hero-section { height: 85vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(0.6); }
.hero-content { max-width: 800px; padding: 20px; z-index: 1; }
.hero-content h1 { font-size: 64px; font-weight: 800; margin-bottom: 20px; line-height: 1.1; letter-spacing: -2px; }
.hero-content p { font-size: 22px; font-weight: 400; margin-bottom: 40px; opacity: 0.9; }
.btn-hero { background: var(--primary-yellow); color: #000; padding: 18px 45px; border-radius: 40px; font-size: 18px; font-weight: 700; text-decoration: none; display: inline-block; transition: 0.3s; }
.btn-hero:hover { transform: scale(1.05); background: #fff; }

.section { padding: 100px 20px; display: flex; justify-content: center; }
.container { width: 100%; max-width: 1200px; }
.section-title { font-size: 42px; font-weight: 800; margin-bottom: 50px; text-align: center; letter-spacing: -1px; }
.bg-light { background-color: var(--bg-light); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img, .tech-img img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-text h3 { font-size: 32px; margin-bottom: 20px; font-weight: 700; }
.about-text p { font-size: 18px; color: var(--text-gray); line-height: 1.6; margin-bottom: 20px; }

.tech-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card { background: #fff; padding: 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: 0.3s; }
.step-img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.step-number { display: inline-block; background: var(--primary-yellow); color: #000; font-weight: 800; padding: 5px 15px; border-radius: 20px; font-size: 12px; margin-bottom: 10px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-item { position: relative; height: 400px; border-radius: 24px; overflow: hidden; }
.prod-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.prod-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: white; padding: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.footer { background: #1D1D1F; color: #fff; padding: 60px 20px; text-align: center; }

/* --- MOBİL GÖRÜNÜM (SAĞDAN AÇILAN MENÜ) --- */
/* --- MOBİL GÖRÜNÜM (SAĞ ÜSTTEN AŞAĞI AÇILAN DROPDOWN) --- */
@media (max-width: 900px) {
    .menu-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 70px; /* Navbar'ın hemen altı */
        right: 0;  /* Sağ kenara yapışık */
        left: auto; /* Solu serbest bırak */
        
        width: 280px; /* Çok geniş olmasın, sağda dursun */
        height: auto; /* İçerik kadar uzasın */
        
        background: rgba(255, 255, 255, 0.98);
        border-bottom-left-radius: 20px; /* Sol alt köşe oval, şık durur */
        border-left: 1px solid #eee;
        border-bottom: 1px solid #eee;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        
        /* Animasyon: Yukarıdan aşağı süzülme */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px); /* Hafif yukarıda başla */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    /* Menü Aktifken */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0); /* Yerine otur */
    }

    .nav-links a { font-size: 16px; font-weight: 600; color: #1D1D1F; }

    /* Hamburger Animasyon */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Sayfa İçi Mobil Düzeltmeleri (Admin, Home, Customer için ortak) */
    .nav-content { padding: 0 15px; }
    .logo-img-wrapper img { height: 28px; }
    
    /* Admin/Customer Özel Düzeltmeler */
    .dashboard-wrapper { flex-direction: column; height: auto; overflow: visible; }
    .glass-sidebar { width: 100%; min-width: 100%; height: auto; border-right: none; border-bottom: 1px solid #eee; padding: 15px; }
    .project-list { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 5px; }
    .project-item { min-width: 220px; border: 1px solid #eee; }
    .content-grid { grid-template-columns: 1fr; }
    .main-content { padding: 20px; }
    .form-row { flex-direction: column; }
    .login-box { width: 90%; padding: 30px 20px; }
    .calc-card { padding: 30px 20px; }
    .price-tag { font-size: 42px; }
    .row-gif { width: 70px; }
    
    /* Home Özel Düzeltmeler */
    .hero-content h1 { font-size: 42px; }
    .about-grid, .tech-grid, .steps-grid, .prod-grid { grid-template-columns: 1fr; gap: 40px; }
    .tech-grid { display: flex; flex-direction: column-reverse; }
    .section { padding: 25px 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* --- İLETİŞİM BÖLÜMÜ (CONTACT) --- */
.contact-section {
    padding: 5px 20px;
    background: #111; /* Koyu Arka Plan */
    color: #fff;
    text-align: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.contact-card {
    background: rgba(255,255,255,0.05); /* Hafif transparan */
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    text-decoration: none; /* Link alt çizgisini kaldır */
    color: #fff;
}

.contact-card:hover {
    background: #F5D300; /* Sarıya dön */
    color: #000; /* Yazı siyah olsun */
    transform: translateY(-10px);
}

.icon-box {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

/* --- PNG İKON AYARI (YENİ) --- */
/* İletişim kutusundaki resimlerin boyutu */
.contact-icon-img {
    width: 40px;  /* Diğer ikonlarla aynı boyutta olsun */
    height: 40px;
    object-fit: contain; /* Resmi bozmadan kutuya sığdır */
    vertical-align: middle; /* Düzgün hizala */
    /* PNG olduğu için hover rengi değişmez, orijinal renginde kalır */
}

.contact-label {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-value {
    font-size: 18px;
    font-weight: 700;
}



/* Mobilde İletişim Kutuları Alt Alta Olsun */
@media (max-width: 900px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 20px; }
}