* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* --- TŁO NA CAŁĄ STRONĘ --- */
    background-image: url('../images/tlo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #4a4039;
    overflow-x: hidden;
}

/* Górny Pasek Nawigacyjny */
.header {
    width: 100%;
    padding: 20px 50px;
    background-color: rgba(238, 227, 215, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    letter-spacing: 1.5px;
    color: #5c4b41;
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    font-size: 13px;
    color: #6b5b50;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

.main-nav a:hover, .main-nav a.active {
    color: #2c221b;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #b59b84;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icons a {
    color: #6b5b50;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #2c221b;
}

/* --- SEKCJA GŁÓWNA KONTAKTU --- */
.contact-main {
    max-width: 1200px;
    margin: 140px auto 80px auto;
    padding: 40px 20px;
}

.contact-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.gold-decor {
    color: #b89778;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    letter-spacing: 3px;
    color: #3b312b;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-subtitle {
    font-size: 14px;
    line-height: 1.7;
    color: #6b5b50;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- SIATKA KONTAKTOWA (INFO + FORMULARZ) --- */
.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1050px;
    margin: 0 auto;
}

.contact-info-box, .contact-form-box {
    background-color: #f7f2ec;
    border: 1px solid #e3d5c6;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-info-box h2, .contact-form-box h2 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #3b312b;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-desc {
    font-size: 13px;
    color: #7a685c;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-details-list i {
    width: 40px;
    height: 40px;
    background-color: #ebdcd0;
    color: #9c7c61;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.contact-details-list span {
    display: block;
    font-size: 11px;
    color: #8c7f74;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details-list strong {
    font-size: 14px;
    color: #3b312b;
}

.contact-socials-box {
    border-top: 1px solid #e3d5c6;
    padding-top: 25px;
}

.contact-socials-box > span {
    display: block;
    font-size: 12px;
    color: #7a685c;
    margin-bottom: 12px;
    font-weight: 500;
}

.social-links-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links-row a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: #ebdcd0;
    color: #5c4b41;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links-row a:hover {
    background-color: #b59b84;
    color: #fff;
}

/* --- FORMULARZ --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: #5c4b41;
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #ffffff;
    border: 1px solid #e3d5c6;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #3b312b;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #b59b84;
    box-shadow: 0 0 5px rgba(181, 155, 132, 0.2);
}

.btn-submit {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background-color: #b59b84;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #9c7c61;
}

/* --- FOOTER --- */
.footer {
    background-color: #3b312b;
    color: #e6ded6;
    padding: 60px 50px 20px 50px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(230, 222, 214, 0.15);
}

.footer-col h3.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: #f4efe9;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #f4efe9;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #c7bdb4;
    max-width: 350px;
    font-weight: 300;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #c7bdb4;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f4efe9;
}

.footer-col p {
    font-size: 13px;
    color: #c7bdb4;
    margin-bottom: 8px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e6ded6;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: #b59b84;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
    color: #a3968c;
    letter-spacing: 1px;
}

/* ========================================================== */
/* --- RESPONSYWNOŚĆ DLA TABLETÓW I TELEFONÓW ------------ */
/* ========================================================== */

@media screen and (max-width: 992px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 12px 15px;
        position: fixed;
    }

    .contact-main {
        margin-top: 110px;
        padding: 20px 10px;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav a {
        font-size: 12px;
    }

    .social-icons {
        display: none;
    }

    .page-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .page-subtitle {
        font-size: 13px;
        padding: 0 5px;
    }

    .contact-info-box, .contact-form-box {
        padding: 25px 20px;
    }

    .footer {
        padding: 40px 20px 20px 20px;
        margin-top: 40px;
    }
}
/* ==========================================
   6. LOGOTYPY W STOPCE (FPL i FIFe)
   ========================================== */
.footer-certificates {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
}

.footer-cert-img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-cert-img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Dostosowanie dla telefonu, żeby logotypy były wyśrodkowane w kolumnie */
@media screen and (max-width: 768px) {
    .footer-certificates {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    /* Kluczowe: ograniczenie wysokości grafik na telefonie */
    .footer-cert-img {
        max-height: 38px !important;
        width: auto !important;
        object-fit: contain;
    }
}
.gold-decor span {
    font-family: Arial, sans-serif; /* Wymuszenie standardowej czcionki zamiast systemowej emoji */
    font-weight: 300;
    color: #b59b84; /* Dopasowany kolor serduszek */
    font-size: 14px;
    letter-spacing: 3px;
}