/* --- Style podstawowe i resetowanie --- */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    /* background-color: #f4f4f4; */
    overflow: hidden;
}

/* --- Tło ze zdjęciami (slider) --- */
.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Tło jest na samym spodzie */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-image: url('svg/fallback-bg.svg');  */
    /* transition: background-image 1.5s ease-in-out; */
}

.background-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(3px);
}

/* --- NOWE STYLE DLA NAROŻNIKÓW KWIATOWYCH --- */
.decorative-corners {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Narożniki są nad tłem... */
    pointer-events: none; /* ...ale są "przezroczyste" dla kliknięć, aby przycisk działał! */
}

.corner-svg {
    position: absolute;
    /* --- Logika responsywnego skalowania --- */
    /* 1. Na małych ekranach (mobile) szerokość SVG to 45% szerokości ekranu */
    /* width: 45vw; */
    width: auto;
    height: auto; /* Zachowaj proporcje obrazka */
    
    /* 2. Ograniczenie maksymalnego rozmiaru, aby nie były za duże */
    max-width: calc(50vw - 20px); /* Maksymalna szerokość, np. na monitorach 4K */
    
    /* 3. Kluczowy moment: zatrzymaj skalowanie w pionie, gdy SVG osiągnie 50% wysokości ekranu */
    max-height: 80vh;
    /* max-height: calc(50vh - 20px); 50% wysokości widoku minus mały margines */
    
    transition: width 0.3s ease, height 0.3s ease; /* Płynne przejście przy zmianie rozmiaru */
}

.top-left {
    top: 10px;
    left: 10px;
}

.top-right {
    top: 10px;
    right: 10px;
    -moz-transform: scale(-1,1);
    -o-transform: scale(-1,1);
    -webkit-transform: scale(-1,1);
    transform: scale(-1,1);
}

/* --- Główna treść --- */
.content {
    position: relative; /* Potrzebne, aby z-index zadziałał */
    z-index: 2; /* Treść jest na samej górze, nad narożnikami */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* --- Reszta stylów (h1, p, przycisk) pozostaje bez zmian --- */
header {
    margin-bottom: 40px;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    background-color: #2c5e32;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.upload-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.upload-button svg {
    margin-right: 12px;
}

@media (min-width: 768px) {
    h1 { font-size: 4.5rem; }
    p { font-size: 1.2rem; }
    .upload-button { padding: 22px 45px; font-size: 1.3rem; }
}

/* --- DODATKOWE STYLE DLA NOWYCH ELEMENTÓW --- */

/* Kontener na przyciski (dodaje odstęp między nimi) */
.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Odstęp między przyciskami */
}

/* Emotikona w przycisku fotografa */
.emoji {
    font-size: 1.6rem;
    margin-right: 10px;
    line-height: 1;
}

/* Napis z podziękowaniami na dole strony */
.thanks {
    margin-top: 60px;
    text-align: center;
    max-width: 600px;
    color: #2c5e32;
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
}
