:root {
    --primary-color: #e60000;       /* Vibrant Red */
    --secondary-color: #1a1a1a;     /* Dark Gray */
    --text-color: #f7f7f7;          /* Brighter Off-white */
    --bg-color: #0d0d0d;            /* Almost Black */
    --accent-color: #ff3333;        /* Brighter Red */

    --font-heading: 'Impact', 'Oswald', sans-serif;
    --font-body: 'Segoe UI', 'Roboto', sans-serif;
}

/* --- GLOBAL STYLES --- */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(230, 0, 0, 0.6);
}

/* --- SECTIONS --- */
section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    background-color: #1a1a1a;
}

.section-title h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
}

.section-title h3::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- HEADER --- */
header.bg-gray {
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid #333;
    padding: 10px 0;
}

header img.logo {
    max-height: 50px;
}

header img.logo:hover {
    transform: scale(1.05);
}

#menu li a {
    color: #ccc;
    font-weight: 500;
    text-transform: uppercase;
    padding: 8px 16px;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

#menu li a:hover,
#menu li a.active {
    color: var(--primary-color);
    background-color: transparent;
}

/* --- FOOTER --- */
footer.bg-gray {
    background-color: #050505;
    border-top: 1px solid #222;
    color: #666;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.header-icon,
.footer-icon {
    font-size: 1.4rem;
    color: #999;
    transition: color 0.2s ease;
}

.header-icon:hover,
.footer-icon:hover {
    color: var(--primary-color);
}

/* --- PARTNERS --- */
.partners-section {
    background-color: #000;
    border-top: 1px solid #111;
    padding: 40px 0;
}

.partner-logo {
    opacity: 0.4;
    transition: opacity 0.3s ease;
    max-height: 60px;
    filter: grayscale(100%);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- BUTTONS (Generic) --- */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 20px;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #c00;
    box-shadow: none;
}

.btn-secondary {
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-sm {
    font-size: 0.85rem;
    padding: 5px 10px;
}

/* --- FORMS --- */
.form-control::placeholder { color: #adb5bd; opacity: 1; }
.form-control::-ms-input-placeholder { color: #adb5bd; }

.form-control {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #eee;
    border-radius: 2px;
    padding: 10px 12px;
}

.form-control:focus {
    background-color: #222;
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

/* =========================================
   COMPACT CONCERT TABLE STYLES (6 Columns)
   ========================================= */

.table-compact {
    --bs-table-bg: transparent;
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

/* Styl řádků a buněk */
.table-compact tr td {
    border-bottom: 1px solid #222; /* Jemná oddělovací čára */
    padding: 8px 10px !important;   /* Low profile odsazení */
    vertical-align: middle;         /* Zarovnání na střed výšky */
    height: 60px;                   /* Fixní výška řádku */
}

/* Hover efekt na celý řádek */
.table-compact tr:hover td {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 1. DATUM - Bílé a tučné */
.gig-date {
    color: #ffffff !important; /* Vynucení bílé */
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    width: 100px;
}

/* 2. OBRÁZEK - 50x50, Barevný */
.gig-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover; /* Ořízne obrázek na čtverec */
    border-radius: 3px;
    display: block;
    /* Žádný filter: grayscale, aby byl barevný */
}

.gig-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s;
}

/* 3. MÍSTO (Město, Klub) */
.gig-place-cell {
    color: #ffffff !important;      /* Bílá */
    font-weight: 700;    /* Tučné */
    font-size: 1.1rem;
    white-space: nowrap;
}

.gig-place {
    /* Helper class uvnitř buňky */
    display: inline-block;
}

/* 4. POPIS (Subtitle) */
.gig-subtitle-cell {
    width: 30%; /* Dostatek místa pro text */
}

.gig-subtitle {
    color: #aaaaaa;      /* Šedá */
    font-weight: 400;    /* Netučné */
    font-size: 0.95rem;
}

/* 5. & 6. BUTTONS (Facebook & Tickets) */

/* Společný styl pro FB a Tickets tlačítka */
.btn-facebook, .btn-tickets {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: none;
    line-height: 1.5;
    white-space: nowrap;
}

/* Ikony v tlačítkách */
.btn-facebook i, .btn-tickets i {
    font-size: 0.9em;
    margin-right: 5px; /* Mezera mezi ikonou a textem */
}

/* Facebook Button - Modrý */
.btn-facebook {
    background-color: #1877F2; /* Facebook Brand Blue */
    color: #ffffff !important;
}

.btn-facebook:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
    color: #ffffff !important;
}

/* Tickets Button - Červený */
.btn-tickets {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.btn-tickets:hover {
    background-color: #ff1a1a; /* Světlejší červená */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 0, 0, 0.4);
    color: #ffffff !important;
}

/* RESPONSIVITA PRO MOBILY */
@media (max-width: 991px) {
    /* Aby se 6 sloupců vešlo na mobil, umožníme scrollování do boku */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Volitelně: Na velmi malých displejích skryjeme popis, aby to bylo přehlednější */
    @media (max-width: 576px) {
        .gig-subtitle-cell {
            display: none;
        }

        .gig-date {
            font-size: 0.9rem;
            width: auto;
        }

        .gig-place-cell {
            font-size: 1rem;
        }
    }
}