/* ======================
   GŁÓWNE STYLOWANIE BODY
   ====================== */
body {
    background-image: url("zdjecie12.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-family: 'Actor', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* ======================
   NAGŁÓWEK
   ====================== */
header {
    background-color: #2f4e6b;
    color: white;
    padding: 1em 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 36px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 1em;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

header nav ul li a:hover {
    border-bottom: 1px solid white;
}

/* ======================
   SEKCJE I CENTROWANIE
   ====================== */
section {
    padding: 2em 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.center-box {
    background-color: rgba(240, 240, 240, 0.7);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    position: relative;
}

.center-box h2 {
    font-size: 36px;
    margin: 0 0 20px;
}

.center-box p {
    font-size: 18px;
    margin-top: 10px;
}

/* ======================
   KAFELKI ATRAKCJI
   ====================== */
.hover-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    max-width: 800px;
}

.hover-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

#atrakcje .center-box h2 {
    margin-bottom: 20px;
}

.atrakcje-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.atrakcje-left {
    flex: 1;
    min-width: 250px;
}

.atrakcje-left h3 {
    margin-top: 0;
    font-size: 28px;
    color: #ffffff;
    text-align: left;
}

.atrakcje-left p {
    text-align: left;
    font-size: 18px;
}

.atrakcje-right {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: flex-end;
}

/* ======================
   TŁA KAFELKÓW ATRAKCJI
   ====================== */

.card-bg {
    position: relative;
    overflow: hidden;
    color: white;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-bg .overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.4); /* półprzezroczysty ciemny filtr */
    z-index: 1;
}

.card-bg .atrakcje-left,
.card-bg .atrakcje-right {
    position: relative;
    z-index: 2;
}

/* Konkretne tła dla każdej atrakcji */
.bunkry {
    background-image: url("bunkry1.jpg");
}

.plaza {
    background-image: url("plaza3.jpg");
}

.park {
    background-image: url("park_pszczew1.jpg");
}

.wieza {
    background-image: url("wieza3.jpg");
}

.trasy_rowerowe {
    background-image: url("zdjecie22.jpg");
}


/* ======================
   PRZYCISK "CZYTAJ WIĘCEJ"
   ====================== */
.terms-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: white;
    color: #2f4e6b;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-family: 'Actor', sans-serif;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
    font-weight: bold;
}

.terms-button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: #1b2f44;
}


/*PRZYCISK REGULAMIN*/
.regulamin-btn {
  display: inline-block;
  background-color: #2f4e6b;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: normal;
  transition: all 0.3s ease;
}

.regulamin-btn:hover {
  background-color: #1b2f44;
  transform: scale(1.05);
}

.fixed-footer-btn {
  position: fixed;
  bottom: 5px;
  right: 50px;
  z-index: 1000;
}



/* ======================
   KONTAKT
   ====================== */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #333;
    font-size: 20px;
    transition: color 0.6s ease, transform 0.6s ease;
    cursor: pointer;
}

.contact-item:hover {
    color: #2f4e6b;
    transform: scale(1.05);
}

.contact-item i {
    margin-right: 10px;
}

.mailto-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.mailto-link:hover {
    color: #2f4e6b;
}

/* ======================
   STOPKA
   ====================== */
footer {
    background-color: rgba(240, 240, 240, 0.7);
    text-align: center;
    padding: 1em 0;
    margin-top: auto;
    width: 100%;
    position: relative;
}

footer p {
    margin: 0;
    color: #333;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================
   GALERIA
   ====================== */
.gallery-container, .room-gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.small-image {
    width: 40%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .small-image {
        width: 90%;
        height: auto;
    }
}

/* ======================
   VIDEO
   ====================== */
.video-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 30px;
}

.video-wrapper .video {
    width: 700px;
    height: 400px;
    max-width: 100%;
}

/* ======================
   MAPA
   ====================== */
.map-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: 0;
}

/* ======================
   STRZAŁKA WRÓĆ
   ====================== */
.arrow-link {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 16px;
    height: 16px;
    border: solid #2f4e6b;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(135deg);
    transition: border-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.arrow-link:hover {
    border-color: #1b2f44;
    transform: rotate(135deg) scale(1.2);
}

.arrow-text:hover {
    color: #1b2f44;
}

/* ======================
   TYPOGRAFIA
   ====================== */
h2 {
    color: #333;
    line-height: 2;
    text-align: center;
}

h3 {
    color: #333;
    font-size: 60px;
    text-align: center;
    font-family: 'Actor', sans-serif;
    margin-bottom: 35px;
}

p {
    text-align: center;
}

.logo {
    height: 80px;
    width: auto;
}

/* ======================
   SOCIAL MEDIA
   ====================== */
.social-icons {
    text-align: center;
    margin-top: 20px;
}

.social-icons a {
  display: inline-block;  /* ← TO TU DODAJ */
  color: #3b3b3b;
  font-size: 20px;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #1b2f44;
  transform: scale(1.2);
}


header nav ul li a.active {
    border-bottom: 1px solid white;
}
