/* Reset i podstawowe ustawienia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: linear-gradient(rgba(253, 251, 247, 0.4), rgba(253, 251, 247, 0.4)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    color: #333333;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.top-nav {
    width: 100%;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 100;
}

.rsvp-button {
    display: inline-block;
    background-color: #556b2f; 
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 500;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.3);
}

.rsvp-button:hover {
    background-color: #4a5d28;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(85, 107, 47, 0.4);
}

.glass-panel {
    background-color: rgba(255, 255, 255, 0.85); 
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.panel-wide {
    max-width: 950px; 
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.couple-photo {
    width: 100%;
    max-width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 5px solid rgba(255, 255, 255, 0.7); 
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto 20px auto; 
}

.pre-title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    color: #556b2f; 
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 4.5rem;
    color: #222222;
    margin-bottom: 5px;
    line-height: 1.1;
}

.date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-style: italic;
    color: #444444;
}

.countdown-label {
    margin-top: 35px;
    margin-bottom: -25px; 
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem; 
    color: #556b2f; 
    font-weight: 500;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.time-box {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(85, 107, 47, 0.3);
    border-radius: 12px;
    padding: 15px 15px;
    min-width: 80px;
}

.time-box span {
    font-size: 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    color: #556b2f;
    line-height: 1;
    display: block;
}

.time-box p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-top: 8px;
    font-weight: 500;
}

.content-section {
    padding: 60px 20px; 
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}

.soon-text {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.info-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.info-box {
    flex: 1;
    min-width: 250px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-box h3 {
    font-size: 1.8rem;
    color: #556b2f;
    margin-bottom: 10px;
}

.info-box .time {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.date-badge {
    display: inline-block;
    background-color: rgba(85, 107, 47, 0.1); /* Bardzo, bardzo wyblakła oliwka */
    color: #556b2f; /* Kolor motywu główny */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px; /* Żeby zrównoważyć odstęp */
    font-weight: 500;
}

.info-box p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.map-container {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(85, 107, 47, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 150px; 
    border: 0;
    display: block;
}

.calendar-btn {
    display: inline-block;
    margin-top: auto; 
    padding: 8px 18px;
    border: 1px solid #556b2f;
    color: #556b2f;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.calendar-btn:hover {
    background-color: #556b2f;
    color: #ffffff;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #556b2f;
    color: #556b2f;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #556b2f;
    color: #ffffff;
}

.btn-secondary.disabled {
    border-color: #ccc;
    color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
    background-color: transparent;
}

.spacer {
    height: 100px;
}

/* === NOWE: STYLE DLA AKORDEONU === */
.accordion {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid rgba(85, 107, 47, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5); /* Bardzo delikatne, mleczne tło */
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.9);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #556b2f;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease; /* Płynna animacja ikonki */
}

/* Po kliknięciu (stan aktywny) - ikona zamienia się w "X" */
.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out; /* Animacja płynnego wysuwania */
}

.accordion-inner {
    padding: 0 20px 20px 20px;
    color: #444;
    line-height: 1.6;
    text-align: left; /* Tekst wewnątrz czyta się najlepiej, gdy wyrównany jest do lewej */
}

/* Responsywność */
@media (max-width: 768px) {
    .glass-panel {
        padding: 40px 20px;
    }
    .hero-section h1 {
        font-size: 3.2rem;
    }
    .info-grid {
        flex-direction: column;
        gap: 40px;
    }
    .countdown {
        gap: 10px;
    }
    .time-box {
        padding: 10px;
        min-width: 65px;
    }
    .time-box span {
        font-size: 2rem;
    }
    .couple-photo {
        max-width: 120px;
        height: 120px;
    }
    .accordion-header {
        font-size: 1rem;
    }
}