﻿/* ================================================
   50. VÝROČIE – ŠTÝL (VEREJNÁ STRÁNKA)
   ================================================ */

:root {
    --orange: #ff6b35;
    --orange-lt: #ff9a6c;
    --gold: #f5c842;
    --gold-lt: #ffe98a;
    --dark: #0e0b18;
    --dark-mid: #16132a;
    --dark-card: #1e1a35;
    --dark-border: rgba(255, 255, 255, 0.08);
    --text: #f0eaff;
    --muted: #9b95b5;
    --radius: 16px;
    --radius-lg: 28px;
    --transition: 0.28s ease;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Zaručí že HTML hidden atribút vždy funguje aj keď CSS nastavuje display */
[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: var(--orange-lt);
    text-decoration: none;
}

a:hover {
    color: var(--gold);
}

.container {
    max-width: 1060px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 0.02em;
}

.btn--hero {
    background: linear-gradient(135deg, var(--orange), var(--gold));
    color: #1a1000;
    box-shadow: 0 6px 28px rgba(255, 107, 53, 0.45);
}

.btn--hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.6);
}

.btn--submit {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    color: #1a1000;
    font-size: 1.1rem;
    padding: 18px;
    box-shadow: 0 6px 28px rgba(255, 107, 53, 0.35);
    position: relative;
    overflow: hidden;
}

.btn--submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.55);
}

.btn--submit:disabled {
    opacity: 0.65;
    transform: none;
    cursor: not-allowed;
}

.btn__loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(0, 0, 0, 0.25);
    border-top-color: #1a1000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}

.btn__loader:not([hidden]) {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 30% 40%, #2a1060 0%, var(--dark) 60%),
        radial-gradient(ellipse at 80% 70%, #3d1200 0%, transparent 55%);
}

/* Floating bubbles */
.bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.bubbles span {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: bubble 10s infinite ease-in;
}

.bubbles span:nth-child(1) {
    width: 8px;
    height: 8px;
    left: 8%;
    background: var(--orange);
    animation-delay: 0s;
    animation-duration: 8s;
}

.bubbles span:nth-child(2) {
    width: 5px;
    height: 5px;
    left: 20%;
    background: var(--gold);
    animation-delay: 1.5s;
    animation-duration: 10s;
}

.bubbles span:nth-child(3) {
    width: 10px;
    height: 10px;
    left: 40%;
    background: var(--orange-lt);
    animation-delay: 3s;
    animation-duration: 7s;
}

.bubbles span:nth-child(4) {
    width: 4px;
    height: 4px;
    left: 60%;
    background: var(--gold-lt);
    animation-delay: 0.8s;
    animation-duration: 12s;
}

.bubbles span:nth-child(5) {
    width: 7px;
    height: 7px;
    left: 75%;
    background: var(--orange);
    animation-delay: 2s;
    animation-duration: 9s;
}

.bubbles span:nth-child(6) {
    width: 6px;
    height: 6px;
    left: 88%;
    background: var(--gold);
    animation-delay: 4s;
    animation-duration: 8s;
}

.bubbles span:nth-child(7) {
    width: 9px;
    height: 9px;
    left: 50%;
    background: var(--orange-lt);
    animation-delay: 1s;
    animation-duration: 11s;
}

.bubbles span:nth-child(8) {
    width: 4px;
    height: 4px;
    left: 30%;
    background: var(--gold-lt);
    animation-delay: 5s;
    animation-duration: 9s;
}

.bubbles span:nth-child(9) {
    width: 6px;
    height: 6px;
    left: 15%;
    background: var(--orange);
    animation-delay: 2.5s;
    animation-duration: 10s;
}

.bubbles span:nth-child(10) {
    width: 5px;
    height: 5px;
    left: 92%;
    background: var(--gold);
    animation-delay: 3.5s;
    animation-duration: 7s;
}

@keyframes bubble {
    0% {
        opacity: 0;
        bottom: -20px;
        transform: scale(1) translateX(0);
    }

    20% {
        opacity: .85;
    }

    80% {
        opacity: .5;
    }

    100% {
        opacity: 0;
        bottom: 100vh;
        transform: scale(0.4) translateX(40px);
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 24px;
    animation: heroIn 1s ease both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero__badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.35);
    color: var(--orange-lt);
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.hero__headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 12vw, 7.5rem);
    font-weight: 700;
    line-height: 1.0;
    color: var(--text);
    margin-bottom: 24px;
}

.hero__headline em {
    font-style: italic;
    background: linear-gradient(135deg, var(--orange-lt), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero__desc strong {
    color: var(--text);
    font-weight: 600;
}

.hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 107, 53, 0.35);
    border-radius: 12px;
    position: relative;
}

.hero__scroll span::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--orange);
    border-radius: 2px;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollPip 1.8s ease-in-out infinite;
}

@keyframes scrollPip {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(18px);
    }
}

/* ================================================
   GIFT SECTION
   ================================================ */
.gift-section {
    padding: 64px 0;
}

.gift-card {
    background: linear-gradient(135deg, #1e1535, #24132b);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin-inline: auto;
    position: relative;
    overflow: hidden;
}

.gift-card::before {
    content: '€ € € € € € € € € € € € € € € € € € € € € € € € € € € € € €';
    position: absolute;
    inset: 0;
    font-size: 3rem;
    line-height: 1.6;
    word-break: break-all;
    color: rgba(245, 200, 66, 0.07);
    pointer-events: none;
    z-index: 0;
    padding: 12px;
    letter-spacing: 0.3em;
}

.gift-card>* {
    position: relative;
    z-index: 1;
}

.gift-card__emoji-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2.4rem;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.gift-card__big {
    line-height: 1;
}

.gift-card__arrow {
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
}

.gift-card__sep {
    color: var(--dark-border);
    font-size: 2rem;
}

.gift-card__no {
    position: relative;
}

.gift-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--text);
    margin-bottom: 14px;
}

