/* yenikentadapazarispor.org.tr — index4.html temelli açık tasarım */
:root {
    --brand-blue: #2148a3;
    --brand-red: #db2b1c;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --text-main: #1a2b4c;
    --text-dark: #0f172a;
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);

    --primary-color: var(--brand-blue);
    --primary-dark: #17377f;
    --accent-color: var(--brand-red);
    --bg-dark: var(--bg-white);
    --bg-card: var(--bg-white);
    --text-light: var(--text-main);
    --text-muted: #64748b;
    --border-color: var(--border-light);
}

html {
    color-scheme: light;
    background: var(--bg-white);
}

body {
    background: var(--bg-white) !important;
    color: var(--text-main) !important;
}

body h1,
body h2,
body h3,
body h4 {
    color: var(--text-dark);
}

/* Açık header ve masaüstü menü */
#main-header,
#main-header.scrolled {
    background: rgba(255, 255, 255, .97) !important;
    border-bottom: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-sm) !important;
}

#main-header.scrolled {
    box-shadow: var(--shadow-md) !important;
}

#main-header .nav-container {
    padding-top: .8rem;
    padding-bottom: .8rem;
}

#main-header .site-logo {
    height: 60px;
}

#main-header .logo-text {
    color: var(--brand-blue);
}

#main-header .logo-text span {
    color: var(--brand-red);
}

#main-header .nav-links > li > a,
#main-header .dropdown-toggle {
    color: var(--text-main);
}

#main-header .nav-links > li > a:hover,
#main-header .nav-links > li > a:focus-visible,
#main-header .dropdown-toggle:hover,
#main-header .dropdown-toggle:focus-visible,
#main-header .nav-links a.is-active,
#main-header .dropdown.has-current > .dropdown-toggle {
    color: var(--brand-red);
}

#main-header .dropdown-content {
    background: var(--bg-white);
    border-color: var(--border-light);
    border-top: 3px solid var(--brand-blue);
    border-radius: 0 0 4px 4px;
    box-shadow: var(--shadow-lg);
}

#main-header .dropdown-content a {
    color: var(--text-main);
    border-bottom-color: var(--border-light);
}

#main-header .dropdown-content a:hover,
#main-header .dropdown-content a:focus-visible,
#main-header .dropdown-content a.is-active {
    color: var(--brand-blue);
    background: var(--bg-gray);
}

#main-header .mobile-menu-btn {
    color: var(--brand-blue);
    background: var(--bg-white);
    border-color: var(--border-light);
}

/* Slider/hero: mevcut görsel görünür kalır, yalnızca okunabilirlik kaplaması kullanılır. */
.hero {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .70), rgba(15, 23, 42, .30), rgba(15, 23, 42, .68)),
        linear-gradient(180deg, rgba(15, 23, 42, .05) 34%, rgba(15, 23, 42, .44) 100%),
        url('/assets/futbol-ekipmanlari-hero-v2.png?v=20260828') center/cover no-repeat !important;
}

.hero h1 {
    color: #fff !important;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .55);
}

.hero h1 span {
    color: var(--brand-red) !important;
}

