/* ==========================================================================
   ROTTWEILER TÜRKİYE MERKEZ — FRONTEND STYLESHEET
   Domain: test.rottweiler.org.tr
   Proje Sahibi: Murat Kumpas | Tasarım: Obsidian & Amber Prestige
   ========================================================================== */

:root {
    --bg-dark: #07080a;
    --bg-card: #0f1116;
    --bg-card-light: #ece7db;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #111827;
    --gold: #d97706;
    --gold-light: #f59e0b;
    --gold-dark: #b45309;
    --copper: #c2410c;
    --gold-border: rgba(217, 119, 6, 0.4);
    --gold-glow: rgba(217, 119, 6, 0.25);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(15, 17, 22, 0.9) 0%, transparent 50%);
}

.rt-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mb-3 { margin-bottom: 16px; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.rt-header {
    background: rgba(7, 8, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.brand-crest {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.2) 0%, rgba(15, 17, 22, 0.9) 100%);
    box-shadow: 0 0 14px var(--gold-glow);
}

.crest-letters {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.5px;
    color: var(--gold-light);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 2px;
    color: #ffffff;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    font-weight: 500;
    margin-top: 2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 4px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.nav-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

.admin-link {
    color: var(--text-muted);
    font-size: 13px;
}

.admin-pill {
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.member-join-btn {
    background: #d97706;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.member-join-btn:hover {
    background: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
    text-decoration: none !important;
    color: #000000 !important;
}

.member-pill {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399 !important;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}
.member-pill:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: #10b981;
    color: #ffffff !important;
    text-decoration: none !important;
}

.customer-login-link {
    color: #f3f4f6 !important;
    font-weight: 500;
    font-size: 13px;
}
.customer-login-link:hover {
    color: #fbbf24 !important;
    text-decoration: none !important;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

/* ==========================================================================
   HERO HEADLINE AREA
   ========================================================================== */
.rt-hero-section {
    padding: 44px 0 28px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(217, 119, 6, 0.2);
}

.hero-subline {
    font-size: 17px;
    color: #d1d5db;
    margin-top: 10px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-gold-bar {
    width: 68px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    margin: 18px auto 0;
}

/* ==========================================================================
   6 ACTION CARDS GRID
   ========================================================================== */
.rt-cards-section {
    padding: 10px 0 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.action-card {
    position: relative;
    border-radius: 8px;
    height: 260px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(217, 119, 6, 0.35);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.action-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-light);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(217, 119, 6, 0.35);
}

.card-overlay {
    display: none;
}

.action-card.theme-light .card-overlay {
    display: none;
}

.card-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.card-top {
    display: flex;
    justify-content: flex-start;
}

.card-number {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--gold-light);
    position: relative;
    display: inline-block;
    line-height: 1;
}

.action-card.theme-light .card-number {
    color: #854d0e;
}

.card-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
}

.card-middle {
    margin-top: auto;
    margin-bottom: 12px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.action-card.theme-light .card-title {
    color: var(--text-dark);
    text-shadow: none;
}

.card-subtitle {
    font-size: 13px;
    color: #d1d5db;
    font-weight: 400;
    line-height: 1.4;
}

.action-card.theme-light .card-subtitle {
    color: #374151;
}

.card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.card-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(15, 17, 22, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    transition: var(--transition);
    flex-shrink: 0;
}

.action-card.theme-light .card-action-btn {
    border-color: rgba(17, 24, 39, 0.4);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-dark);
}

.action-card:hover .card-action-btn {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    transform: scale(1.08);
}

.card-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.tag-item {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #e5e7eb;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.55);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-card.theme-light .tag-item {
    color: #1f2937;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   BILGI BANKASI TEASER BANNER
   ========================================================================== */
.rt-kb-teaser {
    padding: 20px 0 50px;
}

.kb-teaser-box {
    background: linear-gradient(135deg, #101217 0%, #171920 100%);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    padding: 30px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.kb-badge {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gold-light);
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.kb-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 6px;
}

.kb-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 620px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 13px 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gold-light);
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

/* ==========================================================================
   PAGE HEADER & INNER PAGES
   ========================================================================== */
.page-header {
    padding: 40px 0 30px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.page-lead {
    font-size: 16px;
    color: #d1d5db;
    max-width: 680px;
    margin: 10px auto 0;
}

.sub-badge {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gold-light);
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.back-link {
    color: var(--gold-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 12px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Bilgi Bankası Grid */
.kb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.kb-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.kb-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(217, 119, 6, 0.2);
}

.kb-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.kb-card-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
}

.kb-card-badge {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.kb-card-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.kb-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.kb-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
}

.view-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
}

.kb-info-callout {
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.callout-icon {
    font-size: 24px;
}

.callout-text strong {
    color: var(--gold-light);
    display: block;
    margin-bottom: 4px;
}

.callout-text p {
    font-size: 14px;
    color: #d1d5db;
}

/* Detail Card View */
.detail-content-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    padding: 36px 40px;
    max-width: 820px;
    margin: 0 auto 50px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.detail-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.detail-tag {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(217, 119, 6, 0.15);
    color: var(--gold-light);
    border: 1px solid var(--gold-border);
    padding: 4px 12px;
    border-radius: 4px;
}

.detail-summary-block h3, .detail-status-block h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.detail-summary-block p, .detail-status-block p {
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.detail-status-block {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--gold);
    padding: 18px 22px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 30px;
}

.detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card, .contact-form-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px;
}

.contact-info-card h3, .contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.info-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.info-item {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-light);
    font-weight: 600;
}

.info-val {
    font-size: 16px;
    color: #ffffff;
    margin-top: 2px;
}

.security-badge-box {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 13px;
    color: #d1d5db;
}

/* Form Styles */
.rt-form .form-group {
    margin-bottom: 18px;
}

.rt-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 6px;
}

.form-input, .form-textarea {
    width: 100%;
    background: #090a0d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 11px 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.full-width {
    width: 100%;
    justify-content: center;
}

.alert-box {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 18px;
}

.alert-box.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.alert-box.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #86efac;
}

