/* =========================
   Global
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000; 
    color: #fff;
    line-height: 1.6;
}

a {
    color: #bfa34c; 
    text-decoration: none;
}

h1, h2, h3 {
    color: #fff;
}

/* =========================
   Header
========================= */
header {
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    z-index: 1000;
}

header .logo img {
    width: 150px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a:hover {
    color: #bfa34c;
}

/* =========================
   Hamburger menu
========================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1100; 
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #bfa34c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animacja "X" przy otwartym menu */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   Mobile menu
========================= */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px; /* hamburger w prawym górnym rogu */
    }

    nav ul#nav-list {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw; /* pełny ekran */
        background-color: #000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        padding-top: 0;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%); /* domyślnie poza ekranem */
        z-index: 1050; 
    }

    nav ul#nav-list.active {
        transform: translateX(0);
    }

    nav ul#nav-list li {
        margin: 0;
    }

    nav ul#nav-list li a {
        font-size: 1.5rem;
    }
}

/* =========================
   Hero Logo
========================= */
.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 120px;
    margin-bottom: 50px;
    animation: logoSlideFade 1s ease-out forwards;
}

.hero-logo img {
    width: 62.5%;
    max-width: 600px;
}

@keyframes logoSlideFade {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Hero
========================= */
.hero {
    text-align: center;
    padding: 50px 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #bfa34c;
}

/* =========================
   Services
========================= */
.services {
    padding: 50px 20px;
    background-color: #111;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background-color: #000;
    border: 2px solid #bfa34c;
    border-radius: 12px;
    padding: 30px;
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #bfa34c;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #bfa34c;
    font-size: 25px;
}

.service-card p {
    font-size: 0.95rem;
    color: #fff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #bfa34c;
}

/* =========================
   About
========================= */
.about {
    padding: 50px 20px;
    text-align: center;
}

/* =========================
   Contact
========================= */
.contact {
    padding: 50px 20px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #bfa34c;
    color: #000;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #d4b85a;
}

/* =========================
   Footer
========================= */
footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
    color: #777;
}

/* =========================
   Animacje fade-in dla sekcji
========================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.5s;
}

.fade-in.delay-2 {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Responsywność
========================= */
@media (max-width: 1024px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }
    .hero-logo img {
        width: 70%;
        max-width: 250px;
        padding-top: 75px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .service-card {
        width: 90%;
    }
}
