﻿/* 🔥 Import czcionki Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

/* 🔥 Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* 🔥 Tło strony */
body {
    background: #0D0D0D;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 🔥 Preloader */
.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.preloader-logo {
    font-size: 40px;
    font-weight: bold;
    color: #00BFFF;
}

.preloader-hidden {
    opacity: 0;
    pointer-events: none;
}

/* 🔥 Pasek nawigacji */
.navbar {
    background: #111;
    width: calc(100% - 40px);
    margin: 10px auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}

.navbar-logo {
    font-size: 22px;
    font-weight: bold;
    color: #00BFFF;
}

.navbar-list {
    list-style: none;
    display: flex;
}

.navbar-list li {
    margin: 0 12px;
}

.navbar-list a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease-in-out;
}

/* 🔥 Animacja podkreślenia linków */
.navbar-list a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #00BFFF;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.navbar-list a:hover::after,
.navbar-list a.active::after {
    width: 100%;
    left: 0;
}

/* 🔥 Sekcja główna */
.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    min-height: 60vh;
}

.main-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #00BFFF;
}

.main-content p {
    font-size: 20px;
    margin-top: 10px;
    color: #bbb;
}

/* 🔥 Przyciski */
.hero-buttons {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    text-align: center;
    min-width: 160px;
    border: 2px solid transparent;
}

/* 🔥 Niebieski przycisk */
.btn-blue {
    background: #00BFFF;
    color: black;
    border-color: #00BFFF;
}

.btn-blue:hover {
    background: black;
    color: #00BFFF;
    border-color: #00BFFF;
    transform: scale(1.08);
}

/* 🔥 Ciemny przycisk */
.btn-dark {
    background: black;
    color: #00BFFF;
    border-color: #00BFFF;
}

.btn-dark:hover {
    background: #00BFFF;
    color: black;
    border-color: #00BFFF;
    transform: scale(1.08);
}

/* 🔥 Stopka */
.footer {
    background: #111;
    color: white;
    width: 100%;
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
}

/* 🔥 Kontener stopki */
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

/* 🔥 Kolumny stopki */
.footer-column {
    text-align: center;
    margin-bottom: 15px;
}

/* 🔥 Nagłówki stopki */
.footer-column h3 {
    color: #00BFFF;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* 🔥 Teksty i linki w stopce */
.footer-column p, .footer-column a {
    color: #bbb;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-column a:hover {
    color: #00BFFF;
}

/* 🔥 Ikony kontaktowe */
.footer-column p i {
    font-size: 16px;
    margin-right: 6px;
    color: #00BFFF;
}

/* 🔥 Dolna część stopki */
.footer-bottom {
    margin-top: 10px;
    border-top: 1px solid #222;
    padding-top: 8px;
    font-size: 13px;
    color: #bbb;
}


/* 🔥 Responsywność */
@media (max-width: 900px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navbar-list {
        flex-direction: column;
        gap: 10px;
    }
}