/* Globalne style */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f5f8; /* Delikatny pastelowy róż */
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Nagłówki */
h1, h2, h3, h4, h5 {
    color: #5a5d5e; /* Szary odcień */
    margin-bottom: 20px;
    font-weight: 700;
}

/* Karty */
.card {
    background-color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-body {
    padding: 20px;
}

/* Formularze */
.form-control {
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #e07a5f; /* Koralowy róż */
    box-shadow: 0 0 5px rgba(224, 122, 95, 0.5);
}

textarea.form-control {
    resize: none;
    height: 100px;
}

textarea.form-control:focus {
    border-color: #e07a5f;
    box-shadow: 0 0 5px rgba(224, 122, 95, 0.5);
}

/* Przycisk */
.btn {
    display: inline-block;
    background-color: #9e768f; /* Jasny fioletowy */
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    background-color: #c19bb7; /* Jaśniejszy pastelowy fiolet */
    box-shadow: 0 4px 12px rgba(193, 155, 183, 0.3);
}

.btn-danger {
    background-color: #ff6b6b; /* Jasny czerwony */
    border-color: #ff6b6b;
}

.btn-danger:hover {
    background-color: #ff1a1a; /* Mocny czerwony */
    box-shadow: 0 4px 12px rgba(255, 26, 26, 0.3);
}

.w-100 {
    width: 100%;
}

/* Dropzone */
.dropzone {
    border: 2px dashed #718FC8;
    padding: 40px;
    text-align: center;
    background-color: #f7f9fb; /* Białawy niebieski */
    border-radius: 15px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.dropzone:hover {
    border-color: #5b70a2;
    background-color: #f0f8ff; /* Jasny pastelowy niebieski */
}

/* Galeria zdjęć */
.card img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.card img:hover {
    transform: scale(1.05);
}

/* Grid system (oparte na Bootstrap) */
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 15px;
}

.gy-4 {
    row-gap: 1.5rem;
}

/* Alerty */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #fff;
    background-color: #f28f3b; /* Pomarańczowy */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Linki */
a {
    color: #e07a5f; /* Koralowy róż */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c75b43; /* Mocniejszy odcień koralowego */
}

/* Header & Footer */
header, footer {
    background-color: #c9ada7; /* Jasny pastelowy różowy-fiolet */
    color: white;
    padding: 0;
    text-align: center;
}

header a, footer a {
    color: #ffffff;
}

header a:hover, footer a:hover {
    color: #f4e1e6; /* Delikatny róż */
}

header ul, footer ul {
    list-style: none;
    padding: 0;
}

header ul li, footer ul li {
    display: inline;
    margin-right: 15px;
}

header ul li:last-child, footer ul li:last-child {
    margin-right: 0;
}

/* Rejestracja */
.register-container {
    max-width: 600px;
    margin: 40px auto;
}

.register-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsywność */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Stylizacja elementów w galerii */
.gallery_container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.gallery_heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #5a5d5e;
}

/* Stylizacja kart */
.gallery_card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery_card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery_card_header {
    background-color: #f28f3b; /* Pomarańczowy */
    color: white;
    text-align: center;
}

.gallery_participant_name {
    font-size: 1.5rem;
    font-weight: 500;
}

.gallery_card_body {
    padding: 10px;
}

.gallery_photo {
    padding: 5px;
    text-align: center;
}

.gallery_photo_img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery_photo_img:hover {
    transform: scale(1.05);
}

.gallery_no_photos {
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Przyciski */
.gallery_btn {
    background-color: #9e768f; /* Jasny fioletowy */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.gallery_btn:hover {
    background-color: #c19bb7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Footer */
.gallery_card_footer {
    background-color: transparent;
}



/* Stylizacja galerii uczestnika */
.participant-gallery .gallery_container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.participant-gallery .gallery_heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}

.participant-gallery .gallery_card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.participant-gallery .gallery_card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.participant-gallery .gallery_photo_img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.participant-gallery .gallery_photo_img:hover {
    transform: scale(1.05);
}


