﻿/* ===========================
   Ogólne ustawienia
   =========================== */
body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #fdfdfd;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #D4AF37;
}

/* ===========================
   Nawigacja
   =========================== */
.navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #D4AF37;
}

.navbar-nav .nav-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #D4AF37;
    }

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: #D4AF37;
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    .navbar-nav .nav-link.active {
        color: #D4AF37;
        font-weight: bold;
    }
/* ===========================
   Sekcja powitania zalogowanego użytkownika
   =========================== */
.navbar-text {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}


/* ===========================
   Sekcja intro
   =========================== */
.intro {
    background-color: #ffffff;
    padding: 40px 20px;
}

    .intro h1 {
        color: #D4AF37;
    }

    .intro p {
        font-size: 1.2rem;
        border-bottom: 2px solid #D4AF37;
        padding-bottom: 10px;
        line-height: 1.8;
        text-align: justify;
        hyphens: auto;
    }

    .intro img {
        border: 4px solid #D4AF37;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .intro .row {
        display: flex;
        align-items: center; /* wyrównanie tekstu i zdjęcia w pionie */
    }

    .intro .col-md-6 {
        padding: 20px; /* odstęp między zdjęciem a tekstem */
    }

/* ===========================
   Gazetka weselna
   =========================== */
.newspaper {
    padding: 40px 20px;
    background-color: #ffffff;
}

    .newspaper h2 {
        color: #D4AF37;
        text-align: center;
        margin-bottom: 40px;
    }

    .newspaper h3 {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 1.4rem;
        text-align: left;
    }

    .newspaper p {
        line-height: 1.8;
        font-size: 1.1rem;
        text-align: justify;
        hyphens: auto;
        margin-bottom: 20px;
    }

    .newspaper article {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #D4AF37;
    }

/* ===========================
   Harmonogram dnia
   =========================== */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.timeline-time {
    flex: 0 0 80px;
    font-weight: bold;
    color: #D4AF37;
    font-size: 1.1rem;
}

.timeline-event {
    flex: 1;
    color: #333;
    font-size: 1rem;
    padding-left: 10px;
}

/* ===========================
   Responsywność
   =========================== */
@media (max-width: 768px) {
    .intro .row {
        flex-direction: column; /* na telefonie zdjęcie nad tekstem */
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
        margin: 5px 0;
    }

    .timeline-item {
        flex-direction: column; /* godzina nad wydarzeniem na mobile */
    }

    .timeline-time {
        margin-bottom: 5px;
    }
}

/* ========== SEKCJA "WARTO ICH ZNAĆ" ========== */

.vendors-section {
    margin-top: 50px;
}

    /* Nagłówek - identyczny jak .newspaper h3 */
    .vendors-section h3 {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 1.4rem;
        text-align: left;
    }

/* Siatka kart usługodawców */
.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.vendor-item {
    background: linear-gradient(135deg, #fdfcf7 0%, #fff9e6 100%);
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .vendor-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    }

    .vendor-item h4 {
        font-family: 'Playfair Display', serif;
        font-size: 16px;
        font-weight: 700;
        color: #d4af37;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .vendor-item p {
        font-family: 'Lato', sans-serif;
        font-size: 18px;
        color: #333;
        margin: 0;
        font-weight: 500;
        text-align: center;
    }

/* ========== SEKCJA "NASZA HISTORIA" ========== */

.our-story {
    background: linear-gradient(135deg, #ffffff 0%, #fdfcf7 100%);
    padding: 60px 20px;
    margin: 50px 0;
}

    /* Nagłówek - identyczny jak .newspaper h3 */
    .our-story h3 {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 1.4rem;
        text-align: left;
    }

/* Siatka kart z historią */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-item {
    background: white;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .story-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    }

.story-icon {
    font-size: 40px;
    color: #d4af37;
    margin-bottom: 15px;
}

.story-item p {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    text-align: justify;
    hyphens: auto;
}

.story-item strong {
    color: #d4af37;
    font-weight: 700;
}

.story-item em {
    font-style: italic;
    color: #555;
}

.story-final {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fff9e6 0%, #fdfcf7 100%);
    border: 3px solid #d4af37;
}

    .story-final p {
        font-size: 22px;
        text-align: center;
    }

/* ========== RESPONSYWNOŚĆ ========== */

@media (max-width: 768px) {
    .vendors-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .vendor-item h4 {
        font-size: 14px;
    }

    .vendor-item p {
        font-size: 16px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-item p {
        font-size: 16px;
    }

    .story-final p {
        font-size: 18px;
    }

    .story-icon {
        font-size: 32px;
    }
}
