/* --- BAZA I RESET --- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fdfbf7;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: #4a443f;
  -webkit-font-smoothing: antialiased;
}

/* --- NAGŁÓWEK --- */
.site-header {
  width: 100%;
  background-color: #f5f0eb;
  border-bottom: 1px solid #e3dad0;
  box-shadow: 0 2px 8px rgba(74, 68, 63, 0.03);
  padding: 15px 30px;
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* 1. Menu rozwijane po lewej */
.menu-container {
  position: relative;
}

.menu-toggle-btn {
  background-color: #fdfbf7;
  color: #4a443f;
  border: 1px solid #e3dad0;
  padding: 10px 20px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 6px rgba(74, 68, 63, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle-btn:hover {
  background-color: #ede6dc;
  transform: translateY(-2px);
}

/* Rozwijane menu (Dropdown) */
.dropdown-box {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background-color: #fdfbf7;
  border: 1px solid #e3dad0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(74, 68, 63, 0.12);
  z-index: 1000;
  overflow: hidden;
}

.dropdown-box a {
  padding: 12px 18px;
  text-decoration: none;
  color: #4a443f;
  font-size: 15px;
  border-bottom: 1px solid #f2ebe3;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-box a i {
  font-size: 14px;
  color: #8c7d71;
}

.dropdown-box a:last-child {
  border-bottom: none;
}

.dropdown-box a:hover {
  background-color: #f5f0eb;
  padding-left: 22px;
}

/* 2. Środek: Logo */
.header-center-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-icon {
  font-size: 28px;
  color: #4a443f;
}

.header-text h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.5px;
  font-weight: normal;
  line-height: 1.1;
}

.header-text p {
  margin: 2px 0 0 0;
  font-size: 14px;
  color: #726860;
  letter-spacing: 0.3px;
}

/* 3. Prawa strona: Tylko ikony społecznościowe */
.header-right-nav {
  display: flex;
  align-items: center;
}

.header-socials {
  display: flex;
  gap: 15px;
}

.header-socials a {
  color: #4a443f;
  font-size: 20px;
  transition: transform 0.2s;
}

.header-socials a:hover {
  transform: translateY(-2px);
  color: #2c2724;
}

/* --- GŁÓWNA SEKCJA (DWA ZDJĘCIA) --- */
.main-container {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 140px);
  background-color: #f5f0eb;
  padding: 0;
}

.hero-banner-dual {
  width: 100%;
  display: flex;
  flex: 1;
}

.hero-img-box {
  width: 50%;
  height: auto;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- STOPKA --- */
.footer {
  display: flex;
  background-color: #4a443f;
  width: 100%;
  color: #e9e2d8;
  border-top: 1px solid #5a524b;
}

.footer-content-box {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-contact-details {
  display: flex;
  gap: 30px;
  font-size: 15px;
  color: #dcd4cb;
  flex-wrap: wrap;
}

.footer-contact-details span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-organizations {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-organizations a {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-organizations a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.org-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-bottom-bar {
  border-top: 1px solid #5a524b;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #b5aba1;
}

.footer-bottom-bar p {
  margin: 0;
}

/* --- RESPONSYWNOŚĆ DLA TELEFONÓW --- */
@media screen and (max-width: 900px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .header-right-nav {
    flex-direction: column;
    gap: 15px;
  }
  .main-container {
    min-height: auto;
    padding: 0;
  }
  .hero-banner-dual {
    flex-direction: column;
  }

  /* Obie sekcje zdjęć mają teraz identyczny wygląd na telefonie (pełna szerokość) */
  .hero-img-box {
    width: 100%;
    height: 380px;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .footer-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-contact-details {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}