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

/* Tło i czcionka dla całej strony */
body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f4f4f4;
}

html {
    scroll-behavior: smooth;
}

/* Header */
header {
    background: linear-gradient(135deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.952));
    color: #d4af37;
    padding: 40px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 100;
    border-bottom: 3px solid #d4af37;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 150px; /* Wymiary logo */
    height: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #d4af37; /* Złoty kolor tekstu */
}

/* Nawigacja */
nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #d4af37; /* Złoty kolor linków */
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.3s ease-in-out; /* Płynna animacja powiększania tekstu */
}

nav a:hover {
    transform: scale(1.2); /* Powiększenie tekstu przy hoverze */
}

/* Informacje kontaktowe */
.header-info {
    text-align: right;
}

.header-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #d4af37; /* Złoty kolor tekstu (np. "Dawniej HADES") */
}

.phone-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #ffffff; /* Biały tekst i ikona */
    font-weight: bold;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out; /* Płynne przejście koloru i powiększenia */
}

.phone-link:hover {
    color: #d4af37; /* Zmiana koloru na złoty */
    transform: scale(1.1); /* Powiększenie całego elementu */
}

.phone-icon {
    margin-right: 8px; /* Odstęp między ikoną a numerem */
}


/* Responsywność - Media Queries */
@media (max-width: 768px) {
    /* Układ dla mniejszych ekranów */
    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .logo h1 {
        font-size: 20px;
    }

    nav {
        margin-top: 10px;
        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    .header-info {
        text-align: center;
        margin-top: 10px;
    }

    .phone-number {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* Układ dla bardzo małych ekranów (telefony) */
    .logo img {
        width: 150px;
        height: auto;
    }

    .logo h1 {
        font-size: 18px;
    }

    nav a {
        font-size: 12px;
    }

    .header-info p {
        font-size: 12px;
    }

    .phone-number {
        font-size: 12px;
    }
}

/* Tło hero z GIF-em */
.hero {
    background: url('images/gif.webp') no-repeat center center/cover; /* Upewnij się, że ścieżka jest poprawna */
    height: 100vh; /* Ustaw wysokość sekcji na 100% wysokości okna */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-bottom: 3px solid #d4af37;
}

/* Tekst w sekcji hero */
.hero h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #d4af37;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Stylizacja przycisku Call to Action */
.cta-button {
    background-color: #d4af37; /* Złoty kolor */
    color: #000;
    font-size: 1.2rem;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #fff;
    color: #d4af37;
    transform: scale(1.1); /* Powiększenie przycisku */
}

/* Responsywność */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem; /* Mniejszy rozmiar na urządzeniach mobilnych */
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-button {
        font-size: 1rem; /* Mniejszy rozmiar przycisku na urządzeniach mobilnych */
        padding: 12px 20px;
    }
}


/* Sekcja O Nas */
#about-us {
    background-color: #f7f7f7; /* Jasne tło dla sekcji */
    padding: 80px 0; /* Górny i dolny padding */
}

/* Kontener dla sekcji O Nas */
.about-us-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: row; /* Ustawienie elementów w linii */
    align-items: center;
    justify-content: space-between;
}

/* Styl tekstu w sekcji */
.about-us-text {
    width: 50%; /* Ustalamy szerokość tekstu */
    padding-right: 30px; /* Dodatkowy odstęp od prawej krawędzi */
}

.about-us-text h2 {
    font-size: 32px;
    color: #d4af37; /* Złoty kolor */
    margin-bottom: 20px;
}

.about-us-text p {
    font-size: 16px;
    color: #333; /* Ciemny kolor tekstu dla lepszej czytelności */
    line-height: 1.6; /* Lepsza czytelność poprzez odstępy między liniami */
    margin-bottom: 20px;
}

/* Styl obrazka w sekcji */
.about-us-image img {
    width: 100%; /* Dopasowanie szerokości obrazka do kontenera */
    max-width: 500px; /* Maksymalna szerokość obrazka */
    height: auto; /* Utrzymanie proporcji obrazka */
    border-radius: 10px; /* Delikatne zaokrąglenie rogów */
}