.status-placeholder-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 48px 30px;
    max-width: 650px;
    margin: 0 auto 50px;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.migration-note {
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid var(--gold-border);
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 13px;
    color: #d1d5db;
    margin-top: 20px;
    text-align: left;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.rt-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #050608;
    padding: 34px 0 28px;
}

.footer-inner {
    text-align: center;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gold-light);
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-corporate {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 14px;
}

.footer-subtext {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-subtext a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-subtext a:hover {
    color: var(--gold-light);
}

.footer-divider {
    color: #4b5563;
}

/* ==========================================================================
   INTERACTIVE MODAL
   ========================================================================== */
.rt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.rt-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.rt-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 36px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(217, 119, 6, 0.25);
    transform: scale(0.95);
    transition: var(--transition);
}

.rt-modal-overlay.open .rt-modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: #ffffff;
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #0d0f14;
    border-left: 1px solid var(--gold-border);
    z-index: 1000;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    pointer-events: none;
    transition: right 0.35s ease, visibility 0.35s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
    right: 0;
    visibility: visible;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.drawer-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 26px;
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.drawer-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

.drawer-link:hover {
    background: rgba(217, 119, 6, 0.15);
    color: #ffffff;
}

.drawer-link.sub {
    font-size: 13px;
    padding-left: 20px;
    color: #9ca3af;
}

.drawer-link.admin {
    color: var(--gold-light);
    font-weight: 600;
}

.drawer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

.drawer-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    font-weight: 700;
    padding: 4px 12px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop, Tablet, 375px Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .cards-grid .action-card {
        grid-column: span 1;
        height: 250px;
    }
    .kb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .kb-teaser-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 26px;
        letter-spacing: 2px;
    }
    .hero-subline {
        font-size: 15px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cards-grid .action-card {
        grid-column: span 1 !important;
        height: 240px;
    }
    .kb-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .detail-content-card {
        padding: 24px 20px;
    }
    .brand-title {
        font-size: 15px;
        letter-spacing: 1px;
    }
    .brand-subtitle {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .action-card {
        height: 240px;
    }
    .card-title {
        font-size: 17px;
    }
    .hero-headline {
        font-size: 22px;
    }
    .footer-subtext {
        flex-direction: column;
        gap: 4px;
    }
    .footer-divider {
        display: none;
    }
}

/* ==========================================================================
   AŞAMA 7B: KÖPEKLERİMİZ DİZİN VE PROFİL STİLLERİ (FRONTEND)
   ========================================================================== */
.dogs-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}
.tab-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(217, 119, 6, 0.25);
    text-decoration: none;
    transition: var(--transition);
}
.tab-btn:hover {
    color: #ffffff;
    border-color: var(--gold-light);
    background: rgba(217, 119, 6, 0.1);
}
.tab-btn.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
    border-color: var(--gold-light);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
}

.dogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.dog-card {
    background: var(--card-bg);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
}
.dog-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-light);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(217, 119, 6, 0.25);
}

.dog-card-media {
    position: relative;
    width: 100%;
    height: 240px;
    background: #000000;
    overflow: hidden;
}
.dog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.dog-card:hover .dog-card-media img {
    transform: scale(1.05);
}
.dog-card-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.4;
    background: #11141c;
}

.dog-gender-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}
.dog-gender-tag.erkek {
    background: rgba(30, 58, 138, 0.85);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.4);
}
.dog-gender-tag.disi {
    background: rgba(131, 24, 67, 0.85);
    color: #fbcfe8;
    border: 1px solid rgba(251, 207, 232, 0.4);
}

.dog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.dog-card-reg-name {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dog-card-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.dog-card-name a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}
.dog-card-name a:hover {
    color: var(--gold-light);
}

.dog-card-health {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.health-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.health-tag.jlpp {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

.dog-card-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dog-card-footer {
    margin-top: auto;
}
.btn-dog-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gold-border);
    border-radius: 6px;
    color: var(--gold-light);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-dog-detail:hover {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold-light);
    transform: translateX(2px);
}

/* Profil Sayfası Stilleri */
.dog-profile-page {
    min-height: 80vh;
}
.profile-breadcrumbs {
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.profile-breadcrumbs a:hover {
    color: var(--gold-light);
}
.profile-breadcrumbs .sep {
    opacity: 0.4;
}

.dog-profile-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.profile-layout-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: start;
}

.profile-media-col {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.profile-info-col {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Sol Medya: Gerçek Oranını Koruyan Modern Medya Alanı */
.profile-main-image-wrap {
    position: relative;
    width: 100%;
    min-height: 280px;
    max-height: 440px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--gold-border, rgba(217, 119, 6, 0.4));
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(217, 119, 6, 0.12);
    background: radial-gradient(circle at 50% 35%, #1e1e28 0%, #0c0c10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.profile-main-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    transition: opacity 0.3s ease;
}

.gender-pill-floating {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    z-index: 2;
}
.gender-pill-floating.erkek {
    background: rgba(30, 58, 138, 0.9);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.5);
}
.gender-pill-floating.disi {
    background: rgba(131, 24, 67, 0.9);
    color: #fbcfe8;
    border: 1px solid rgba(251, 207, 232, 0.5);
}

.profile-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.thumb-item {
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.2s ease;
    background: #000;
}
.thumb-item:hover, .thumb-item.active {
    border-color: var(--gold, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video Kartı & Oynatıcı */
.profile-video-card {
    background: rgba(18, 18, 24, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    padding: 14px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.profile-video-player-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile-video-player-wrap video,
#dogVideoPlayer {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 420px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    background: #000 !important;
}
.profile-video-iframe-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.profile-video-iframe-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-workingdog-public {
    background: #1e293b;
    border: 1px solid #334155;
    color: #cbd5e1;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}
.btn-workingdog-public:hover {
    background: #334155;
    border-color: var(--gold-light);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.profile-header-card {
    background: var(--card-bg);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.registered-name-top {
    font-size: 13.5px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    word-break: break-word;
}
.dog-profile-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    text-shadow: 0 0 20px rgba(217, 119, 6, 0.2);
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.2;
}
.profile-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13.5px;
    color: #e5e7eb;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.stat-pill strong {
    color: var(--gold-light);
}

.profile-section-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.section-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
    word-break: break-word;
}

.health-badges-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}
.health-badge-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}
.health-badge-item.active {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.05);
}
.hb-key {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}
.hb-value {
    font-size: 15px;
    font-weight: 700;
    color: #34d399;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.lineage-parents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}
.parent-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}
.p-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gold-light);
}
.parent-card .p-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3;
}
.parent-card .p-name:hover {
    color: var(--gold-light);
    text-decoration: underline;
}
.btn-workingdog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #fbbf24;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    box-sizing: border-box;
}
.btn-workingdog-link:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #fbbf24;
    color: #ffffff;
    transform: translateY(-1px);
}

