/* ===== BEBEK ISIMLERI - MODERN THEME ===== */

:root {
    --primary: #e8739b;
    --primary-dark: #d4567e;
    --secondary: #6c8eef;
    --accent: #f9a825;
    --bg-light: #fef7f9;
    --bg-body: #f5f0f3;
    --text-dark: #2d2d3a;
    --text-muted: #6b6b7b;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
    --border-radius: 12px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== NAVBAR ===== */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary) !important;
}

.navbar {
    background: #fff !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    padding: 0.6rem 0;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar .nav-link:hover {
    background: var(--bg-light);
    color: var(--primary) !important;
}

.navbar .search-form .form-control {
    border-radius: 20px;
    border: 2px solid #eee;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.navbar .search-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 115, 155, 0.15);
}

.navbar .search-form .btn-search {
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    transition: background 0.2s;
}

.navbar .search-form .btn-search:hover {
    background: var(--primary-dark);
}

/* ===== CARDS & CONTAINERS ===== */
.content-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ===== ALPHABET SIDEBAR ===== */
.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.alphabet-grid .letter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 8px;
    border: 2px solid #eee;
    background: #fff;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.alphabet-grid .letter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* ===== NAME BUTTONS (listing) ===== */
.name-btn {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: 2px solid #eee;
    background: #fff;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.name-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 115, 155, 0.25);
    text-decoration: none;
}

/* ===== HEADINGS ===== */
h1 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h2 {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    border-radius: 8px !important;
    margin: 0 3px;
    border: 2px solid #eee;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.4rem 0.8rem;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .page-link:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== TABLES ===== */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    background: var(--bg-light);
    border-bottom: 2px solid var(--primary);
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.75rem;
}

.table td {
    padding: 0.7rem 0.75rem;
    vertical-align: middle;
}

/* ===== DETAIL PAGE ===== */
.detail-nav-list {
    list-style: none;
    padding: 0;
}

.detail-nav-list li {
    margin-bottom: 0.5rem;
}

.detail-nav-list li a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0;
    display: inline-block;
    transition: color 0.2s;
}

.detail-nav-list li a:hover {
    color: var(--primary);
}

.detail-nav-list li a::before {
    content: "\f138";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 0.75rem;
    color: var(--primary);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: opacity 0.2s;
    width: 100%;
    justify-content: center;
}

.share-btn:hover {
    opacity: 0.85;
    color: #fff;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }


.fig {
    display: inline-block;
    text-align: center;
    margin: 0.3rem;
}

.fig img {
    width: 40px;
    height: 40px;
}

.fig figcaption {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 2px;
}

.digerdillerbox {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary);
    background: var(--bg-light);
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 8px;
}


/* ===== FOOTER ===== */
footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

footer .footer-links a:hover {
    color: var(--primary);
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: all 0.2s;
}

footer .social-links a:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== FORMS ===== */
.form-control {
    border-radius: 8px;
    border: 2px solid #eee;
    padding: 0.6rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 115, 155, 0.15);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ===== ALERTS ===== */
.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

/* ===== SIDEBAR LINKS ===== */
.sidebar-link {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 2px solid #eee;
    background: #fff;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.sidebar-link:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    text-decoration: none;
}

/* ===== CONTACT FORM ===== */
.contact-box {
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}


/* ===== HOMEPAGE ===== */
.hero-image {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* ===== HERO SEARCH ===== */
.hero-search {
    background: linear-gradient(135deg, #fef7f9 0%, #f0e6f6 50%, #e8f0fe 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-search-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.hero-input-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 6px 6px 6px 20px;
    position: relative;
}

.hero-input-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.hero-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
    padding: 0.6rem 0;
    background: transparent;
    min-width: 0;
}

.hero-input::placeholder {
    color: #bbb;
}

.hero-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hero-submit-btn:hover {
    background: var(--primary-dark);
}

.hero-quick-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.hero-quick-btn.erkek {
    background: #e7f5ff;
    color: #1971c2;
    border-color: #a5d8ff;
}

.hero-quick-btn.erkek:hover {
    background: #1971c2;
    color: #fff;
}

.hero-quick-btn.kiz {
    background: #fff0f6;
    color: #c2255c;
    border-color: #fcc2d7;
}

.hero-quick-btn.kiz:hover {
    background: #c2255c;
    color: #fff;
}

.hero-quick-btn.unisex {
    background: #f4fce3;
    color: #5c940d;
    border-color: #c0eb75;
}

.hero-quick-btn.unisex:hover {
    background: #5c940d;
    color: #fff;
}

/* ===== HERO AUTOCOMPLETE ===== */
.hero-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.hero-autocomplete.active {
    display: block;
}

.hero-autocomplete a {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}

.hero-autocomplete a:last-child {
    border-bottom: none;
}

.hero-autocomplete a:hover {
    background: var(--bg-light);
}

.hero-autocomplete a i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* ===== TIPS ACCORDION ===== */
.tips-accordion .accordion-item {
    border: none;
    border-radius: 10px !important;
    margin-bottom: 8px;
    overflow: hidden;
}

.tips-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 10px !important;
}

.tips-accordion .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

.tips-accordion .accordion-button:focus {
    box-shadow: none;
}

.tips-accordion .accordion-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ===== INFO BADGE CARDS (detail page) ===== */
.info-badge-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.info-badge-card.success {
    background: #e6fcf5;
    border-left: 4px solid #20c997;
}

.info-badge-card.danger {
    background: #fff5f5;
    border-left: 4px solid #fa5252;
}

.info-badge-card.quran {
    background: #fff9db;
    border-left: 4px solid #fab005;
}

.info-badge-card.neutral {
    background: #f1f3f5;
    border-left: 4px solid #adb5bd;
}

.info-badge-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-badge-card.success .info-badge-icon { color: #20c997; }
.info-badge-card.danger .info-badge-icon { color: #fa5252; }
.info-badge-card.quran .info-badge-icon { color: #fab005; }
.info-badge-card.neutral .info-badge-icon { color: #adb5bd; }

.info-badge-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.info-badge-text strong {
    display: block;
    margin-bottom: 2px;
}

/* ===== STAT CARDS ===== */
.stat-card {
    text-align: center;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(232, 115, 155, 0.3);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.back-to-top.visible {
    display: flex;
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .alphabet-grid {
        grid-template-columns: repeat(7, 1fr);
        margin-bottom: 1rem;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }

    .share-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .hero-search {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-quick-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

    .info-badge-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}
