
/* ==========================================
   EKRAN LOGOWANIA I ANIMACJA KALIGRAFICZNA
   ========================================== */

/* Ekran logowania */
.login-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #1F2D26 0%, #2a3d32 50%, #3d5a45 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.login-screen.hidden {
    display: none;
}
.login-box {
    text-align: center;
    max-width: 400px;
    width: 100%;
}
.login-initials {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #f8f7f4;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}
.login-date {
    font-size: 0.9rem;
    color: rgba(248, 247, 244, 0.6);
    letter-spacing: 0.2em;
    margin-bottom: 40px;
}
.login-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #f8f7f4;
    margin-bottom: 10px;
}
.login-subtitle {
    font-size: 0.85rem;
    color: rgba(248, 247, 244, 0.6);
    margin-bottom: 30px;
}
.login-input {
    width: 100%;
    padding: 18px 25px;
    font-family: var(--font-body);
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #f8f7f4;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}
.login-input::placeholder {
    color: rgba(248, 247, 244, 0.4);
    letter-spacing: 0.1em;
    text-transform: none;
}
.login-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}
.login-input.error {
    border-color: #c44536;
    animation: shake 0.5s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}
.login-btn {
    width: 100%;
    padding: 18px 25px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: #f8f7f4;
    color: #1F2D26;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.login-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.login-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.login-error.visible {
    opacity: 1;
}
.login-hint {
    margin-top: 40px;
    font-size: 0.75rem;
    color: rgba(248, 247, 244, 0.4);
}
.login-hint strong {
    color: rgba(248, 247, 244, 0.6);
}

/* Preloader - Animacja kaligraficzna */
.preloader {
    position: fixed;
    inset: 0;
    background-color: #1F2D26;
    background-image: linear-gradient(135deg, #1F2D26 0%, #2a3d32 50%, #3d5a45 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.calligraphy-container {
    text-align: center;
    position: relative;
}

.draw-text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 300;
    color: #f8f7f4;
    position: relative;
    display: inline-block;
}
.draw-text .text-content {
    background: linear-gradient(90deg, #f8f7f4 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.preloader.active .draw-text .text-content {
    animation: reveal 2s ease forwards;
}
.preloader.active .draw-text.second .text-content {
    animation: reveal 2s ease forwards 1s;
}
@keyframes reveal {
    0% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

.preloader .underline {
    height: 2px;
    background: linear-gradient(90deg, transparent, #f8f7f4, transparent);
    margin: 20px auto;
    width: 0;
}
.preloader.active .underline {
    animation: lineGrow 1s ease forwards 1.8s;
}
@keyframes lineGrow {
    0% { width: 0; }
    100% { width: 80%; }
}

.ampersand {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: rgba(248, 247, 244, 0.5);
    font-style: italic;
    margin: 10px 0;
    opacity: 0;
}
.preloader.active .ampersand {
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.preloader .date-container {
    margin-top: 40px;
    opacity: 0;
}
.preloader.active .date-container {
    animation: fadeInUp 0.8s ease forwards 2.5s;
}
.preloader .date {
    font-family: var(--font-body);
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: #f8f7f4;
    letter-spacing: 0.3em;
}
.preloader .decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    opacity: 0;
}
.preloader.active .decoration {
    animation: fadeInUp 0.8s ease forwards 2.8s;
}
.preloader .decoration .line {
    width: 50px;
    height: 1px;
    background: rgba(248, 247, 244, 0.3);
}
.preloader .decoration .dot {
    width: 6px;
    height: 6px;
    background: #f8f7f4;
    border-radius: 50%;
}

.preloader .subtitle {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: rgba(248, 247, 244, 0.6);
    font-style: italic;
    margin-top: 30px;
    opacity: 0;
}
.preloader.active .subtitle {
    animation: fadeInUp 0.8s ease forwards 3.2s;
}
.preloader .guest-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #f8f7f4;
    margin-top: 10px;
    opacity: 0;
}
.preloader.active .guest-name {
    animation: fadeInUp 0.8s ease forwards 3.5s;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.preloader .hint {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
}
.preloader.active .hint {
    animation: fadeInUp 0.8s ease forwards 3.8s, pulse 2s ease-in-out infinite 4.5s;
}
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.preloader .sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f8f7f4;
    border-radius: 50%;
    opacity: 0;
}
.preloader .sparkle:nth-child(1) { top: 30%; left: 20%; animation: sparkle 2s ease infinite 0.5s; }
.preloader .sparkle:nth-child(2) { top: 25%; right: 25%; animation: sparkle 2s ease infinite 1s; }
.preloader .sparkle:nth-child(3) { top: 60%; left: 15%; animation: sparkle 2s ease infinite 1.5s; }
.preloader .sparkle:nth-child(4) { top: 55%; right: 20%; animation: sparkle 2s ease infinite 2s; }
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 0.8; transform: scale(1); }
}

/* Blokowanie scrollowania podczas logowania/animacji */
body.no-scroll {
    overflow: hidden !important;
}

/* ==========================================
   POPRAWKI STYLÓW
   ========================================== */

.hero-scroll { display: none !important; }

/* Hero sekcja - zapewnij miejsce na countdown */
.hero {
    padding-bottom: 120px !important;
}

/* Hero content - wycentrowany z marginesem od dołu */
.hero-content {
    margin-bottom: 80px !important;
}

/* Countdown - wyśrodkowany na dole */
.hero-countdown {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(0,0,0,0.3) !important;
    padding: 20px 40px !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
    gap: 2rem !important;
    margin: 0 !important;
    right: auto !important;
    width: auto !important;
    max-width: calc(100% - 40px) !important;
}

/* Mobile fix */
@media (max-width: 768px) {
    .hero {
        padding-bottom: 100px !important;
    }
    .hero-content {
        margin-bottom: 60px !important;
    }
    .hero-countdown {
        bottom: 20px !important;
        padding: 15px 20px !important;
        gap: 1rem !important;
    }
    .countdown-number {
        font-size: 1.3rem !important;
    }
    .countdown-label {
        font-size: 0.55rem !important;
    }
}


