﻿/* styles.css - NETEX */

:root {
    --netex-blue: #0066cc;
    --netex-dark: #0a1628;
    --netex-orange: #832D20;
    --netex-orange-light: #ff8c5a;
    --netex-gray: #f5f7fa;
    --netex-text: #2d3748;
    --netex-text-light: #374151;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--netex-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Top Bar */
.top-bar {
    background: var(--netex-dark);
    padding: 12px 0;
    font-size: 0.85rem;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    color: #ffffff;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: var(--netex-orange);
    font-size: 0.9rem;
}

.lang-switcher {
    display: flex;
    gap: 15px;
}

.lang-switcher a {
    color: #ffffff;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.3s;
    font-weight: 500;
    border: 1px solid transparent;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--white);
    border-color: var(--netex-orange);
    background: rgba(255,107,53,0.1);
}

/* Navigation */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    width: auto;
    height: auto;
}

.navbar .logo-icon {
    display: flex;
    align-items: center;
}

.navbar .logo-icon img {
    height: 46px;
    width: auto;
    display: block;
}


.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--netex-dark);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--netex-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu.is-open {
    display: flex;
}

.nav-menu a {
    text-decoration: none;
    color: var(--netex-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--netex-orange);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--netex-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--netex-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.phone-btn:hover {
    background: var(--netex-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--netex-dark) 0%, #1a365d 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,107,53,0.1)"/><circle cx="90" cy="80" r="30" fill="rgba(0,102,204,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.6;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,107,53,0.2);
    border: 1px solid var(--netex-orange);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--netex-orange);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--netex-orange);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--netex-orange);
    color: white;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
}

.btn-primary:hover {
    background: var(--netex-orange-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,107,53,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-text strong {
    display: block;
    color: var(--netex-dark);
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
}

.floating-text span {
    color: var(--netex-text-light);
    font-size: 0.85rem;
}

/* Stats Bar */
.stats-bar {
    background: var(--white);
    padding: 40px 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background: var(--netex-gray);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--netex-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--netex-text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--netex-gray);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,102,204,0.03);
    opacity: 0.5;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(0,102,204,0.1);
    color: var(--netex-blue);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    color: var(--netex-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--netex-text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    
}

.about-img-main {
    width: 100%;
    height: auto !important;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--netex-orange);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--netex-dark);
    margin-bottom: 25px;
}

.about-content > p {
    color: var(--netex-text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--netex-dark);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--netex-text-light);
    line-height: 1.5;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
    border: 1px solid var(--netex-gray);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--netex-blue);
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg, var(--netex-gray), #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image i {
    font-size: 4rem;
    color: var(--netex-blue);
    opacity: 0.3;
    transition: all 0.4s;
}

.product-card:hover .product-image i {
    transform: scale(1.1);
    opacity: 0.6;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--netex-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 1.4rem;
    color: var(--netex-dark);
    margin-bottom: 12px;
}

