/* ============================================
   VYTŘÍDĚNO – Akce Landing Page
   Brand Colors: Gold #E8C840, Dark #1A1A1A, Red #CC1B1B
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand palette */
    --gold: #E8C840;
    --gold-light: #F5D96A;
    --gold-dark: #C4A530;
    --gold-glow: rgba(232, 200, 64, 0.15);
    --red: #CC1B1B;
    --red-dark: #A01515;
    
    /* Neutrals */
    --dark: #111111;
    --dark-warm: #1A1714;
    --dark-card: #1E1C18;
    --dark-border: #2A2720;
    --text-primary: #F5F0E6;
    --text-secondary: #B8AC94;
    --text-muted: #7A7060;
    
    /* Layout */
    --container-max: 1100px;
    --section-padding: 100px;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Effects */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* === SECTION COMMON === */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    position: relative;
    padding-left: 32px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 48px;
}

.section-title--light {
    color: var(--text-primary);
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        url('images/bitva-hero.jpg') center center / cover no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(17, 17, 17, 0.3) 0%, 
            rgba(17, 17, 17, 0.1) 30%,
            rgba(17, 17, 17, 0.2) 60%,
            rgba(17, 17, 17, 0.85) 100%
        );
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 120%, rgba(232, 200, 64, 0.08) 0%, transparent 60%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
}

/* Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-text {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(232, 200, 64, 0.1);
    border: 1px solid rgba(232, 200, 64, 0.25);
    padding: 10px 28px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

/* Title */
.hero-title {
    font-family: var(--font-display);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line-small {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.title-line-large {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.05;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* Date display */
.hero-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.date-decoration {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.date-content {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.date-day {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.date-separator {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 200;
}

.date-month {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
}

.date-year {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

/* CTA Button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--gold);
    padding: 16px 36px;
    border-radius: 100px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    box-shadow: 0 4px 20px rgba(232, 200, 64, 0.3);
}

.hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 200, 64, 0.4);
}

.hero-cta svg {
    animation: bounce 2s infinite;
}

/* Logo in hero */
.hero-logo {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: fadeIn 1s ease-out 0.8s both;
}

.hero-logo img {
    height: 52px;
    width: auto;
    max-width: none;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}


/* ============================================
   INVITATION SECTION
   ============================================ */
.invitation {
    padding: var(--section-padding) 0;
    background: var(--dark-warm);
    position: relative;
}

.invitation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--gold), transparent);
}

.invitation-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
}

.invitation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-glow);
    border: 1px solid rgba(232, 200, 64, 0.15);
    color: var(--gold);
    margin-bottom: 32px;
}

.invitation-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 600;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 28px;
    line-height: 1.4;
}

.invitation-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.invitation-text strong {
    color: var(--text-primary);
    font-weight: 500;
}


/* ============================================
   COUNTDOWN SECTION
   ============================================ */
.countdown {
    padding: 80px 0;
    background: var(--dark);
    position: relative;
}

.countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.countdown-inner {
    text-align: center;
}

.countdown-inner .section-label {
    display: block;
    padding-left: 0;
    margin-bottom: 32px;
}

.countdown-inner .section-label::before {
    display: none;
}

.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.countdown-box {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px 20px;
    min-width: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.countdown-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.countdown-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-muted);
    opacity: 0.4;
    padding-bottom: 20px;
}

.countdown-date-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}


/* ============================================
   PROGRAM / TIMELINE SECTION
   ============================================ */
.program {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
}

.program::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--dark-border), var(--gold) 20%, var(--gold) 80%, var(--dark-border));
}

/* Timeline items */
.timeline-item {
    display: flex;
    gap: 28px;
    padding: 0 0 48px 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Time */
.timeline-time {
    width: 70px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 4px;
}

.time-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
}

.time-end {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Dot */
.timeline-dot {
    width: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    position: relative;
}

.dot-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--gold);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover .dot-inner {
    background: var(--gold);
    box-shadow: 0 0 15px rgba(232, 200, 64, 0.4);
}

