/* Import czcionki z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins;
}

body {
    background-color: #f9f4f9; /* Jasny różowy */
    color: #444; /* Ciemniejszy szary tekst */
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Nawigacja --- */
header {
    background-color: #fff;
    padding: 10px 0px;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: center; /* Wyśrodkowanie w poziomie */
    align-items: center; /* Wyśrodkowanie w pionie */
    width: 100%;
    flex-wrap: wrap; /* Dla responsywności */
}

/* Logo */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
}

.logo img {
    max-height: 60px;
    width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease; /* Płynny efekt hover */
}

.logo img:hover {
    transform: scale(1.1); /* Powiększenie logo przy najechaniu */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #444; /* Szary kolor na linki */
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff5722; /* Pomarańczowy podczas hover */
}

/* Menu hamburgerowe */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #444; /* Ciemniejszy szary */
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    border-top: 1px solid #ddd;
    padding: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: #444; /* Szary kolor na linki */
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #ff5722; /* Pomarańczowy podczas hover */
}

/* --- Główna sekcja --- */
.hero {
    background-image: url('zdjecia/nowe-zdjecie.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center; /* Wyśrodkowanie tekstu poziomo */
    padding: 5em 2em;
    position: relative;
    display: flex; /* Umożliwia centrowanie w pionie */
    justify-content: center; /* Wyśrodkowanie w poziomie */
    align-items: center; /* Wyśrodkowanie w pionie */
    min-height: 60vh; /* Zapewnia, że sekcja będzie miała co najmniej wysokość widocznego ekranu */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Mniej intensywny cień */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.hero .btn {
    text-decoration: none;
    background-color: #ff5722; /* Energetyczny pomarańczowy */
    color: #fff;
    padding: 0.8em 2em;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #e64a19; /* Ciemniejszy odcień pomarańczowego */
}

/* --- Sekcja kontaktowa --- */
.contact-info {
    padding: 4em;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
}

.contact-info h2 {
    font-size: 2em;
    margin-bottom: 1em;
    color: #333;
}

.contact-info p {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #666;
}

.contact-info a {
    color: #808080; /* Szary dla linków */
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    color: #ff5722; /* Pomarańczowy podczas hover */
    text-decoration: underline;
}

/* --- Okrągłe ikony w sekcji mediów społecznościowych --- */
.social-media {
    display: flex; /* Ustawienie elementów w jednym rzędzie */
    justify-content: center; /* Wyrównanie do środka */
    gap: 30px; /* Odstęp między ikonami */
    margin-top: 1em; /* Odstęp od góry */
}

.social-link {
    display: inline-block; /* Aby ikony były obok siebie */
    width: 50px; /* Szerokość okręgu */
    height: 50px; /* Wysokość okręgu */
    border-radius: 50%; /* Tworzy okrąg */
    background-color: #f4f4f9; /* Jasne tło okręgu */
    color: #333; /* Kolor ikon */
    font-size: 1.5em; /* Rozmiar ikon */
    text-align: center; /* Wyśrodkowanie ikony */
    line-height: 50px; /* Wyśrodkowanie w pionie */
    transition: background-color 0.3s ease, color 0.3s ease; /* Płynna zmiana koloru */
    text-decoration: none; /* Usunięcie podkreślenia */
}

.social-link:hover {
    background-color: #ff5722; /* Kolor tła podczas hover */
    color: #fff; /* Kolor ikony podczas hover */
}

/* Responsywność */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .mobile-menu.active {
        display: flex;
    }
}