@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Montserrat:wght@400;700&display=swap');

:root {
    --primary-yellow: #FFD700;
    --bg-black: #050505;
    --text-white: #ffffff;
    --gray-dark: #1a1a1a;
    --spacing: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

body.home-page {
    height: 100vh;
    overflow: hidden;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NAVIGACE --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: rgba(0, 0, 0, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-yellow);
    height: 100px;
}

.logo a img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo a img:hover {
    transform: scale(1.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-yellow);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--primary-yellow);
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- HERO SEKCE --- */
.hero {
    height: calc(100vh - 100px);
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/background.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px var(--primary-yellow); 
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 40px;
}

.hero h2 {
    background-color: var(--primary-yellow);
    color: var(--bg-black);
    padding: 10px 20px;
    font-size: 2rem;
    transform: rotate(-2deg);
}

/* --- SEKCE CREW --- */
section.crew {
    padding: 50px 5%;
    text-align: center;
}

.crew h1 {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 10px;
}

.crewGallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.crop {
    background-color: var(--gray-dark);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.crop:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
    border-color: var(--primary-yellow);
}

.crop img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.crop:hover img {
    filter: grayscale(0%);
}

.crewNames {
    padding: 15px;
    background-color: var(--bg-black);
    border-top: 2px solid var(--primary-yellow);
}

.crewNames h2 {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.crewNames h3 {
    color: #ccc;
    font-size: 1rem;
    font-weight: 400;
}

/* --- SEKCE KONTAKTY --- */
.contacts {
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contacts h1 {
    font-size: 3.5rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.main-info {
    font-size: 1.5rem;
    margin-bottom: 60px;
    padding: 20px;
    border: 1px solid #333;
    background-color: var(--gray-dark);
}

.main-info p {
    margin: 10px 0;
}

.main-info a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-yellow);
    transition: color 0.3s, background-color 0.3s;
}

.main-info a:hover {
    background-color: var(--primary-yellow);
    color: var(--bg-black);
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ig-card {
    background-color: var(--gray-dark);
    border: 1px solid #333;
    padding: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

.ig-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
}

.ig-card h3 {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.ig-btn {
    display: inline-block;
    padding: 10px 20px;
    color: var(--bg-black);
    background-color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.ig-btn:hover {
    background-color: var(--primary-yellow);
}

/* --- SEKCE AKCE --- */
section.akce {
    padding: 50px 5%;
    text-align: center;
}

.akce h1 {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 10px;
}

.events-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.event-card {
    background-color: var(--gray-dark);
    border: 1px solid #333;
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    overflow: hidden;
    text-align: left;
}

.event-card.upcoming {
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.event-image-placeholder {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
}

.event-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date {
    color: var(--primary-yellow);
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1;
}

.event-status {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: black;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
    width: fit-content;
    text-transform: uppercase;
}

.lineup li {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    list-style: none;
}

@media (max-width: 768px) {
    .event-card {
        grid-template-columns: 1fr; 
    }

    .event-image-placeholder {
        min-height: 300px; 
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .event-info {
        padding: 30px 20px; 
    }

    .event-date {
        font-size: 2rem; 
    }

    .akce h1 {
        font-size: 2rem;
    }

    .lineup li {
        font-size: 1.1rem;
    }
}
/* --- SEKCE VSTUPENKY --- */
.tickets-container {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.tickets-container h1 {
    font-size: 4rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.tickets-container p {
    font-size: 1.5rem;
    color: #aaa;
    max-width: 600px;
    margin-bottom: 60px;
}

.buy-btn {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--bg-black);
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    padding: 30px 60px;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.buy-btn:hover {
    background-color: transparent;
    color: var(--primary-yellow);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
}

.sub-info {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #555;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* --- ODPOČET (COUNTDOWN) --- */
#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.time-box {
    background-color: var(--primary-yellow);
    color: var(--bg-black);
    padding: 15px;
    min-width: 100px;
    text-align: center;
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: skew(-10deg);
}

.time-box span {
    display: block;
    transform: skew(10deg);
}

.time-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.time-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
}

#countdown-message {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    font-family: 'Oswald', sans-serif;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* --- KOMPLETNÍ NAVIGACE --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background-color: rgba(0, 0, 0, 0.95);
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 2px solid #FFD700;
    height: 100px;
    width: 100%;
    box-sizing: border-box;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
}

/* Desktop Menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FFD700;
}

/* Hamburger Ikona */
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.menu-icon .bar {
    width: 30px;
    height: 3px;
    background-color: #FFD700;
    transition: 0.3s;
}

/* --- MOBILNÍ VERZE --- */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
        position: absolute;
        right: 5%;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%; 
        height: 100vh;
        background-color: #050505;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    nav ul.active {
        right: 0; 
    }

    /* Animace křížku */
    .menu-icon.toggle .bar:nth-child(1) { transform: rotate(-45deg) translate(-7px, 6px); }
    .menu-icon.toggle .bar:nth-child(2) { opacity: 0; }
    .menu-icon.toggle .bar:nth-child(3) { transform: rotate(45deg) translate(-7px, -7px); }
}

/* --- FOOTER --- */
footer {
    background-color: #0a0a0a;
    color: white;
    padding: 60px 5% 20px;
    border-top: 1px solid #333;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #888;
    font-size: 0.9rem;
}

.footer-links h4, .footer-socials h4 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.social-icons a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.8rem;
}

/* RESPONZIVITA PRO FOOTER */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Na mobilu pod sebe */
        text-align: center;
    }
    
    .footer-logo, .footer-links, .footer-socials {
        margin-bottom: 20px;
    }
}
