/* Resetowanie domyślnych marginesów i paddingów */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Styl całej strony */
body {
	font-family: Arial, sans-serif;
	background-color: white;
	color: black;
	line-height: 1.6;
	background-image: url("gfx/brick.png");
	background-repeat: repeat;
	background-size: 200px 200px;
}

/* Główna sekcja hero – duży nagłówek z tłem */
.hero {
	color: black;
	text-align: center;
	padding: 100px 20px;
}

.logo {
	width: 95%;
	height: auto;
	min-width: 350px;
	display: block;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3em;
	margin-bottom: 10px;
	font-family: 'Impact', sans-serif;
	color: white;
	text-transform: uppercase;
	letter-spacing: 3px;
	text-shadow: 
		2px 2px 4px #000,
		0 0 5px cyan,
		0 0 10px magenta;
	transition: transform 0.3s ease-in-out;
}

.hero h1:hover {
	transform: scale(1.05);
}

/* Layout sekcji z wideo i tekstem */

.row {
	display: flex;
	align-items: center;
	margin: 5% auto;
	width: 100%;
	max-width: 800px;
	flex-wrap: wrap;
	padding: 0 20px;
	gap: 40px
	}

/* Styl dla telefonów i wąskich ekranów */
@media (max-width: 768px) {
.row {
	flex-direction: column;
	text-align: center;
	align-items: center;
	}

.right-text {
	flex: 1; /* 👈 WYŁĄCZA rozciąganie */
	width: 100%;
	max-width: 90%;
	margin-left: 0px
	margin: 20px auto 0 auto;
	text-align: center;
	}
}

.left-img {
	width: 40%;
	max-width: 384px;
	min-width: 200px;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	margin: 0 auto;
	}

.right-text {
	flex: 1;
	padding: 10px;
	font-size: 1.1em;
	/* margin-left: 40px; */
	background-color: rgba(180, 180, 180, 0.30); /* tło z % przezroczystością */
	border-radius: 20px;
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* 👈 cień! */
	max-width: 90%;
	}

.right-text h1 {
	color: white;
	text-shadow: 
		2px 2px 4px #000,
		0 0 5px cyan,
		0 0 10px magenta;
	}

/* Sekcja zalety */
.benefits {
	padding: 60px 20px;
	text-align: center;
}

.benefits h2 {
	font-size: 2.5em;
	color: black;
	margin-bottom: 20px;
}

.icon-list {
	list-style: none;
	padding-left: 0;
}

.icon-list li {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.icon-list img {
	width: 24px;
	height: 24px;
	margin-right: 10px;
}

/* Sekcja kontaktowa */
.contact {
	background-color: #f4f4f4;
	padding: 60px 20px;
	text-align: center;
}

.contact h2 {
	font-size: 2em;
	margin-bottom: 20px;
	color: black;
}

form {
	max-width: 600px;
	margin: 0 auto;
	text-align: left;
}

form input,
form textarea {
	width: 100%;
	padding: 20px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 8px;
	border-color: red;
}

/* Hover: ramka zmienia się na zieloną */
form input[type="text"]:hover,
form input[type="email"]:hover,
form input[type="tel"]:hover,
form textarea:hover,
form button:hover {
  border-color: green;  /* nowy kolor ramki na hover */
}

/* Styl przycisku send, tak jak pola formularza */
form button {
  display: block;          /* żeby mógł mieć width */
  width: 100%;             /* pełna szerokość formularza */
  padding: 20px;           /* ten sam padding co input/textarea */
  margin-top: 20px;        /* odstęp od pola powyżej */
  font-size: 1em;          /* spójna wielkość czcionki */
  border: 1px solid #ccc;  /* taki sam border jak w input */
  border-radius: 8px;      /* zaokrąglone rogi jak w input */
  background-color: #fff;  /* lub inny kolor tła, spójny z input */
  border-color: red;
  cursor: pointer;         /* wskazuje klikalność */
  box-sizing: border-box;  /* uwzględnia padding w szerokości */
  transition: background-color 0.2s ease;
}

/* Ikony social media */
.social-icons a {
	display: inline-block;
	margin: 0 15px;
	margin-top: 40px;
}

.social-icons img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: transform 0.2s ease-in-out;
}

.social-icons img:hover {
	transform: scale(2) rotate(10deg);
}

/* Stopka */
footer {
	background-color: black;
	color: white;
	text-align: center;
	padding: 30px 20px;
}
