/* Reset body/html for full-width */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0a1128 !important;
    overflow-x: hidden;
}

/* Reset i Zmienne dla kontenera */
#omnigeo-wrapper {
    --dark-blue: #0a1128;
    --mid-blue: #121e3d;
    --accent-blue: #00b4d8;
    --white: #ffffff;
    --text-gray: #cfd8dc;
    --card-bg: rgba(255, 255, 255, 0.05);

    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

#omnigeo-wrapper * {
    box-sizing: border-box;
}

/* Naprawa paska admina WP */
#wpadminbar {
    z-index: 99999 !important;
}

/* --- NAVIGATION --- */
#omnigeo-wrapper nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    border-bottom: 2px solid var(--accent-blue);
}

/* Korekta pozycji nav jeśli jest pasek admina */
.admin-bar #omnigeo-wrapper nav {
    top: 32px;
}

.logo-text {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--white);
}

.logo-text span {
    color: var(--accent-blue);
}

.nav-links a {
    color: var(--white) !important;
    text-decoration: none !important;
    margin-left: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue) !important;
}

/* Hamburger menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 10000;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
}

/* --- HEADER / FOOTER LOGO --- */
.site-logo-link {
    display: inline-block;
}

.site-logo {
    max-width: 180px;
    height: auto;
    display: block;
}

/* --- HERO REBUILD --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 5%;
    z-index: 2;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 2;
}

.hero-device-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 80vh;
    filter: drop-shadow(0px 20px 40px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-brand {
    margin-bottom: 30px;
}

.hero-brand .hero-logo {
    max-width: 250px;
    height: auto;
}

.hero-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #d62828;
    width: 100%;
    margin-top: 30px;
}

.hero-sub {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e2e8f0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.info-item i {
    min-width: 25px;
    text-align: center;
    color: var(--accent-blue);
    font-size: 1.3rem;
}

.phone-highlight {
    color: #4ade80 !important;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}

.phone-highlight i {
    color: #4ade80 !important;
    font-size: 1.6rem;
}

.phone-highlight:hover {
    color: #45a049 !important;
    transform: scale(1.02);
    transform-origin: left;
}

.hero-contact-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-contact-link:hover {
    color: #4ade80;
    text-decoration: underline;
}

/* --- SECTIONS --- */
.section {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--white);
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    margin: 20px auto;
}

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

.service-card {
    background: var(--mid-blue);
    padding: 40px;
    border-radius: 15px;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    background: #1a2a50;
    border-color: var(--accent-blue);
}

.service-card i {
    font-size: 45px;
    margin-bottom: 20px;
    color: #e2e8f0;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card:hover i {
    color: #d62828;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--white);
}

/* --- PROCESS --- */
.process-section {
    padding: 100px 5%;
    background: #0d1630;
    text-align: center;
}

.process-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.process-tile {
    flex: 1;
    min-width: 260px;
    max-width: 300px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.process-tile:hover {
    background: rgba(0, 180, 216, 0.1);
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 25px;
}

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

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

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

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

/* --- TECHNOLOGY --- */
.feature-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 80px;
}

.feature-img {
    flex: 1;
    min-width: 350px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text {
    flex: 1;
    min-width: 350px;
}

.feature-text h2 {
    color: var(--white);
    font-weight: 900;
}

/* --- ZAUFALI NAM CAROUSEL --- */
.zaufali-nam {
    background: #0d1630;
    padding: 60px 0;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    content: "";
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0d1630 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0d1630 0%, transparent 100%);
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-around;
    min-width: 100vw;
    gap: 50px;
    padding: 0 25px;
}

.marquee-group img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: 0.3s;
}

.marquee-group img:hover {
    transform: scale(1.05);
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- CTA --- */
.cta {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 120px 5%;
}

.cta-btn {
    display: inline-block;
    padding: 20px 50px;
    background: var(--accent-blue);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 900;
    border-radius: 50px;
    margin-top: 30px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-btn:hover {
    background: #fff;
    color: var(--dark-blue) !important;
    transform: scale(1.1);
}

/* --- FOOTER --- */
#omnigeo-wrapper footer {
    padding: 80px 8% 40px;
    background: #050a18;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-col h4 {
    color: var(--accent-blue);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 700;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
        margin-top: 50px;
        background: rgba(10, 14, 26, 0.5);
        padding: 20px;
        border-radius: 12px;
    }

    .hero-visual {
        margin-top: 40px;
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }

    .hero-sub {
        font-size: 1.2rem;
    }

    .phone-highlight {
        font-size: 22px;
    }

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

    .feature-img {
        height: 300px;
    }

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

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 17, 40, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 9998;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        align-items: center;
        margin-left: 0;
    }

    .hero-contact-info {
        align-items: center;
    }

    .info-item i {
        text-align: center;
    }

    .phone-highlight:hover {
        transform-origin: center;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 5%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

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

    .feature-row {
        gap: 30px;
    }

    .feature-img {
        min-width: 100%;
        height: 250px;
    }

    .feature-text {
        min-width: 100%;
    }

    .hero-brand .hero-logo {
        max-width: 200px;
    }
}