.reg-specs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.spec-name {
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
}
.spec-val {
    color: #ffffff;
    font-weight: 600;
    word-break: break-all;
    overflow-wrap: anywhere;
    text-align: right;
}

.titles-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.timeline-entry {
    display: flex;
    gap: 14px;
    position: relative;
}
.t-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--gold);
}
.t-content {
    flex-grow: 1;
}
.t-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.t-title {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
}
.t-date {
    font-size: 12px;
    color: var(--gold-light);
}
.t-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 0;
}
.t-org {
    color: #d1d5db;
    font-weight: 600;
}

.profile-bio-text {
    font-size: 15px;
    line-height: 1.8;
    color: #d1d5db;
}

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-gold-outline:hover {
    background: var(--gold);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .dogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .profile-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .profile-main-image-wrap {
        max-height: 380px;
    }
    .health-badges-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-layout-grid {
        gap: 20px;
    }
    .profile-header-card,
    .profile-section-card {
        padding: 18px 20px;
    }
    .lineage-parents-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .dogs-grid {
        grid-template-columns: 1fr;
    }
    .profile-main-image-wrap {
        min-height: 220px;
        max-height: 320px;
        padding: 4px;
    }
    .profile-main-img {
        max-height: 310px;
    }
    .health-badges-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .spec-val {
        text-align: left;
    }
    .dog-profile-title {
        font-size: 26px;
    }
}

@media (max-width: 430px) {
    .profile-header-card,
    .profile-section-card {
        padding: 14px 16px;
        border-radius: 10px;
    }
    .health-badges-row {
        grid-template-columns: 1fr;
    }
    .stat-pill {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* ==========================================================================
   AŞAMA 7C — EŞLEŞME YÖNETİM SİSTEMİ (MATINGS) STİLLERİ
   ========================================================================== */

/* Directory Hero & Tabs */
.mating-directory-page {
    padding-bottom: 80px;
}

.mating-hero-banner {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, rgba(16, 18, 27, 0.95) 0%, rgba(11, 12, 16, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.mating-hero-content .hero-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--copper);
    font-weight: 700;
    margin-bottom: 12px;
    background: rgba(184, 115, 51, 0.12);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(184, 115, 51, 0.3);
}

.mating-hero-content .hero-title {
    font-family: var(--font-heading);
    font-size: 38px;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.mating-hero-content .hero-lead {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-badges .h-badge {
    font-size: 13px;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 6px 14px;
    border-radius: 6px;
}

/* Category Tabs */
.mating-tabs-wrap {
    padding: 24px 0;
    background: #0d0f14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mating-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mating-tab-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.mating-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.mating-tab-btn.active {
    background: var(--gold);
    color: #0b0c10;
    font-weight: 700;
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Cards Grid */
.mating-list-section {
    padding: 50px 0;
}

.mating-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.mating-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.mating-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
}

.mating-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 10px;
}

/* Pair Section in Cards */
.mating-card-pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px;
}

.pair-side {
    text-align: center;
}

.pair-img-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.sire-side .pair-img-wrap {
    border-color: rgba(212, 175, 55, 0.4);
}

.dam-side .pair-img-wrap {
    border-color: rgba(244, 114, 182, 0.4);
}

.pair-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pair-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: #151822;
    color: #4b5563;
}

.gender-flag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 0;
    letter-spacing: 0.5px;
}

.sire-flag {
    background: rgba(212, 175, 55, 0.9);
    color: #000;
}

.dam-flag {
    background: rgba(244, 114, 182, 0.9);
    color: #000;
}

.dog-call-name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 2px;
}

