:root {
    /* Kolory */
    --primary-color: #5C4033; /* Ciemny brąz (nawiązanie do drewna) */
    --secondary-color: #FFD700; /* Żółty (złoty) jako akcent */
    --background-color: #f4f4f4; /* Tło strony */
    --text-color: #333; /* Kolor tekstu */
    --light-text-color: #ecf0f1; /* Jasny tekst na ciemnym tle */
    --footer-bg-color: #4B3621; /* Ciemny brąz dla stopki */
    --header-bg-color: #5C4033; /* Ciemny brąz dla nagłówka */
    --cta-bg-color: #FFD700; /* Żółty tło dla sekcji CTA */

    /* Typografia */
    --font-family: 'Roboto', sans-serif;
    --font-size-small: 14px;
    --font-size-medium: 16px;
    --font-size-large: 20px;

    /* Odstępy */
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 24px;

    /* Inne */
    --border-radius: 8px;
}

/* Reset domyślnych stylów przeglądarki */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}
/* Nagłówek */
header {
    position: relative;
    height: 400px; /* Zwiększona wysokość dla efektu paralaksy */
    background: url('/images/header/splash2.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Efekt paralaksy */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    text-shadow: 1px 1px 2px black;
    overflow: hidden;
    border-bottom: var(--spacing-large);
    border-bottom: 5px solid var(--secondary-color) ;
}




.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: auto;
    animation: fadeIn 2s forwards, float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cta-button {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    margin: var(--spacing-large);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-medium);
    color: var(--light-text-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

header p {
    font-size: 1.2rem;
    color: var(--light-text-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

/* Nawigacja */
nav {
    margin-top: var(--spacing-large);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--spacing-medium);
    margin-top: var(--spacing-small);
    animation: fadeIn 1.5s ease-in-out;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: var(--font-size-medium);
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsywność */
@media (max-width: 768px) {
    header {
        height: 300px;
        font-size: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .logo {
        width: 80px;
    }

    nav ul {
        flex-direction: column;
        gap: var(--spacing-small);
    }
}


/* Stopka - minimalistyczna wersja z gradientem, cieniami i responsywnym footer-bottom */
footer {
    background: linear-gradient(135deg, var(--footer-bg-color) 0%, #2a1a0f 100%);
    color: var(--light-text-color);
    padding: var(--spacing-large) 0;
    margin-top: var(--spacing-xl);
    border-top: 2px solid var(--secondary-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-large);
    max-width: 1400px;
    margin: 0 auto var(--spacing-large);
    padding: 0 var(--spacing-medium);
    position: relative;
    z-index: 1;
}

.footer-section {
    padding: var(--spacing-large);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    text-align: center;
}

.footer-section:hover {
    transform: translateY(-5px) rotateX(5deg) rotateY(-1deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-medium);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-small);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.2s ease;
}

.footer-section p,
.footer-section ul {
  line-height: 1.6;
  font-size: 0.95rem;
  list-style: none;
  padding: 0;
}
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    padding: 0.2rem 0;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: var(--spacing-medium);
  margin-top: var(--spacing-large);
  list-style: none;
  padding: 0;
}
.social-links a {
    font-size: 1.5rem;
    padding: 0.7rem;
    border-radius: 10%;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  
}

.social-links a:hover {

    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    position: relative;
    padding-top: var(--spacing-large);
    margin-top: var(--spacing-xl);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 15px auto 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .author-info {
    font-style: normal;
    position: relative;
    cursor: pointer;
    color: var(--secondary-color);
}



/* Responsywność */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
        padding: var(--spacing-medium) 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Wyśrodkowanie dolnej części stopki na mobilnych urządzeniach */
    .footer-bottom {
        text-align: center;
        align-items: center;
    }
}


/* Responsywność */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom .author-info {
        display: block; /* Przenosi tekst na nową linię */
        margin-top: 10px; /* Odstęp od poprzedniego tekstu */
        font-style: italic;
        color: var(--secondary-color);
        text-align: center; /* Wyśrodkowanie */
    }

}
/* Animacje */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Sekcja kontaktowa */
.contact-info-section {
    padding: var(--spacing-large) var(--spacing-medium);
    background-color: #fff;
    margin: var(--spacing-large) auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 700px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--spacing-small);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background-color: var(--background-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

#contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-medium);
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}



.form-group {
    margin-bottom: var(--spacing-medium);
}

.form-group label {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-small);
    text-align: left;
}

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    width: 100%;
    padding: var(--spacing-small);
    border: 2px solid #dcdcdc;
    border-radius: var(--border-radius);
    font-size: var(--font-size-medium);
    background-color: var(--background-color);
    transition: border-color 0.3s ease;
    
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea {
    resize: vertical;
    height: 150px;
}

button.cta-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: none;
    padding: var(--spacing-small) var(--spacing-medium);
    border-radius: var(--border-radius);
    font-size: var(--font-size-medium);
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

button.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}



.google-map-section {
    padding: var(--spacing-large) var(--spacing-medium);
    background-color: #f9f9f9;  /* Jaśniejszy kolor tła, aby mapa była bardziej widoczna */
    margin: var(--spacing-large) auto;
    max-width: 700px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Dodałem delikatny cień */
    text-align: center;
    transition: transform 0.3s ease; /* Efekt animacji */
}


.map-container iframe {
    width: 100%;
    height: 600px; /* Zwiększona wysokość mapy */
    border: none;
    border-radius: var(--border-radius);
}

/* Dodatkowy efekt przy najechaniu na iframe */
.map-container iframe:hover {
    transform: scale(1.02);  /* Zwiększenie skali mapy przy najechaniu */
}




/* Kontener dla pojedynczego elementu kontaktowego */
.contact-item {
    margin: 10px 0;
    font-size: var(--font-size-medium);
    transition: transform 0.5s ease, color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    padding: 15px; /* Slightly increased padding */
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1); /* Light border for better visibility */
}