/* Responsywność: dla ekranów mniejszych niż 768px */
@media (max-width: 768px) {
    .about-us-container {
        flex-direction: column; /* Elementy w kolumnie na mniejszych ekranach */
        align-items: center;
    }

    .about-us-text {
        width: 100%;
        padding-right: 0;
        text-align: center; /* Wyśrodkowanie tekstu na małych ekranach */
    }

    .about-us-image {
        margin-top: 20px;
    }
}



#uslugi {
    padding: 50px 0;
    background-color: #f9f9f9;
  }
  
  #uslugi h2 {
    text-align: center;
    font-size: 2.5em;
    color: #d4af37; /* Złoty kolor */
    margin-bottom: 20px;
  }
  
  .line {
    width: 30%;
    margin: 0 auto;
    border-top: 2px solid #d4af37; /* Złota linia */
  }
  
  .card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  
  .card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 22%; /* Zmniejszone wymiary kart */
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: scale(1.05); /* Powiększenie karty przy najechaniu */
  }
  
  .service-icon {
    font-size: 40px;
    color: #d4af37; /* Złoty kolor ikon */
    margin-bottom: 20px;
    transition: color 0.3s ease;
  }
  
  .card:hover .service-icon {
    color: #ff6347; /* Zmiana koloru ikony na pomarańczowy po najechaniu */
  }
  
  .card h3 {
    font-size: 1.5em;
    color: #333333;
    margin-bottom: 10px;
  }
  
  .card p {
    font-size: 1em;
    color: #666666;
  }
  
  /* Responsywność dla mniejszych ekranów */
  @media (max-width: 1200px) {
    .card {
      width: 30%; /* Karty w 3 kolumnach na większych ekranach */
    }
  }
  
  @media (max-width: 768px) {
    .card {
      width: 45%; /* Karty w 2 kolumnach na średnich ekranach */
    }
  }
  
  @media (max-width: 480px) {
    .card {
      width: 100%; /* Karty w 1 kolumnie na małych ekranach */
      margin-bottom: 20px; /* Dodatkowy margines między kartami */
    }
  }

  

.uslugi-lista {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.uslugi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.uslugi-lista h2 {
    text-align: center;
    font-size: 36px;
    color: #d4af37; /* Złoty kolor */
    margin-bottom: 30px;
}

.uslugi-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.uslugi-item {
    display: flex;
    align-items: center;
    width: 45%;
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.uslugi-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.uslugi-item i {
    font-size: 40px;
    color: #d4af37; /* Złoty kolor */
    margin-right: 20px;
}

.uslugi-info h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.uslugi-info p {
    color: #666;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .uslugi-item {
        width: 100%;
        margin-bottom: 30px;
    }
}

.kontakt-section {
    padding: 50px 0;
    background-color: #fff; /* Tło sekcji na białe */
}

.kontakt-section h2 {
    text-align: center;
    font-size: 36px;
    color: #d4af37; /* Złoty kolor tekstu */
    margin-bottom: 40px;
}

.kontakt-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 10%; /* Większe marginesy z lewej i prawej strony */
}

.contact-details-and-map {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    width: 100%;
}

.contact-details, .mapa {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-details h3, .mapa h3 {
    font-size: 24px;
    color: #d4af37; /* Złoty nagłówek */
    margin-bottom: 15px;
}

.contact-details p {
    font-size: 16px;
    color: #333;
    margin: 10px;
}

.contact-details a {
    color: #d4af37; /* Złoty kolor linków */
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.entrance-info {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

@media (max-width: 768px) {
    .kontakt-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-details, .mapa {
        width: 100%;
        margin-bottom: 20px;
    }

    .mapa iframe {
        height: 300px;
    }
}

footer {
    background-color: #000;
    color: #fff;
    padding: 20px;
    font-size: 14px;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left, .footer-right {
    width: 48%;
}

.footer-left img {
    max-width: 120px;
}

.footer-left p {
    margin: 5px 0;
}

.footer-left a {
    color: #d4af37;
    text-decoration: none;
}

.footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-right li {
    margin: 5px 0;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
}

.footer-right a:hover {
    color: #d4af37;
    font-size: 16px;
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
}

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

.footer-bottom {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}







