/* style.css - Modern Minimalist z Licznikiem */

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #faf7f2;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- LICZNIK --- */
.countdown-timer {
    position: fixed;
    top: 75px; /* Tuż pod nawigacją */
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 15px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 999;
    border-radius: 2px;
}

/* NAWIGACJA */
nav {
    position: fixed;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    gap: 30px;
    z-index: 1000;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav a { text-decoration: none; color: white; transition: 0.3s; }
nav a:hover { opacity: 0.6; }

/* CZARNY NAGŁÓWEK */
.hero-new {
    background-color: #1a1a1a;
    min-height: 60vh;
    display: flex;
    padding: 120px 10%;
    color: white;
    align-items: center;
}

.hero-left { flex: 1; text-align: left; }
.hero-right { flex: 1; text-align: left; padding-left: 50px; }

.wedding-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 400;
}

.hero-date {
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.hero-intro {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 400px;
    font-weight: 300;
}

.rings-icon { margin-bottom: 20px; }

/* SEKCJA ŚLUB I WESELE */
.ceremony-reception {
    display: flex;
    gap: 40px;
    padding: 100px 10%;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card { flex: 1; text-align: center; }

.event-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.event-image img { width: 100%; height: 100%; object-fit: cover; }

.event-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 10px; }

.map-link-minimal {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #1a1a1a;
    letter-spacing: 2px;
    border-bottom: 1px solid #1a1a1a;
}

/* SLIDER ZDJĘĆ */
.slider-wrapper {
    margin-top: 50px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover { background: rgba(255, 255, 255, 1); color: #1a1a1a; }
.prev { left: 5%; }
.next { right: 5%; }

.photo-slider {
    display: flex;
    overflow-x: scroll;
    padding: 40px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.photo-slider::-webkit-scrollbar { display: none; }

.slide {
    flex: 0 0 70%;
    margin: 0 15px;
    scroll-snap-align: center;
    transition: all 0.5s ease;
    opacity: 0.3;
    transform: scale(0.9);
}

.slide.active { opacity: 1; transform: scale(1); }
.slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #1a1a1a; }

/* PRZYCISK GALERII */
.upload-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 20px 40px;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    border: 1px solid #1a1a1a;
}

.upload-btn:hover { background-color: transparent; color: #1a1a1a; }

/* POZOSTAŁE SEKCJE */
section { padding: 100px 20px; text-align: center; }
.alt-bg { background-color: #f2eee8; max-width: 100%; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 2px; }
.story-text { max-width: 650px; margin: 0 auto; font-size: 1.1rem; font-weight: 300; }
.contact-box p { margin: 10px 0; font-size: 1.3rem; font-family: 'Playfair Display', serif; }

footer { padding: 60px; background-color: #1a1a1a; color: white; text-align: center; font-size: 0.7rem; letter-spacing: 4px; }

@media (max-width: 850px) {
    .countdown-timer { top: auto; bottom: 20px; right: 20px; left: 20px; text-align: center; font-size: 0.6rem; }
    .nav-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
    .prev { left: 2%; }
    .next { right: 2%; }
    .slide { flex: 0 0 85%; }
    .hero-new { flex-direction: column; padding: 100px 20px; text-align: center; }
    .hero-right { padding-left: 0; margin-top: 40px; }
}