
/* =========================================================
   POMOC DROGOWA TUREK – SEBASTIAN LAMENT
   Główny arkusz stylów
========================================================= */

/* =========================
   RESET / PODSTAWY
========================= */

:root {
    --color-dark: #111315;
    --color-dark-2: #191c1f;
    --color-dark-3: #24282c;
    --color-light: #f5f5f3;
    --color-white: #ffffff;
    --color-text: #292c2f;
    --color-muted: #777c80;
    --color-accent: #f5b400;
    --color-accent-dark: #d99d00;
    --color-border: #dededb;

    --container: 1200px;
    --header-height: 82px;

    --shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--color-light);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}


/* =========================
   TYPOGRAFIA
========================= */

h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 6.8rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
}

h3 {
    font-size: 1.35rem;
    font-weight: 800;
}

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 800;
}

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 60px;
}

.section-heading h2 {
    margin: 10px 0 18px;
}

.section-heading p {
    max-width: 650px;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.section-heading-light p {
    color: #aeb3b6;
}

.section-kicker {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading-light h2 {
    color: var(--color-white);
}


/* =========================
   HEADER / MENU
========================= */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(17, 19, 21, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}

.logo-main {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.logo-sub {
    margin-top: 6px;
    color: var(--color-accent);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    color: #e7e8e8;
    font-size: 0.84rem;
    font-weight: 700;
    transition: color var(--transition);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--color-accent);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .nav-external {
    color: var(--color-accent);
}

.nav-phone {
    padding: 11px 16px;
    background: var(--color-accent);
    color: #111 !important;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 900;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}

.nav-phone:hover {
    background: #ffc62e;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--color-white);
    transition: var(--transition);
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;

    /* Docelowe zdjęcie HERO */
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.20) 100%),
        url("images/hero.jpg") center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.30) 0%,
            transparent 40%,
            rgba(0, 0, 0, 0.55) 100%
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    color: var(--color-white);
}

.hero-kicker {
    margin-bottom: 18px;
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.hero h1 {
    margin-bottom: 10px;
}

.hero h1 span {
    color: var(--color-accent);
}

.hero-subtitle {
    margin-bottom: 24px;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 700;
}

.hero-text {
    max-width: 650px;
    margin-bottom: 34px;
    color: #e2e3e3;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 900;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: #111;
}

.btn-primary:hover {
    background: #ffc62e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 180, 0, 0.25);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--color-white);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    background: rgba(245, 180, 0, 0.12);
    color: var(--color-accent);
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-arrow {
    margin-top: 5px;
    color: var(--color-accent);
    font-size: 1.4rem;
    animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(7px);
    }
}


/* =========================
   O NAS
========================= */

.section-light {
    background: var(--color-light);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    gap: 70px;
    align-items: start;
}

.about-content {
    font-size: 1.02rem;
}

.about-content .lead {
    margin-bottom: 30px;
    font-size: 1.35rem;
}

.about-content a {
    color: #111;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.about-highlight {
    position: relative;
    padding: 45px 35px;
    background: var(--color-dark);
    color: var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-highlight::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--color-accent);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.highlight-number {
    position: relative;
    z-index: 1;
    color: var(--color-accent);
    font-size: 4.7rem;
    font-weight: 900;
    line-height: 1;
}

.highlight-title {
    margin: 18px 0;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
}

.about-highlight p {
    color: #b9bdc0;
}

.highlight-phone {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 900;
}

.about-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 55px;
    padding-top: 45px;
    border-top: 1px solid var(--color-border);
}


/* =========================
   USŁUGI
========================= */

.section-dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    min-height: 250px;
    padding: 32px 27px;
    background: var(--color-dark-2);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(245, 180, 0, 0.65);
    background: var(--color-dark-3);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: rgba(245, 180, 0, 0.12);
    border-left: 3px solid var(--color-accent);
    font-size: 1.55rem;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    margin: 0;
    color: #aeb3b6;
    font-size: 0.9rem;
}


