
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    color: #000;
    background-color: #fafafa;
    line-height: 1.6;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    display: block;
}

video {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    width: 100%;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease-in-out;
}
.navbar .logo {
    font-size: 1.8rem;
    display: inline-block;
    width: 240px; height: 70px;
    background: url('img/LOGO_V0.1_H.png') center/cover no-repeat;
}
.navbar .menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar .menu li a {
    font-size: 1.1rem;
    color: #000B0e;
    padding: 10px 12px;
    border-bottom: 3px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    transition: color 0.3s, background-color 0.3s;
    white-space:nowrap;
}

.navbar .menu li a:hover {
    color: #fff;
    background-color: #00718c;
    border-radius: 5px;
    border-bottom: 3px solid #000B0e;
}

.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('img/hero_v2.1.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    position: relative;
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}
.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.btn-primary:hover {
    background-color: #fff;
    color: #333;
}

section.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 80px 20px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out;
}
section.about .about-image {
    border-radius: 24px;
    animation: fadeIn 1s ease-out;
    flex: 1 1 260px;
}

section.about .about-video {
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    animation: fadeIn 1s ease-out;
    flex: 1 1 260px;
}

section.about .about-text {
    flex: 1 1 260px;
}

section.about ul {
    list-style: square inside;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    font-size: 1rem;
    color: #555;
    margin-left: 1rem;
    line-height: 2rem;
}

section.about .about-text h2 {
    font-size: 2.5rem;
    color: #004455;
    margin-bottom: 20px;
    border-bottom-color: #004455;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}
section.about .about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 2rem;
    font-weight: bolder;
}

section.services {
    padding: 80px 20px;
    background-color: #fff;
    animation: fadeIn 1s ease-out;
}
section.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #004455;
}
section.services .material-symbols-outlined {
font-size: 5rem;
}
.portfolio-item .material-symbols-outlined {
    font-size: 2rem;
    padding: 10px 10px;
    color: #ccc;
}
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.service-item {
   
    border-radius: 10px;
    padding: 30px;
    flex: 1 1 250px;
    min-height: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
   
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #f7f9fc;
    border-color: #333;
    border-width: 1px;
}
.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #004455;
}
.service-item p {
    font-size: 1rem;
    color: #555;
    flex-grow: 1;
}
.service-video {
    margin: 0%;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    animation: fadeIn 1s ease-out;
}

/* --- Sekcja portfolio / projekty (opcjonalnie) --- */
section.portfolio {
    padding: 80px 20px;
    animation: fadeIn 1s ease-out;
}
section.portfolio h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #004455;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.portfolio-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    transition: transform 0.5s;
    filter: grayscale(1)
}
.portfolio-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0)
}
.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.portfolio-item:hover .overlay {
    opacity: 1;
}
.overlay h3 {
    color: #fff;
    font-size: 1.2rem;
}
.overlay h2 {
    color: #eee;
    font-size: 1rem;
}

.footer {
    background: linear-gradient(#555, #333);
    color: #f7f9fc;
    text-align: center;
    padding: 40px 20px;
    font-weight: lighter;
    line-height: 2.5rem;
}

.footer .material-symbols-outlined {
    display: inline-block;
    vertical-align: middle;
    font-size: 2rem;
}  

.footer p {
    font-size: 1rem;
}

@keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(50px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero h1 {
    font-size: 2.5rem;
    }
    .hero p {
    font-size: 1.2rem;
    }
    .navbar .menu {
        gap: 10px;
    }
    .portfolio-item .overlay {
    opacity: 1;
    }
    .portfolio-item img {
    filter: grayscale(0)
    }
}
@media (max-width: 768px) {
    .navbar .menu {
        gap: 15px;
    }
    .navbar .menu li a {
        font-size: 1rem;
    }
     .navbar .logo{
        background: url('img/logo_h_128.png') center/cover no-repeat;
         width: 64px;
         margin: 0 auto 0;
    }
    .about {
    padding: 60px 20px;
    }
    .services {
    padding: 60px 20px;
    }
    .service-item {
    min-height: 200px;
    }
}
@media (max-width: 576px) {
    .hero h1 {
    font-size: 2rem;
    }
    .hero p {
    font-size: 1rem;
    }
    .navbar .menu {
    gap: 7px;
    }
    .navbar .menu li a {
        padding: 10px 10px;
         font-size: 1rem;
    }
}