/* Ujednolicenie stylu kafelków w sekcji Wesele (detail-box) */
.venue-details {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.detail-box {
    border-left: 4px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    padding: 25px 20px !important;
    min-height: 100px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.detail-box:hover {
    border-left-color: #a8d5ba !important;
    transform: translateX(5px) !important;
}

.detail-box svg {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
}

.detail-box > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.detail-box strong {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    opacity: 0.7 !important;
    white-space: nowrap !important;
}

.detail-box span {
    font-family: var(--font-display) !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #fff !important;
    white-space: nowrap !important;
}

#accommodation .ceremony-info .info-card,
#ceremony .ceremony-info .info-card,
.ceremony-info .info-card {
    border-left: 4px solid var(--color-primary) !important;
    transition: all 0.3s ease !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    padding: 15px 20px !important;
    box-sizing: border-box !important;
}

.info-card:hover {
    border-left-color: var(--color-accent) !important;
    transform: translateX(5px) !important;
}

.info-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%) !important;
    flex-shrink: 0 !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.info-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.info-content h3 {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #666 !important;
    margin: 0 0 4px 0 !important;
}

.info-content p {
    font-family: var(--font-display) !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #1F2D26 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.info-content .info-note {
    font-size: 0.7rem !important;
    color: #888 !important;
    margin-top: 2px !important;
}

/* Sekcje ceremonia i nocleg - wyrównanie */
.ceremony-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: stretch !important;
}

.ceremony-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    justify-content: space-between !important;
}

.ceremony-visual {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    justify-content: space-between !important;
}

.ceremony-visual .image-frame {
    flex: 1 !important;
    display: flex !important;
}

.ceremony-visual .image-frame img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px !important;
}

.ceremony-address {
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .ceremony-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .ceremony-info {
        order: 2 !important;
    }

    .ceremony-visual {
        order: 1 !important;
    }
}

