/* ============================================================
   GS Studios — wspólny arkusz stylów
   ============================================================ */

:root {
    --primary: #ffae00;
    --primary-hover: #f9e71a;
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --text-main: #ffffff;
    --text-dim: #b0b0b0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Układ z przyklejoną stopką */
body.flex-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* ===== Nagłówek ===== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 174, 0, 0.1);
}

.logo img {
    height: 45px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary-hover);
    transform: scale(1.1);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.btn-nav {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.btn-nav::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.btn-nav:hover::after,
.btn-nav.active::after {
    width: 100%;
}

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

/* ===== Tytuły sekcji ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h1,
.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

.section-title div {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

/* ===== Stopka ===== */
.main-footer {
    padding: 40px 10%;
    text-align: center;
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ===== Animacje ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 0 rgba(255, 174, 0, 0);
    }
    50% {
        text-shadow: 0 0 22px rgba(255, 174, 0, 0.65);
    }
}

.animate-hero {
    animation: fadeInUp 0.8s ease both;
}

.js .reveal {
    opacity: 0;
}

.js .reveal.visible {
    animation: fadeInUp 0.7s ease both;
}

/* ===== Responsywność ===== */
@media (max-width: 992px) {
    .main-header { padding: 15px 5%; }
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 20px;
        border-bottom: 1px solid var(--primary);
    }
    .navbar ul.active { display: flex; }
    .menu-toggle { display: block; }
    .btn-nav { display: block; font-size: 1.1rem; width: 100%; text-align: center; padding: 10px; }
    .section-title h1,
    .section-title h2 { font-size: 2rem; }
    .section-title { margin-bottom: 40px; }
}
