body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f0ff; /* Jasny fioletowy */
    color: #4a148c; /* Głęboki fiolet */
    text-align: center;
}

/* Pasek menu */
.navbar {
    display: flex;
    justify-content: center;  /* Wyśrodkowanie menu */
    align-items: center;
    padding: 15px 20px;
    background: transparent; /* Brak tła */
    color: white;
    font-size: 22px;
    font-weight: bold;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Menu linki */
.menu {
    display: flex; /* Ustawienie linków w linii */
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s;
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.3);
}


/* Slider */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 300%;
    animation: slide 12s infinite;
}

.slide {
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Przyciemnienie tła */
.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Przyciemnienie tła */
}

/* Animacja slidera */
@keyframes slide {
    0%, 100% { transform: translateX(0); }
    33% { transform: translateX(-100vw); }
    66% { transform: translateX(-200vw); }
}

/* Statyczny tekst na zdjęciach */
.slider-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Playfair Display', serif;
    text-align: center;
    z-index: 1000;
}

.slider-text h1 {
    font-size: 60px;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.slider-text p {
    font-size: 40px;
    margin: 10px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.countdown {
    font-size: 40px;
    font-weight: bold;
    margin-top: 20px;
    font-family: 'Playfair Display', serif; /* Ta sama czcionka co na napisie Sandra & Adrian */
    display: flex;
    justify-content: center;
    gap: 20px; /* Zwiększenie odstępu między liczbami */
    color: white;
}

.countdown div {
    display: inline-block;
    font-size: 80px; /* Większe liczby */
    font-weight: bold;
    margin: 0 10px;
}

.countdown div span {
    display: block;
    font-size: 20px; /* Mniejsze etykiety */
    margin-top: 5px;
    font-weight: normal;
}

/* Przyciski poniżej licznika */
.buttons {
    margin-top: 30px;
}

.button {
    text-decoration: none;
    background-color: #6a1b9a; /* Kolor przycisków */
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 30px;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #4a148c; /* Kolor przycisku na hover */
}

/* Sekcje */
.container {
    padding: 20px;
}

#gallery {
    display: none;
}


#gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.gallery-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: inline-block;
}
/* Formularz dodawania zdjęć */
#upload {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 40px auto;
}

#upload h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

/* Stylizacja pola wyboru pliku */
input[type="file"] {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px dashed #ddd;
    position: relative;
}

.file-label:hover {
    background: #000000;
    border-color: #aaa;
}

/* Ikona aparatu 📷 */
.file-label::before {
    content: "📷 ";
    font-size: 20px;
    margin-right: 8px;
}

/* Przycisk przesyłania */
input[type="submit"] {
    background: #4a148c;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}

input[type="submit"]:hover {
    background: #4a148c;
}



/* Galeria - slider */
.gallery-slider {
    width: 90%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-slides {
    display: flex;
    width: 100%;
    transition: transform 0.8s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
    text-align: center;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Animacja fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-slide img {
    animation: fadeIn 1s;
}


/* Podstawowy styl dla tekstu na sliderze */
.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 10px;
    max-width: 90%;
}

.slider-text h1 {
    font-size: 3rem; /* Podstawowy rozmiar czcionki */
    margin: 0;
}

.slider-text p {
    font-size: 1.5rem;
    margin: 10px 0;
}

.countdown {
    font-size: 1.2rem;
}

.buttons {
    margin-top: 20px;
}

/* Responsywność dla małych ekranów */
@media (max-width: 768px) {
    .slider-text h1 {
        font-size: 2.5rem; /* Zmniejsz czcionkę na mniejszych ekranach */
    }

    .slider-text p {
        font-size: 1.2rem; /* Zmniejsz czcionkę na mniejszych ekranach */
    }

    .countdown {
        font-size: 1rem; /* Zmniejsz czcionkę na mniejszych ekranach */
    }
}

/* Dla jeszcze mniejszych ekranów (np. telefony) */
@media (max-width: 480px) {
    .slider-text h1 {
        font-size: 2rem; /* Jeszcze mniejszy rozmiar czcionki */
    }

    .slider-text p {
        font-size: 1rem;
    }

    .countdown {
        font-size: 0.9rem;
    }
}