@media (max-width: 768px) {
    .info-content p {
        font-size: 1.7rem !important;
    }
    .venue-details {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .detail-box {
        min-height: auto !important;
        padding: 18px 15px !important;
    }
    .detail-box span {
        font-size: 1.4rem !important;
    }

}

/* Galeria zdjęć - układ mobilny */
@media (max-width: 768px) {
    .venue-showcase .venue-gallery {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto 120px !important;
        gap: 10px !important;
    }
    .venue-showcase .venue-gallery .venue-image-main {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
    }
    .venue-showcase .venue-gallery .venue-image-main img {
        width: 100% !important;
        aspect-ratio: 16/9 !important;
        object-fit: cover !important;
    }
    .venue-showcase .venue-gallery .venue-image-small {
        grid-row: 2 !important;
        height: 120px !important;
        overflow: hidden !important;
    }
    .venue-showcase .venue-gallery .venue-image-small img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* ==========================================
   GALERIA - DWA KAFELKI OBOK SIEBIE
   ========================================== */

/* Layout - dwa kafelki */
/* Upload area - single card design */
.gallery-upload-single {
    max-width: 500px;
    margin: 0 auto 25px;
    background: #fff;
    border: 2px dashed var(--color-gray-300);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-upload-single:hover,
.gallery-upload-single.dragover {
    border-color: var(--color-primary);
    background: rgba(31, 45, 38, 0.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gallery-upload-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
    transition: transform 0.3s ease;
}

.gallery-upload-single:hover .gallery-upload-icon {
    transform: scale(1.05);
}

.gallery-upload-text {
    margin-bottom: 10px;
}

.gallery-upload-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.gallery-upload-text span {
    font-size: 0.82rem;
    color: var(--color-gray-600);
}

.gallery-upload-formats {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
}

.gallery-upload-formats span {
    font-size: 0.72rem;
    color: var(--color-gray-500);
    background: var(--color-gray-100);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Upload progress - inside upload area */
.upload-progress {
    margin-top: 16px;
    text-align: center;
}

.upload-progress .progress-text {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gray-600);
    margin-top: 6px;
}

/* Mobile */
@media (max-width: 500px) {
    .gallery-upload-single {
        margin-left: 10px;
        margin-right: 10px;
        padding: 20px 16px;
    }

    .gallery-upload-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 10px;
    }

    .gallery-upload-icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .gallery-upload-text strong {
        font-size: 1rem;
    }

    .gallery-upload-text span {
        font-size: 0.78rem;
    }

    .gallery-upload-formats span {
        font-size: 0.68rem;
        padding: 2px 8px;
    }
}

@media (max-width: 380px) {
    .gallery-upload-single {
        padding: 16px 12px;
    }

    .gallery-upload-icon {
        width: 40px;
        height: 40px;
    }

    .gallery-upload-text strong {
        font-size: 0.92rem;
    }
}

/* Video play icon overlay */
.gallery-item-video {
    position: relative;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    pointer-events: none;
    transition: background 0.2s;
    padding-left: 3px;
}

.gallery-item-video:hover .video-play-icon {
    background: rgba(0, 0, 0, 0.75);
}

/* Przycisk Zobacz zdjęcia - pełna szerokość */
.gallery-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    width: 100%;
    max-width: 500px;
}

.gallery-view-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(31, 45, 38, 0.3);
}

.gallery-view-btn svg {
    width: 22px;
    height: 22px;
}

.gallery-count {
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 500px) {
    .gallery-view-btn {
        margin-left: 10px;
        margin-right: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }
}


/* ==========================================
   NOWE FUNKCJE
   ========================================== */

/* Hero z tłem zdjęcia */
.hero-image {
    position: absolute;
    inset: 0;
    background: url('images/hero-couple.jpg') center center / cover no-repeat;
    z-index: 0;
}
.hero-overlay {
    background: linear-gradient(135deg, rgba(31,45,38,0.85) 0%, rgba(42,61,50,0.8) 50%, rgba(61,90,69,0.75) 100%) !important;
}

/* Powitanie gościa w hero */
.hero-welcome {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(248, 247, 244, 0.9);
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInWelcome 1s ease forwards 0.5s;
}
@keyframes fadeInWelcome {
    to { opacity: 1; }
}

/* Przyciski obok siebie w ceremony */
.ceremony-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.ceremony-buttons .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

/* ==========================================
   SEKCJA "NASZA HISTORIA" - TIMELINE SWIPE
   ========================================== */
.story-slider {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.story-track {
    display: flex;
    transition: transform 0.4s ease-out;
    cursor: grab;
}

.story-track:active {
    cursor: grabbing;
}

.story-slide {
    flex: 0 0 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.story-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.story-photo {
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center bottom !important;
}

.story-info {
    padding: 20px 25px 25px 25px;
    text-align: center;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.story-year {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}

.story-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #f8f7f4;
    margin-bottom: 10px;
}

.story-heart {
    font-size: 1rem;
    color: rgba(248, 247, 244, 0.4);
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

.story-text {
    font-size: 0.85rem;
    color: rgba(248, 247, 244, 0.75);
    line-height: 1.6;
}

/* Kropki nawigacji */
.story-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.story-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.story-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Hint do przesuwania */
.story-hint {
    text-align: center;
    color: rgba(248, 247, 244, 0.4);
    font-size: 0.8rem;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.story-hint svg {
    width: 16px;
    height: 16px;
    animation: swipeHint 2s ease-in-out infinite;
}

@keyframes swipeHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Mobile */
@media (max-width: 500px) {
    .story-slider {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .story-slide {
        padding: 0;
    }
    .story-info {
        padding: 15px 15px 20px 15px;
        height: 180px;
    }
    .story-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    .story-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .story-dots {
        margin-top: 25px;
    }
    .story-hint {
        padding: 0 20px;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Sekcja prezentów */
.gift-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.gift-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}
.gift-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-cream);
}
.gift-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-cream);
    margin-bottom: 15px;
}
.gift-text {
    color: rgba(248, 247, 244, 0.8);
    line-height: 1.8;
    font-size: 1rem;
}
.gift-subtitle {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-cream);
    margin-bottom: 15px;
    margin-top: 5px;
}
.gift-note {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-style: italic;
    color: rgba(248, 247, 244, 0.6);
    font-size: 0.9rem;
}

/* Old .rsvp-deadline removed - countdown is now inside .rsvp-cta-card */

/* ==========================================
   ZDJĘCIA PARY - PHOTO INTEGRATION
   ========================================== */

/* Hero Slideshow - płynne przejścia między zdjęciami */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: kenBurns 20s ease-in-out infinite;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: -6.6s; }
.hero-slide:nth-child(3) { animation-delay: -13.3s; }

@keyframes kenBurns {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Remove old hero-image style */
.hero-image {
    display: none;
}

/* Story photo hover - usunięto stare style, teraz w sekcji poziomego slidera */

/* Gift Section - z dwoma zdjęciami po bokach */
.gift-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.gift-photo {
    width: 200px;
    height: 280px;
    background-size: cover;
    background-position: center 30%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}
.gift-wrapper .gift-card {
    flex: 1;
    max-width: 500px;
}
@media (max-width: 900px) {
    .gift-wrapper {
        flex-direction: column;
    }
    .gift-photo {
        width: 150px;
        height: 200px;
    }
    .gift-wrapper .gift-photo:last-child {
        display: none;
    }
}

/* Afterparty Section - ze zdjęciem */
.afterparty-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.afterparty-photo {
    width: 250px;
    height: 320px;
    background-size: cover;
    background-position: center 25%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
.afterparty-wrapper .afterparty-card {
    flex: 1;
}
@media (max-width: 768px) {
    .afterparty-wrapper {
        flex-direction: column;
        gap: 20px !important;
    }
    .afterparty-photo {
        width: 200px;
        height: 260px;
    }

    #afterparty .section-header {
        margin-bottom: 20px !important;
    }

    #afterparty .section-title {
        font-size: 2rem !important;
    }

    #afterparty .section-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
    }

    .afterparty-card {
        padding: 25px !important;
        gap: 12px !important;
    }

    .afterparty-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 0 !important;
    }

    .afterparty-icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .afterparty-content h3 {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }

    .afterparty-content > p {
        font-size: 1rem !important;
        margin-bottom: 18px !important;
        line-height: 1.5 !important;
    }

    .afterparty-details {
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .afterparty-detail {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }

    .afterparty-detail svg {
        width: 16px !important;
        height: 16px !important;
    }

    .afterparty-dress {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }
}

/* ==========================================
   RSVP - NOWE STYLE
   ========================================== */

/* Override - ciemne tło formularza */
.rsvp-form {
    background: linear-gradient(135deg, rgba(31, 45, 38, 0.95) 0%, rgba(42, 61, 50, 0.95) 100%) !important;
    color: #f8f7f4 !important;
}
.rsvp-form .form-step h3 {
    color: #f8f7f4 !important;
}
.rsvp-form .form-group label {
    color: rgba(248, 247, 244, 0.8) !important;
}
.rsvp-form .form-group input,
.rsvp-form .form-group select,
.rsvp-form .form-group textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #f8f7f4 !important;
}
.rsvp-form .form-group input::placeholder,
.rsvp-form .form-group textarea::placeholder {
    color: rgba(248, 247, 244, 0.4) !important;
}
.rsvp-form .checkbox-label,
.rsvp-form .companion-info,
.rsvp-form .no-companion-info {
    color: rgba(248, 247, 244, 0.8) !important;
}
/* Old rsvp-already-submitted styles removed - replaced by .rsvp-confirmed */
}

/* Guest Identity */
.guest-identity {
    text-align: center;
    padding: 25px 20px;
}
.guest-avatar {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #f8f7f4;
    margin: 0 auto 15px;
}
.guest-identity h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #f8f7f4;
    margin-bottom: 8px;
    font-weight: 400;
}
.guest-identity h3 span {
    color: #f8f7f4;
}
.guest-identity-info {
    color: rgba(248, 247, 244, 0.8);
    font-size: 1.3rem;
    margin-bottom: 0;
}

