/* Style specyficzne dla strony kontaktowej */

/* Hero sekcja kontaktowa */
.contact-hero {
    height: 100vh;
    background: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.7)), url('../images/contact-hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 80px;
    position: relative;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 10;
}

.contact-hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    color: var(--accent-color);
}

.contact-particles {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    transform: rotate(45deg);
    margin: -10px;
    animation: scrollAnimation 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scrollAnimation {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* Sekcja kontaktowa */
.contact-section {
    padding: 5rem 1rem;
    background-color: var(--background-color);
}

.contact-container {
    display: flex;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-form-container {
    flex: 1;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--accent-color);
    color: var(--background-color);
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contact-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: var(--text-color);
}

.contact-link:hover i {
    transform: translateX(5px);
}

.social-media {
    margin-top: 3rem;
}

.social-media h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Formularz kontaktowy */
.contact-form {
    background-color: var(--primary-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.contact-form p {
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-highlight,
.form-group select:focus ~ .input-highlight,
.form-group textarea:focus ~ .input-highlight {
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-button span {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.submit-button i {
    margin-left: 10px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), rgba(255, 255, 255, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6);
}

.submit-button:hover span {
    transform: translateX(5px);
}

.submit-button:hover i {
    transform: translateX(10px);
    animation: pulse 1s infinite;
}

.submit-button:hover::before {
    opacity: 1;
}

/* Sekcja mapy */
/* Sekcja mapy */
.map-section {
    padding: 5rem 1rem;
    background-color: var(--primary-color);
    position: relative;
    margin-top: 80px; /* Dodane aby zapobiec nakładaniu się na header */
}

.map-container {
    margin-top: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    height: 500px;
    z-index: 1; /* Upewniamy się, że mapa jest pod headerem */
}

.map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(40, 40, 40, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 300px;
    z-index: 1000;
    border-left: 4px solid var(--accent-color);
}

.map-info h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.map-info p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.map-info i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.map-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-link i {
    margin-right: 8px;
}

.map-link:hover {
    color: var(--text-color);
}

.leaflet-container {
    background-color: var(--background-color) !important;
}

/* Responsywność */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
    
    .map-overlay {
        max-width: calc(100% - 40px);
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

/* Sekcja zespołu */
.contact-team {
    padding: 5rem 1rem;
    background-color: var(--background-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    padding-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.member-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.team-member:hover .member-social {
    bottom: 20px;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    color: var(--background-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--accent-color);
}

.team-member .position {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-member .email {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsywność */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero h2 {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-hero h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .submit-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
.fa-spinner {
    margin-left: 10px;
}
/* Dodaj na końcu pliku kontakt.css */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.notification.success {
    border-left-color: #4CAF50;
    background-color: #2E7D32;
}

.notification.error {
    border-left-color: #F44336;
    background-color: #C62828;
}

.notification i {
    font-size: 1.5rem;
}

/* Animacja spinnera */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}