/* styles.css */

/* Reset i czcionka */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, sans-serif;
}

body {
  background: #f4f7fa;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* NAGŁÓWEK */
.site-header {
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  padding: 1rem 0;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
  text-align: center;
}

.site-nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
  text-align: center
}

.site-nav a:hover,
.site-nav a.active {
  color: #ffd700;
}

/* HERO */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.2rem;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature h3 {
  color: #2a5298;
  margin-bottom: 0.5rem;
}

/* SPECYFIKACJE */
.specs h2 {
  text-align: center;
  color: #2a5298;
  margin-bottom: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #e8f0fe;
  color: #1e3c72;
}

/* CTA */
.cta {
  text-align: center;
  margin: 3rem 0;
  background: linear-gradient(90deg, #2a5298, #1e3c72);
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
}

.cta h2 {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background: #ffd700;
  color: #2a5298;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #ffe140;
}

/* STOPKA */
.site-footer {
  background: #1e3c72;
  color: #fff;
  padding: 1.5rem 0;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}
/* SEKCJA INFORMACYJNA */
.intro-text {
  background: #ffffff;            /* białe tło, spójne z innymi boxami */
  padding: 2rem 2.5rem;           /* przestrzeń wewnętrzna */
  margin: 3rem 0;                 /* odstęp od góry i dołu */
  border-radius: 12px;            /* zaokrąglone rogi */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);  /* delikatny cień */
  color: #222222;                 /* ciemny tekst */
  line-height: 1.7;               /* większy odstęp między liniami dla czytelności */
  font-size: 1.1rem;              /* lekko większy rozmiar czcionki */
}

.intro-text p {
  margin-bottom: 1rem;            /* odstęp między paragrafami */
}

.intro-text p strong {
  color: #2a5298;                 /* wyróżnienie kolorem pasującym do nagłówków */
}

.features-heading {
  text-align: center;
  font-size: 2rem;
  color: #2a5298;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.folia-link {
	text-decoration: underline;
}
html {
  scroll-behavior: smooth;
}

/* FORMULARZ KONTAKTOWY */
.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-form h2 {
    color: #2a5298;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e3c72;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8f0fe;
    border-radius: 8px;
    background: #f4f7fa;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2a5298;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    accent-color: #2a5298;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    background: #f4f7fa;
    border: 2px dashed #e8f0fe;
    border-radius: 8px;
}

.form-group input[type="file"]:focus {
    border-color: #2a5298;
}

.btn {
    display: inline-block;
    background: #ffd700;
    color: #2a5298;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn:hover {
    background: #ffe140;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsywność */
@media (min-width: 768px) {
    .form-row {
        display: flex;
        gap: 1.5rem;
    }
    
    .form-row .form-group {
        flex: 1;
    }
    
    .btn {
        width: auto;
        padding: 12px 40px;
    }
}

/* MODAL - powiększanie zdjęcia */

.feature img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
}

/* Styl dla modala (upewnij się, że masz to w css!) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}
