/* =============================================
   BigBrotherS - Ana Site Stili
   Koyu Tema + Altın Vurgular
   ============================================= */

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* =============================================
   CSS Değişkenler
   ============================================= */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --bg-navbar: rgba(10, 10, 10, 0.95);
    --gold: #d4af37;
    --gold-light: #f0d060;
    --gold-dark: #b8960c;
    --text-primary: #e0e0e0;
    --text-secondary: #999999;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --border-gold: rgba(212, 175, 55, 0.3);
    --red: #e74c3c;
    --blue: #3498db;
    --green: #27ae60;
    --purple: #8e44ad;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --glow-gold: 0 0 15px rgba(212, 175, 55, 0.3);
    --glow-gold-strong: 0 0 30px rgba(212, 175, 55, 0.5);
    --transition: all 0.3s ease;
}

/* =============================================
   Reset & Global
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* =============================================
   Navbar
   ============================================= */
.navbar-custom {
    background: var(--bg-navbar);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gold);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.navbar-custom.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-brand:hover {
    text-shadow: var(--glow-gold);
}

.navbar-brand img {
    height: 45px;
    margin-right: 10px;
}

.navbar-custom .nav-link {
    color: var(--text-primary) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    position: relative;
    text-transform: uppercase;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 80%;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--gold) !important;
}

.navbar-toggler {
    border-color: var(--gold) !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Social buttons in navbar */
.navbar-social .btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 5px;
}

.btn-discord {
    background: transparent;
    color: #5865F2;
    border: 1px solid #5865F2;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-discord:hover {
    background: #5865F2;
    color: white;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.btn-whatsapp {
    background: transparent;
    color: #25D366;
    border: 1px solid #25D366;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

/* =============================================
   Hero / Slider
   ============================================= */
.hero-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content .motto {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.hero-content .foundation-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    border-radius: 30px;
    padding: 0.5rem 2rem;
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.hero-buttons .btn-discord,
.hero-buttons .btn-whatsapp {
    background: transparent;
    border: 1px solid;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 5px;
}

.hero-buttons .btn-discord {
    border-color: #5865F2;
    color: #5865F2;
}

.hero-buttons .btn-discord:hover {
    background: #5865F2;
    color: white;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.hero-buttons .btn-whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.hero-buttons .btn-whatsapp:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.hero-buttons .btn-outline-gold {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
}

.hero-buttons .btn-lg {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
}

/* No slider fallback */
.hero-no-slider {
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-no-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg-hero.jpg') center center / cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-no-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    z-index: 0;
}

.hero-no-slider .hero-content {
    position: relative;
    z-index: 1;
}

/* =============================================
   Butonlar
   ============================================= */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.6rem 2rem;
    border-radius: 5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg-primary);
    box-shadow: var(--glow-gold-strong);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.6rem 2rem;
    border-radius: 5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--bg-primary);
    box-shadow: var(--glow-gold);
}

/* =============================================
   Bölüm Başlıkları
   ============================================= */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* =============================================
   Kuruluş Sayacı
   ============================================= */
.counter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(10, 10, 10, 0.9));
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.counter-box {
    text-align: center;
    padding: 1.5rem;
}

.counter-box .number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: var(--glow-gold);
    line-height: 1;
}

.counter-box .label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* =============================================
   Üye Kartları
   ============================================= */
.member-card {
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    padding: 0.5rem;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-card .card-avatar-wrap {
    position: relative;
    width: 65px;
    height: 65px;
    margin: 0 auto 0.4rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover .card-avatar-wrap {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.member-card .card-avatar-wrap::after {
    display: none;
}

.member-card .card-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: none;
}

.member-card:hover .card-avatar {
    transform: none;
}

.member-card .card-body {
    padding: 0;
    text-align: center;
}

.member-card .character-name {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.member-card .character-class {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0.08rem 0.4rem;
    border-radius: 10px;
    font-size: 0.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.member-card .character-info {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

.member-card .character-info span {
    margin: 0 0.3rem;
}

.member-card .rank-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.05rem 0.3rem;
    border-radius: 8px;
    font-size: 0.45rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

/* Sınıf filtre butonları */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

/* =============================================
   Galeri
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    border-color: var(--border-gold);
    transform: scale(1.02);
    box-shadow: var(--glow-gold);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    filter: brightness(0.7);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.6rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay h5 {
    font-size: 0.75rem;
    color: var(--gold);
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.gallery-item .overlay p {
    display: none;
}

/* =============================================
   Video Kartları
   ============================================= */
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.video-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--glow-gold);
}

.video-card .video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.video-card .video-wrapper iframe,
.video-card .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-card .card-body {
    padding: 1rem;
}

.video-card .card-body h5 {
    font-size: 1rem;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 700;
}

.video-card .card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* =============================================
   Hakkımızda
   ============================================= */
.about-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.8;
}

/* =============================================
   İletişim
   ============================================= */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--glow-gold);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.contact-card .btn-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.contact-card .btn-gold:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-gold);
    padding: 3rem 0 1.5rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    margin: 0 5px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =============================================
   Page Header (İç Sayfalar)
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-bottom: 1px solid var(--border-gold);
    padding: 8rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.page-header .breadcrumb-item a {
    color: var(--text-secondary);
}

.page-header .breadcrumb-item.active {
    color: var(--gold);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* =============================================
   Animasyonlar
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .motto {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .counter-box .number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .motto {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .section {
        padding: 3rem 0;
    }

    .about-content {
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .navbar-social {
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .counter-box .number {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 6rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* =============================================
   Loading
   ============================================= */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
