/* ==========================================================================
   BUZ YAZILIM — Global Styles
   Layout, components, utilities used across all pages
   ========================================================================== */

/* Logo cursor blink animation */
.logo-cursor { animation: cursorBlink 1s step-end infinite; }
.logo-cursor--static { opacity: 0.6; }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Gradient Hero PageTitle */
.hero-title {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    margin-top: 61px;
    padding: 52px 0 44px; text-align: center; position: relative; overflow: hidden;
}
.hero-title::before {
    content: ''; position: absolute; top: -60px; right: -40px;
    width: 280px; height: 280px; background: rgba(255,255,255,0.04); border-radius: 50%;
}
.hero-title::after {
    content: ''; position: absolute; bottom: -40px; left: -20px;
    width: 180px; height: 180px; background: rgba(255,255,255,0.03); border-radius: 50%;
}
.hero-title .container { position: relative; z-index: 1; }
.hero-title__sub {
    font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.55);
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px;
}
.hero-title__heading {
    font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 700;
    color: #fff; margin-bottom: 12px;
}
.hero-title__text {
    font-size: 0.95rem; color: rgba(255,255,255,0.6); max-width: 560px;
    margin: 0 auto; line-height: 1.7;
}
.hero-title__bc { margin-top: 18px; }
.hero-title__bc .breadcrumb { margin-bottom: 0; }
.hero-title__bc .breadcrumb-item,
.hero-title__bc .breadcrumb-item a { color: rgba(255,255,255,0.35); font-size: 13px; }
.hero-title__bc .breadcrumb-item a:hover { color: rgba(255,255,255,0.7); }
.hero-title__bc .breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.hero-title__bc .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.25); }

/* Breadcrumb under header */
.bc-under-header { background: #f8f9fc; padding: 10px 0; border-bottom: 1px solid #eef0f4; }
.bc-under-header .breadcrumb { margin-bottom: 0; font-size: 13px; }

/* Shared CTA Promo */
.cta-promo {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    padding: 56px 0; text-align: center;
}
.cta-promo__title {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700;
    color: #fff; margin-bottom: 10px;
}
.cta-promo__text { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.cta-promo__btn {
    display: inline-block; padding: 14px 36px; border-radius: 50px;
    background: #fff; color: #6366f1; font-size: 0.9rem; font-weight: 700;
    text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.cta-promo__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); color: #6366f1; }

.input-validation-error { border-color: #dc3545 !important; }
.field-validation-error { color: #dc3545; padding-left: 25px; }

/* Select: input ile birebir ayni (Nice Select devre disi, native select) */
.contact-form .form-floating > .form-select {
    height: 45px !important;
    border: 0;
    border-radius: 500px;
    padding: 18px 40px 2px 25px !important;
    font-size: 15px;
    color: #262729;
    background-color: #fff;
}
.contact-form .form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    display: flex;
    align-items: center;
}

/* Textarea: input ile ayni font/renk */
.contact-form textarea.form-control {
    color: #262729 !important;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--bg, #fff); border-top: 1px solid var(--border-color, #e5e5e5);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1); padding: 20px 0;
}
.cookie-banner__content {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-banner__text { margin: 0; flex: 1; min-width: 300px; font-size: 14px; color: var(--color-texts, #666); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__accept { font-weight: 600; }

/* Cookie Settings Overlay */
.cookie-settings-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000;
    background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
}
.cookie-settings-panel {
    background: var(--bg, #fff); border-radius: 12px; padding: 30px;
    max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto;
}
.cookie-settings-panel__title { margin-bottom: 20px; }
.cookie-settings-item {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 15px;
    padding: 15px 0; border-bottom: 1px solid var(--border-color, #e5e5e5);
}
.cookie-settings-item__info p { margin: 5px 0 0; font-size: 13px; color: var(--color-texts, #666); }
.cookie-settings-panel__actions { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; }

/* Cookie Consent Overlay on Forms */
.cookie-consent-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 10;
    background: rgba(255,255,255,0.95); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.cookie-consent-overlay__content { padding: 30px; }
.cookie-consent-overlay__content p { margin-bottom: 15px; color: #666; }

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed; bottom: 24px; right: 84px; z-index: 9997;
    width: 44px; height: 44px; border-radius: 50%;
    background: #6366f1; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; text-decoration: none; border: none; cursor: pointer;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    opacity: 0; pointer-events: none;
}
.scroll-to-top.visible { opacity: 1; pointer-events: auto; }
.scroll-to-top:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(99,102,241,0.4); color: #fff; }

/* reCAPTCHA badge gizle (metin atfi footer'da) */
.grecaptcha-badge { visibility: hidden !important; }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 20px; z-index: 9998;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4); transition: transform 0.3s, box-shadow 0.3s;
    font-size: 28px; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); color: #fff; }

@media (min-width: 992px) {
    .site-navbar { padding-bottom: 0; }
    .site-header--sticky:not(.mobile-sticky-enable) ~ .hero-title { margin-top: 76px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .header-btns { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1399px) {
    .nav-item--home { display: none !important; }
}
@media (max-width: 576px) {
    .cookie-banner__content { flex-direction: column; text-align: center; }
    .cookie-banner__actions { justify-content: center; width: 100%; }
    .whatsapp-float { bottom: 20px; right: 15px; width: 50px; height: 50px; font-size: 24px; }
    .scroll-to-top { right: 73px; width: 40px; height: 40px; font-size: 16px; }
}

.btn-link { color: #A855F7; }
.btn-link:hover,
.hover-link--primary:hover {
    color: #8b5cf6 !important;
}

.legal-content h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: #19191b; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; color: #19191b; }
.legal-content h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; color: #19191b; }
.legal-content p, .legal-content li { font-size: 0.92rem; line-height: 1.75; color: #64748b; }
.legal-content table { width: 100%; font-size: 0.85rem; border-collapse: collapse; margin: 1rem 0; }
.legal-content th, .legal-content td { border: 1px solid #e2e8f0; padding: 8px 12px; text-align: left; }
.legal-content th { background: #f8f9fc; font-weight: 600; color: #19191b; }
.legal-content a { color: #8b5cf6; }