.product-content p {
    color: var(--netex-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--netex-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s;
}

.product-link:hover {
    gap: 12px;
    color: var(--netex-orange);
}

/* Production Section */
.production {
    padding: 100px 0;
    background: var(--netex-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.production::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.production-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.production-list h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.production-list h2 span {
    color: #EEC2B9;
}

.production-items {
    list-style: none;
}

.production-items li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.production-items li:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
    border-color: var(--netex-orange);
}

.prod-icon {
    width: 60px;
    height: 60px;
    background: var(--netex-orange);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.prod-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.prod-text p {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.production-visual {
    position: relative;
}

.production-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.cert-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    color: var(--netex-dark);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.cert-badge i {
    font-size: 2.5rem;
    color: var(--netex-orange);
    margin-bottom: 10px;
}

.cert-badge .cert-title {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

.cert-badge .cert-sub {
    font-size: 0.85rem;
    color: var(--netex-text-light);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--netex-gray);
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gallery-row {
    display: flex;
    gap: 25px;
    justify-content: space-between;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
    max-width: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: #ffffff;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

/* Render below-the-fold sections lazily to speed up first paint */
.about,
.products,
.production,
.gallery,
.contact,
footer {
    content-visibility: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-block h2 {
    font-size: 2.5rem;
    color: var(--netex-dark);
    margin-bottom: 20px;
}

.contact-info-block > p {
    color: var(--netex-text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--netex-dark);
    margin-bottom: 5px;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--netex-dark);
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: var(--netex-text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--netex-orange);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--netex-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--netex-text);
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--netex-blue);
    color: white;
    transform: translateY(-3px);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--netex-dark);
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-icon {
    margin-bottom: 20px;
}

.footer-logo {
    width: 110px;
    height: auto;
    display: block;
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    color: var(--netex-orange);
}

.footer-col a:visited {
    color: #ffffff;
}

.footer-col a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.footer-col a::before {
    content: '›';
    color: var(--netex-orange);
    font-weight: bold;
}

/* Lang Section (Flags) */
.lang-section {
    background: var(--netex-dark);
    padding: 30px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, auto));
    gap: 12px;
    list-style: none;
    justify-content: center;
}

.lang-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #18263d;
    border: 1px solid #334a6f;
    border-radius: 30px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    color: #f8fafc;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-item:hover {
    background: var(--netex-orange);
    color: #ffffff;
    border-color: var(--netex-orange);
}

.lang-item:visited {
    color: #f8fafc;
}

.lang-item:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.lang-item img {
    width: 16px;
    height: auto;
    border-radius: 2px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info {
    flex: 2;
}

.footer-copyright-main {
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-digital {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.footer-link-highlight {
    color: #EEC2B9;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.footer-link-highlight:hover {
    text-decoration-thickness: 3px;
}

.footer-link-highlight:focus-visible {
    outline: 2px solid #EEC2B9;
    outline-offset: 2px;
}

.footer-standards {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

.footer-case {
    font-size: 0.85rem;
}

.footer-links-side {
    flex: 1;
    text-align: right;
}

.footer-nav-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--netex-orange);
}

.footer-partner {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-partner strong {
    color: white;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border: 0;
    background: transparent;
    border-radius: 12px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--netex-dark);
    transition: all 0.3s;
}

.mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container,
    .about-grid,
    .production-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-box:not(:last-child)::after {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 20px;
        right: 20px;
        flex-direction: column;
        gap: 0;
        padding: 16px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(10, 22, 40, 0.08);
        border-radius: 20px;
        box-shadow: var(--shadow-xl);
        backdrop-filter: blur(10px);
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-container {
        position: relative;
    }

    .nav-menu li + li {
        border-top: 1px solid rgba(10, 22, 40, 0.08);
    }

    .nav-menu a {
        display: block;
        padding: 14px 4px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links-side {
        text-align: center;
    }
    
    .footer-nav-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .floating-card {
        display: none;
    }
    
    .top-bar-left {
        display: none;
    }
    
    .top-bar-container {
        justify-content: flex-end;
    }
    
    .lang-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, auto));
    }
    
    .lang-item {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

        /* === STYLE GALERII === */
        .gallery-container {
            max-width: 1200px;
            margin: 50px auto;
            padding: 20px;
        }

        .gallery-title {
            text-align: center;
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 40px;
            font-weight: 600;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }

        .gallery-row {
            display: contents; /* aby grid dziaĹ‚aĹ‚ na itemach */
        }

        .gallery-item {
            display: block;
            text-decoration: none;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        /* === LIGHTBOX STYLE === */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .lightbox.active {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-img {
            max-width: 100%;
            max-height: 85vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.3);
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 40px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            z-index: 1002;
            background: rgba(0,0,0,0.5);
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: none;
        }

        .lightbox-close:hover {
            color: #ff6b6b;
            transform: scale(1.1);
            background: rgba(0,0,0,0.8);
        }

        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.6);
            color: white;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 50%;
            transition: 0.3s;
            font-size: 30px;
            font-weight: bold;
            border: none;
        }

        .lightbox-prev {
            left: 20px;
        }

        .lightbox-next {
            right: 20px;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover {
            background: #ff6b6b;
            transform: translateY(-50%) scale(1.1);
        }

        .lightbox-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-family: monospace;
            z-index: 1002;
        }

        /* ResponsywnoĹ›Ä‡ */
        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 15px;
            }
            
            .lightbox-prev,
            .lightbox-next {
                width: 40px;
                height: 40px;
                font-size: 24px;
            }
            
            .lightbox-close {
                top: 15px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 30px;
            }
        }
/* Footer link contrast - single source of truth */
.footer-link,
.footer-link-main {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.footer-link:visited,
.footer-link-main:visited {
    color: #ffffff;
}

.footer-link:focus-visible,
.footer-link-main:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.footer-link-highlight {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #ffd4c7;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.footer-realization a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--netex-gray);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,102,204,0.03);
    opacity: 0.5;
}

.faq .section-container {
    position: relative;
    z-index: 2;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--netex-dark);
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--netex-text-light);
    line-height: 1.7;
}

/* Definitions Section */
.definitions {
    padding: 100px 0;
    background: white;
}

.definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.definition-item {
    background: var(--netex-gray);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.definition-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.definition-item h3 {
    font-size: 1.3rem;
    color: var(--netex-dark);
    margin-bottom: 15px;
}

.definition-item p {
    color: var(--netex-text-light);
    line-height: 1.7;
}

