/* styles.css */
body {
    background-color: #14202c;
    background-attachment: fixed;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 20px;
    color: #1869be;
    background: linear-gradient(to right, #084CFB, #ADF3FD);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 20px;
}

.image-gallery img {
    max-width: 100px;
    height: auto;
}

.image-container {
    position: relative;
}

.tooltip {
    position: absolute;
    background-color: rgb(83, 83, 83);
    color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.tooltip h2 {
    margin: 0;
    font-size: 1.2em;
}

.tooltip p {
    margin: 5px 0;
}

.barrel-button {
    background-color: #4a6fa5;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.barrel-button:hover {
    background-color: #3a5a8f;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.barrel-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#open-modal-btn {
    position: absolute;
    top: 53px;
    left: 15px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #4a6fa5, #3a5a8f);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    text-transform: uppercase;
}

#open-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

/* Modal - zaktualizowane style */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 20, 40, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-container {
    background: linear-gradient(145deg, #1a2a4a, #0d1a2f);
    padding: 30px 40px;
    border-radius: 20px;
    width: 450px;
    max-width: 90vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Pola formularza */
.input-container {
    position: relative;
    margin-bottom: 20px;
}

.input-container input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: left;
    box-sizing: border-box;
}

.input-container input:focus {
    outline: none;
    border-color: #4a6fa5;
    background: rgba(255, 255, 255, 0.15);
}

/* Przyciski */
.buttons-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.file-upload-label {
    padding: 14px;
    background: linear-gradient(45deg, #4a6fa5, #3a5a8f);
    color: white;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 15px;
}

.submit-btn {
    padding: 14px;
    background: linear-gradient(45deg, #3a5a8f, #2a4a7f);
    color: white;
    border: none;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 15px;
    width: 100%;
}

/* Efekty hover */
.file-upload-label:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.file-upload-label:active,
.submit-btn:active {
    transform: translateY(1px);
}

/* Ukrycie inputa file */
#file-upload {
    display: none;
}

/* Style dla placeholderów */
input::placeholder {
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}