/* ========================== PODSTAWY I NAVBAR ========================== */
/* BLOKADA ZAZNACZANIA DLA CAŁEJ STRONY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    -webkit-user-select: none;  
    -moz-user-select: none;     
    -ms-user-select: none;      
    user-select: none;          
    -webkit-touch-callout: none; 
}

/* BLOKADA PRZECIĄGANIA OBRAZKÓW */
img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Pozwolenie na klikanie w przyciski i linki (mimo blokady zaznaczania tekstu) */
a, button, .promo-btn, .btn-kontakt, .hero-btn {
    -webkit-user-select: auto;
    user-select: auto;
    pointer-events: auto;
}

html { 
    scroll-behavior: smooth; 
    scroll-snap-type: y mandatory; 
}

body {
    background: #fff;
    line-height: 1.6;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 1000;
}

.logo { font-size: 28px; font-weight: bold; }

.navbar nav a {
    color: white;
    text-decoration: none;
    margin-left: 35px;
    font-size: 18px;
    transition: 0.3s;
}

.navbar nav a:hover { color: #2f69ff; }

/* ========================== HERO ========================== */
.subpage-hero {
    height: 50vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.subpage-hero h1 {
    font-size: 48px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ========================== KONTAKT - PREMIUM DESIGN ========================== */
.contact-section {
    padding: 100px 0;
    max-width: 1300px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    padding: 0 70px;
}

/* KARTY INFO */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #f9f9f9a9;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.info-card i {
    font-size: 24px;
    color: #2f69ff;
    margin-bottom: 15px;
    display: block;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    font-weight: bold;
    font-size: 20px;
    color: #000;
    text-decoration: none;
}

.info-card span {
    font-size: 13px;
    color: #888;
}

.info-card:hover {
    border-color: #2f69ff;
    box-shadow: 0 10px 30px rgba(47, 105, 255, 0.1);
}

.map-link {
    display: inline-block;
    margin-top: 15px;
    color: #2f69ff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

/* ========================== STYLIZACJA KAFELKA FORMULARZA ========================== */
.contact-form-container {
    background: #000;
    padding: 40px; 
    border-radius: 30px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    
    /* Flexbox wymusza wypełnienie całej wysokości kolumny gridu */
    display: flex;
    flex-direction: column;
    height: 100%; 
}

#contactForm {
    /* Rozkładamy pola tak, by wypełniły kafelek od góry do dołu */
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    flex-grow: 1;
}

.form-group {
    margin-bottom: 5px; 
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    color: #888;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    padding: 12px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

/* CUSTOM SCROLLBAR DLA TEXTAREA */
.form-group textarea::-webkit-scrollbar {
    width: 8px;
}

.form-group textarea::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-radius: 10px;
}

.form-group textarea::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
    border: 2px solid #0a0a0a;
}

.form-group textarea::-webkit-scrollbar-thumb:hover {
    background: #2f69ff;
}

.form-group textarea {
    scrollbar-width: thin;
    scrollbar-color: #222 #0a0a0a;
    resize: none; 
    min-height: 80px;
    padding-right: 15px;
}

/* BŁĘDY I FOCUS */
.form-group input.error, 
.form-group textarea.error {
    border: 1px solid #2f69ff !important;
    background: #1a1a1a !important;
}

.error-message {
    color: #2f69ff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    display: none; 
    font-weight: bold;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #2f69ff;
    background: #1a1a1a;
}

.contact-form-container .cta-button {
    width: 100%;
    padding: 18px;
    border: none;
    background: #2f69ff;
    color: #fff;
    font-weight: 900;
    border-radius: 12px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: 0.3s;
    margin-top: 10px;
}

.contact-form-container .cta-button:hover {
    background: #ffffff; 
    transform: translateY(-3px); 
    color: #000;
}

/* ========================== RESZTA ELEMENTÓW ========================== */
.map-section {
    width: 100%;
    margin-top: 10px; 
    line-height: 0;
}

.map-container iframe {
    display: block;
    width: 100%;
    filter: grayscale(0.3) contrast(1.1);
    transition: 0.3s;
}

.map-container iframe:hover {
    filter: grayscale(0);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

.success-box {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 10px;
    animation: fadeIn 0.5s ease-in-out;
}

.success-box i {
    font-size: 60px;
    color: #2f69ff;
    margin-bottom: 20px;
}

.success-box h2 {
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #fff;
}

.success-box p {
    color: #888;
    font-size: 16px;
    max-width: 400px;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================== STOPKA  ========================== */
.footer {
    background-color: #000;
    color: #fff;
    padding: 30px 0 20px 0;
    width: 100%;
}

.footer-container {
    /* Ustawiamy szerokość taką samą jak w slider-wrapper (1300px) */
    max-width: 1300px; 
    margin: 0 auto;
    padding: 0 70px 20px 70px;
    
    display: flex;
    justify-content: space-between; /* Rozsuwa kontakt na lewo, a social na prawo */
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-left: 350px;
}
.footer-bottom a {
    color: #888;      
    text-decoration: none; 
}
.footer-bottom {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid #222;
    font-size: 12px;
    color: #888;
    scroll-snap-align: none;
}


.footer-contact { display: flex; flex-wrap: wrap; gap: 30px; }
.footer-contact i{ padding-right: 3px; }
.contact-item a { color: #fff; text-decoration: none; transition: 0.3s; }
.contact-item a:hover, .footer-social a:hover { color: #2f69ff; }
.footer-social { display: flex; gap: 20px; font-size: 24px; }
.footer-social a { color: #fff; transition: 0.3s; }
.footer-social a:hover {
    color: #1a51e6; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.footer-bottom strong { color: #fff; }

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    /* Naprawa stopki */
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-left: 0;        
        padding: 0 20px;       
        width: 100%;           
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 15px;
        align-items: center;    /* Centrujemy ikony i tekst */
    }

    .footer-social {
        justify-content: center; /* Centrujemy ikony IG/TikTok */
        width: 100%;
    }

    /* Opcjonalnie: poprawa nawigacji, jeśli też się rozjeżdża */
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .navbar nav {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar nav a {
        margin: 0 10px;
        font-size: 14px;
    }

    .subpage-hero h1 {
        font-size: 32px;
    }
}