/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Google Sans', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.7;
}

/* ===== ZMIENNE ===== */
:root {
    --blue-dark: #0f2b46;
    --blue-main: #173f73;
    --gold: #c8a43a;
    --gold-soft: #e7d38a;
    --gray: #6b7280;
}

/* ===== CONTAINER ===== */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    text-align: center;
}

.logo-area h1 {
    font-size: 1.75rem;
    color: var(--blue-dark);
    font-weight: 700;
    line-height: 1.3;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: var(--blue-dark);
    font-weight: 500;
    position: relative;
    font-size: 1.15rem
}

.main-nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gold);
    transition: 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-call {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.header-call span {
    font-size: 0.9rem;
    color: var(--gray);
}

.header-phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
    padding: 10px 22px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.header-phone:hover {
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 7rem 0;
    text-align: center;
    background: url("img/hero.webp") center center / cover no-repeat;
    color: #ffffff;
    overflow: hidden;
    background-size: cover
}

/* overlay dla czytelności */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15,43,70,0.75) 30%,
        rgba(15,43,70,0.85) 100%
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-text h2 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.5rem;
    color: #f1f1f1;
}

.hero-note {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: #e5e5e5;
    font-style: italic
}

.hero-phone-button {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #111;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.hero-phone-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
/* ===== SERVICES ===== */
.services {
    padding: 5rem 0;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--blue-dark);
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.07);
}

.service-card h3 {
    color: var(--blue-main);
    margin-bottom: 1rem;
    font-size: 1.5rem
}

/* ===== ABOUT ===== */
.about {
    padding: 5rem 0;
    background: #ffffff;
}

.about-inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text h2 {
    color: var(--blue-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.3rem;
}

.about-image {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.swiper {
    width: 100%;
    height: 400px; /* stała wysokość */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* KLUCZ do równych wymiarów */
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    background: #ffffff;
    color: var(--blue-dark);
    text-align: center;
    padding: 2rem 0 2rem;
    font-size: 1.1rem;
}

/* krótka granatowa kreska nad footerem */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* długość kreski */
    height: 2px;   /* grubość kreski */
    background: var(--blue-dark);
    border-radius: 2px;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (min-width: 768px) {

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .header-call {
        align-items: flex-end;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-inner {
        flex-direction: row;
        align-items: center;
    }

    .about-text {
        flex: 1;
    }

    .about-image {
        flex: 1;
    }

    .sticky-call {
        display: none;
    }
}