/* ============================================
   SVATEBNÍ WEB — Pastelový květinový styl
   ============================================ */

:root {
    /* Palette from wedding invitation — watercolor pastels */
    --cream: #FDF8F4;
    --cream-dark: #F0E8E0;
    --blush: #F2C4C8;
    --blush-light: #F8DDE0;
    --blush-dark: #D4949C;
    --sky: #B8D8E8;
    --sky-light: #D4EAF2;
    --sky-dark: #8ABCD0;
    --sage: #C8DCBA;
    --sage-light: #DDE8D4;
    --sage-dark: #98B888;
    --gold-soft: #D4B896;
    --gold-warm: #C8A47C;
    --lavender: #D0C4DC;
    --white-soft: #FFFDFB;
    --text-dark: #3A3535;
    --text-medium: #6A5F5A;
    --text-light: #9A908A;
    --border-soft: rgba(210, 148, 156, 0.25);
    --shadow-soft: 0 4px 24px rgba(180, 140, 150, 0.1);
    --shadow-hover: 0 8px 40px rgba(180, 140, 150, 0.16);
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Quicksand', 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

::selection {
    background: var(--blush-light);
    color: var(--text-dark);
}

a {
    color: var(--blush-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--blush);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 70px;
    background: rgba(255, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 248, 240, 0.97);
    box-shadow: var(--shadow-soft);
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-title {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--blush-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-title:hover {
    color: var(--blush);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-medium);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blush);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blush-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 50%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--blush-dark);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* ---- FLORAL DECORATIONS ---- */
.hero-flowers {
    width: min(350px, 80vw);
    height: auto;
    display: block;
    margin: 1rem auto;
    opacity: 0.85;
    filter: drop-shadow(0 2px 8px rgba(180, 140, 150, 0.15));
}

.section-flower-divider {
    display: block;
    width: min(250px, 60vw);
    height: auto;
    margin: -1rem auto 2rem;
    opacity: 0.6;
    pointer-events: none;
}

.floral-divider-section {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    opacity: 0.4;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse at 25% 30%, var(--blush) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 25%, var(--sky-light) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 70%, var(--sage-light) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, var(--lavender) 0%, transparent 35%),
        var(--cream);
    overflow: hidden;
}

.hero-floral {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-floral-top {
    top: 0;
}

.hero-floral-bottom {
    bottom: 0;
}

.hero-floral svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 248, 240, 0.2) 0%,
        rgba(255, 248, 240, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-invitation {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--blush-dark);
    margin-bottom: 0.5rem;
}

.hero-names {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero-divider {
    margin: 1.5rem auto;
    width: 200px;
}

.floral-divider-hero {
    width: 100%;
    height: auto;
}

.hero-countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 253, 251, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--blush-light);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    min-width: 75px;
    box-shadow: var(--shadow-soft);
}

.countdown-item:nth-child(1) { border-color: var(--blush); }
.countdown-item:nth-child(2) { border-color: var(--sky); }
.countdown-item:nth-child(3) { border-color: var(--sage); }
.countdown-item:nth-child(4) { border-color: var(--gold-soft); }

.countdown-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--blush-dark);
    line-height: 1;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.hero-date {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 2px;
}

.hero-location {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-medium);
    margin-top: 0.3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--blush);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 3px;
    height: 8px;
    background: var(--blush);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 5px; opacity: 1; }
    50% { top: 14px; opacity: 0.3; }
}

/* ---- SECTIONS ---- */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-location {
    background: var(--white-soft);
    position: relative;
    overflow: hidden;
}

.section-schedule {
    background:
        radial-gradient(ellipse at 80% 20%, var(--blush-light) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, var(--sage-light) 0%, transparent 40%),
        var(--white-soft);
    position: relative;
    overflow: hidden;
}

.section-accommodation {
    background:
        radial-gradient(ellipse at 10% 30%, var(--sky-light) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 70%, var(--blush-light) 0%, transparent 40%),
        var(--cream);
    position: relative;
    overflow: hidden;
}

.section-dresscode {
    background:
        radial-gradient(ellipse at 70% 30%, var(--lavender) 0%, transparent 45%),
        radial-gradient(ellipse at 30% 70%, var(--sage-light) 0%, transparent 40%),
        var(--white-soft);
    position: relative;
    overflow: hidden;
}

.section-team {
    background:
        radial-gradient(ellipse at 20% 20%, var(--sage-light) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 80%, var(--sky-light) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, var(--blush-light) 0%, transparent 35%),
        var(--cream);
    position: relative;
    overflow: hidden;
}