.dog-reg-name {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dog-health-mini {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.dog-health-mini span {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pair-divider .cross-icon {
    font-size: 28px;
    font-weight: 300;
    color: var(--copper);
}

/* Card Body & Dates */
.mating-card-body {
    padding: 20px;
    flex: 1;
}

.mating-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.mating-dates-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.mating-dates-bar .date-item {
    display: flex;
    flex-direction: column;
}

.mating-dates-bar .d-sub {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 2px;
}

.mating-dates-bar .d-text {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.mating-quota-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.quota-pill {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(184, 115, 51, 0.15);
    border: 1px solid rgba(184, 115, 51, 0.3);
    color: var(--gold-light);
    font-weight: 600;
}

.mating-card-snippet {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.mating-card-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.btn-mating-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(184, 115, 51, 0.2) 100%);
    border: 1px solid var(--gold);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-mating-detail:hover {
    background: var(--gold);
    color: #0b0c10;
    box-shadow: 0 0 20px var(--gold-glow);
}

/* ==========================================================================
   EŞLEŞME DETAY PROFİLİ (DUAL COMPARISON: LEFT = SIRE, RIGHT = DAM)
   ========================================================================== */

.preview-mode-banner {
    background: #b91c1c;
    color: #ffffff;
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
    border-bottom: 2px solid #ef4444;
}

.mating-breadcrumb-bar {
    padding: 16px 0;
    background: #090a0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mating-header-section {
    padding: 40px 0 30px;
    text-align: center;
    background: linear-gradient(180deg, #10121a 0%, #0b0c10 100%);
}

.mating-badges-top {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.mating-main-title {
    font-family: var(--font-heading);
    font-size: 34px;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.mating-lead-text {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Dual Dogs Comparison Grid */
.mating-comparison-section {
    padding: 40px 0;
}

.dual-dogs-comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: start;
}

.dog-col {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.sire-col {
    border-color: rgba(212, 175, 55, 0.3);
}

.dam-col {
    border-color: rgba(244, 114, 182, 0.3);
}

.dog-role-tag {
    padding: 12px 20px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
}

.sire-role {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, rgba(184, 115, 51, 0.2) 100%);
    color: var(--gold-light);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.dam-role {
    background: linear-gradient(90deg, rgba(244, 114, 182, 0.2) 0%, rgba(219, 39, 119, 0.2) 100%);
    color: #f472b6;
    border-bottom: 1px solid rgba(244, 114, 182, 0.3);
}

.dog-profile-card {
    padding: 24px;
}

.dog-avatar-wrap {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #090a0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dog-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dog-avatar-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #374151;
}

.dog-card-heading {
    text-align: center;
    margin-bottom: 16px;
}

.dog-card-heading .dog-call-name {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 4px;
}

.dog-card-heading .dog-registered-name {
    font-size: 14px;
    color: #9ca3af;
}

.dog-health-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.dog-health-badges .badge-health {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.dog-compact-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 13px;
}

.dog-compact-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dog-compact-table th {
    padding: 8px 0;
    color: #9ca3af;
    font-weight: 500;
    text-align: left;
    width: 40%;
}

.dog-compact-table td {
    padding: 8px 0;
    color: #ffffff;
    text-align: right;
}

.parent-link {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
}
.parent-link:hover {
    text-decoration: underline;
}

.dog-titles-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 20px;
}

.dog-titles-block .block-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.titles-pills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.title-pill {
    font-size: 12px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 3px solid var(--gold);
}

.working-dog-cta {
    margin-bottom: 16px;
}

.btn-wd-link {
    display: block;
    text-align: center;
    padding: 9px 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #d1d5db;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-wd-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.dog-full-profile-link .btn-full-profile {
    display: block;
    text-align: center;
    padding: 11px 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(184, 115, 51, 0.15) 100%);
    border: 1px solid var(--gold);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.dog-full-profile-link .btn-full-profile:hover {
    background: var(--gold);
    color: #0b0c10;
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Center Divider */
.mating-center-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 10px;
    margin-top: 150px;
}

.cross-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #141720;
    border: 2px solid var(--copper);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    box-shadow: 0 0 20px rgba(184, 115, 51, 0.3);
    margin-bottom: 8px;
}

.divider-text {
    font-size: 11px;
    letter-spacing: 2px;
    color: #9ca3af;
    font-weight: 700;
}

/* Operational Timeline Section */
.mating-timeline-section {
    padding: 20px 0 40px;
}

.timeline-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.t-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.t-card.highlight {
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, var(--bg-card) 100%);
}

.t-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.t-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.t-value {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.t-note {
    font-size: 12px;
    color: var(--text-muted);
}

.t-note.status-highlight {
    color: var(--gold-light);
    font-weight: 600;
}

/* Knowledge Section */
.mating-knowledge-section {
    padding: 30px 0 50px;
}

.knowledge-cards-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.k-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
}

.k-card.full-span {
    grid-column: 1 / -1;
}

.k-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.k-icon {
    font-size: 22px;
}

.k-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

.k-body p {
    font-size: 14px;
    line-height: 1.7;
    color: #d1d5db;
    margin: 0;
}

/* Pedigree Placeholder Slot */
.pedigree-slot-section {
    padding: 20px 0 50px;
}

.pedigree-slot-box {
    background: linear-gradient(180deg, #12141c 0%, #0d0f14 100%);
    border: 1px solid rgba(184, 115, 51, 0.3);
    border-radius: 14px;
    padding: 32px;
    text-align: center;
}

.slot-badge {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--copper);
    font-weight: 700;
    background: rgba(184, 115, 51, 0.12);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.pedigree-slot-box h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 8px;
}

.pedigree-slot-box p {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 24px;
}

.pedigree-lineage-preview {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.lineage-ancestor {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    color: #d1d5db;
}

.anc-role {
    color: var(--gold-light);
    font-weight: 600;
    margin-right: 6px;
}

.slot-notice {
    font-size: 12px;
    color: #6b7280;
}

/* Reservation CTA Section */
.mating-reservation-cta-section {
    padding: 30px 0 60px;
}

.reservation-cta-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(184, 115, 51, 0.12) 100%), #10121a;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.1);
}

.cta-subtitle {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--copper);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 15px;
    color: #d1d5db;
    max-width: 680px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gold);
    color: #0b0c10;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-cta-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--gold-glow);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-assurance {
    font-size: 12px;
    color: #9ca3af;
}

/* Status Pills */
.status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-planlandi { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-eslesme_gerceklesti { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-gebelik_bekleniyor { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.status-gebelik_onaylandi { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-dogum_gerceklesti { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
.status-rezervasyon_acik { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.status-rezervasyon_kapali { background: rgba(107, 114, 128, 0.15); color: #9ca3af; border: 1px solid rgba(107, 114, 128, 0.3); }
.status-tamamlandi { background: rgba(156, 163, 175, 0.15); color: #d1d5db; border: 1px solid rgba(156, 163, 175, 0.3); }
.status-iptal_edildi { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.res-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.res-henuz_acilmadi { background: rgba(107, 114, 128, 0.12); color: #9ca3af; border: 1px solid rgba(107, 114, 128, 0.2); }
.res-rezervasyon_acik { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.res-sinirli_kontenjan { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.res-dolu { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.res-kapali { background: rgba(75, 85, 99, 0.15); color: #9ca3af; border: 1px solid rgba(75, 85, 99, 0.3); }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .mating-cards-grid {
        grid-template-columns: 1fr;
    }
    .dual-dogs-comparison-grid {
        grid-template-columns: 1fr;
    }
    .mating-center-divider {
        margin: 10px 0;
        padding: 10px 0;
    }
    .timeline-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .knowledge-cards-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mating-card-pair {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pair-divider {
        display: none;
    }
    .mating-dates-bar {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .timeline-cards-grid {
        grid-template-columns: 1fr;
    }
    .mating-main-title {
        font-size: 24px;
    }
    .cta-title {
        font-size: 24px;
    }
    .cta-actions {
        flex-direction: column;
    }
    .btn-cta-primary, .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   AŞAMA 7D: PEDIGREE / ŞECERE MOTORU STİLLERİ
   ========================================================================== */

.pedigree-engine-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.pedigree-glass-panel {
    background: linear-gradient(180deg, #131722 0%, #0c0e14 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.pedigree-page-header {
    background: linear-gradient(180deg, #161b26 0%, #0d0f14 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px 0 24px;
}

.pedigree-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.pedigree-subtitle {
    font-size: 15px;
    margin-top: 6px;
}

.pedigree-spec-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ribbon-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.ribbon-item .r-label {
    color: #9ca3af;
}

.ribbon-item .r-val {
    font-weight: 600;
}

.panel-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.panel-top-bar h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #ffffff;
    margin: 0;
}

.badge-depth {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-weight: 600;
}

/* Scroll Container */
.pedigree-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}

.pedigree-mobile-hint {
    background: rgba(212, 175, 55, 0.1);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    color: var(--gold-light);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Grid Table */
.pedigree-grid-table {
    display: grid;
    grid-template-columns: 280px 320px 360px;
    gap: 20px;
    min-width: 980px;
    align-items: stretch;
}

.pedigree-col {
    display: flex;
    flex-direction: column;
}

.gen-col-header {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gen-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--gold-light);
    letter-spacing: 1px;
}

.gen-title {
    font-size: 12px;
    color: #9ca3af;
}

.gen-col-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
}

.gen-col-body.justify-center {
    justify-content: center;
}

.gen-col-body.split-halves {
    justify-content: space-around;
    gap: 20px;
}

.gen-col-body.quarters-layout {
    justify-content: space-between;
    gap: 12px;
}

/* Card Styles */
.pedigree-card {
    background: #11141c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.pedigree-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.pedigree-card.male {
    border-left: 4px solid #d4af37;
}

.pedigree-card.female {
    border-left: 4px solid #ec4899;
}

.pedigree-card.is-empty {
    border: 1px dashed rgba(255, 255, 255, 0.15);
    background: rgba(17, 20, 28, 0.4);
    opacity: 0.65;
}

.pedigree-card.is-external {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, #11141c 100%);
}

.pedigree-card.is-circular {
    border: 2px solid #ef4444;
}

.p-role-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pedigree-card.male .p-role-badge { color: #f59e0b; }
.pedigree-card.female .p-role-badge { color: #f472b6; }
.pedigree-card.is-empty .p-role-badge { color: #6b7280; }

.p-badge-ext {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
    margin-left: auto;
}

.p-badge-circ {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    margin-left: auto;
}

.pedigree-node-content {
    display: flex;
    gap: 12px;
}

.pedigree-avatar-wrap {
    flex-shrink: 0;
}

.pedigree-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pedigree-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pedigree-avatar-placeholder.male {
    background: rgba(212, 175, 55, 0.1);
    color: #f59e0b;
}

.pedigree-avatar-placeholder.female {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.pedigree-info-wrap {
    flex: 1;
    min-width: 0;
}

.p-call-name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    display: block;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.p-call-name.hover-gold:hover {
    color: var(--gold-light);
}

.p-reg-name {
    font-size: 11px;
    color: #9ca3af;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: italic;
    margin-bottom: 6px;
}

.p-health-mini-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.p-hpill {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-weight: 600;
}

.p-title-badge {
    font-size: 10.5px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-block;
    margin-bottom: 6px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-meta-specs {
    font-size: 10.5px;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.p-wd-link-wrap {
    margin-top: 6px;
}

.p-wd-link {
    font-size: 10px;
    color: #60a5fa;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.p-wd-link:hover {
    background: rgba(59, 130, 246, 0.2);
}

/* Empty Node Body */
.pedigree-empty-body {
    text-align: center;
    padding: 10px;
}

.empty-icon {
    font-size: 20px;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}

.empty-title {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    margin: 0;
}

.empty-sub {
    font-size: 10px;
    color: #6b7280;
}

/* Connectors */
.pedigree-branch, .pedigree-quarter-slot {
    position: relative;
}

/* Mating Pedigree Tab Nav */
.mating-pedigree-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.m-ped-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d1d5db;
    padding: 10px 22px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.m-ped-tab:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: #ffffff;
}

.m-ped-tab.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--copper) 100%);
    border-color: var(--gold-light);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

/* Mobile Accordion */
.pedigree-mobile-accordion {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px;
}

.accordion-info-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.pedigree-mob-sec {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
}

.pedigree-mob-sec summary {
    font-size: 13px;
    cursor: pointer;
    color: #e5e7eb;
}

.mob-cards-list {
    margin-top: 8px;
    padding-left: 12px;
}

.mob-card-item {
    font-size: 12px;
    padding: 4px 0;
    color: #d1d5db;
}

.pedigree-panel-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
    margin-top: 24px;
}

/* ==========================================================================
   AŞAMA 8G.1: KURUMSAL GÜVEN & RUHSATLI YETİŞTİRİCİ KİMLİĞİ (SOL ALT ALAN)
   ========================================================================== */
.rt-corporate-trust-section {
    padding: 10px 0 50px;
}

.trust-container-wrapper {
    display: flex;
    align-items: stretch;
    gap: 28px;
    background: linear-gradient(135deg, rgba(16, 18, 23, 0.95) 0%, rgba(23, 25, 32, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.trust-seal-col {
    flex: 0 0 280px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
}

.seal-badge-card {
    background: rgba(10, 12, 16, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.ruhsatli-muhur-img {
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1473 / 1068;
    display: block;
    margin: 0 auto 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    border-radius: 4px;
}

.seal-meta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 10px;
    width: 100%;
}

.seal-auth-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-light, #fbbf24);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.seal-sub-text {
    font-size: 11px;
    color: #9ca3af;
}

.trust-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-info-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-badge-pill {
    align-self: flex-start;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gold-light, #fbbf24);
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(217, 119, 6, 0.12);
    border: 1px solid rgba(217, 119, 6, 0.35);
    padding: 4px 12px;
    border-radius: 20px;
}

.trust-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.3;
}

.trust-desc {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.trust-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 6px 12px;
    border-radius: 6px;
}

.trust-feat-icon {
    font-size: 16px;
}

.trust-feat-text {
    font-size: 12px;
    font-weight: 600;
    color: #e5e7eb;
}

@media (max-width: 900px) {
    .trust-container-wrapper {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .trust-seal-col {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .ruhsatli-muhur-img {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .trust-container-wrapper {
        padding: 16px;
        gap: 16px;
    }
    .trust-features-row {
        flex-direction: column;
        gap: 8px;
    }
    .trust-title {
        font-size: 18px;
    }
    .trust-desc {
        font-size: 13px;
    }
    .ruhsatli-muhur-img {
        max-width: 190px;
    }
}

/* ==========================================================================
   AŞAMA 8U: ÜYE PORTALI NAVİGASYON RESPONSIVE WRAP & SIFIR YATAY TAŞMA
   ========================================================================== */
.member-portal-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    overflow-x: visible !important;
}
.member-portal-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}
@media (max-width: 640px) {
    .member-portal-nav {
        gap: 6px;
    }
}

/* ==========================================================================
   AŞAMA 9F: ANA SAYFA 3 BİLGİLENDİRME BÖLÜMÜ STİLLERİ & MOBİL UYUM
   ========================================================================== */
.detail-lead-p {
    font-size: 16px;
    line-height: 1.8;
    color: #e5e7eb;
    margin-bottom: 28px;
    font-weight: 400;
}

.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin: 20px 0 32px;
}

.detail-feature-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: 8px;
    padding: 18px 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.detail-feature-card:hover {
    border-color: var(--gold);
    background: rgba(217, 119, 6, 0.05);
    transform: translateY(-2px);
}

.detail-feature-icon {
    font-size: 26px;
    margin-bottom: 8px;
    display: block;
}

.detail-feature-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-feature-desc {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

.detail-section-block {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-section-block:last-child {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.detail-section-title {
    font-family: var(--font-heading);
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.detail-section-title span.sec-num {
    color: var(--gold-light);
    font-size: 15px;
    font-family: var(--font-sans);
    font-weight: 700;
}

.detail-text {
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-list-item {
    position: relative;
    padding-left: 26px;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.65;
}

.detail-list-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: bold;
}

.detail-notice-box {
    background: rgba(217, 119, 6, 0.08);
    border-left: 4px solid var(--gold);
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}

.detail-notice-box.warning {
    background: rgba(239, 68, 68, 0.08);
    border-left-color: #ef4444;
}

.detail-notice-box.info {
    background: rgba(217, 119, 6, 0.08);
    border-left-color: var(--gold);
}

.detail-notice-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--gold-light);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-notice-box.warning .detail-notice-title {
    color: #f87171;
}

.detail-notice-text {
    font-size: 14px;
    color: #e5e7eb;
    line-height: 1.65;
    margin: 0;
}

.detail-rules-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.detail-rule-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 22px;
    transition: border-color 0.2s;
}

.detail-rule-card.highlight {
    border-color: rgba(217, 119, 6, 0.4);
    background: rgba(217, 119, 6, 0.04);
}

.detail-rule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-rule-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-rule-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--gold-light);
    border: 1px solid var(--gold-border);
}

.detail-rule-body {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.7;
}

.detail-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.detail-faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 18px 20px;
}

.detail-faq-q {
    font-weight: 600;
    font-size: 15px;
    color: #f9fafb;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.detail-faq-q-icon {
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    font-weight: 700;
}

.detail-faq-a {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.65;
    margin: 0;
    padding-left: 26px;
}

@media (max-width: 640px) {
    .detail-content-card {
        padding: 22px 16px !important;
        margin-bottom: 30px !important;
    }
    .detail-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .detail-rule-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .detail-section-title {
        font-size: 17px;
    }
    .detail-actions {
        flex-direction: column;
        gap: 10px;
    }
    .detail-actions .btn-gold,
    .detail-actions .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .detail-faq-a {
        padding-left: 0;
        margin-top: 6px;
    }
}

