/* ============================================================
   Websiteciniz — Custom CSS
   Palet: Krem #F8F6F1 | Lacivert #1A3667 | Altın #B8914A | Koyu #0A1628
   ============================================================ */

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

/* --- Navigasyon ----------------------------------------- */
#navbar {
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}
#navbar.nav-scrolled {
    background: rgba(248, 246, 241, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(26, 54, 103, 0.10);
}

/* --- Bölüm başlığı altı çizgi -------------------------- */
.accent-bar {
    width: 36px;
    height: 2px;
    background: #B8914A;
    margin-top: 20px;
    border-radius: 2px;
}

/* --- Hero nokta deseni ---------------------------------- */
.hero-dot-grid {
    background-image: radial-gradient(circle, #1A3667 1.5px, transparent 1.5px);
    background-size: 30px 30px;
}

/* --- Kayan rozet animasyonu ----------------------------- */
.hero-badge {
    position: absolute;
    padding: 9px 18px;
    background: white;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #1A3667;
    box-shadow:
        0 2px 4px rgba(13, 27, 53, 0.06),
        0 8px 24px rgba(13, 27, 53, 0.10);
    border: 1px solid rgba(228, 231, 237, 0.9);
    white-space: nowrap;
    animation: float 7s ease-in-out infinite;
}
.hero-badge:nth-child(2) { animation-delay: -2.3s; }
.hero-badge:nth-child(3) { animation-delay: -4.1s; }
.hero-badge:nth-child(4) { animation-delay: -1.5s; }
.hero-badge:nth-child(5) { animation-delay: -3.7s; }
.hero-badge:nth-child(6) { animation-delay: -5.2s; }
.hero-badge:nth-child(7) { animation-delay: -0.8s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* --- Hizmet kartları ------------------------------------ */
.service-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: #B8914A;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.32s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 8px rgba(26, 54, 103, 0.06),
        0 16px 40px rgba(26, 54, 103, 0.10);
}
.service-icon {
    transition: background 0.25s ease, color 0.25s ease;
}
.service-card:hover .service-icon {
    background: #1A3667 !important;
    color: white !important;
}

/* --- Portföy kartları ----------------------------------- */
.portfolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(13, 27, 53, 0.06),
        0 20px 48px rgba(13, 27, 53, 0.13);
}

/* Portföy filtre butonları */
.filter-btn {
    background: white;
    color: #5A6A85;
    border: 1.5px solid #E4E7ED;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}
.filter-btn:hover {
    border-color: #1A3667;
    color: #1A3667;
}
.filter-btn.active {
    background: #1A3667;
    border-color: #1A3667;
    color: white;
}

/* Wireframe portföy placeholder */
.wf-line {
    height: 7px;
    border-radius: 4px;
    background: rgba(255,255,255,0.30);
}
.wf-line.dark {
    background: rgba(26, 54, 103, 0.12);
}

/* --- Scroll fade-in animasyonu ------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* --- Süreç adım numaraları ----------------------------- */
.process-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px #B8914A;
    display: block;
    margin-bottom: 16px;
}

/* Süreç bağlantı çizgisi */
@media (min-width: 1024px) {
    .process-step { position: relative; }
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 28px;
        left: 72%;
        right: -28%;
        height: 1px;
        background: #E4E7ED;
    }
}

/* --- Form ------------------------------------------------ */
.form-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
    outline: none;
    border-color: #1A3667;
    box-shadow: 0 0 0 3px rgba(26, 54, 103, 0.10);
}

/* --- Referanslar yıldızları ----------------------------- */
.star { color: #B8914A; }

/* --- Metin kırpma --------------------------------------- */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- WhatsApp yüzer düğme ------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 40;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* --- Alert animasyonu ----------------------------------- */
.alert-banner {
    animation: slideDown 0.4s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: none; }
}

/* --- Yardımcılar ---------------------------------------- */
.text-balance { text-wrap: balance; }

/* Testimonial kartı alıntı işareti */
.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 0.6;
    color: #B8914A;
    opacity: 0.25;
    font-weight: 700;
    user-select: none;
}
