
/* ===========================
   RESET
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

/* ===========================
   KONTAINER
=========================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===========================
   SMOOTH SCROLL FIX
=========================== */

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
    padding: 80px 0;
}

/* ===========================
   NAVBAR PRO FIX
=========================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 10%;

    background: #ffffff; /* STAŁE BIAŁE TŁO */
    border-bottom: 1px solid #eee;

    transition: 0.3s ease;
}

/* LOGO */
.logo {
    font-weight: 700;
    font-size: 20px;
    color: #111;
}

/* MENU */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* LINKI - FIX KOLORY */
.navbar ul li a {
    position: relative;
    font-weight: 500;
    padding: 8px 0;

    color: #111; /* 🔴 KLUCZOWE - zawsze widoczne */
    transition: 0.3s ease;
}

/* hover */
.navbar ul li a:hover {
    color: #0077ff;
}

/* underline animacja */
.navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0%;
    height: 2px;
    background: #0077ff;

    transition: 0.3s;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* ACTIVE LINK */
.navbar ul li a.active {
    color: #0077ff;
}

.navbar ul li a.active::after {
    width: 100%;
}

/* FIX: brak niebieskiego highlightu po kliknięciu */
.navbar ul li a:focus,
.navbar ul li a:active {
    outline: none;
    background: transparent;
    color: #0077ff;
}

/* ===========================
   HAMBURGER
=========================== */

.hamburger {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: #111;
}

/* MOBILE MENU */
@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .navbar ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;

        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;

        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .navbar ul.show {
        display: flex;
    }
}
/* ===========================
   HERO
=========================== */

.hero {
    height: 90vh;
    background: url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 90%;
    max-width: 800px;
    margin: auto;
}

.hero h1 {
    font-size: 42px;
    margin: 15px 0;
}

/* ===========================
   PRZYCISKI
=========================== */

.btn {
    display: inline-block;
    padding: 12px 20px;
    background: #0077ff;
    color: white;
    border-radius: 6px;
}

.btn:hover {
    background: #005fd1;
}

/* ===========================
   FEATURES
=========================== */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f8f9fb;
    text-align: center;
}

/* ===========================
   GRIDY (RESPONSYWNE FIX)
=========================== */

.services-grid,
.why-grid,
.reviews-grid,
.gallery-grid,
.stats-grid {
    display: grid;
    gap: 20px;
}

.services-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.stats-grid { grid-template-columns: repeat(4, 1fr); }

/* ===========================
   CONTACT
=========================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ===========================
   FOOTER
=========================== */

footer {
    background: #111;
    color: white;
    padding: 60px 0;
}

/* ===========================
   FLOATING BUTTONS
=========================== */

.phone-button,
.top-button {
    position: fixed;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #0077ff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 9999;
}

.phone-button { bottom: 80px; }
.top-button { bottom: 20px; }

/* ===========================
   MAP FIX (TYLKO JEDEN SYSTEM)
=========================== */

#map {
    padding: 90px 10%;
    background: #f5f7fb;
    display: flex;
    justify-content: center;
}

/* GŁÓWNY KAFEL */
.map-pro {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;

    background: #fff;
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transition: 0.35s ease;
}

/* hover całej sekcji */
.map-pro:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.18);
}

/* LEWA STRONA */
.map-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #0077ff, #00c2ff);
    color: white;
}

.map-info h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.map-info p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* PRZYCISK */
.map-btn {
    display: inline-block;
    padding: 12px 18px;
    background: white;
    color: #0077ff;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    width: fit-content;
}

.map-btn:hover {
    transform: scale(1.05);
}

/* PRAWA STRONA (MAPA) */
.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .map-pro {
        grid-template-columns: 1fr;
    }

    .map-info {
        text-align: center;
        align-items: center;
    }
}

/* ===========================
   MOBILE FIX
=========================== */

@media (max-width: 768px) {

    .navbar ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
    }

    .navbar ul.show {
        display: flex;
    }

    .features,
    .services-grid,
    .why-grid,
    .reviews-grid,
    .gallery-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}