/* ===== RESET & GLOBAL ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    color: #fff;
    background-color: #111;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    z-index: 1000;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #ff3333;
}
.logo span {
    color: #fff;
}

/* ===== NAVIGATION ===== */
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin: 0 15px;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #ff3333;
}

.menu-toggle {
    display: none;
    font-size: 1.8em;
    color: #fff;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: url('../img/hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 0; /* odsunięcie od headera */
}

.hero-text h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.hero-text p {
    margin-bottom: 20px;
    font-size: 1.2em;
}
.btn {
    background: #ff3333;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s, transform 0.3s;
}
.btn:hover {
    background: #c00;
    transform: scale(1.05);
}

/* ===== SECTION ===== */
.section {
    padding: 100px 10%;
    text-align: center;
}
.section h2:focus {
    outline: none !important;
    font-size: 2em;
    margin-bottom: 30px;
    color: #ff3333;
}



/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.service {
    background: #222;
    padding: 25px;
    border-radius: 10px;
    transition: background 0.3s, transform 0.3s;
}
.service:hover {
    background: #333;
    transform: translateY(-5px);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.gallery-grid img {
    width: 70%;
    border-radius: 10px;
    transition: transform 0.3s;
}
.gallery-grid img:hover {
    transform: scale(1.05);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}
.contact-form input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    outline: none;
}
.contact-form textarea {
    grid-column: 1 / -1; /* rozciąga na wszystkie kolumny */
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    outline: none;
}
.contact-form button {
    grid-column: span 3;
    background: #ff3333;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.contact-form button:hover {
    background: #c00;
    transform: scale(1.03);
}

/* ===== FOOTER ===== */
footer {
    background: #000;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    header {
        padding: 15px 25px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        border-radius: 8px;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2em;
    }

    .section {
        padding: 70px 5%;
    }

    /* Ukrywanie sekcji na start */

/* Offset dla anchor linków przy fixed header */
.section {
    scroll-margin-top: 120px; /* wysokość headera */
}
.facebook-link{
    color: #1877f2;
    font-size: 1.3em;
    transition: 0.3s;
}
.facebook-link:hover{
    color: #0d5db7;
}
}
.contact-form button:disabled {
    background: #555;
    cursor: not-allowed;
    transform: scale(1) !important;
}
.hero {
    position: relative;
    z-index: 1;
}