.guest-identity + .form-buttons {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.form-step[data-step="1"] .guest-switch {
    margin-top: 0 !important;
}

/* RSVP Desktop - spójne odstępy */
.rsvp-form {
    padding: 35px 40px !important;
}

.rsvp-form .form-step h3 {
    margin-bottom: 25px !important;
}

.rsvp-form .form-options {
    gap: 20px !important;
    margin-bottom: 0 !important;
    grid-template-columns: 1fr 1fr !important;
}

.rsvp-form .form-option {
    width: 100% !important;
}

.rsvp-form .option-card {
    padding: 20px 15px !important;
    gap: 8px !important;
    height: 100% !important;
    min-height: auto !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}
.rsvp-form .option-card svg {
    color: rgba(248, 247, 244, 0.85) !important;
}
.rsvp-form .option-card strong {
    color: rgba(248, 247, 244, 0.95) !important;
}
.rsvp-form .option-card span {
    color: rgba(248, 247, 244, 0.7) !important;
}

/* Zaznaczona opcja */
.rsvp-form .form-option input:checked + .option-card {
    background: rgba(61, 90, 69, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}
.rsvp-form .form-option input:checked + .option-card svg,
.rsvp-form .form-option input:checked + .option-card strong {
    color: #fff !important;
}

/* Opcje przedłużenia noclegu */
.extend-options {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.extend-options .checkbox-group {
    margin-bottom: 10px;
}

.extend-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0 0 0;
}

.extend-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Dodatkowe odstępy między grupami formularza */
.form-step[data-step="4"] .form-group {
    margin-bottom: 25px;
}

/* Mniejsze przyciski Tak/Nie w kroku 2 */
.form-step[data-step="2"] .option-card {
    padding: 15px 25px !important;
    gap: 6px !important;
}

.form-step[data-step="2"] .option-card svg {
    width: 22px !important;
    height: 22px !important;
}

.form-step[data-step="2"] .option-card strong {
    font-size: 0.95rem !important;
}

.form-step[data-step="2"] .option-card span {
    font-size: 0.75rem !important;
}

.form-step[data-step="2"] .form-options {
    gap: 12px !important;
}

/* Mniejsze przyciski Tak/Nie w kroku 3 i 4 */
.form-step[data-step="3"] .option-card-small,
.form-step[data-step="4"] .option-card-small {
    padding: 10px 20px !important;
    gap: 5px !important;
    flex-direction: row !important;
}

.form-step[data-step="3"] .option-card-small svg,
.form-step[data-step="4"] .option-card-small svg {
    width: 18px !important;
    height: 18px !important;
}

.form-step[data-step="3"] .option-card-small strong,
.form-step[data-step="4"] .option-card-small strong {
    font-size: 0.9rem !important;
}

.form-step[data-step="3"] .form-options-small,
.form-step[data-step="4"] .form-options-small {
    gap: 10px !important;
}


.rsvp-form .form-buttons {
    margin-top: 30px !important;
}

.rsvp-form .form-group {
    margin-bottom: 25px !important;
}

.rsvp-form .form-group:last-of-type {
    margin-bottom: 0 !important;
}

/* Partner Info */
.partner-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(248, 247, 244, 0.85);
    font-size: 1rem;
}
.partner-info svg {
    width: 18px;
    height: 18px;
    color: #e57373;
}
.partner-info strong {
    color: #f8f7f4;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Guest Switch Link */
.guest-switch {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    color: rgba(248, 247, 244, 0.5);
}
.guest-switch a {
    color: rgba(248, 247, 244, 0.7);
    text-decoration: underline;
    cursor: pointer;
}
.guest-switch a:hover {
    color: #f8f7f4;
}

/* Guest Select Fallback */
.guest-select-fallback {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}
.guest-select-fallback label {
    color: rgba(248, 247, 244, 0.7) !important;
    margin-bottom: 12px;
    display: block;
    font-size: 0.9rem;
}
.guest-select-fallback select {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #f8f7f4;
    font-size: 0.95rem;
    margin: 0 auto;
    display: block;
}
.guest-select-fallback select option {
    background: #1F2D26;
    color: #f8f7f4;
}
.guest-select-fallback .btn {
    margin-top: 15px !important;
}

/* Partner Section in Step 3 */
.partner-section-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    margin-bottom: 15px;
}
.partner-section-info .partner-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(248, 247, 244, 0.7);
}
.partner-section-info .partner-label svg {
    width: 16px;
    height: 16px;
    color: #ff6b6b;
}
.partner-section-info .partner-name {
    font-size: 1.4rem;
    color: #fff;
    font-family: var(--font-display);
}
.partner-section-note {
    text-align: center;
    color: rgba(248, 247, 244, 0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
}


/* ==========================================
   RSVP CTA (not yet confirmed)
   ========================================== */
.rsvp-cta-card {
    max-width: 520px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(31,45,38,0.95), rgba(42,61,50,0.95));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 36px 32px 28px;
    text-align: center;
}
.rsvp-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(125,170,138,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #7daa8a;
}
.rsvp-cta-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 6px;
}
.rsvp-cta-sub {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    margin-bottom: 24px;
}
.rsvp-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.rsvp-countdown-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 600;
    color: #7daa8a;
    line-height: 1;
    margin-bottom: 4px;
}
.rsvp-countdown-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
    line-height: 1.3;
}
.rsvp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    background: #7daa8a;
    color: #1F2D26;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}
.rsvp-cta-btn:hover {
    background: #92bba0;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(125,170,138,0.25);
}
.rsvp-cta-deadline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* ==========================================
   RSVP CONFIRMED (compact grid)
   ========================================== */
.rsvp-confirmed {
    max-width: 520px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(31,45,38,0.95), rgba(42,61,50,0.95));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
}
.rsvp-confirmed-header {
    padding: 28px 28px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rsvp-confirmed-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}
