/**
 * Dark Network - Public (tanıtım sitesi) UI
 * Hero, homepage bölümleri, etkinlik listesi; inline'dan taşınan semantik class'lar
 */

/* Kurallar / Hakkımızda — prose-* yerine */
.dn-prose {
    max-width: none;
    font-size: 1.125rem;
    line-height: 1.75;
}

/* Etkinlik kartı (liste + anasayfa highlight) */
.dn-event-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.15s ease;
}

.dn-event-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dn-event-card--relative {
    position: relative;
}

/* Başvuru sayfası dar içerik sütunu */
.dn-apply-shell {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .dn-apply-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .dn-apply-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Public header menu: explicit responsive behavior */
.public-desktop-nav {
    display: none;
}

.dn-public-desktop-nav {
    align-items: center;
    gap: 2rem;
}

.public-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: #374151;
    cursor: pointer;
}

.public-mobile-toggle:hover {
    color: #111827;
    background-color: #f3f4f6;
}

.public-mobile-nav {
    display: block;
}

.public-mobile-nav.dn-hidden {
    display: none;
}

@media (min-width: 768px) {
    .public-desktop-nav {
        display: flex;
    }

    .public-mobile-toggle,
    .public-mobile-nav {
        display: none !important;
    }
}

/* Mobil açılır menü: CTA tam genişlik + içerik ortalı (inline-flex bazen sağa kayıyordu) */
.public-mobile-nav a.dn-btn {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-self: stretch;
}

.dn-public-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.dn-public-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    transition: height 0.2s ease;
}

.dn-public-header__brand {
    flex-shrink: 0;
}

.dn-public-header__brand-link {
    display: flex;
    align-items: center;
}

.dn-public-header__logo {
    height: 2rem;
    width: auto;
    transition: height 0.2s ease;
}

.dn-public-header__menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: width 0.2s ease, height 0.2s ease;
}

.dn-public-header__title {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 700;
    color: #111827;
    transition: font-size 0.2s ease;
}

.dn-public-nav-link {
    color: #374151;
    transition: color 0.15s ease;
}

.dn-public-nav-link:hover {
    color: #111827;
}

.dn-public-mobile-menu {
    padding-bottom: 1rem;
}

.dn-public-mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dn-public-mobile-menu__item {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    color: #374151;
}

.dn-public-mobile-menu__item:hover {
    background-color: #f3f4f6;
}

@media (max-width: 767px) {
    .dn-public-header--compact .dn-public-header__bar {
        height: 3.25rem;
    }

    .dn-public-header--compact .dn-public-header__logo {
        height: 1.75rem;
    }

    .dn-public-header--compact .dn-public-header__title {
        font-size: 1.25rem;
    }

    .dn-public-header--compact .public-mobile-toggle {
        width: 2.25rem;
        height: 2.25rem;
    }

    .dn-public-header--compact .dn-public-header__menu-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}




/* Shared inner page banner (home/apply hariç) */
.dn-page-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-image: url('/images/page-banner.jpg');
    background-size: cover;
    background-position: center;
}

.dn-page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.6));
}

.dn-page-banner-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.dn-page-banner-title {
    margin: 0;
    font-size: 2.4rem;
    line-height: 1.1;
    font-weight: 800;
}

.dn-page-banner-subtitle {
    margin: 1rem auto 0;
    max-width: 52rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    line-height: 1.75;
}

.dn-page-join {
    margin-top: 1rem;
}

.dn-page-join--dark {
    background-color: #000000;
    color: #ffffff;
}

.dn-page-join__inner {
    text-align: center;
}

.dn-page-join__title {
    margin: 0 0 1.5rem;
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
}

.dn-page-join__lead {
    margin: 0 auto 2rem;
    max-width: 42rem;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #d1d5db;
}



/* About page */
.dn-about-wrap {
    max-width: 56rem;
    margin: 0 auto;
}

.dn-about-flow section + section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.dn-about-main-title {
    font-size: 2rem;
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: 800;
    color: #111827;
}

.dn-about-sub-title {
    margin: 0 0 0.9rem;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.dn-about-flow p {
    margin: 0 0 0.9rem;
    color: #4b5563;
    font-size: 1.06rem;
    line-height: 1.8;
}

.dn-about-flow p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .dn-page-banner {
        min-height: 360px;
    }

    .dn-page-banner-title {
        font-size: 3.1rem;
    }

    .dn-about-main-title {
        font-size: 2.2rem;
    }
}


/* Public typography consistency */
.dn-public-section-title {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #111827;
}

.dn-public-card-title {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #111827;
}

.dn-public-lead {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.75;
}


