/* Główne style dla strony Kontakt */

/* Importujemy style z głównego pliku */
@import 'style1.css';

/* Style dla sekcji hero */
.hero-contact {
    height: 25vh;
    margin-top: 0;
    padding-top: 55px;
}

@media (min-width: 768px) {
    .hero-contact {
        height: 25vh;
        margin-top: 0;
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .hero-contact {
        height: 22vh;
        margin-top: 0;
        padding-top: 90px;
    }
}

@media (max-width: 640px) {
    .hero-contact {
        height: 20vh;
        padding-top: 90px;
    }
}

/* Style dla formularza kontaktowego */
.contact-form-container {
    transition: all 0.3s ease;
}

.contact-form-container input,
.contact-form-container textarea {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    border-color: #ff0033;
    box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.1);
}

.contact-form-container button {
    transition: all 0.3s ease;
}

/* Style dla informacji kontaktowych */
.contact-info-container {
    transition: all 0.3s ease;
}

.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Style dla wiadomości formularza */
.form-message {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.form-message.success {
    background-color: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #2f855a;
}

.form-message.error {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
}

/* Style dla menu mobilnego */
.mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 200px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Responsywność */
@media (max-width: 768px) {
    nav .container {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* Animacje */
.transition {
    transition: all 0.3s ease;
}

/* Efekty hover dla linków */
a:hover {
    transition: all 0.3s ease;
}

/* Placeholder dla mapy */
.map-container {
    height: 400px;
    background-color: #f7fafc;
} 

.hero-contact h1 {

    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    color: white;
}

.hero-contact p {

    text-shadow: 1px 1px 0 #000, -0.8px -0.8px 0 #000, 0.8px -0.8px 0 #000, -0.8px 0.8px 0 #000;
    color: white !important;
    font-weight: bold;
}

.hero-contact .absolute {
    background-image: url('../img/logoztlem2.png') !important;

}

/* Dla tabletów */
@media (max-width: 1024px) {
    .hero-contact .absolute {
        background-image: url('../img/logoztlem2.png') !important;
    }
}

/* Dla telefonów */
@media (max-width: 640px) {
    .hero-contact .absolute {
        background-image: url('../img/logoztlembeztekstu2.png') !important;

    }
}