.gift-card__text {
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
    margin-inline: auto;
}

.gift-card__text strong {
    color: var(--orange-lt);
}

/* ================================================
   TEASER
   ================================================ */
.teaser-section {
    background: var(--dark-mid);
    padding: 56px 0;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 48px;
}

.teaser-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.teaser-item:hover {
    border-color: rgba(245, 200, 66, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(245, 200, 66, 0.1);
}

.teaser-item__icon {
    font-size: 2.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(245, 200, 66, 0.1);
    box-shadow: inset 0 0 20px rgba(245, 200, 66, 0.05);
    border-radius: 50%;
    margin-bottom: 8px;
    transition: transform 0.4s ease;
}

.teaser-item:hover .teaser-item__icon {
    transform: scale(1.1) rotate(5deg);
}

.teaser-item strong {
    display: block;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.teaser-item p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.teaser-note {
    background: rgba(245, 200, 66, 0.08);
    border: 1px solid rgba(245, 200, 66, 0.22);
    border-radius: var(--radius);
    padding: 16px 22px;
    color: var(--gold-lt);
    font-size: 0.95rem;
    text-align: center;
}

.teaser-note strong {
    color: var(--gold);
}

/* ================================================
   RSVP SECTION
   ================================================ */
.rsvp-section {
    padding: 72px 0 80px;
    background: radial-gradient(ellipse at 60% 0%, #200f40 0%, var(--dark) 65%);
}

.rsvp-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange-lt);
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.25);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.rsvp-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: var(--text);
    margin-bottom: 12px;
}

.rsvp-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
}

.rsvp-notice {
    margin-top: 18px;
    background: rgba(245, 200, 66, 0.08);
    border: 1px solid rgba(245, 200, 66, 0.25);
    border-radius: var(--radius);
    padding: 14px 20px;
    color: var(--gold-lt);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Form */
.rsvp-form {
    max-width: 680px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    gap: 20px;
}

.form-row--2 {
    grid-template-columns: 1fr 1fr;
}

.form-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.req {
    color: var(--orange-lt);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: #e05252;
    box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.15);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff9a6c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Number stepper */
.number-control {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--dark-card);
    transition: var(--transition);
}

.number-control:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.num-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--orange-lt);
    font-size: 1.2rem;
    width: 44px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 600;
    flex-shrink: 0;
}

.num-btn:hover {
    background: rgba(255, 107, 53, 0.15);
    color: var(--gold);
}

.number-control input {
    flex: 1;
    border: none;
    border-radius: 0;
    text-align: center;
    padding: 14px 0;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.number-control input::-webkit-inner-spin-button,
.number-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-control input:focus {
    box-shadow: none;
    border: none;
}

/* Messages */
.form-msg {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    animation: msgIn 0.4s ease;
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.form-msg>span {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.form-msg strong {
    display: block;
    margin-bottom: 4px;
}

.form-msg--success {
    background: rgba(80, 200, 120, 0.1);
    border: 1px solid rgba(80, 200, 120, 0.3);
    color: #80e8a8;
}

.form-msg--error {
    background: rgba(224, 82, 82, 0.1);
    border: 1px solid rgba(224, 82, 82, 0.3);
    color: #f5a0a0;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: #07060f;
    padding: 24px 0;
    border-top: 1px solid var(--dark-border);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer__admin a {
    color: var(--dark-border);
    font-size: 0.75rem;
    opacity: 0.4;
    transition: var(--transition);
}

.footer__admin a:hover {
    opacity: 1;
    color: var(--muted);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 700px) {

    .form-row--2,
    .form-row--3 {
        grid-template-columns: 1fr;
    }

    .gift-card {
        padding: 32px 20px;
    }

    .gift-card__emoji-row {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: clamp(2.8rem, 18vw, 4.5rem);
    }
}

/* Gift card money emoji */
.gift-card__money {
    display: inline-block;
    font-size: 2rem;
    vertical-align: middle;
    margin-left: 6px;
    animation: moneyFloat 2.4s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(245, 200, 66, 0.5));
}

@keyframes moneyFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-6px) rotate(4deg);
    }
}
/* ================================================
   COUNTDOWN
   ================================================ */
.countdown-section {
    padding: 30px 0 0;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: -60px;
}

.countdown-wrap {
    background: rgba(26, 16, 48, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 200, 66, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.countdown-title {
    color: var(--accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 20px;
    font-weight: 700;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.cd-box span {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--light);
    margin-bottom: 5px;
    background: linear-gradient(to bottom, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cd-box label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 480px) {
    .countdown-timer { gap: 10px; }
    .cd-box { min-width: 60px; }
    .cd-box span { font-size: 2rem; }
}

/* ================================================
   CAPACITY PROGRESS BAR
   ================================================ */
.capacity-wrap {
    margin-top: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.capacity-title {
    color: var(--light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    font-weight: 500;
}

.capacity-bar-bg {
    background: rgba(255, 255, 255, 0.1);
    height: 12px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.capacity-bar-fill {
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    height: 100%;
    border-radius: 20px;
    transition: width 1.5s ease-in-out;
    box-shadow: 0 0 10px rgba(229, 46, 113, 0.5);
}

.capacity-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