.rsvp-confirmed-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(125,206,160,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7dcea0;
    flex-shrink: 0;
}
.rsvp-confirmed-check.declined {
    background: rgba(224,160,160,0.15);
    color: #e0a0a0;
}
.rsvp-confirmed-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
}
.rsvp-confirmed-sub {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}
.rsvp-confirmed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.04);
}
.rsvp-grid-cell {
    padding: 16px 14px;
    text-align: center;
    background: rgba(31,45,38,0.95);
}
.rsvp-grid-cell-icon {
    color: rgba(255,255,255,0.3);
    margin-bottom: 6px;
}
.rsvp-grid-cell-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 2px;
}
.rsvp-grid-cell-value {
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
}
.rsvp-grid-cell-value.val-yes { color: #7dcea0; }
.rsvp-grid-cell-value.val-no { color: #e0a0a0; }

.rsvp-confirmed-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.rsvp-confirmed-meta {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
}
.rsvp-confirmed-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-body);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.25s;
}
.rsvp-confirmed-edit:hover {
    border-color: #7daa8a;
    color: #7daa8a;
}
.rsvp-locked-message {
    text-align: center;
    padding: 12px 24px 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Responsive */
@media (max-width: 500px) {
    .rsvp-cta-card { padding: 28px 20px 24px; }
    .rsvp-cta-title { font-size: 1.3rem; }
    .rsvp-countdown-number { font-size: 2rem; }
    .rsvp-confirmed-header { padding: 22px 20px 16px; }
    .rsvp-confirmed-title { font-size: 1.3rem; }
    .rsvp-confirmed-grid { grid-template-columns: 1fr 1fr 1fr; }
    .rsvp-grid-cell { padding: 12px 8px; }
    .rsvp-grid-cell-value { font-size: 0.78rem; }
    .rsvp-confirmed-footer { padding: 12px 16px; }
}
@media (max-width: 380px) {
    .rsvp-confirmed-grid { grid-template-columns: 1fr 1fr; }
    .rsvp-confirmed-title { font-size: 1.15rem; }
}

/* ==========================================
   KOMPLEKSOWE POPRAWKI MOBILNE
   ========================================== */

@media (max-width: 768px) {
    /* Ogólne sekcje */
    .section {
        padding: 60px 20px !important;
    }
    .section-header {
        margin-bottom: 30px !important;
    }
    .section-title {
        font-size: 2rem !important;
    }
    .section-subtitle {
        font-size: 0.95rem !important;
    }

    /* Hero */
    .hero {
        min-height: 100svh !important;
        padding: 80px 20px 100px !important;
    }
    .hero-content {
        padding: 0 10px !important;
    }
    .hero-names {
        font-size: 2.5rem !important;
    }
    .hero-date {
        font-size: 1rem !important;
        letter-spacing: 0.15em !important;
    }
    .hero-welcome {
        font-size: 1rem !important;
    }
    .hero-countdown {
        padding: 15px 20px !important;
        gap: 0.8rem !important;
        border-radius: 12px !important;
    }
    .countdown-item {
        min-width: 50px;
    }
    .countdown-number {
        font-size: 1.4rem !important;
    }
    .countdown-label {
        font-size: 0.6rem !important;
    }

    /* Info Cards - Ślub Cywilny */
    .ceremony-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .ceremony-info {
        order: 2;
    }
    .ceremony-visual {
        order: 1;
    }
    .info-card {
        padding: 15px !important;
        flex-direction: row !important;
        text-align: left !important;
        gap: 15px !important;
        border-left: 3px solid var(--color-primary) !important;
    }
    .info-icon {
        width: 45px !important;
        height: 45px !important;
        flex-shrink: 0;
    }
    .info-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .info-content h3 {
        font-size: 0.75rem !important;
    }
    .info-content p {
        font-size: 1.4rem !important;
    }
    .info-note {
        font-size: 0.7rem !important;
    }
    .ceremony-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .ceremony-buttons .btn {
        width: 100% !important;
    }

    /* Detail Boxes - Wesele */
    .venue-details {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .detail-box {
        padding: 15px !important;
        gap: 12px !important;
    }
    .detail-box strong {
        font-size: 0.7rem !important;
    }
    .detail-box span {
        font-size: 1.2rem !important;
    }

    /* Venue Gallery */
    .venue-gallery {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .venue-image-main,
    .venue-image-small {
        height: 200px !important;
    }

    /* Accommodation */
    .accommodation-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .hotel-card {
        padding: 25px !important;
    }

    /* Gift Section */
    .gift-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .gift-photo {
        display: none !important;
    }
    .gift-card {
        padding: 30px 25px !important;
    }
    .gift-title {
        font-size: 1.5rem !important;
    }
    .gift-subtitle {
        font-size: 1.1rem !important;
    }
    .gift-text {
        font-size: 0.9rem !important;
    }

    /* RSVP Form */
    .rsvp-form {
        padding: 25px 18px !important;
        border-radius: 16px !important;
    }
    .form-step h3 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
    }
    .guest-identity {
        padding: 15px 15px 20px !important;
    }
    .guest-avatar {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
    }
    .guest-identity h3 {
        font-size: 1.4rem !important;
        margin-bottom: 5px !important;
    }
    .guest-identity-info {
        font-size: 0.85rem !important;
    }
    .guest-identity + .form-buttons {
        margin-top: 18px !important;
        margin-bottom: 18px !important;
    }
    .form-step[data-step="1"] .guest-switch {
        margin-top: 0 !important;
        font-size: 0.8rem !important;
    }
    .form-options {
        gap: 12px !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .form-option {
        width: 100% !important;
    }
    .option-card {
        padding: 15px 12px !important;
        gap: 6px !important;
        height: 100% !important;
        min-height: auto !important;
    }
    .option-card svg {
        width: 26px !important;
        height: 26px !important;
    }
    .option-card strong {
        font-size: 0.9rem !important;
    }
    .option-card span {
        font-size: 0.7rem !important;
    }
    .form-buttons {
        margin-top: 20px !important;
        gap: 10px !important;
    }
    .form-group {
        margin-bottom: 15px !important;
    }
    .form-group label {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px !important;
        font-size: 16px !important;
    }
    .form-success {
        padding: 25px 15px !important;
    }
    .success-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }
    .success-icon svg {
        width: 28px !important;
        height: 28px !important;
    }
    .form-success h3 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }
    .form-success p {
        font-size: 0.95rem !important;
    }
    .partner-info {
        margin-top: 12px !important;
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    /* .rsvp-footer-note removed */
    .checkbox-group {
        gap: 10px !important;
    }
    .checkbox-label {
        font-size: 0.85rem !important;
    }
    .form-navigation {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .form-navigation .btn {
        width: 100% !important;
    }

    /* Buttons */
    .btn {
        padding: 14px 24px !important;
        font-size: 0.85rem !important;
    }

    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .faq-item {
        padding: 20px !important;
    }

    /* Footer */
    .footer {
        padding: 40px 20px !important;
    }
    .footer-names {
        font-size: 2rem !important;
    }
    .footer-links {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .gallery-upload {
        padding: 25px !important;
    }

    /* Afterparty */
    .afterparty-wrapper {
        flex-direction: column !important;
    }
    .afterparty-photo {
        width: 150px !important;
        height: 200px !important;
    }
    .afterparty-card {
        padding: 25px !important;
    }
}

/* Mniejsze telefony */
@media (max-width: 400px) {
    .hero-names {
        font-size: 2rem !important;
    }
    .section-title {
        font-size: 1.7rem !important;
    }
    .info-content p {
        font-size: 1.2rem !important;
    }
    .countdown-number {
        font-size: 1.2rem !important;
    }
    .story-title {
        font-size: 1.2rem !important;
    }

    /* RSVP dla małych ekranów */
    .rsvp-form {
        padding: 20px 15px !important;
    }
    .guest-avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.4rem !important;
    }
    .guest-identity h3 {
        font-size: 1.25rem !important;
    }
    .form-options {
        grid-template-columns: 1fr 1fr !important;
    }
    .option-card {
        padding: 12px 10px !important;
        height: 100% !important;
        min-height: auto !important;
    }
    .option-card svg {
        width: 22px !important;
        height: 22px !important;
    }
    .option-card strong {
        font-size: 0.85rem !important;
    }
    .option-card span {
        font-size: 0.65rem !important;
    }
    .form-success h3 {
        font-size: 1.25rem !important;
    }
    .form-success p {
        font-size: 0.9rem !important;
    }
}

/* Landscape orientation na telefonach */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding: 60px 20px !important;
    }
    .hero-countdown {
        position: relative !important;
        bottom: auto !important;
        margin-top: 20px !important;
    }
}

/* ==========================================
   MENU NAWIGACYJNE - HAMBURGER NA WSZYSTKICH URZĄDZENIACH
   ========================================== */

/* Hamburger zawsze widoczny */
.nav-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    cursor: pointer;
}

