﻿:root {
    --primary-color: black; /* Ciepły kolor drewna */
    --primary-hover: #212529;
    --dark-bg: #212529; /* Grafit/Antracyt */
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    color: #495057;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Przyciski niestandardowe */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .btn-primary-custom:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(192, 124, 65, 0.3);
    }

.btn-outline-custom {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .btn-outline-custom:hover {
        background-color: #fff;
        color: var(--dark-bg);
        transform: translateY(-2px);
    }

/* Nawigacja */
.navbar {
    transition: all 0.4s ease;
    padding: 15px 0;
}

    .navbar.scrolled {
        background-color: rgba(33, 37, 41, 0.95) !important;
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

    .navbar-dark .navbar-nav .nav-link:hover {
        color: var(--primary-color);
    }

/* Sekcja Hero */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: dimgray;
    text-align: center;
    position: relative;
}

    .hero-section h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
}

/* Sekcja "Dlaczego My" */
.feature-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(192, 124, 65, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

    .feature-icon-box i {
        font-size: 2.5rem;
    }

.feature-box:hover .feature-icon-box {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: #fff;
}

/* Sekcja Oferty */
.offer-section {
    background-color: var(--light-bg);
}

.offer-img-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

    .offer-img-wrapper img {
        width: 100%;
        height: auto;
        transition: transform 0.5s ease;
    }

    .offer-img-wrapper:hover img {
        transform: scale(1.05);
    }

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 24px;
    cursor: pointer;
}

    .portfolio-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 37, 41, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Proces zamowienia */
.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 2;
}
/* Linia łącząca kroki (tylko desktop) */
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50px;
        right: -50%;
        width: 100%;
        height: 2px;
        background-color: #dee2e6;
        z-index: 1;
    }
}

/* CTA Sekcja */
.cta-section {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 80px 0;
}

/* Stopka */
footer {
    background-color: #1a1d20;
    color: #adb5bd;
    padding-top: 60px;
}

    footer h4 {
        color: #fff;
        margin-bottom: 20px;
    }

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.form-control {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

    .form-control:focus {
        background-color: rgba(255,255,255,0.1);
        border-color: var(--primary-color);
        color: #fff;
        box-shadow: none;
    }

.footer-bottom {
    background-color: #111315;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

.navbar .nav-link,
.navbar .navbar-brand {
    color: white;
}

/*Realizacja*/

.hero-project-section {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

    .hero-project-section h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

/* Karta Specyfikacji */
.spec-card {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .spec-list li {
        padding: 12px 0;
        border-bottom: 1px solid #e9ecef;
        display: flex;
        justify-content: space-between;
    }

        .spec-list li:last-child {
            border-bottom: none;
        }

    .spec-list .spec-label {
        font-weight: 600;
        color: var(--dark-bg);
        display: flex;
        align-items: center;
    }

        .spec-list .spec-label i {
            color: var(--primary-color);
            margin-right: 10px;
            font-size: 1.1rem;
        }

/* Galeria Pojedynczej Realizacji */
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .gallery-item img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        transition: transform 0.5s ease;
        display: block;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }


/*Kontakt*/
.hero-contact-section {
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

    .hero-contact-section h1 {
        font-size: 3rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(192, 124, 65, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

    .contact-item h5 {
        margin-bottom: 5px;
        color: var(--dark-bg);
    }

    .contact-item p {
        margin-bottom: 0;
        color: #6c757d;
    }

    .contact-item a {
        color: #6c757d;
        text-decoration: none;
        transition: color 0.3s;
    }

        .contact-item a:hover {
            color: var(--primary-color);
        }

/* Formularz kontaktowy */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Mapa */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 450px;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

    #contact-form label {
        color: white !important;
    }

    #contact-form input::placeholder {
        color: ghostwhite !important;
    }

    #contact-form textarea::placeholder {
        color: ghostwhite !important;
    }