/* --------------------------------------------------
   N O D E X O   –   S T Y L E   P R E M I U M
   -------------------------------------------------- */

/* ------------------------------
   ZMIENNE KOLORYSTYCZNE
--------------------------------*/
:root {
    --bg-dark: #0d1117;
    --bg-dark-alt: #161b22;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --border-color: #30363d;
    --accent: #00b3ff;
    --accent-alt: #00ffa6;
}

/* ------------------------------
   GLOBALNE STYLE
--------------------------------*/
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

h1, h2, h3 {
    letter-spacing: -0.5px;
    font-weight: 800;
}

p {
    font-size: 1.05rem;
}

section {
    padding: 160px 0;
    position: relative;
    border-top: 1px solid rgba(0,179,255,0.12);
}

/* Gradientowe przejścia */
section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0,179,255,0.08), transparent);
    pointer-events: none;
}

/* ------------------------------
   NAVBAR
--------------------------------*/
.navbar {
    background-color: rgba(13, 17, 23, 0.95);
}

.nav-link {
    color: var(--text-muted) !important;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.nav-link.active {
    color: var(--accent) !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ------------------------------
   HERO – tło + slow zoom
--------------------------------*/
.hero {
    position: relative;
    overflow: hidden;
    padding: 170px 0 150px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/hero-bg.jpg") center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 30s ease-in-out infinite alternate;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0,179,255,0.35), transparent 55%),
                linear-gradient(135deg, rgba(13,17,23,0.92), rgba(22,27,34,0.96));
    z-index: -1;
}

@keyframes heroZoom {
    from { transform: scale(1.05) translateY(0); }
    to   { transform: scale(1.12) translateY(-10px); }
}

.hero h1 {
    font-size: 3.4rem;
}

.hero .lead {
    font-size: 1.35rem;
    color: #c9d1d9;
}

/* ------------------------------
   NAPRZEMIENNE TŁA SEKCJI
--------------------------------*/
#o-nas { background-color: var(--bg-dark); }
#oferta { background-color: var(--bg-dark-alt); }
#dc { background-color: var(--bg-dark); }
#kontakt { background-color: var(--bg-dark-alt); }

/* ------------------------------
   KARTY OFERT
--------------------------------*/
.pricing-card {
    background-color: var(--bg-dark-alt);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px;
    transition: 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 179, 255, 0.25);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--accent);
}

.pricing-card.featured::before {
    content: "Najczęściej wybierany";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: #000;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.pricing-card ul {
    flex-grow: 1;
}
.pricing-card p.text-muted {
    color: #c9d1d9 !important;
}

/* ------------------------------
   PRZYCISKI
--------------------------------*/
.btn-nodexo {
    background: linear-gradient(135deg, var(--accent), #0088cc);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding-inline: 26px;
}

.btn-nodexo:hover {
    background: linear-gradient(135deg, #0099dd, #0077bb);
}

/* ------------------------------
   FORMULARZE
--------------------------------*/
.form-control {
    background-color: var(--bg-dark-alt);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(0, 179, 255, 0.25);
}

/* ------------------------------
   CENTRUM DANYCH – karty
--------------------------------*/
.dc-card {
    background-color: var(--bg-dark-alt);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px;
    transition: 0.35s ease;
    opacity: 0;
    transform: translateY(30px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dc-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.dc-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 179, 255, 0.25);
    transform: translateY(-6px);
}

.dc-icon {
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.dc-list {
    flex-grow: 1;
}

/* ------------------------------
   ANIMACJE FADE-UP
--------------------------------*/
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------
   PRZYCISK POWROTU DO GÓRY
--------------------------------*/
#backToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #0088cc);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.25s ease;
    z-index: 999;
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(0, 179, 255, 0.45);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ------------------------------
   SEKCJA INFORMACYJNA (3 BOXY)
--------------------------------*/
#info {
    background-color: var(--bg-dark);
    padding: 40px 0;
    
}

#info::before {
    display: none;
}


.info-box {
    background-color: var(--bg-dark-alt);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: 0.3s ease;
    height: 100%;
}

.info-box:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 179, 255, 0.25);
    transform: translateY(-4px);
}

/* Ikony w boxach */
.info-icon {
    font-size: 2.4rem;
    color: var(--accent);
    text-align: center;
}


/* ------------------------------
   STOPKA
--------------------------------*/
footer {
    background-color: #0b0f14;
    color: var(--text-muted);
    padding: 26px 0;
}
