/* 1. Marginesy */
html, body {
    margin: 0;
    padding: 0;
}

/* 2. Styl ciala strony */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* 2. Styl sekcji i list */
section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

ul {
    line-height: 1.8;
}

li {
    padding-bottom: 5px;
}

/* 3. Kontener – pełna szerokość */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/****************************************
 * Header
 ****************************************/
header {
    background-color: #ffffff;
}

.header-images {
    display: flex;
    align-items: center;
    width: 100%;
}

.left-container, .right-container {
    flex: 1;
    margin: 0;
    padding: 0;
}

.logo-center, .logo-right {
    width: 100%;
    height: auto;
    display: block;
}

nav {
    background-color: #1E2F5B;
    text-align: center;
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover,
nav ul li a.active {
    text-decoration: underline;
}

/****************************************
 * Sekcja główna
 ****************************************/
main {
    padding: 30px 20px;
}

main h2, main h3 {
    color: #1E2F5B;
}

/****************************************
 * Stopka
 ****************************************/
footer {
    text-align: center;
    padding: 15px;
    background-color: #1E2F5B;
    color: white;
}

/****************************************
 * Galeria
 ****************************************/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
    justify-items: center;
    align-items: start;
}

.gallery a {
    width: 100%;
    height: 180px;
    display: block;
}

.gallery a img, .gallery video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #75766D;
}

.gallery a img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery a img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery video {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/****************************************
 * Formularz kontaktowy
 ****************************************/
form {
    max-width: 600px;
    margin-top: 20px;
}

form label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #1E2F5B;
}

form input[type="text"],
form select,
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

form input[type="submit"] {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #1E2F5B;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

form input[type="submit"]:hover {
    background-color: #30437c;
}

/****************************************
 * Oferta
 ****************************************/
.oferta {
    text-align: center;
    padding: 40px 20px;
}

.kafelki {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.kafelek {
    background: #ffffff;
    padding: 25px 20px;
    width: 260px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.kafelek:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #fff6e5;
}

.kafelek h4 {
    margin-bottom: 10px;
    color: #1E2F5B;
    font-size: 1.1rem;
}

.kafelek p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

/****************************************
 * Intro Section (zaktualizowane)
 ****************************************/
.intro-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  align-items: center; /* klucz do wyśrodkowania w pionie */
}

.intro-left {
  flex: 2;
  min-width: 280px;
}

.intro-left h2 {
  color: #1E2F5B;
  margin-bottom: 20px;
}

.intro-text-box {
  background-color: #f9f9fc;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-text-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.intro-text-box p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.intro-right {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.call-now {
  font-weight: bold;
  font-size: 1.1rem;
  color: #FF6600;
  animation: pulseText 2s infinite;
  margin-bottom: 15px;
}

@keyframes pulseText {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}

.phone-box {
  background-color: #FF6600;
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.icon {
  height: 20px;
  width: auto;
}