* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Georgia, "Times New Roman", serif;
}

body {
  background: #f4efe6;
  color: #2c2c2c;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #3b2f2f;
  color: #f4efe6;
}

/* LOGO */
.logo-text {
  font-size: 2rem;
}

.logo-link {
  text-decoration: none;
  color: #f4efe6;
}

/* NAV */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #f4efe6;
  padding: 8px 12px;
  border: 1px solid #c2a878;
  border-radius: 4px;
  transition: 0.3s;
}

.nav-links a:hover {
  background: #c2a878;
  color: #3b2f2f;
}

/* INTRO */
.intro {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

/* SECTION TITLES */
.section-title {
  text-align: center;
  margin: 40px 0 20px;
  color: #5a3e36;
}

/* CARDS */
.infocards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px 40px;
}

.info-card {
  background: #fffaf0;
  border: 1px solid #d6c7a1;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.info-box {
  margin-top: 10px;
  font-size: 2rem;
}

/* NEWS */
.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px 40px;
}

.info1 {
  background: #fffaf0;
  padding: 20px;
  border: 1px solid #d6c7a1;
  border-radius: 8px;
}

.news-box {
  margin-top: 10px;
}

/* VINTAGE LINE */
r {
  display: block;
  margin: 8px 0;
  color: #c2a878;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 25px;
  background: #3b2f2f;
  color: #f4efe6;
  margin-top: 40px;
}

/* SOCIAL BUTTONS */
.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.social-btn {
  text-decoration: none;
  padding: 10px 18px;
  background: #fffaf0;
  color: #3b2f2f;
  border: 1px solid #c2a878;
  border-radius: 4px;
  box-shadow: 2px 2px 0 #c2a878;
  transition: 0.2s;
}

.social-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 20%; /* optional: makes it circular */
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 40px;
}

.video-card {
  background: #fffaf0;
  border: 1px solid #d6c7a1;
  border-radius: 8px;
  padding: 10px;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 40px;
}

.video-card {
  background: #fffaf0;
  border: 1px solid #d6c7a1;
  border-radius: 8px;
  padding: 10px;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 6px;
  display: block;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 40px;
  flex-wrap: wrap;
}

.contact-box {
  flex: 1;
  min-width: 250px;
  background: #fffaf0;
  border: 1px solid #d6c7a1;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

/* Vintage separator line */
.vintage-line {
  height: 2px;
  margin: 20px 0;
  background: linear-gradient(to right, transparent, #c2a878, transparent);
  border-radius: 2px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 40px;
  flex-wrap: wrap;
}

.contact-box {
  flex: 1;
  min-width: 280px;
  background: #fffaf0;
  border: 1px solid #d6c7a1;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
}

/* FIX: spacing for buttons */
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

/* Vintage line */
.vintage-line {
  height: 2px;
  margin: 20px 0;
  background: linear-gradient(to right, transparent, #c2a878, transparent);
  border-radius: 2px;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* main zajmuje dostępne miejsce */
main {
  flex: 1;
}

.gallery-1 {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.info-card {
  background: #fffaf0;
  border: 1px solid #d6c7a1;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

body {
  background-image: url("foto3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* przyciemnienie tylko dla main */
main.home::main.before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* overlay na całą stronę */
main.home::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* stopień przyciemnienia */
  z-index: -1;
}

main.home {
  color: white;

  background-image: linear-gradient(
      rgba(0,0,0,0.3),
      rgba(0,0,0,0.3)
    ),
    url("foto3.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-title {
  color: white;
}