/* ===== Globální styly ===== */
:root {
    --primary-color: #c92a2a;
    --secondary-color: #ffc107;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gold-color: #ffc107;
    --red-dark: #a61e1e;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== Navigace ===== */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* ===== Hero sekce ===== */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #c92a2a 50%, #1a1a1a 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    padding: 100px 20px;
    width: 100%;
}

/* ===== Fotka kapely ===== */
.hero-image-container {
    position: relative;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-image-container:hover img {
    transform: scale(1.02);
}

/* ===== Kartičky ===== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ===== Facebook kontejner ===== */
.facebook-container {
    padding: 20px;
}

.fb-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.fb-page {
    display: inline-block;
    max-width: 100%;
}

.fb-like {
    display: inline-block;
}

/* Responzivní Facebook widget */
@media (max-width: 991px) {
    .fb-page-wrapper {
        margin-bottom: 30px;
    }
}

/* ===== Stránka historie ===== */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #c92a2a 100%);
}

/* Časová osa */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
}

.timeline-content {
    padding: 20px;
}

.timeline-year {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
}

.timeline-image img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Statistiky */
.stat-card {
    padding: 30px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Členové kapely */
.member-photo {
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Kontaktní sekce ===== */
#kontakt .card {
    border: none;
}

/* ===== Footer ===== */
footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.7;
}

/* ===== Responzivní design ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-overlay p {
        font-size: 1rem;
    }
    
    .timeline-image {
        margin-bottom: 20px;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
}

/* ===== Animace ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .timeline-item {
    animation: fadeIn 0.6s ease-out;
}

/* ===== Utility třídy ===== */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

/* ===== Tlačítka ===== */
.btn {
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

/* ===== Vlastní barevné třídy ===== */
.bg-custom-dark {
    background-color: var(--dark-color) !important;
}

.bg-custom-red {
    background-color: var(--primary-color) !important;
}

.bg-custom-gold {
    background-color: var(--gold-color) !important;
}

.text-custom-red {
    color: var(--primary-color) !important;
}

.text-custom-gold {
    color: var(--gold-color) !important;
}

.btn-custom-red {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-custom-red:hover {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
    color: white;
}

.btn-custom-gold {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--dark-color);
    font-weight: 600;
}

.btn-custom-gold:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: var(--dark-color);
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: var(--gold-color) !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-success {
    background-color: var(--gold-color) !important;
    color: var(--dark-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}
