/* ===== GLOBAL ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("../images/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

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

/* ===== HEADER ===== */
.header {
    background: rgba(53, 66, 74, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
}

/* układ */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* logo */
.logo {
    max-width: 140px;
    height: auto;
}

/* menu */
.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    transition: 0.25s;
}

.nav a:hover {
    background: #c8a96a;
}

.nav a.cta {
    background: #c8a96a;
}

.nav a.cta:hover {
    background: #b89650;
}

/* hamburger */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* ===== TYPOGRAFIA ===== */
h1 {
    margin: 0;
    color: #ffffff;
}

h2 {
    color: #136294;
}

/* ===== SEKCJE ===== */
main {
    max-width: 900px;
    margin: 0 auto;
}

section {
    background: #ffffff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 100px;
}

section:hover {
    transform: translateY(-2px);
    transition: 0.2s;
}

/* ===== CONTACT ===== */
.contact-phone {
    text-align: center;
    margin-bottom: 30px;
}

.contact-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.map {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact-form button {
    background: #c8a96a;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background: #b89650;
}

/* komunikaty */
#form-status {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

#form-status.success {
    color: green;
}

#form-status.error {
    color: red;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 10px 0;
    background: #35424a;
    color: #ffffff;
}
/* ===== HERO ===== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: white;   
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* przyciski */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #c8a96a;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #b89650;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #35424a;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    body {
        background-attachment: scroll;
    }

    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #35424a;
        width: 100%;
        display: none;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav.active {
        display: block;
    }

    .contact-grid {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 16px;
    }
}