.hero p {
    color: #e2e8f0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

/* Butonların mevcut geometri ve renk davranışı korunur. */
.hero .btn-primary,
.status-action:not(.secondary),
.submit-button,
.btn-submit {
    color: #fff !important;
    background: var(--brand-blue) !important;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible,
.status-action:not(.secondary):hover,
.status-action:not(.secondary):focus-visible,
.submit-button:hover,
.submit-button:focus-visible,
.btn-submit:hover,
.btn-submit:focus-visible {
    color: #fff !important;
    background: var(--brand-red) !important;
}

.hero .home-register-btn {
    color: #fff !important;
    background: var(--brand-red) !important;
}

.status-action.secondary {
    color: var(--brand-red) !important;
    background: var(--brand-red) !important;
}

.hero .home-register-btn::before {
    background: rgba(15, 23, 42, .94) !important;
}

.status-action.secondary::before {
    background: var(--bg-white) !important;
}

.hero .home-register-btn:hover::before,
.hero .home-register-btn:focus-visible::before,
.status-action.secondary:hover::before,
.status-action.secondary:focus-visible::before {
    background: var(--brand-red) !important;
}

.status-action.secondary:hover,
.status-action.secondary:focus-visible {
    color: #fff !important;
}

/* Ana sayfa açık yüzeyleri */
.match-strip {
    max-width: 1400px;
    margin: -30px auto 0 !important;
    padding: 1.5rem 0 !important;
    color: var(--text-main) !important;
    background: var(--bg-white) !important;
    border-top: 4px solid var(--brand-blue) !important;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .08);
}

.match-strip .teams {
    color: var(--text-dark);
}

.match-strip .next-match > span {
    color: var(--text-muted) !important;
}

.section {
    color: var(--text-main);
}

.section-header {
    border-bottom: 2px solid var(--border-light) !important;
}

.section-title {
    color: var(--brand-blue) !important;
}

.section-title::after {
    background: var(--brand-red) !important;
}

.archive-section {
    background: var(--bg-gray) !important;
    border-top: 1px solid var(--border-light) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.news-card,
.content-box,
.profile-card,
.contact-info-box,
.registration-info,
.registration-form,
.status-card,
.timeline .content {
    color: var(--text-main) !important;
    background: var(--bg-white) !important;
    border-color: var(--border-light) !important;
    box-shadow: var(--shadow-sm) !important;
}

.news-card:hover,
.content-box:hover,
.profile-card:hover,
.timeline .content:hover {
    border-color: var(--brand-blue) !important;
    box-shadow: var(--shadow-lg) !important;
}

.news-title,
.content-box h2,
.profile-info h2,
.contact-info-box h3,
.contact-form-box h3,
.registration-info h2,
.registration-form h2,
.status-card h1,
.timeline .content h3 {
    color: var(--text-dark) !important;
}

.news-date,
.page-hero h1 span,
.registration-hero h1 span,
.content-box > i,
.profile-info h4,
.status-kicker,
.status-icon,
.registration-info i,
.contact-info-box .info-icon {
    color: var(--brand-red) !important;
}

.news-card:hover .news-title {
    color: var(--brand-blue) !important;
}

.archive-year-card {
    background: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
    box-shadow: var(--shadow-md) !important;
}

.archive-year-card .year-text {
    color: #fff;
}

.gallery-item {
    border-color: var(--border-light) !important;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Alt sayfa başlıkları ve içerik alanları */
.page-hero,
.registration-hero {
    background:
        radial-gradient(circle at 50% 0%, rgba(33, 72, 163, .10), transparent 48%),
        linear-gradient(180deg, #fff 0%, var(--bg-gray) 100%) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.page-hero h1,
.registration-hero h1 {
    color: var(--text-dark) !important;
}

.page-hero p,
.registration-hero p,
.content-box p,
.profile-info p,
.status-card p,
.registration-info p,
.registration-info li,
.contact-form-box p,
.info-text p,
.timeline .content p {
    color: var(--text-muted) !important;
}

.status-page {
    background:
        radial-gradient(circle at 50% 0%, rgba(33, 72, 163, .09), transparent 38%),
        var(--bg-gray) !important;
}

.status-icon {
    background: rgba(219, 43, 28, .06) !important;
    border-color: rgba(219, 43, 28, .22) !important;
}

.profile-photo {
    color: var(--text-muted) !important;
    background: var(--bg-gray) !important;
    border-color: var(--border-light) !important;
}

.form-control {
    color: var(--text-main) !important;
    background: var(--bg-white) !important;
    border-color: var(--border-light) !important;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 3px rgba(33, 72, 163, .10) !important;
}

.info-item {
    border-bottom-color: var(--border-light) !important;
}

.map-section {
    background: var(--bg-gray) !important;
    border-color: var(--border-light) !important;
}

.map-section iframe {
    filter: none !important;
}

.iframe-wrapper {
    background: var(--bg-white) !important;
    border-color: var(--border-light) !important;
    box-shadow: var(--shadow-md) !important;
}

.timeline::after,
.timeline-item::after {
    background: var(--brand-blue) !important;
    border-color: var(--bg-white) !important;
}

.timeline .year {
    color: var(--brand-red) !important;
}

/* Footer koyu kalır; index4 tasarımındaki kapanış yüzeyi. */
footer {
    color: #cbd5e1 !important;
    background: #0f172a !important;
    border-top-color: rgba(255, 255, 255, .10) !important;
}

footer .footer-col h4 {
    color: #fff !important;
}

footer .footer-description,
footer .footer-links li,
footer .footer-links a {
    color: #cbd5e1 !important;
}

footer .footer-links i,
footer .footer-links a:hover,
footer .footer-links a:focus-visible {
    color: var(--brand-red) !important;
}

footer .social-links a,
footer .social-placeholder {
    color: #fff !important;
    background: rgba(255, 255, 255, .05) !important;
    border-color: rgba(255, 255, 255, .10) !important;
}

footer .social-links a:hover,
footer .social-links a:focus-visible {
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
}

footer .footer-bottom {
    color: #64748b !important;
    border-top-color: rgba(255, 255, 255, .10) !important;
}

@media (max-width: 768px) {
    #main-header .nav-links {
        background: var(--bg-white) !important;
        border-top-color: var(--border-light) !important;
        box-shadow: var(--shadow-md);
    }

    #main-header .nav-links > li > a,
    #main-header .dropdown-toggle {
        color: var(--text-main);
        border-bottom-color: var(--border-light);
    }

    #main-header .dropdown-content {
        background: var(--bg-gray) !important;
        border-left-color: var(--brand-blue) !important;
    }

    .match-strip {
        margin-top: 0 !important;
        border-top: 0 !important;
        border-radius: 0;
    }
}