/* Footer social icons (semi-static from site settings) */
.dn-footer-shell {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.dn-footer-wrap {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .dn-footer-wrap {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

.dn-footer-column {
    min-width: 0;
}

.dn-footer-columns {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dn-footer-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dn-footer-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dn-footer-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.dn-footer-heading {
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.75rem;
}

.dn-footer-links {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.dn-footer-links li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.dn-footer-links li + li {
    margin-top: 0.375rem;
}

.dn-footer-link {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #4b5563;
}

.dn-footer-link:hover {
    color: #111827;
}

.dn-footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.75rem;
    color: #4b5563;
}

.dn-footer-social {
    min-width: 0;
}

.dn-footer-social__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dn-footer-social__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.15s ease;
}

.dn-footer-social__icon:hover {
    color: #111827;
    border-color: #9ca3af;
    background: #f9fafb;
}

.dn-footer-social__icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

@media (min-width: 1024px) {
    .dn-footer-columns {
        align-items: start;
    }

    .dn-footer-column {
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .dn-footer-social {
        text-align: left;
    }

    .dn-footer-social__icons {
        justify-content: flex-start;
    }
}

/* İçerik sayfaları — dar sütun, gövde metni, etkinlik kartı detayları */
.dn-container--narrow {
    max-width: 56rem;
}

.dn-public-body {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

.dn-public-body--compact {
    margin-bottom: 1rem;
}

.dn-public-note {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
    margin: 0;
}

.dn-public-ul {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.75;
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
}

.dn-mt-section {
    margin-top: 2rem;
}

.dn-mb-section {
    margin-bottom: 4rem;
}

.dn-mb-6 {
    margin-bottom: 1.5rem;
}

.dn-public-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dn-public-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dn-public-events-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dn-event-card__media {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.dn-event-card__excerpt {
    color: #4b5563;
    margin: 0 0 1rem;
    line-height: 1.6;
}

.dn-event-card__meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.dn-event-card__meta strong {
    font-weight: 600;
}

.dn-event-card__sep {
    margin: 0 0.25rem;
}

.dn-event-card__meta-line {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.dn-event-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.dn-event-card__wa {
    color: #6b7280;
    transition: color 0.15s ease;
}

.dn-event-card__wa:hover {
    color: #1f2937;
}

.dn-event-card__icon {
    width: 1.25rem;
    height: 1.25rem;
}

.dn-event-card__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #6b7280;
}

/* Anasayfa — etkinlik öne çıkan bölümü */
.dn-home-section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.dn-home-section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #111827;
}

@media (min-width: 768px) {
    .dn-home-section-title {
        font-size: 3rem;
        line-height: 1;
    }
}

.dn-home-section-lead {
    font-size: 1.25rem;
    line-height: 1.75;
    color: #4b5563;
    margin: 0;
}

.dn-home-section-lead--narrow {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.dn-home-events-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dn-home-events-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dn-home-cta-row {
    text-align: center;
    margin-top: 3rem;
}

/* Başvuru sayfası */
.dn-apply-page-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin: 0 0 2rem;
    text-align: center;
    color: #111827;
}

@media (min-width: 768px) {
    .dn-apply-page-title {
        font-size: 3rem;
        line-height: 1;
    }
}

.dn-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dn-form-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.dn-char-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.dn-mb-1 {
    margin-bottom: 0.25rem;
}

.dn-kvkk-panel {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: #f9fafb;
}

.dn-kvkk-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 0.5rem;
}

.dn-kvkk-scroll {
    height: 7rem;
    min-height: 6rem;
    max-height: 20rem;
    overflow-y: auto;
    resize: vertical;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #4b5563;
}

.dn-kvkk-scroll > * + * {
    margin-top: 0.5rem;
}

.dn-kvkk-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    cursor: pointer;
}

.dn-kvkk-checkbox-row input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    accent-color: #111827;
}

.dn-kvkk-checkbox-row span {
    font-size: 0.875rem;
    color: #374151;
}

/* Hero (anasayfa banner) */
.dn-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

.dn-hero--plain {
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.dn-hero__media {
    position: absolute;
    inset: 0;
}

.dn-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dn-hero__inner {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .dn-hero__inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .dn-hero__inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.dn-hero__title {
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #111827;
    font-size: 2.25rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .dn-hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .dn-hero__title {
        font-size: 4.5rem;
    }
}

.dn-hero__title--light {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 2.25rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .dn-hero__title--light {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .dn-hero__title--light {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .dn-hero__title--light {
        font-size: 6rem;
    }
}

@media (min-width: 1280px) {
    .dn-hero__title--light {
        font-size: 6.75rem;
    }
}

.dn-hero__subtitle {
    margin: 0 auto 1.5rem;
    max-width: 48rem;
    font-size: 1.25rem;
    line-height: 1.5;
    color: #4b5563;
}

@media (min-width: 768px) {
    .dn-hero__subtitle {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

.dn-hero__subtitle--light {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    max-width: 48rem;
}

@media (min-width: 640px) {
    .dn-hero__subtitle--light {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .dn-hero__subtitle--light {
        font-size: 1.875rem;
    }
}

.dn-hero__desc {
    margin: 0 auto 3rem;
    max-width: 42rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6b7280;
}

.dn-hero__desc--light {
    color: #ffffff;
    font-size: 1rem;
    margin: 0 auto 3rem;
    max-width: 42rem;
}

@media (min-width: 640px) {
    .dn-hero__desc--light {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .dn-hero__desc--light {
        font-size: 1.25rem;
    }
}

/* Arka plan fotoğrafı üzerinde okunabilirlik */
.dn-hero__text-shadow {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7), 0 4px 25px rgba(0, 0, 0, 0.4);
}

.dn-hero__text-shadow--sm {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.dn-hero__text-shadow--xs {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Marka rengi (hero başlık, header site adı) */
.dn-text-brand {
    color: var(--color-primary, #000000);
}

/* Anasayfa — sütunlar, kulüpler, galeri */
.dn-home-section--muted {
    background-color: #f9fafb;
}

.dn-home-grid-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .dn-home-grid-pillars {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dn-home-pillar-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.15s ease;
}

.dn-home-pillar-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dn-home-pillar-num--accent {
    color: var(--color-accent, #0071e3);
}

.dn-home-pillar-num {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.dn-home-pillar-text {
    color: #4b5563;
    margin: 0;
}

.dn-home-grid-clubs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dn-home-grid-clubs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dn-home-grid-clubs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.dn-home-club-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.15s ease;
}

.dn-home-club-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dn-home-club-desc {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0;
}

.dn-home-grid-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .dn-home-grid-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dn-home-grid-gallery {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.dn-home-gallery-cell {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #e5e7eb;
}

.dn-home-gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-out;
}

.dn-home-gallery-cell:hover img {
    transform: scale(1.1);
}
