
/* --- OGÓLNE STYLE --- */
:root {
    --primary-color: #2e8b57; /* Ciemna zieleń */
    --secondary-color: #f5f5dc; /* Kremowy */
    --text-color: #333;
    --light-color: #fff;
    --accent-color: #ff6347; /* Pomarańczowy/czerwony */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ffd700;
	color: var(--text-color);
}

/* --- HEADER --- */
header {
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- SEKCJA POWITALNA (HERO) --- */
/* Style dla sekcji hero */
.hero {
    position: relative; /* Ważne, aby pozycjonować zawartość na wierzchu wideo */
    width: 100%;
    height: 70vh; /* Dostosuj wysokość sekcji hero */
    overflow: hidden; /* Ukryj ewentualne paski przewijania wideo */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Upewnij się, że tekst jest widoczny na wideo */
    text-align: center;
}

/* Styl dla wideo w tle */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    transition: opacity 1.5s ease-in-out; /* płynne przenikanie */
}


/* Możesz również dodać nakładkę, jeśli wideo jest zbyt jasne */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(245 245 220 / 29%) /* Ciemna nakładka */
    z-index: 0; /* Pomiędzy wideo a treścią */
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* --- SEKCJA "DLACZEGO MY?" --- */
#dlaczego-my .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 30px;
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- SEKCJA "NASZE TRASY" --- */
.trasy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.trasa-card {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.trasa-card:hover {
    transform: translateY(-10px);
}

.trasa-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.trasa-content {
    padding: 25px;
}

.trasa-content h3 {
    margin-top: 0;
}

.trasa-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* --- GALERIA --- */

.galeria-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.galeria-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.galeria-scroll::-webkit-scrollbar {
  display: none; /* ukrycie scrolla */
}

.galeria-item {
  flex: 0 0 auto;
  width: 250px;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.galeria-item img:hover {
  transform: scale(1.05);
}

.galeria-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding-top: 10px;
  padding-right: 15px;
  padding-bottom: 10px;
  padding-left: 15px;
  border-radius: 50%;
  z-index: 10;
}

.galeria-btn.left {
  left: -10px;
}

.galeria-btn.right {
  right: -10px;
}

/* --- LIGHTBOX --- */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.9); 
    justify-content: center; 
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- OPINIE KLIENTÓW --- */
.opinie {
    background-color: var(--light-color);
}

.opinia-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 700px;
    text-align: center;
}

.opinia-card p {
    font-style: italic;
}

.opinia-card h4 {
    margin-top: 15px;
    color: var(--primary-color);
}

/* --- SEKCJA KONTAKT --- */
#kontakt .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

#kontakt .form-group {
    margin-bottom: 20px;
}

#kontakt label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#kontakt input, #kontakt textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

#kontakt textarea {
    resize: vertical;
    min-height: 150px;
}

#kontakt iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: none;
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 30px 0;
}

.social-links a {
    color: var(--light-color);
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* --- SEKCJA CENNIK --- */
#cennik {
    background-color: var(--light-color);
}

#cennik h2 {
    margin-bottom: 40px;
}

.cennik-wrapper {
    overflow-x: auto;
}

.cennik-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.cennik-table thead {
    background: var(--primary-color);
    color: var(--light-color);
}

.cennik-table th {
    padding: 18px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.cennik-table td {
    padding: 18px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.cennik-table tr:last-child td {
    border-bottom: none;
}

.cennik-table tbody tr {
    transition: all 0.3s ease;
}

.cennik-table tbody tr:hover {
    background-color: #f9f9f9;
    transform: scale(1.01);
}

.cennik-table strong {
    color: var(--accent-color);
    font-size: 1.1rem;
}

#faq-kajak {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px 50px 20px; /* góra 50px, dół 50px, lewo/prawo 20px */
    background: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

#faq-kajak h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    cursor: pointer; /* dla potencjalnego rozwijania akordeonu */
    position: relative;
    padding-right: 25px;
}

.faq-item h3::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    content: "−";
}

.faq-item p,
.faq-item ul {
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 10px;
    color: var(--text-color);
}

.faq-item ul {
    margin-top: 10px;
    list-style-type: disc;
    margin-left: 20px;
}

/* Podkreślenie linków w FAQ */
.faq-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Styl dla listy rzeczy do zabrania */
.faq-item ul li {
    margin-bottom: 8px;
}

/* Akordeon – opcjonalnie */
.faq-item-content {
    display: none;
    margin-top: 10px;
}

.faq-item.active .faq-item-content {
    display: block;
}
#splywForm {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dwa pola w rzędzie */
  gap: 15px; /* odstęp między polami */
}

/* textarea i input typu file zajmują całą szerokość */
#splywForm textarea,
#splywForm input[type="file"] {
  grid-column: 1 / -1; /* rozciąga się na całą szerokość */
}

/* select wielokrotny też cała szerokość */
#splywForm select[multiple] {
  grid-column: 1 / -1;
}

/* przycisk też na całą szerokość */
#splywForm button[type="submit"] {
  grid-column: 1 / -1;
}
/* --- MEDIA QUERIES (RESPONSYWNOŚĆ) --- */
@media (max-width: 768px) {
    nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
	  }

	  .nav-links {
		display: none;
		flex-direction: column;
		gap: 15px;
		position: absolute;
		top: 70px;
		right: 20px;
		background: white;
		padding: 20px;
		border-radius: 10px;
		box-shadow: 0 4px 12px rgba(0,0,0,0.2);
		z-index: 1000;
	  }

	  .nav-links.active {
		display: flex;
	  }

	  .hamburger {
		display: block;
	 }
    .hero {
        height: 132vh;
        padding: 0 20px;
        display: flex;
        flex-direction: column; /* ustawienie w kolumnie */
        justify-content: center; /* wyśrodkowanie w pionie */
        align-items: center;
        text-align: center;
        background-position: center top;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin: 0 0 15px 0; /* usuwa górny margines */
    }

    .hero p {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 0 20px 0;
    }

    .hero .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
	.contact-section {
        grid-template-columns: 1fr;
    }
	.contact-info iframe {
        width: 100% !important;
        height: auto;
    }
	.cennik-table th,
    .cennik-table td {
        padding: 12px;
        font-size: 0.85rem;
    }
	#faq-kajak {
        padding: 30px 15px;
    }

    #faq-kajak h2 {
        font-size: 2rem;
    }

    .faq-item h3 {
        font-size: 1.3rem;
    }

    .faq-item p,
    .faq-item ul {
        font-size: 0.95rem;
    }
	 #splywForm {
    grid-template-columns: 1fr;
  }
}
