/* --- PENGRAF CUSTOMER THEME V31 --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-body: #F5F5F7;
    --primary-yellow: #F5D300;
    --text-dark: #1D1D1F;
    --text-gray: #86868B;
    --card-bg: #FFFFFF;
    --shadow-apple: 0 10px 40px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }

body { 
    margin: 0; font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-body); color: var(--text-dark);
    height: 100vh; overflow-y: scroll;
}

/* NAVBAR (RESPONSIVE) */
.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; }

/* MAIN */
.main-wrapper { min-height: calc(100vh - 70px); display: flex; justify-content: center; align-items: center; padding: 20px; }
.calc-card { background: var(--card-bg); width: 100%; max-width: 440px; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-apple); text-align: center; border: 1px solid rgba(255,255,255,0.5); }
.card-header h1 { font-size: 22px; font-weight: 700; margin: 0 0 8px 0; color: #000; }
.card-header p { font-size: 14px; color: var(--text-gray); margin: 0 0 30px 0; }

.input-section { margin-bottom: 30px; text-align: left; }
.input-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-gray); text-transform: uppercase; margin-bottom: 8px; margin-left: 5px; }
.input-wrapper { position: relative; }
.apple-input { width: 100%; padding: 16px 20px; font-size: 18px; font-weight: 600; border: 1px solid #E5E5E5; border-radius: 16px; background: #FAFAFA; outline: none; transition: 0.2s; color: #111; }
.apple-input:focus { background: #fff; border-color: var(--primary-yellow); }
.unit { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #999; font-weight: 500; }

.options-section { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.option-row { display: flex; align-items: center; justify-content: space-between; background: #FAFAFA; border: 1px solid #eee; border-radius: 16px; height: 80px; padding: 0; padding-right: 20px; overflow: hidden; transition: 0.2s; }
.option-row:hover { background: #fff; border-color: #ddd; }
.row-gif { height: 100%; width: 100px; object-fit: cover; display: block; }
.opt-text { flex-grow: 1; text-align: left; padding-left: 15px; font-size: 15px; font-weight: 600; color: #111; }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #E5E5E5; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
input:checked + .slider { background-color: var(--primary-yellow); }
input:checked + .slider:before { transform: translateX(20px); }

.result-section { border-top: 1px solid #f0f0f0; padding-top: 25px; }
.price-tag { font-size: 52px; font-weight: 800; color: #111; margin: 0 0 20px 0; letter-spacing: -1.5px; }
.btn-offer { display: flex; justify-content: center; align-items: center; width: 100%; padding: 16px; background: #111; color: var(--primary-yellow); font-size: 16px; font-weight: 700; text-decoration: none; border-radius: 14px; transition: 0.2s; }
.btn-offer:hover { transform: scale(1.02); }
.disclaimer { font-size: 11px; color: #999; margin-top: 15px; }

/* --- 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: 60px 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
}