/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* TŁO I PODSTAWY */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.65)),
        url("images/kasztany.jpg") center/cover no-repeat;
    color: #f0f0f0;
}
/* slider */

.slider {
  width: 900px;        /* szerokość slidera */
  height: 300px;       /* wysokość slidera */
  overflow: hidden;
  margin: auto;
  border-radius: 10px;
}

.slides {
  display: flex;
  width: 300%;         /* 3 zdjęcia → 300% */
  animation: slide 9s infinite;
}

.slides img {
  width: 100%;
  height: auto;
}

@keyframes slide {
  0%   { transform: translateX(0); }
  33%  { transform: translateX(0); }

  33.01% { transform: translateX(-100%); }
  66%    { transform: translateX(-100%); }

  66.01% { transform: translateX(-200%); }
  100%   { transform: translateX(-200%); }
}


/* MENU */
.menu {
    background: #D6CECB;
    padding: 15px;
    text-align: center;
}

.menu a {
    margin: 0 15px;
    text-decoration: none;
    color: #592613;
    font-weight: bold;
}

.menu a:hover {
    color: #0d3d0d;
	font-size: 20px;
}

/* HERO */
.hero {
    height: 230px;
    background: #EEE7E1;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    color: #0d3d0d;
}

.hero p {
    font-size: 18px;
    color: #1f4f1f;
}

/* SEKCJE */
.section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 10px;
	}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
	}
.section p {
    font-size: 20px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.6);
	text-align: justify;
	opacity: 0; animation: fadeIn 4s forwards;
		}
	@keyframes fadeIn { to { opacity: 1; } 
	}


/* GALERIA */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
}

/* MAPA */
.map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 30px;
	gap: 15px;
	margin-bottom: 30px;
}

/* FORMULARZ */
.form {
    display: grid;
    gap: 15px;
}

.form input,
.form textarea {
    padding: 12px;
    border: 1px solid #9cc89c;
    border-radius: 6px;
}

button {
    padding: 12px;
    background: #1f4f1f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #0d3d0d;
}

/* STOPKA */
footer {
    text-align: center;
    padding: 90px;
    background: #dce9dc;
    margin-top: 20px;
}












