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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #0a0a0f;
    color: #ffff;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    overflow: visible;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-logo a {
    display: block;
    text-decoration: none;
    line-height: normal;
}

.nav-brand {
    flex-shrink: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    text-decoration: none;
    background: linear-gradient(135deg, #9F76B4, #7B5A8A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffff;
}

.nav-cta {
    flex-shrink: 0;
    background: linear-gradient(135deg, #7B4FA0 0%, #9F76B4 50%, #C4A0D4 100%);
    color: #ffff;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(159, 118, 180, 0.4);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(159, 118, 180, 0.6);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #ffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    background-image: url('img/droga.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    /* margin-bottom: 20px; */
    background: linear-gradient(135deg, #7B4FA0 0%, #9F76B4 50%, #C4A0D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(159, 118, 180, 0.5));
}
.hero-title-wrapper {
    display: inline-block;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 60px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.hero-logo-wrapper {
    margin: 20px 0 30px 0;
}

.hero-logo {
    max-width: 420px;
    width: 100%;
    height: auto;
}

.hero-features {
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.hero-feature {
    text-decoration: none; /* Usuwa podkreślenie */
    display: block;        /* Sprawia, że cały prostokąt jest klikalny */
}

.hero-feature h3 {
    text-decoration: none; /* Dodatkowe zabezpieczenie dla tekstu */
}
.hero-feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(159, 118, 180, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(159, 118, 180, 0.3);
}

.hero-feature h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #7B4FA0 0%, #9F76B4 50%, #C4A0D4 100%);
    color: #ffff;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(159, 118, 180, 0.5);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(159, 118, 180, 0.7);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffff;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-align: center;
}

/* Grid Layouts */
.uslugi-grid,
.flota-grid,
.depot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Images */
.uslugi-image img,
.flota-image img,
.depot-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.uslugi-image img:hover,
.flota-image img:hover,
.depot-image img:hover {
    transform: scale(1.02);
}

/* Text Content */
.uslugi-text h3,
.flota-text h3,
.depot-text h3,
.agencja-content h3,
.ofirmie-content h3,
.kontakt-content h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffff;
}

.subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.uslugi-text p,
.flota-text p,
.depot-text p,
.agencja-content p,
.ofirmie-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Highlight Boxes */
.highlight-box,
.location-box,
.info-box,
.priority-box {
    background: rgba(26, 26, 46, 0.5);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(159, 118, 180, 0.2);
    margin: 30px 0;
}

.highlight-box h4,
.location-box h4,
.info-box h4,
.priority-box h4 {
    font-size: 20px;
    color: #ffff;
    margin-bottom: 15px;
}

/* Features List */
.features-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.checkmark {
    color: #9F76B4;
    font-size: 20px;
    font-weight: bold;
}

/* Stat Box */
.stat-box {
    background: linear-gradient(135deg, #7B4FA0 0%, #9F76B4 50%, #C4A0D4 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
    display: inline-block;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffff;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Badges */
.flota-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.badge {
    background: rgba(26, 26, 46, 0.5);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(159, 118, 180, 0.2);
    text-align: center;
}

.badge h4 {
    font-size: 18px;
    color: #9F76B4;
    margin-bottom: 8px;
}

.badge p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Depot Features */
.depot-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.depot-feature {
    background: rgba(26, 26, 46, 0.5);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(159, 118, 180, 0.2);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #9F76B4;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
}

.info-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #9F76B4;
    font-size: 20px;
}

/* Agencja Grid */
.agencja-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.agencja-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.agencja-card {
    background: rgba(26, 26, 46, 0.5);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(159, 118, 180, 0.2);
    transition: all 0.3s ease;
}

.agencja-card:hover {
    transform: translateY(-5px);
    border-color: rgba(159, 118, 180, 0.4);
    background: rgba(26, 26, 46, 0.7);
}

.agencja-card h4 {
    font-size: 20px;
    color: #ffff;
    margin-bottom: 12px;
}

.agencja-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* O Firmie */
.ofirmie-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: rgba(26, 26, 46, 0.5);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(159, 118, 180, 0.2);
    text-align: center;
}

.stat-card .stat-number {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #7B4FA0 0%, #9F76B4 50%, #C4A0D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Values Section */
.values-section {
    margin-top: 60px;
}

.values-section h4 {
    font-size: 28px;
    color: #ffff;
    margin-bottom: 30px;
    text-align: center;
}

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

.value-card {
    background: rgba(26, 26, 46, 0.5);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(159, 118, 180, 0.2);
    text-align: center;
}

.value-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #9F76B4;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Kontakt */
.kontakt-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Kontakt Grid */
.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.kontakt-card {
    background: rgba(26, 26, 46, 0.5);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(159, 118, 180, 0.2);
}

.kontakt-card h4 {
    font-size: 16px;
    color: #ffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.kontakt-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.kontakt-card a {
    color: #9F76B4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontakt-card a:hover {
    color: #C4A0D4;
}

/* Contact Form */
.form-section {
    max-width: 600px;
    margin: 60px auto 0;
}

.form-section h4 {
    font-size: 28px;
    color: #ffff;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(159, 118, 180, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    color: #ffff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(159, 118, 180, 0.5);
    background: rgba(26, 26, 46, 0.7);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form button {
    background: linear-gradient(135deg, #7B4FA0 0%, #9F76B4 50%, #C4A0D4 100%);
    color: #ffff;
    padding: 15px 32px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(159, 118, 180, 0.4);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(159, 118, 180, 0.6);
}

.form-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Footer Info */
.footer-info {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.8);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffff;
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .uslugi-grid,
    .flota-grid,
    .depot-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    /* Tekst zawsze pierwszy, zdjęcie zawsze po tekście */
    .uslugi-text,
    .flota-text,
    .depot-text {
        order: 1;
    }

    .uslugi-image,
    .flota-image,
    .depot-image {
        order: 2;
    }

    /* Zapobiegamy nakładaniu się zdjęć */
    .uslugi-image img,
    .flota-image img,
    .depot-image img {
        transform: none !important;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .hero-features,
    .flota-badges,
    .depot-features,
    .stats-grid,
    .values-grid,
    .kontakt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        right: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

  @media (max-width: 768px) {
    /* ... inne style ... */

    .nav-cta {
        order: 1;
        margin-left: auto;
        margin-right: 60px;      /* Zwiększony odstęp od hamburgera */
        padding: 8px 16px;       /* Nieco większy padding dla wygody klikania */
        font-size: 14px;
        white-space: nowrap;     /* Blokuje łamanie tekstu */
        display: inline-block;   /* Wymusza poprawne renderowanie */
        visibility: visible;     /* Gwarantuje widoczność */
        box-shadow: 0 4px 10px rgba(159, 118, 180, 0.3);
    }

    /* Dodatkowo upewnijmy się, że kontener nie ucina zawartości */
    .nav-container {
        overflow: visible !important;
    }
}

    .hero {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .container {
        padding: 0 20px;
    }

    .uslugi-text h3,
    .flota-text h3,
    .depot-text h3,
    .agencja-content h3,
    .ofirmie-content h3,
    .kontakt-content h3 {
        font-size: 32px;
    }

    .flota-badges,
    .depot-features,
    .stats-grid,
    .values-grid,
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
    .depot-grid {
    display: flex;
    flex-direction: column;
}

.depot-image {
    order: 2;
}

.depot-text {
    order: 1;
}
    
}

/* === Mobile fixes (v6 patch) === */
@media (max-width: 768px) {
  /* Ensure grids behave consistently on mobile */
  .flota-grid,
  .depot-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Put text first, image after (image behind/after text in flow) */
  .flota-text,
  .depot-text {
    order: 1;
  }

  .flota-image,
  .depot-image {
    order: 2;
  }

  /* Prevent image from overlapping text due to transforms */
  .flota-image img,
  .depot-image img {
    transform: none !important;
    max-width: 100%;
    height: auto;
  }
}