/* =========================
   TABOR
========================= */

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.fleet-card {
    background: var(--color-white);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.fleet-photo {
    height: 220px;
    background-color: #d8d8d5;
    background-position: center;
    background-size: cover;
}

/*
   Można później podmienić zdjęcia:
   images/tabor-ducato.jpg
   images/tabor-canter.jpg
   images/tabor-man-7.jpg
   images/tabor-man-13.jpg
*/

.fleet-photo-ducato {
    background-image: url("images/tabor-ducato.jpg");
}

.fleet-photo-canter {
    background-image: url("images/tabor-canter.jpg");
}

.fleet-photo-man7 {
    background-image: url("images/tabor-man-7.jpg");
}

.fleet-photo-man13 {
    background-image: url("images/tabor-man-13.jpg");
}

.fleet-content {
    padding: 25px;
}

.fleet-label {
    color: var(--color-accent-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.fleet-content h3 {
    margin: 8px 0;
}

.fleet-content p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.platform-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 55px;
    background: var(--color-dark);
    color: var(--color-white);
}

.platform-specs > div {
    padding: 35px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.platform-specs > div:last-child {
    border-right: 0;
}

.platform-specs span {
    display: block;
    margin-bottom: 5px;
    color: var(--color-accent);
    font-size: 2.2rem;
    font-weight: 900;
}

.platform-specs small {
    color: #aeb3b6;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}


/* =========================
   GALERIA
========================= */

.gallery-section {
    padding-bottom: 125px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    height: 250px;
    display: block;
    overflow: hidden;
    background: var(--color-dark-3);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.gallery-item::after {
    content: "+";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: var(--color-accent);
    font-size: 3rem;
    font-weight: 300;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item:hover::after {
    opacity: 1;
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: min(1100px, 95vw);
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition);
}

.lightbox-close:hover {
    color: var(--color-accent);
}


/* =========================
   KONTAKT
========================= */

.contact-section {
    padding: 100px 0 70px;
    background: var(--color-accent);
    color: #111;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: center;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.contact-section .section-kicker {
    color: #111;
}

.contact-content h2 {
    margin: 10px 0 18px;
}

.contact-content p {
    max-width: 650px;
    font-size: 1.05rem;
}

.contact-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.contact-phone {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
}

.btn-light {
    background: #111;
    color: var(--color-white);
}

.btn-light:hover {
    background: #2b2b2b;
    transform: translateY(-3px);
}

.contact-details {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 40px;
    padding-top: 45px;
}

.contact-details > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-details span {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.contact-details strong,
.contact-details a {
    font-size: 1.05rem;
    font-weight: 800;
}

.contact-details a {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================
   STOPKA
========================= */

.site-footer {
    padding: 28px 0;
    background: #0b0c0d;
    color: #aeb3b6;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr auto;
    gap: 30px;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    color: var(--color-white);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.footer-brand span {
    margin-top: 3px;
    color: var(--color-accent);
    font-size: 0.7rem;
}

.footer-copy {
    text-align: center;
    font-size: 0.75rem;
}

.footer-link a {
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.footer-link a:hover {
    color: var(--color-accent);
}


/* =========================
   RESPONSIVE – TABLET
========================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 0.75rem;
    }

    .services-grid,
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 2;
    }
}


/* =========================
   RESPONSIVE – MOBILE
========================= */

@media (max-width: 850px) {

    :root {
        --header-height: 72px;
    }

    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .section {
        padding: 75px 0;
    }

    .site-header {
        height: var(--header-height);
    }

    .nav-container {
        gap: 15px;
    }

    .logo-main {
        font-size: 0.95rem;
    }

    .logo-sub {
        font-size: 0.5rem;
    }

    .nav-phone {
        margin-left: auto;
        padding: 9px 11px;
        font-size: 0.75rem;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
        background: rgba(17, 19, 21, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition);
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 13px 5px;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav .nav-external {
        border-bottom: 0;
    }

    .hero {
        min-height: 720px;
        background-position: 62% center;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero-kicker {
        font-size: 0.72rem;
    }

    .hero-text {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
    }

    .btn {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-bottom {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .services-grid,
    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .fleet-photo {
        height: 240px;
    }

    .platform-specs {
        grid-template-columns: 1fr;
    }

    .platform-specs > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .platform-specs > div:last-child {
        border-bottom: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
        height: 190px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-action {
        align-items: stretch;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-copy {
        text-align: center;
    }
}


/* =========================
   MAŁE TELEFONY
========================= */

@media (max-width: 480px) {

    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .nav-phone {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.2rem);
    }

    .hero-scroll {
        display: none;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .about-highlight {
        padding: 35px 25px;
    }

    .highlight-number {
        font-size: 3.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        height: 145px;
    }

    .lightbox {
        padding: 15px;
    }

    .lightbox-close {
        top: 8px;
        right: 15px;
    }
}


/* =========================
   DOSTĘPNOŚĆ / REDUKCJA ANIMACJI
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================
   ANIMACJE POJAWIANIA SIĘ
   PODCZAS PRZEWIJANIA
========================= */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