.timeline-item--highlight .dot-inner {
    background: var(--gold);
    width: 14px;
    height: 14px;
    box-shadow: 0 0 20px rgba(232, 200, 64, 0.5);
}

/* Content */
.timeline-content {
    flex: 1;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 24px 28px;
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(232, 200, 64, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.timeline-item--highlight .timeline-content {
    background: linear-gradient(135deg, var(--dark-card), rgba(232, 200, 64, 0.05));
    border-color: rgba(232, 200, 64, 0.2);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Tags */
.timeline-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--dark-border);
}

.timeline-tag--gold {
    color: var(--gold);
    background: rgba(232, 200, 64, 0.08);
    border-color: rgba(232, 200, 64, 0.2);
}


/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark-warm);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Person card */
.contact-person {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-avatar span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.contact-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--gold);
}

.contact-link svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Date card */
.contact-card {
    display: flex;
    justify-content: center;
}

.card-inner {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    position: relative;
    overflow: hidden;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gold);
    margin-bottom: 28px;
}

.card-header span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.card-date {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.card-day {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.card-month-year {
    text-align: left;
}

.card-month {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-year {
    display: block;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.card-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid var(--dark-border);
}

.card-location svg {
    color: var(--gold);
    flex-shrink: 0;
}


/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
    background: var(--dark-card);
}

.map-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--dark-card);
    border-bottom: 1px solid var(--dark-border);
}

.map-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.map-info-item svg {
    color: var(--gold);
}

.map-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(232, 200, 64, 0.25);
    background: rgba(232, 200, 64, 0.08);
    transition: var(--transition);
}

.map-directions-link:hover {
    background: rgba(232, 200, 64, 0.15);
    border-color: rgba(232, 200, 64, 0.4);
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: saturate(0.8) brightness(0.85) contrast(1.1);
    transition: filter 0.4s ease;
}

.map-container:hover iframe {
    filter: saturate(1) brightness(0.95) contrast(1);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0;
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 36px;
    width: auto;
    max-width: none;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    padding-left: 16px;
    border-left: 1px solid var(--dark-border);
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .hero {
        background-attachment: scroll;
        min-height: 100vh;
    }

    .hero-logo img {
        height: 40px;
        width: auto;
        max-width: none;
    }

    .hero-date {
        flex-direction: column;
        gap: 0;
    }

    .date-decoration {
        display: none;
    }

    .date-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .date-day,
    .date-year {
        font-size: 2rem;
    }

    .date-month {
        font-size: 1.1rem;
    }

    /* Timeline mobile */
    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 44px;
        gap: 8px;
    }

    .timeline-time {
        width: auto;
        text-align: left;
    }

    .timeline-dot {
        position: absolute;
        left: 0;
        top: 4px;
    }

    .timeline-content {
        padding: 20px;
    }

    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-card {
        order: -1;
    }

    .card-day {
        font-size: 4rem;
    }

    /* Footer */
    .footer-brand {
        flex-direction: column;
        gap: 8px;
    }

    .footer-tagline {
        border-left: none;
        padding-left: 0;
    }

    /* Countdown mobile */
    .countdown-grid {
        gap: 8px;
    }

    .countdown-box {
        min-width: 70px;
        padding: 18px 12px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }

    /* Map mobile */
    .map-container {
        height: 300px;
    }

    .map-info-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .title-line-large {
        font-size: 2.2rem;
    }

    .badge-text {
        font-size: 0.65rem;
        padding: 8px 20px;
    }

    .invitation-inner {
        padding: 0 8px;
    }

    .card-inner {
        padding: 28px;
    }

    .card-day {
        font-size: 3.5rem;
    }

    .countdown-grid {
        flex-wrap: wrap;
        gap: 6px;
    }

    .countdown-box {
        min-width: 60px;
        padding: 14px 10px;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .countdown-separator {
        display: none;
    }

    .map-container {
        height: 250px;
    }
}
