/* Modern Industrial CSS - Machine Building Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Industrial Color Palette */
    --primary-color: #1a1a1a;
    --primary-dark: #0d0d0d;
    --primary-light: #2d2d2d;
    --accent-color: #c41e3a;
    --accent-gold: #d4af37;
    --steel-blue: #2c3e50;
    --industrial-gray: #34495e;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --border-color: #d0d0d0;
    --border-dark: #333333;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-industrial: 0 4px 12px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    background: 
        radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 62, 80, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #f0f0f0 100%);
    background-attachment: fixed;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px);
    pointer-events: none;
    z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
    text-indent: 1.5rem;
}

a {
    color: var(--accent-color);
	text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header - Industrial Style */
.header {
    background: 
        linear-gradient(135deg, var(--primary-dark) 0%, var(--steel-blue) 50%, var(--primary-dark) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(196, 30, 58, 0.03) 10px, rgba(196, 30, 58, 0.03) 20px);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 -3px 0 var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    max-height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.company-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-actions a {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.header-actions a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.header-actions a:hover::before {
    width: 300px;
    height: 300px;
}

.header-actions a:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #a01a2e 100%);
    border-color: var(--accent-color);
	text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.header-actions a span {
    position: relative;
    z-index: 1;
}

/* Navigation - Industrial */
.nav {
    background: linear-gradient(to bottom, var(--industrial-gray) 0%, #2c3e50 100%);
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.5;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.75rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: white;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #a01a2e 100%);
    color: white;
	text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4), 0 0 15px rgba(196, 30, 58, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-link:hover span:first-child {
    transform: scale(1.2) rotate(5deg);
    transition: transform 0.3s ease;
}

.nav-link span:first-child {
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-link.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, #8b1538 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 10px var(--accent-gold);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px var(--accent-gold);
        opacity: 0.8;
    }
    to {
        box-shadow: 0 0 15px var(--accent-gold), 0 0 25px var(--accent-gold);
        opacity: 1;
    }
}

.nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 300px);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    background: linear-gradient(to bottom, var(--bg-white) 0%, #fafafa 100%);
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-gold), var(--accent-color));
    border-radius: 0.5rem 0.5rem 0 0;
}

.page-title {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--accent-color);
}

.page-title h1 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* Hero Section - Industrial - Enhanced */
.hero {
    background: 
        radial-gradient(ellipse at top, rgba(196, 30, 58, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--steel-blue) 50%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 0 50px rgba(196, 30, 58, 0.1);
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(196, 30, 58, 0.3);
    position: relative;
    z-index: 2;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.25rem;
    text-align: center;
    text-indent: 0;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Maluk Project Highlight - Simplified */
.maluk-highlight {
    background: linear-gradient(135deg, var(--accent-color) 0%, #8b1538 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--accent-gold);
}

.maluk-highlight h2 {
    color: white;
    border-bottom-color: var(--accent-gold);
}

.maluk-highlight a {
    color: var(--accent-gold);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.sidebar {
    background: linear-gradient(to bottom, var(--bg-light) 0%, #f0f0f0 100%);
    padding: 1.5rem;
    border-radius: 0.5rem;
    height: fit-content;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-gold));
    border-radius: 0.5rem 0 0 0.5rem;
}

.content-main {
    background: linear-gradient(to bottom, var(--bg-white) 0%, #fafafa 100%);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: linear-gradient(to bottom, var(--bg-white) 0%, #fafafa 100%);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-gold), var(--accent-color));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    animation: gradient-shift 3s ease infinite;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover::after {
    left: 100%;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.2), 0 0 20px rgba(196, 30, 58, 0.1);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-color);
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.product-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

.sidebar ul {
    list-style: none;
    margin-left: 0;
}

.sidebar ul li {
    margin-bottom: 0.75rem;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: var(--text-dark);
    background: linear-gradient(to right, var(--bg-white) 0%, #fafafa 100%);
    border-radius: 0.375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    font-weight: 500;
    position: relative;
    overflow: visible;
}

.sidebar ul li a[style*="background-color"] {
    color: white !important;
    background: linear-gradient(135deg, var(--accent-color) 0%, #8b1538 100%) !important;
    border-color: var(--accent-color) !important;
}

.sidebar ul li a[style*="background-color"] span {
    color: white !important;
}

.sidebar ul li a[style*="background-color"] span[data-lang] {
    color: white !important;
}

.sidebar ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-gold));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.sidebar ul li a:hover::before {
    transform: scaleY(1);
}

.sidebar ul li a:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #a01a2e 100%);
    color: white;
	text-decoration: none;
    transform: translateX(8px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.sidebar ul li a span:first-child {
    transition: transform 0.3s ease;
    display: inline-block;
}

.sidebar ul li a:hover span:first-child {
    transform: scale(1.3) rotate(10deg);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.25rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
	text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
	text-decoration: none;
    color: white;
}

.btn-secondary {
    background-color: var(--industrial-gray);
    border-color: var(--industrial-gray);
}

.btn-secondary:hover {
    background-color: var(--steel-blue);
    border-color: var(--steel-blue);
}

/* Tables - Industrial Style */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background-color: var(--primary-dark);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

table tr:hover {
    background-color: var(--bg-light);
}

table tr:last-child td {
    border-bottom: none;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 4px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-gold);
	text-decoration: none;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.image-left {
    float: left;
    margin: 0 1.5rem 1rem 0;
    border-radius: 0.375rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.image-right {
    float: right;
    margin: 0 0 1rem 1.5rem;
    border-radius: 0.375rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.image-center {
    display: block;
    margin: 2rem auto;
    border-radius: 0.375rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-container {
        flex-direction: column;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .image-left,
    .image-right {
        float: none;
        display: block;
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .content-wrapper {
        padding: 0.75rem;
    }

    .hero {
        padding: 1.5rem 0.75rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Legacy Support */
.P {
    text-align: justify;
    text-indent: 1.5rem;
    margin-bottom: 1rem;
}

.zagol {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.text {
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
}

.wh {
    color: white !important;
}

.wh:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Language Content - JavaScript controls visibility via inline styles */
[data-lang] {
    /* Default state - will be controlled by JavaScript */
}

/* Initial state - show Ukrainian by default, hide English */
[data-lang="uk"] {
    display: block;
    visibility: visible;
}

[data-lang="en"] {
    display: none;
    visibility: hidden;
}

/* Inline elements default display */
span[data-lang],
a[data-lang],
button[data-lang],
label[data-lang] {
    display: inline;
}

/* When English is selected via JavaScript, these rules help but JS has priority */
html[lang="en"] [data-lang="uk"] {
    display: none !important;
    visibility: hidden !important;
}

html[lang="en"] [data-lang="en"] {
    display: block !important;
    visibility: visible !important;
}

html[lang="en"] span[data-lang="en"],
html[lang="en"] a[data-lang="en"],
html[lang="en"] button[data-lang="en"],
html[lang="en"] label[data-lang="en"] {
    display: inline !important;
    visibility: visible !important;
}