/* Menu zawsze jako rozwijane (fullscreen) */
.nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 400px !important;
    height: 100vh !important;
    background: var(--color-primary) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 100px 50px 50px 50px !important;
    gap: 0 !important;
    transition: right 0.3s ease !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
}

.nav-menu.active {
    right: 0 !important;
}

.nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.nav-menu li:last-child {
    border-bottom: none;
    margin-bottom: 30px;
}

/* Przycisk CTA (Potwierdź) - wyróżniony */
.nav-menu li:has(.nav-link-cta) {
    border-bottom: none;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.nav-menu li:has(.nav-link-cta) .nav-link-cta {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
}

.nav-link {
    display: block !important;
    width: 100% !important;
    padding: 16px 0 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    text-align: left !important;
}

.nav-link::after {
    display: none !important;
}

/* Aktywny link w menu */
.nav-link.active {
    color: #a8d5ba !important;
    position: relative;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #fff;
    border-radius: 2px;
}

/* Przycisk CTA w menu */
.nav-link-cta {
    display: inline-block !important;
    width: auto !important;
    margin-top: 10px !important;
    padding: 14px 28px !important;
    background: #f8f7f4 !important;
    color: #1F2D26 !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.nav-link-cta:hover {
    transform: scale(1.02);
}

.nav-link-cta.active {
    background: #a8d5ba !important;
    color: #1F2D26 !important;
}

.nav-link-cta.active::before {
    display: none !important;
}

/* Overlay gdy menu otwarte */
.nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
}

.nav-menu.active::before {
    opacity: 1;
    visibility: visible;
}

/* Tablet i mniejsze - węższe menu */
@media (max-width: 768px) {
    .nav-menu {
        max-width: 320px !important;
        padding: 80px 40px 40px 40px !important;
    }

    .nav-link {
        padding: 14px 0 !important;
        font-size: 1rem !important;
    }

    .nav-link.active::before {
        left: -20px;
    }
}

/* Małe telefony */
@media (max-width: 500px) {
    .nav-menu {
        max-width: 280px !important;
        padding: 70px 30px 30px 30px !important;
    }

    .nav-link {
        padding: 12px 0 !important;
        font-size: 0.95rem !important;
    }

    .nav-link-cta {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }

    .nav-link.active::before {
        left: -15px;
        width: 3px;
        height: 16px;
    }
}

/* Menu w trybie landscape - kompaktowe */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-menu {
        padding: 60px 30px 20px 30px !important;
        max-width: 350px !important;
    }

    .nav-link {
        padding: 10px 0 !important;
        font-size: 0.9rem !important;
    }

    .nav-menu li:last-child {
        margin-top: 10px !important;
        margin-bottom: 15px !important;
    }

    .nav-link-cta {
        padding: 10px 20px !important;
    }
}

/* ==========================================
   IMAGE MODAL NAVIGATION
   ========================================== */

#imageModal button:hover {
    background: rgba(255,255,255,0.3) !important;
}

#imgPrevBtn,
#imgNextBtn {
    opacity: 0.7;
    transition: opacity 0.3s, background 0.3s, transform 0.2s;
}

#imgPrevBtn:hover,
#imgNextBtn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#imgPrevBtn:active,
#imgNextBtn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Mobile adjustments for image modal */
@media (max-width: 768px) {
    #imgPrevBtn,
    #imgNextBtn {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }

    #imgPrevBtn {
        left: 10px !important;
    }

    #imgNextBtn {
        right: 10px !important;
    }

    #modalImageSrc {
        max-width: calc(100vw - 80px) !important;
    }

    #imgCounter {
        font-size: 0.8rem !important;
        bottom: 15px !important;
    }
}

