/* Ogólne style */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: rgb(247, 244, 244);
}


/* Styl dla nagłówka */
/* Nagłówek */
header {
    background-color: #f8c32d; /* Tło nagłówka */
    color: white;
    padding: 10px 0; /* Mniejsza wysokość */
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Cień dla tekstu */
    position: relative;
}

/* Główna nazwa firmy */
header .main-heading {
    font-size: 2.7rem; /* Zmniejszony rozmiar czcionki */
    font-family: 'Arial', sans-serif;
    margin: 5px 0; /* Mniejsze marginesy */
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Podtytuł */
header .subheading {
    font-size: 1.2rem;
    color: #333;
    margin-top: 5px;
}

/* Dostosowanie dla urządzeń mobilnych */
@media (max-width: 600px) {
    header .main-heading {
        font-size: 1.8rem; /* Jeszcze mniejszy rozmiar na telefonach */
    }
    header .subheading {
        font-size: 1rem; /* Mniejszy podtytuł na telefonach */
    }
}


/* Styl dla nagłówka mediów społecznościowych */
.social-heading {
    text-align: center;
    font-weight: bold;
    color: #f8c32d; /* Złoty kolor */
    font-size: 1.3rem;
    margin: 20px 0; /* Odstęp wokół tekstu */
}

/* Wyśrodkowanie ikon mediów społecznościowych */
.social-media-centered {
    display: flex;
    justify-content: center;
    gap: 20px; /* Odstęp między ikonami */
    margin: 10px 0; /* Odstęp od innych sekcji */
}

.social-media-centered a {
    color: #808080; /* Szary kolor ikon */
    font-size: 2rem; /* Rozmiar ikon */
    text-decoration: none; /* Brak podkreślenia */
    transition: color 0.3s ease; /* Animacja zmiany koloru */
}

.social-media-centered a:hover {
    color: #f8c32d; /* Złoty kolor na hover */
}



/* Responsywność - na małych ekranach (poniżej 600px) */
@media (max-width: 600px) {
    .social-media {
        flex-direction: column; /* Zmienia układ na pionowy */
        right: 10px;             /* Mniejsze odstępy od prawej krawędzi */
        top: 10px;               /* Mniejsze odstępy od góry */
        align-items: flex-end;   /* Wyrównanie do prawej */
    }
}
/*czarny pasek nawigacyjny */
.nav-bar {
    background-color: #222;
    padding: 5px 0;
}

.nav-bar nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-bar nav ul li {
    margin: 0 20px;
}

.nav-bar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.nav-bar nav ul li a:hover {
    text-decoration: underline;
}
.nav-bar nav ul li a.active {
    color: #f8c32d;  /* Złoty kolor */
    font-weight: bold;  /* Opcjonalnie, pogrubienie tekstu */
}
/* Pionowa linia separatora */
.nav-bar nav ul li.separator {
    border-left: 2px solid white;
    height: 20px;
    margin: 0 15px;
}

/* Sekcje główne */
main {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
}

main h2 {
    color: #f8c32d;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

main p, main ul {
    margin-bottom: 20px;
}

main ul {
    list-style-type: disc;
    margin-left: 20px;
}

.photo-text {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.4;
}

/* Linia stylowa */
.styled-line {
    width: 220px;        /* Szerokość linii */
    border: 1px solid #333;  /* Kolor i grubość linii */
    margin: 20px auto;    /* Automatyczne wyśrodkowanie i odstęp od tekstu */
    margin-top: 10px;     /* Dodatkowy odstęp nad linią */
}

/* Stopka */
footer {
    text-align: center;
    background-color: #222;
    color: #fff;
    padding: 10px 0;
    margin-top: 20px;
}

/* Styl dla sekcji kontaktowej */
.contact-info {
    text-align: center;
    margin: 30px 0;
}

.contact-info strong {
    font-weight: bold;
    font-size: 1.2rem;
    color: #f8c32d;  /* Złoty kolor dla wytłuszczonych informacji */
    display: block;
    margin-top: 10px;
}

.contact-info a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Styl dla Google Maps */
.google-map h3 {
    color: #f8c32d; /* Kolor tekstu dla nagłówka */
    font-size: 1.5rem; /* Rozmiar czcionki */
    font-weight: bold; /* Pogrubienie czcionki */
    margin-bottom: 30px; /* Odstęp poniżej nagłówka */
}

.google-map {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.google-map iframe {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 350px;
    max-width: 100%;
    max-height: 400px;
}

/* Responsywność */
@media screen and (max-width: 600px) {
    .google-map iframe {
        height: 250px;
    }
}

/* Tytuł sekcji */
.centered-title {
    text-align: center;
    font-size: 2.5rem;
    color: #f8c32d;
    margin-bottom: 10px;
    margin-top: 0px;
}

.linia {
    border: none;
    border-top: 2px solid #333;
    width: 50%;
    margin: 10px auto;
}

/* Powiększony tekst */
.large-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
}

/* Sekcja z usługami */
.services {
    margin: 30px auto;
    padding: 20px;
    max-width: 1000px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services h2 {
    text-align: center;
    color: #f8c32d;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.service-list li {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
}

.service-list li strong {
    color: #f8c32d;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.service-list {
    margin-bottom: 30px;
}

/* Dopasowanie dla responsywności */
@media (max-width: 768px) {
    .service-list ul {
        padding-left: 20px;
    }
}

.glowa {
    
    text-align: center;
    color: #f8c32d;
}

.tekst {
    text-align: center;
    font-size: 1.3rem;
}

.car {
    text-align: center;
}

/* Styl ogólny dla sekcji z obrazkami */
.vehicle-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-item {
    width: 80%;
    text-align: center;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    max-width: 650px;
    max-height: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 2px solid #D4AF37;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.image-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Zmiana stylu dla "standardowe przewozy" */
.highlighted-service {
    text-decoration: none; /* Usuwa podkreślenie */
    font-weight: bold; /* Pogrubia tekst */
    color: #f8c32d; /* Złoty kolor */
}

/* Wyśrodkowanie tekstów */
.centered-title {
    text-align: center;
    color: #f8c32d; /* Kolor tekstu */
    margin-bottom: 10px; /* Odstęp pod nagłówkiem */
}

/* Dodatkowe stylizacje ogólne */
.teskt p {
    font-size: 1.2rem; /* Rozmiar czcionki */
    color: #333; /* Kolor tekstu */
    text-align: center; /* Wyśrodkowanie tekstu */
}
.centered-text {
    text-align: center; 
    font-size: 1.2rem; 
    color: #333; 
}
.larger-text {
    font-size: 1.4rem;  
    line-height: 1.6; 
    color: #333; 
    text-align: center; 
    margin-top: 10px; 
}
.ulica{
    font-weight: bold;
}
.dzwon {
    text-align: center; /* Wyśrodkowanie tekstu */
    font-weight: bold;  /* Pogrubienie całej sekcji */
    font-size: 1.5rem;  /* Zwiększenie rozmiaru czcionki */
    color: #f8c32d;     /* Złoty kolor tekstu */
    margin: 20px auto;  /* Dodanie marginesów, aby dobrze wyglądało na urządzeniach mobilnych */
    max-width: 90%;     /* Ograniczenie szerokości, aby tekst nie zajmował całej szerokości */
}

.dzwon a {
    color: #f8c32d;           /* Złoty kolor dla linku */
    text-decoration: none;    /* Usunięcie podkreślenia z linku */
    font-weight: bold;        /* Pogrubienie numeru telefonu */
    font-size: 1.6rem;        /* Można dostosować rozmiar numeru */
}

.dzwon a:hover {
    text-decoration: underline; /* Podkreślenie numeru telefonu przy najechaniu */
}