/* ZMIENNE KOLORYSTYCZNE */
:root {
    --navy: #0a192f;        /* Głęboki granat */
    --gold: #c5a059;        /* Stonowane złoto/piasek */
    --turquoise: #17a2b8;   /* Akcent z logo */
    --white: #ffffff;
    --off-white: #f8f9fa;   /* Jasny beż / złamana biel */
    --text-dark: #333333;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--off-white);
}

/* TYPOGRAFIA */
h1, h2, h3 {
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--navy);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* POMOCNICZE */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light { background-color: var(--off-white); }
.bg-white { background-color: var(--white); }
.bg-navy { background-color: var(--navy); color: var(--white); }

.text-center { text-align: center; }

/* NAWIGACJA */
.navbar {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--turquoise);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    transition: color 0.3s;
}

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

.btn-nav {
    border: 1px solid var(--gold);
    padding: 5px 15px;
    border-radius: 5px;
}

.burger { display: none; cursor: pointer; }

.burger .line1,
.burger .line2,
.burger .line3 {
    width: 26px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger.is-active .line1 { transform: translateY(8px) rotate(45deg); }
.burger.is-active .line2 { opacity: 0; }
.burger.is-active .line3 { transform: translateY(-8px) rotate(-45deg); }

/* HERO SECTION */
.hero {
    height: 90vh;
    background-image: url('img/background.jpg'); /* PODMIEŃ NA URL SWOJEGO ZDJĘCIA */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.6); /* Przyciemnienie zdjęcia */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.subheadline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--turquoise);
    color: var(--white);
}
.btn-primary:hover { background-color: #138496; }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover { background-color: var(--white); color: var(--navy); }

/* GRID SYSTEM */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* SEKCJA 2 & 3 */
.trust-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.trust-list i {
    color: var(--turquoise);
    margin-right: 10px;
}

/* BEZPIECZNY WYBÓR - KAFELKI */
.card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}
.icon-large {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* STRIP SECTION */
.strip-section {
    background: var(--gold);
    color: var(--navy);
    padding: 20px 0;
    text-align: center;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

/* OFERTA */
.offer-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.offer-ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.offer-ul i {
  font-size: 36px; /* x2 (było 18px) */
  line-height: 1;
  opacity: 0.9;
}

.offer-ul span {
  line-height: 1.25;
  font-size: 15px;
}

/* responsywność */
@media (max-width: 1100px) {
  .offer-ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .offer-ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .offer-ul { grid-template-columns: 1fr; }
}



/* ROTATOR */
.rotator-section {
    background: #e9ecef;
    padding: 40px 0;
    text-align: center;
    font-style: italic;
    color: var(--navy);
}

/* FOOTER */
.footer {
    background: var(--navy);
    color: var(--white);
    padding-top: 50px;
}
.grid-3-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 30px;
}
.footer h3 {
    color: var(--turquoise);
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.socials a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--white);
}
.phone-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
}

.phone-link2 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--gold);
}

.footer-bottom {
    background: #050e1a;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}

/* RESPONSYWNOŚĆ (MOBILE) */
@media (max-width: 768px) {
    .burger { display: block; }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .nav-links.is-open { display: flex; }

    .nav-links li { padding: 0; }

    .nav-links a {
        display: block;
        padding: 14px 20px;
    }

    .nav-links a.btn-nav {
        margin: 8px 20px 0;
        text-align: center;
    }

    body.menu-open { overflow: hidden; }

    .nav-scrim {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    .nav-scrim.is-open { display: block; }
    .grid-2, .grid-3, .grid-3-footer {
        grid-template-columns: 1fr;
    }
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
    .hero h1 { font-size: 2rem; }
}