* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

:root {
    --primary-color: #E9EB0C; /* Budowlany pomarańcz / żółć */
    --dark-color: #A9AEB1;    /* Ciemny grafit */
    --light-color: #ffffff;   /* Biel */
    --grey-color: #393e46;    /* Jasny grafit */
}

.navbar {
    background-color: var(--dark-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--light-color);
    text-decoration: none;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: var(--light-color);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600 !important;
    color: #000000 !important; 
}

.btn-nav:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

.hero {
    background: linear-gradient(rgba(34, 40, 49, 0.8), rgba(34, 40, 49, 0.8)), 
                url('images/a7a0e062-6fd5-445a-ab83-02afa8033424.png') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000000; /* Zmienione na czarny zgodnie z pierwotnym stylem inline */
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
}

.feature-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.services {
    background-color: #f1f1f1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-box {
    background-color: var(--light-color);
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box i {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-box h3 {
    margin-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.contact {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.contact .section-title {
    color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.info-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    width: 25px;
}

.info-item a {
    color: inherit;
    text-decoration: none;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
}

footer {
    background-color: #1a1e24;
    color: #777;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons .btn-primary {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    .hero-buttons .btn-secondary {
        width: 100%;
    }
}

/* Naprawione selektory (dodane kropki i ustrukturyzowane reguły) */
.contact-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-center h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}