.section-contact {
    background:
        radial-gradient(ellipse at 50% 20%, var(--blush) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, var(--sky-light) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 70%, var(--sage-light) 0%, transparent 40%),
        var(--cream);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--blush);
    margin-bottom: 0.3rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.ornament {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--blush), var(--sky));
    margin: 1.2rem auto 0;
    border-radius: 2px;
}

/* ---- LOCATION ---- */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.location-card {
    background: var(--cream);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.location-icon {
    margin-bottom: 1.2rem;
}

.location-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.location-time {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blush-dark);
    margin-bottom: 0.5rem;
}

.location-place {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.location-address {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ---- MAP ---- */
.map-wrapper {
    text-align: center;
}

.map-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--blush-dark);
    background: transparent;
    border: 2px solid var(--blush);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-toggle:hover {
    background: var(--blush);
    color: var(--white-soft);
}

.map-toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.map-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin 0.5s ease;
    margin-top: 0;
}

.map-container.open {
    max-height: 500px;
    margin-top: 2rem;
}

/* ---- TIMELINE ---- */
.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--blush), var(--sage), var(--lavender), transparent);
    border-radius: 1px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 1.8rem;
    width: 14px;
    height: 14px;
    background: var(--cream);
    border: 3px solid var(--blush);
    border-radius: 50%;
    transform: translateX(-6px);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--blush);
    box-shadow: 0 0 15px rgba(220, 174, 150, 0.4);
}

.timeline-item:nth-child(even) .timeline-dot {
    border-color: var(--sage);
}

.timeline-item:nth-child(even):hover .timeline-dot {
    background: var(--sage);
    box-shadow: 0 0 15px rgba(168, 181, 162, 0.4);
}

.timeline-item:nth-child(3n) .timeline-dot {
    border-color: var(--lavender);
}

.timeline-item:nth-child(3n):hover .timeline-dot {
    background: var(--lavender);
    box-shadow: 0 0 15px rgba(200, 184, 219, 0.4);
}

.timeline-time {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blush-dark);
    min-width: 55px;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ---- INFO CARDS ---- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--cream);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.info-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--blush-dark);
    letter-spacing: 0.5px;
}

.info-link:hover {
    color: var(--blush);
}

/* ---- DRESS CODE ---- */
.dresscode-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.dresscode-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.dresscode-text p {
    margin-bottom: 1rem;
}

.dresscode-colors h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--white-soft);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.swatch:hover {
    transform: scale(1.1);
}

.color-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ---- TEAM ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    border: 4px solid var(--blush);
    box-shadow: var(--shadow-soft);
}

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

.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush-light);
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.team-role {
    font-family: var(--font-script);
    font-size: 1.1rem;
    color: var(--blush);
}

.team-desc {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

/* ---- CONTACT ---- */
.contact-content {
    text-align: center;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 253, 251, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.contact-role {
    font-family: var(--font-script);
    font-size: 1rem;
    color: var(--blush);
    margin-bottom: 1rem;
}

.contact-link {
    display: block;
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 0.3rem;
    transition: color 0.3s ease;
}

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

/* ---- FOOTER ---- */
.footer {
    background: var(--blush-light);
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 1px solid var(--border-soft);
}

.footer-ornament {
    margin-bottom: 1.5rem;
}

.floral-divider {
    width: 200px;
    height: auto;
    display: inline-block;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* ---- ANIMATIONS ---- */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-soft);
        padding: 1rem 0;
        box-shadow: var(--shadow-soft);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 2rem;
        text-align: center;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-names {
        letter-spacing: 2px;
    }

    .hero-countdown {
        gap: 0.8rem;
    }

    .countdown-item {
        padding: 0.8rem;
        min-width: 60px;
    }

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

    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .location-grid,
    .info-grid,
    .team-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-dot {
        left: -2rem;
    }

    .color-palette {
        gap: 1rem;
    }

    .swatch {
        width: 50px;
        height: 50px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-invitation {
        font-size: 1.3rem;
    }

    .hero-names {
        font-size: 2.5rem;
    }

    .hero-countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.6rem;
        min-width: 55px;
    }

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

    .countdown-label {
        font-size: 0.6rem;
    }

    .location-card,
    .info-card {
        padding: 2rem 1.5rem;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }
}

/* ---- DEFAULT TEMPLATE ---- */
.default-page {
    padding-top: 100px;
    min-height: 100vh;
}

.default-page .container {
    max-width: 800px;
}
