:root {
    --brand-orange: #ff8a00;
    --brand-text: #ffffff;
    --muted-gray: #444647;
    --card-bg: #ffffff;
}

/* === Base Styles === */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: var(--brand-text);
    background: linear-gradient(180deg, #4a4a4a 0%, #3c3c3c 100%);
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

/* ==== Navbar ==== */
.custom-navbar {
    background: #4e5152;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--brand-orange);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.custom-navbar.scrolled {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--brand-text) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--brand-text) !important;
    position: relative;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: var(--brand-orange);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-orange) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==== Main Landing Section ==== */
main {
    height: 100vh;
    overflow: hidden;
    padding: 48px 0;
}

.bg-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 138, 0, 0.45), rgba(74, 74, 74, 0.5));
}

main h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

main p.lead {
    font-size: 18px;
    color: #333;
}

#countdown {
    font-weight: 700;
    font-size: 20px;
    color: #222;
}

/* ==== Generic Card ==== */
.section-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(74, 74, 74, 0.06);
    padding: 24px;
    margin-bottom: 24px;
}

/* ==== Program & Harmonogram ==== */
#program {
    border-top: 4px solid var(--brand-orange);
    border-bottom: 4px solid var(--brand-orange);
    text-align: center;
    color: var(--muted-gray);
    padding: 60px 0;
}

#program h2 {
    color: var(--brand-orange);
    font-weight: 700;
    margin-bottom: 40px;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    width: 100%;
    max-width: 600px;
}

.time-box {
    flex-shrink: 0;
    width: 80px;
    background: var(--brand-orange);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.content-box {
    background: #fff;
    border-left: 5px solid var(--brand-orange);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    color: var(#4a4a4a);
    text-align: left;
    flex: 1;
    max-width: 450px;
}

.content-box h5 {
    margin: 0;
    font-weight: 700;
    color: var(#4a4a4a);
}

#extra-details {
    margin-top: 12px;
    font-size: 18px;
    color: #ffffff;
}

@media (max-width: 576px) {
    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .content-box {
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--brand-orange);
    }
}

/* ==== Interpreti & Doprovod ==== */
#interpreti {

    border-top: 4px solid var(--brand-orange);
    border-bottom: 4px solid var(--brand-orange);
}

.artist-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    color: var(--muted-gray);
}

.artist-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(255, 138, 0, 0.3);
}

.artist-icon {
    font-size: 38px;
}

.attraction-card {
    background: linear-gradient(90deg, rgba(255, 138, 0, 0.75), rgba(255, 138, 0, 0.65));
    border: 1px solid rgba(255, 138, 0, 0.3);
    color: var(--brand-text);
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 10px;
    transition: all 0.3s ease;
}

.attraction-card:hover {
    background: linear-gradient(90deg, rgba(255, 138, 0, 0.95), rgba(255, 138, 0, 0.85));
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(255, 138, 0, 0.25);
}

/* ==== Sponzoři ==== */
#sponzori {
    border-top: 4px solid var(--brand-orange);
    border-bottom: 4px solid var(--brand-orange);
}

#sponzori h2 {
    color: var(--brand-orange);
    font-weight: 700;
}

.sponsor-card {
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: var(--brand-orange);
    opacity: 0.8;
    transition: 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.25);
    background: linear-gradient(180deg, #fff5ec 0%, #f9f9f9 100%);
}

.sponsor-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.sponsor-img {
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(30%);
}

.sponsor-card:hover .sponsor-img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* ==== Kontakt ==== */
#kontakt {

    border-top: 4px solid var(--brand-orange);
    border-bottom: 4px solid var(--brand-orange);
    color: #4a4a4a;
}

.contact-icon {
    font-size: 42px;
    color: var(--brand-orange);
}

.contact-input {
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.contact-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 6px rgba(255, 138, 0, 0.4);
}

/* ==== Buttons ==== */
.btn-orange {
    background: var(--brand-orange);
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 138, 0, 0.3);
    border: none;
}

.btn-orange:hover {
    background: #e97a00;
    box-shadow: 0 6px 14px rgba(255, 138, 0, 0.45);
    transform: translateY(-2px);
}

/* ==== Footer ==== */
footer {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: var(--brand-text);
}

/* ==== Responsive Tweaks ==== */
@media (max-width: 768px) {
    main h1 {
        font-size: 32px;
    }

    main p.lead {
        font-size: 16px;
    }

    #countdown {
        font-size: 18px;
    }

    .sponsor-img {
        max-height: 80px;
    }
}