/* =========================================
   1. GLOBAL DEĞİŞKENLER VE TEMEL AYARLAR
   ========================================= */
:root {
    --ana-renk: #ce0000;
    --bg-light: #fcfcfc;
    --glass-white: rgba(255, 255, 255, 0.85);
    --koyu-yazi: #1e272e;
}

body { 
    background-color: var(--bg-light); 
    color: var(--koyu-yazi); 
    font-family: 'Sora', sans-serif; 
    overflow-x: hidden;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/sora.woff2') format('woff2');
}


.fw-500 { font-weight: 500; }
.fw-800 { font-weight: 800; }
.header-spacer { height: 110px; }

/* =========================================
   2. NAVBAR VE MOBİL MENÜ
   ========================================= */
.navbar {
    margin: 15px auto;
    width: 95%;
    border-radius: 20px;
    background: var(--glass-white) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(206, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 12px 20px;
    z-index: 1050;
}

.navbar-brand .logo-text-1 { color: var(--koyu-yazi); font-weight: 800; letter-spacing: -1px; }
.navbar-brand .logo-text-2 { color: var(--ana-renk); font-weight: 300; }

.nav-link {
    color: var(--koyu-yazi) !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 5px;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.show { color: var(--ana-renk) !important; }

/* Masaüstü Üzerine Gelince Açılma (Hover) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0;
    }
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s ease-in-out;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-radius: 18px;
    padding: 12px;
    background: #fff;
}

.dropdown-item {
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    transition: 0.3s;
    color: var(--koyu-yazi);
}

.dropdown-item:hover {
    background-color: rgba(206, 0, 0, 0.05);
    color: var(--ana-renk);
    transform: translateX(5px);
}

.navbar-toggler i { transition: transform 0.3s ease, opacity 0.3s ease; }
.m-dropdown-icon { transition: transform 0.3s ease; }
.nav-link[aria-expanded="true"] .m-dropdown-icon { transform: rotate(180deg); color: var(--ana-renk); }
.mobile-sub-link { color: #636e72; font-size: 0.85rem; text-decoration: none; display: block; padding: 8px 0; transition: 0.3s; }
.mobile-sub-link:hover { color: var(--ana-renk); padding-left: 5px; }

/* =========================================
   3. BUTONLAR VE LİNKLER
   ========================================= */
.btn-servis {
    background-color: var(--ana-renk);
    color: #fff !important;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
    border: none;
}
.btn-servis:hover { transform: scale(1.05); background: #a00000; box-shadow: 0 5px 15px rgba(206, 0, 0, 0.3); }

.btn-secondary-custom {
    background: #f0f0f0; color: #1d1d1f; border-radius: 100px;
    font-weight: 700; text-decoration: none; transition: 0.3s;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-secondary-custom:hover { background: #e5e5e5; }

.footer-link { color: #636e72; text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.footer-link:hover { color: var(--ana-renk); transform: translateX(5px); display: inline-block; }

.side-nav-link { 
    display: block; color: #636e72; text-decoration: none; 
    padding: 12px 18px; border-radius: 12px; transition: 0.3s;
    font-weight: 600; font-size: 0.95rem;
}
.side-nav-link:hover, .side-nav-link.active { 
    background: rgba(206, 0, 0, 0.05); color: var(--ana-renk); padding-left: 22px;
}

/* =========================================
   4. KARTLAR VE KAPSAYICILAR (BENTO UI)
   ========================================= */
.bento-card {
    background: #fff; border: 1px solid #eaeaea; border-radius: 32px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.bento-card:hover {
    transform: translateY(-12px); border-color: var(--ana-renk);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.marka-bento {
    position: relative; background: #ffffff; height: 140px;
    border-radius: 24px; border: 1px solid #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}
.marka-bento:hover {
    transform: translateY(-8px); border-color: var(--ana-renk);
    box-shadow: 0 15px 30px rgba(206, 0, 0, 0.05) !important;
}

.contact-card, .stat-card {
    background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.contact-card:hover, .stat-card:hover {
    transform: translateY(-5px); border-color: var(--ana-renk); box-shadow: 0 10px 30px rgba(206, 0, 0, 0.05);
}

.sidebar-card { background: #fff; border-radius: 25px; border: 1px solid #f0f0f0; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.hizmet-main-card { background: #fff; border-radius: 30px; border: 1px solid #f0f0f0; box-shadow: 0 15px 40px rgba(0,0,0,0.03); }
.reason-panel { background: #fff; border-radius: 30px; border: 1px solid #f0f0f0; position: relative; z-index: 2; }
.form-container { background: #fff; border-radius: 30px; border: 1px solid #f0f0f0; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.sidebar-cta { background: #f8f9fa; border-radius: 25px; border: 1px dashed #ddd; }

/* =========================================
   5. İKONLAR, ROZETLER VE FORMLAR
   ========================================= */
.icon-box { width: 65px; height: 65px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.list-icon { width: 45px; height: 45px; background: rgba(206, 0, 0, 0.05); color: var(--ana-renk); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }
.icon-circle { width: 45px; height: 45px; background: #fff; border: 1px solid #eee; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-icon { width: 60px; height: 60px; background: var(--ana-renk); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 1.5rem; box-shadow: 0 10px 20px rgba(206, 0, 0, 0.2); }
.card-icon-modern { width: 65px; height: 65px; background: #f8f8f8; color: var(--ana-renk); display: flex; align-items: center; justify-content: center; font-size: 26px; border-radius: 20px; transition: 0.3s; }
.bento-card:hover .card-icon-modern { background: var(--ana-renk); color: #fff; }

.social-box { 
    width: 38px; height: 38px; background: #fff; color: #2d3436; 
    display: inline-flex; align-items: center; justify-content: center; 
    border-radius: 10px; text-decoration: none; transition: 0.3s;
    border: 1px solid #eee; box-shadow: 0 3px 10px rgba(0,0,0,0.02);
}
.social-box:hover { background: var(--ana-renk); color: #fff; border-color: var(--ana-renk); transform: translateY(-3px); }

.badge-premium {
    display: inline-block; background: rgba(206, 0, 0, 0.05); color: var(--ana-renk);
    padding: 10px 24px; border-radius: 100px; font-weight: 700; font-size: 13px;
    letter-spacing: 1px; border: 1px solid rgba(206, 0, 0, 0.1);
}

.marka-content { text-align: center; z-index: 2; }
.marka-name { font-size: 1.25rem; letter-spacing: -0.5px; display: block; margin-bottom: 5px; }
.marka-badge {
    font-size: 10px; font-weight: 700; color: var(--ana-renk);
    background: rgba(206, 0, 0, 0.05); padding: 4px 12px;
    border-radius: 20px; display: inline-block; letter-spacing: 0.5px;
}

.modern-input {
    background: #fcfcfc !important; border: 1px solid #eee !important; color: #333 !important;
    padding: 12px 18px !important; border-radius: 12px !important; font-weight: 500; transition: 0.3s;
}
.modern-input:focus { border-color: var(--ana-renk) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.05) !important; }

/* =========================================
   6. HERO ALANI VE EFEKTLER
   ========================================= */
.hero-section { background: #fff; position: relative; overflow: hidden; }
.hero-gradient-blur {
    position: absolute; top: -10%; right: -5%; width: 50%; height: 80%;
    background: radial-gradient(circle, rgba(206, 0, 0, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 1; border-radius: 50%; filter: blur(60px);
}
.hero-experience-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 40px; position: relative; z-index: 2; transform: translateY(20px); }

.cta-banner { background: var(--ana-renk); border-radius: 40px; }
.cta-overlay-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1; z-index: 1;
}

.bg-blur-circle { position: absolute; top: -30px; right: -30px; width: 150px; height: 150px; background: var(--ana-renk); filter: blur(100px); opacity: 0.1; z-index: 1; }
.bg-blur-dot { position: absolute; bottom: -40px; left: -40px; width: 150px; height: 150px; background: var(--ana-renk); filter: blur(100px); opacity: 0.05; z-index: 1; }

.hover-line {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
    background: var(--ana-renk); transform: scaleX(0); transition: transform 0.4s ease;
}
.marka-bento:hover .hover-line { transform: scaleX(1); }

.status-box { background: #f0fff4; border-radius: 15px; border: 1px dashed #27ae60; }
.online-dot { width: 10px; height: 10px; background: #2ecc71; border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* =========================================
   7. AKORDEON (S.S.S)
   ========================================= */
.modern-accordion .accordion-item { border: 1px solid #f0f0f0 !important; }
.modern-accordion .accordion-button { background: #fff; color: #1a1a1a; border-radius: 15px !important; }
.modern-accordion .accordion-button:not(.collapsed) { 
    color: var(--ana-renk); box-shadow: none; background: #fff; border-bottom: 1px solid #f9f9f9;
}
.modern-accordion .accordion-button::after { 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* =========================================
   8. FOOTER VE SABİT BARLAR
   ========================================= */
.fixed-action-btns { position: fixed; right: 25px; bottom: 30px; z-index: 1000; }
.action-btn {
    width: 55px; height: 55px; border-radius: 15px; display: flex; 
    align-items: center; justify-content: center; font-size: 22px;
    margin-top: 12px; text-decoration: none; transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.up-btn { background: #fff; color: var(--ana-renk); border: 1px solid #eee; display: none; }
.wa-btn { background: #25d366; color: #fff; }
.action-btn:hover { transform: scale(1.1); }

.mobile-bottom-bar {
    position: fixed; bottom: 20px; left: 5%; width: 90%; 
    height: 60px; background: #fff; z-index: 9999;
    border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    overflow: hidden; border: 1px solid rgba(0,0,0,0.05);
}
.m-btn {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 10px; font-weight: 700; text-decoration: none; font-size: 0.9rem;
}
.m-call { background: var(--ana-renk); color: #fff !important; }
.m-whatsapp { background: #fff; color: #25d366 !important; }


/* =========================================
   9. RESPONSIVE (MEDYA SORGULARI)
   ========================================= */
@media (max-width: 991px) {
    body { padding-bottom: 90px !important; } /* Alt bar için boşluk */
    .display-1 { font-size: 3.5rem; }
    .display-4 { font-size: 2.3rem; }
    .display-5 { font-size: 2.2rem; }
    .reason-panel { margin-top: 15px; }
    .list-icon { width: 40px; height: 40px; font-size: 1rem; }
    .sticky-top { position: relative; top: 0 !important; margin-top: 30px; }
    .border-start-md { border-left: 0 !important; }
}

@media (max-width: 768px) {
    .marka-bento { height: 110px; border-radius: 18px; }
    .marka-name { font-size: 1.1rem; }
}