/* RESET I ZMIENNE */
:root {
    --primary-color: #D80000; /* Czerwień z logo */
    --dark-color: #000000;    /* Czerń */
    --light-color: #f4f4f4;
    --white: #ffffff;
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-red {
    color: var(--primary-color);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.btn-red {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-red:hover {
    background-color: #b30000;
    border-color: #b30000;
}

.btn-transparent {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

.btn-transparent:hover {
    background-color: var(--white);
    color: var(--dark-color);
}

/* NAVBAR */
.navbar {
    /* Płynne przejście z bieli do czerni */
    background: linear-gradient(to right, #ffffff 0%, #ffffff 30%, var(--dark-color) 60%, var(--dark-color) 100%);
    color: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 50px; /* Dostosuj do swojego logo */
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--white);
    color: var(--dark-color) !important;
}

/* HERO SECTION */
.hero {
    height: 85vh;
    /* Zaktualizowane tło z Twoim busem */
    background: url('images/hero-bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Przyciemnienie zdjęcia, żeby napisy były czytelne */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-style: italic; /* Nawiązanie do logo */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* SERVICES */
.services {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-color);
    padding: 40px 20px;
    border-radius: 8px;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--primary-color);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* FEATURES / DLACZEGO MY */
.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.features-text {
    flex: 1;
}

.features-image {
    flex: 1;
}

.features-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features-list i {
    margin-right: 15px;
    font-size: 1.2rem;
}

/* FOOTER */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.phone-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.olx-btn {
    display: inline-flex;
    align-items: center;
    background-color: #23E5DB;
    color: #002f34;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
    transition: 0.3s;
}

.olx-btn:hover {
    background-color: #fff;
}

.olx-btn strong {
    font-size: 1.2rem;
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

/* RESPONSIVE (TELEFONY) */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--white);
        margin: 5px auto;
        transition: 0.3s;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding-bottom: 20px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 25px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-transparent {
        margin-left: 0;
    }

    .features-container {
        flex-direction: column;
    }
}