/* Efekt na elemencie po najechaniu myszką */
.contact-item:hover {
    transform: translateY(-5px); /* Lekko unoszenie elementu */
    background-color: var(--background-color); /* Zmiana tła */
    color: var(--text-color); /* Zmiana koloru tekstu */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Dodanie większego cienia */
    border: 1px solid var(--header-bg-color); /* Border color change on hover */
}

/* Animacja na linku wewnątrz elementu kontaktowego */
.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
}


::selection {
    background-color: #ffcc00;
    color: black; /* Optional: Change text color when selected */
}

#menu-toggle {
    display: none; /* Ukryj przycisk domyślnie */
}

/* Przycisk powrotu do góry */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    transform: scale(0);
}

.scroll-to-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.scroll-to-top:hover {
    background-color: rgba(255, 204, 0, 0.8);
}

@media (max-width: 768px) {
    /* Ogólne style dla stopki w trybie mobilnym */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        flex: 1 1 100%;
        text-align: center;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-links a {
        padding: 10px;
    }

    #menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        /* Używamy przezroczystej wersji koloru podstawowego */
        background-color: rgba(92, 64, 51, 0.1); /* #5C4033 z 80% opacity */
        color: var(--secondary-color);
        border: 2px solid var(--secondary-color);
        cursor: pointer;
        border-radius: 25px;
        margin: 20px auto;
        font-size: 1.2rem;
        font-weight: bold;
        text-transform: uppercase;
        transition: all 0.3s ease;
        /* Efekt glass - rozmycie tła */
        backdrop-filter: blur(5px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      }
      
      #menu-toggle:hover {
        /* Podmieniamy kolor tła na przezroczystą wersję koloru akcentowego */
        background-color: rgba(255, 215, 0, 0.8); /* var(--secondary-color) z 80% opacity */
        color: var(--primary-color);
        border-color: var(--primary-color);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
      }
      
      #menu-toggle:active {
        transform: scale(0.97);
      }
      
      .fas.fa-bars {
        font-size: 1.5rem;
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 0.9;
      }
      
      #menu-toggle:hover .fa-bars {
        transform: rotate(90deg);
        opacity: 1;
      }
      
      .menu-label {
        font-size: 1.2rem;
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
      }
      

    /* Kontener menu */
    .menu-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Ukryte menu domyślnie */
    nav {
        display: none;
        margin-bottom: var(--spacing-medium);
    }

    /* Widoczne menu po aktywacji */
    nav.active {
        display: block;
    }

    /* Lista menu */
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    /* Elementy listy menu */
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    /* Linki w menu */
    nav ul li a {
        font-size: 1.3rem;
        padding: 10px;
        display: block;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    /* Efekt hover na linkach */
    nav ul li a:hover {
        color: var(--secondary-color);
    }

    /* Testimonials w trybie mobilnym */
    .testimonials-container {
        max-width: 90%;
        padding: 0 10px;
    }

    .testimonials-track {
        flex-direction: column;
        align-items: center;
    }

    blockquote {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        font-size: 14px;
    }

    blockquote footer {
        font-size: 12px;
    }

    /* Logo w trybie mobilnym */
    .logo {
        width: 60px;
        top: 15px;
        left: 15px;
    }

    /* Nagłówek w trybie mobilnym */
    .header-content p {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Ukryte elementy */
    .hidden {
        opacity: 0;
        visibility: hidden;
        transition: visibility 0.3s, opacity 0.3s ease;
    }
}


@media (max-width: 768px) {
    header {
        height: 700px;
        font-size: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    nav ul {
        gap: var(--spacing-small);
    }
}

@media (max-width: 600px) {
    section {
        padding: var(--spacing-medium);
        margin: var(--spacing-medium) auto;
    }

    .contact-info-section, .contact-form-section, .google-map-section {
        max-width: 95%;
        padding: 20px;
    }

    .contact-form-section h2 {
        font-size: 24px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

    .contact-item p {
        font-size: 1rem;
    }

    .map-container iframe {
        height: 250px;
    }
}
.social-links img {
    width: 64px; /* Dostosuj szerokość */
    height: auto; /* Zachowaj proporcje */
    vertical-align: middle; /* Wyrównaj ikony z tekstem */
    margin-right: 8px; /* Dodaj odstęp między logo a tekstem */
}

/* Zapewnienie spójnej czcionki dla wszystkich pól formularza */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    font-family: 'Arial', sans-serif; /* Przykład czcionki, zmień na własną */
    font-size: 1rem;
}

/* Stylowanie textarea */
textarea {
    resize: vertical;
    height: 150px;
    font-family: 'Arial', sans-serif; /* Dopasowanie czcionki do textarea */
    font-size: 1rem; /* Ustawienie jednolitego rozmiaru czcionki */
}

#messageBox {
    position: fixed;
    top: 20px;
    right: 20px;
    background: green;
    color: white;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
}

#messageBox.show {
    visibility: visible;
    opacity: 1;
}

#messageBox.hide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
  
#messageBox.error {
    background: red;
}


.grecaptcha-badge {
    left: 10px !important;
    right: auto !important;
    z-index: 1000;
}