/* ==========================================
   MUSIC TOGGLE BUTTON
   ========================================== */

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.music-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.music-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.music-toggle.playing {
    background: rgba(168, 213, 186, 0.3);
    border-color: rgba(168, 213, 186, 0.5);
    animation: pulse-music 2s ease-in-out infinite;
}

@keyframes pulse-music {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 213, 186, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(168, 213, 186, 0); }
}

.music-toggle svg {
    width: 20px;
    height: 20px;
}

/* Icon switching */
.music-icon-on {
    display: none;
}

.music-icon-off {
    display: block;
}

.music-toggle.playing .music-icon-on {
    display: block;
}

.music-toggle.playing .music-icon-off {
    display: none;
}

/* ==========================================
   HERO SECTION SPACING
   ========================================== */

.hero-title {
    margin-top: 0.5rem !important;
    margin-bottom: 1.5rem !important;
}

.hero-date {
    margin-bottom: 1.5rem !important;
}

.hero-location {
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.hero-countdown {
    bottom: 60px !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 500 !important;
}

.countdown-label {
    font-size: 0.75rem !important;
    opacity: 0.8 !important;
    letter-spacing: 0.1em !important;
}

@media (max-width: 768px) {
    .hero-date {
        margin-bottom: 1.2rem !important;
    }

    .hero-location {
        margin-top: 0.8rem !important;
        margin-bottom: 1.2rem !important;
    }

    .hero-countdown {
        bottom: 50px !important;
        padding: 20px 30px;
        gap: 1.5rem !important;
    }

    .countdown-number {
        font-size: 1.8rem !important;
    }
}

/* ==========================================
   PRZYCISK USUWANIA ZDJĘĆ W GALERII
   ========================================== */

/* Gallery item - pozycja relatywna dla przycisku */
.gallery-item {
    position: relative;
}

/* Przycisk usuwania zdjęcia */
.photo-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .photo-delete-btn {
    opacity: 1;
}

.photo-delete-btn:hover {
    background: rgba(200, 35, 51, 1);
    transform: scale(1.1);
}

.photo-delete-btn:active {
    transform: scale(0.95);
}

/* Mobile - przycisk zawsze widoczny */
@media (max-width: 768px) {
    .photo-delete-btn {
        opacity: 1;
        width: 28px;
        height: 28px;
        font-size: 18px;
        top: 6px;
        right: 6px;
    }
}

/* Bardzo małe telefony */
@media (max-width: 380px) {
    .photo-delete-btn {
        width: 24px;
        height: 24px;
        font-size: 16px;
        top: 4px;
        right: 4px;
    }
}

/* Przycisk usuwania w modalu galerii */
#galleryModalGrid .gallery-item {
    position: relative;
}

#galleryModalGrid .photo-delete-btn {
    opacity: 1;
}

/* ==========================================
   RSVP MODAL - DODATKOWE INFORMACJE
   ========================================== */

.rsvp-modal-content {
    background: linear-gradient(135deg, rgba(31, 45, 38, 0.95) 0%, rgba(42, 61, 50, 0.95) 100%) !important;
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
    position: relative;
    border-radius: 20px;
    padding: 35px 40px;
    color: #f8f7f4;
}

.rsvp-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.rsvp-modal-close:hover {
    color: #fff;
}

.rsvp-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #f8f7f4 !important;
    text-align: center;
    font-weight: 400;
}

#rsvpDetailsModal .form-group {
    margin-bottom: 25px !important;
}

#rsvpDetailsModal .form-group > label {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: rgba(248, 247, 244, 0.8) !important;
    margin-bottom: 12px !important;
    display: block;
}

#rsvpDetailsModal .form-options {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
}

#rsvpDetailsModal .form-option {
    width: 100% !important;
}

#rsvpDetailsModal .option-card-small {
    padding: 10px 20px !important;
    gap: 5px !important;
    flex-direction: row !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

#rsvpDetailsModal .option-card-small svg {
    width: 18px !important;
    height: 18px !important;
}

#rsvpDetailsModal .option-card-small strong {
    font-size: 0.9rem !important;
}

#rsvpDetailsModal .form-option input:checked + .option-card {
    border-color: rgba(255, 255, 255, 0.9) !important;
}

#rsvpDetailsModal .extend-options,
#rsvpDetailsModal .dog-note {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#rsvpDetailsModal .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#rsvpDetailsModal .checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: rgba(248, 247, 244, 0.8) !important;
    font-size: 0.9rem;
    cursor: pointer;
}

#rsvpDetailsModal .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #f8f7f4;
    cursor: pointer;
}

#rsvpDetailsModal .extend-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0 0 0;
}

#rsvpDetailsModal textarea {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px;
    color: #f8f7f4 !important;
    font-size: 16px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}

#rsvpDetailsModal textarea::placeholder {
    color: rgba(248, 247, 244, 0.4) !important;
}

#rsvpDetailsModal textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

#rsvpDetailsModal .form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px !important;
}

#rsvpDetailsModal .form-buttons .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .rsvp-modal-content {
        padding: 25px 18px !important;
        margin: 10px auto;
        border-radius: 16px;
    }

    .rsvp-modal-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    #rsvpDetailsModal .form-group > label {
        font-size: 0.95rem !important;
        margin-bottom: 10px !important;
    }

    #rsvpDetailsModal .form-group {
        margin-bottom: 20px !important;
    }

    #rsvpDetailsModal .form-options {
        gap: 10px !important;
    }

    #rsvpDetailsModal .option-card-small {
        padding: 12px 15px !important;
    }

    #rsvpDetailsModal .form-buttons {
        flex-direction: column;
        gap: 10px;
    }

    #rsvpDetailsModal .form-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .rsvp-modal-content {
        padding: 20px 15px !important;
    }

    .rsvp-modal-title {
        font-size: 1.3rem;
    }

    #rsvpDetailsModal .form-group > label {
        font-size: 0.9rem !important;
    }

    #rsvpDetailsModal .option-card-small {
        padding: 10px 12px !important;
    }

    #rsvpDetailsModal .option-card-small strong {
        font-size: 0.85rem !important;
    }
}

/* ==========================================
   KOMPAKTOWY FOOTER
   ========================================== */

.footer {
    padding: 2.5rem 1.5rem 2rem !important;
}


.footer-names {
    font-size: 2.2rem !important;
    margin-bottom: 0.3rem !important;
    letter-spacing: 0.1em;
}

.footer-date {
    font-size: 0.95rem !important;
    margin-bottom: 0.6rem !important;
}

.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 0.8rem;
}

.footer-line {
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.footer-hashtag {
    font-size: 0.85rem !important;
    padding: 0.4rem 1rem !important;
}

/* Ukryj stare fale/krzywe - nie pasują do minimalistycznego stylu */
.footer-wave {
    display: none !important;
}

.section-decoration {
    display: none !important;
}

/* Responsywność footera - tablet */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.25rem 1.5rem !important;
    }

    .footer-names {
        font-size: 1.9rem !important;
    }
}

/* Responsywność footera - telefon */
@media (max-width: 500px) {
    .footer {
        padding: 1.5rem 1rem 1.25rem !important;
    }

    .footer-decoration {
        gap: 14px;
        margin-bottom: 1rem;
    }

    .footer-line {
        width: 40px;
    }

    .footer-names {
        font-size: 1.6rem !important;
    }

    .footer-date {
        font-size: 0.85rem !important;
    }
}



/* Companion Section in Step 3 */
.companion-section,
.partner-section {
    background: transparent !important;
    padding: 0 !important;
}
.companion-section .partner-label svg {
    color: #7cb587 !important;
}

/* Companion Details in Modal */
#companionDetailsSection {
    background: rgba(61, 90, 69, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(61, 90, 69, 0.25);
}
#companionDetailsSection .form-group {
    margin-bottom: 1rem;
}
#companionDetailsSection .form-group:last-of-type {
    margin-bottom: 0;
}
#companionDetailsSection label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}
#companionDetailsSection input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
}
#companionDetailsSection input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
#companionDetailsSection input:focus {
    outline: none;
    border-color: rgba(61, 90, 69, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

/* RSVP Summary in Modal */
.rsvp-summary {
    background: rgba(61, 90, 69, 0.15) !important;
    border: 1px solid rgba(61, 90, 69, 0.25) !important;
}
.rsvp-summary h4 {
    color: rgba(255, 255, 255, 0.95) !important;
}
.rsvp-summary p {
    color: rgba(255, 255, 255, 0.85) !important;
}



/* Walidacja pól w modalu */
#rsvpDetailsModal .form-group.has-error label {
    color: #ff6b6b !important;
}
#rsvpDetailsModal .form-group.has-error .option-card-small {
    border-color: #ff6b6b !important;
}
#rsvpDetailsModal .has-error {
    animation: shake 0.3s ease-in-out;
}
#rsvpDetailsModal .field-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
#rsvpDetailsModal .field-error svg {
    width: 14px;
    height: 14px;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ==========================================
   KROK 4: DANE OSOBY TOWARZYSZĄCEJ
   ========================================== */

#companionDetailsStep h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #f8f7f4;
    margin-bottom: 8px;
    font-weight: 400;
    text-align: center;
}

#companionDetailsStep .step-subtitle {
    text-align: center;
}

#companionDetailsStep .form-group {
    text-align: left;
}

#companionDetailsStep .form-group label {
    display: flex;
    align-items: center;
    color: rgba(248, 247, 244, 0.9);
    font-size: 1rem;
    margin-bottom: 10px;
}

#companionDetailsStep .form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #f8f7f4;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

#companionDetailsStep .form-input::placeholder {
    color: rgba(248, 247, 244, 0.4);
}

#companionDetailsStep .form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

/* Responsywność */
@media (max-width: 500px) {
    #companionDetailsStep .form-input {
        padding: 12px 14px;
        font-size: 16px;
    }
}

/* Contact cards - full width on mobile */
@media (max-width: 768px) {
    .contact-cards {
        max-width: 100%;
        gap: 16px;
    }
    .contact-card {
        padding: 20px;
        gap: 16px;
    }
    .contact-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    .contact-info h3 {
        font-size: 1.3rem;
    }
    .contact-info span {
        font-size: 1.05rem;
    }
    .contact-card > svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 500px) {
    .contact-card {
        padding: 18px;
        gap: 14px;
    }
    .contact-avatar {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    .contact-info h3 {
        font-size: 1.2rem;
    }
    .contact-info span {
        font-size: 1rem;
    }
    .contact-card > svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================
   MAPA VENUE - responsywność
   ========================================== */
.venue-map {
    margin-top: 30px;
    overflow: hidden;
    border-radius: 16px;
}

.venue-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 16px;
    display: block;
}

@media (max-width: 768px) {
    .venue-map iframe {
        height: 250px;
    }
}

@media (max-width: 500px) {
    .venue-map iframe {
        height: 200px;
    }
}



/* Stan "przetwarzanie filmu" dla swiezo wgranych filmow Bunny (transkodowanie ~1-2 min) */
.video-processing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 45, 38, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 10px;
    font-size: 0.78rem;
    line-height: 1.35;
    z-index: 4;
    border-radius: inherit;
}
.video-processing-overlay small {
    opacity: 0.7;
    font-size: 0.68rem;
}
.video-processing .video-play-icon { display: none; }
.vp-spin {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vpspin 0.8s linear infinite;
}
@keyframes vpspin { to { transform: rotate(360deg); } }

/* Podglad zdjec: nawigacja + licznik + spinner */
.pm-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;background:rgba(20,28,23,.55);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:6;-webkit-tap-highlight-color:transparent;user-select:none}
.pm-prev{left:10px}
.pm-next{right:10px}
.pm-nav:hover{background:rgba(20,28,23,.85)}
.pm-counter{position:absolute;top:16px;left:18px;color:#fff;font-size:13px;letter-spacing:1px;z-index:6;opacity:.85}
.pm-spinner{position:absolute;top:50%;left:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border:3px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:pmspin .8s linear infinite;z-index:5;display:none}
@keyframes pmspin{to{transform:rotate(360deg)}}
#modalImage{transition:opacity .15s}
