@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* -------------------- Alapok -------------------- */


body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
    
}

/* -------------------- Menü -------------------- */
header {
    position: fixed;
    width: 100%;
    background-color: #333;
    color: white;
    top: 0;
    z-index: 1000;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;      /* vagy 100% */
  margin: 0;            /* ne legyen auto */
  padding: 10px 80px;   /* ez szabja meg, milyen közel legyen a bal szélhez */
  box-sizing: border-box;
}
header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 8px;
  background-color: rgba(255, 102, 0);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    background-color: #ff6600;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Logo */
.logo img {
    height: 50px;
    width: auto;
}

/* Hamburger gomb (mobil) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* -------------------- Hero szekció -------------------- */
#hidraulika-hero {
    height: 61vh;
    background: url('images/unnamed5.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;

    /* Alap állapot */
    opacity: 0;
    transform: translateY(50px);

    /* Animáció */
    animation: heroSlideIn 1s ease-out forwards;
    animation-delay: 0.2s; /* finom késleltetés */
}

#hidraulika-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 1;
}

/* Industrial pages: shared background + hero melt transition */
body.industrial-theme {
    background-color: #cfd5db !important;
    background-image: url('images/hidraulikahatter.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

body.industrial-theme #hidraulika-hero {
    overflow: hidden;
    position: relative;
    isolation: isolate;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 84%, rgba(0, 0, 0, 0.7) 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 84%, rgba(0, 0, 0, 0.7) 93%, transparent 100%);
}

body.industrial-theme #hidraulika-hero::after {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.36) 68%,
        rgba(0, 0, 0, 0.16) 88%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

#hidraulika-hero .hero-content {
    position: relative;
    z-index: 2;

    /* Alap állapot a szövegnek */
    opacity: 0;
    transform: translateY(30px);

    /* Animáció a szövegnek */
    animation: heroContentSlideIn 1s ease-out forwards;
    animation-delay: 0.5s; /* szöveg később jön, mint a kép */
}

@keyframes heroSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroContentSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Keyframes a beúszáshoz */
@keyframes heroSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#hidraulika-hero h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
}

#hidraulika-hero p {
    font-size: 1.5rem;
    margin-top: 10px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

#hidraulika-hero .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255,102,0,0.5);
}

#hidraulika-hero .btn:hover {
    background-color: #cc5200;
    box-shadow: 0 0 20px rgba(255,102,0,0.8), 0 0 30px rgba(255,102,0,0.5);
    transform: scale(1.05);
}

/* -------------------- Kategóriák -------------------- */
#hidraulika-products {
    padding: 80px 20px 60px 20px;
    background: rgba(255, 217, 167, 1);
    text-align: center;
}

body.industrial-theme #hidraulika-products {
    background: transparent;
}

#hidraulika-products h2 {
    text-align: center;
    color: #ff6600;
    margin-bottom: 40px;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.category-card {
    /* MÓDOSÍTÁS: Eredeti narancs háttér helyett fehér */
    background: #fff; 
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; /* border-color hozzáadása */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #ddd; /* Finom keret az elválasztáshoz */
    
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255,102,0,0.3); /* Narancs árnyék kiemeléskor */
    border-color: #ff6600; /* Narancs keret kiemeléskor */
}

/* Kép stílus módosítás */
.category-card img {
    /* ... többi stílus megmarad ... */
    margin-bottom: 10px;
    border: 2px solid #ddd; /* Keret a kép körül */
    transition: border-color 0.3s;
}

.category-card:hover img {
    border-color: #ff6600; /* Keret narancssá válik hoverkor */
}

/* Szöveg stílus módosítás */
.category-card span {
    display: block;
    font-weight: bold;
    color: #333; /* Fekete/szürke szöveg fehér alapon */
    margin-top: auto; 
    padding-top: 5px;
    /* ÚJ: Narancs aláhúzás a kategória névnél */
    border-bottom: 3px solid #ff6600; 
    padding-bottom: 5px;
}

/* Hidraulika termekkartyak - szurkes, hangsulyosabb verzio */
body.industrial-theme #hidraulika-products .category-card {
    background: linear-gradient(165deg, rgba(248, 250, 252, 0.95) 0%, rgba(226, 232, 240, 0.95) 100%);
    border: 1px solid #8d99a6;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(28, 39, 52, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

body.industrial-theme #hidraulika-products .category-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: #5f6f7f;
    box-shadow: 0 18px 36px rgba(28, 39, 52, 0.28), 0 0 0 2px rgba(116, 141, 166, 0.25);
}

body.industrial-theme #hidraulika-products .category-card img {
    border: 2px solid #a5b1bc;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

body.industrial-theme #hidraulika-products .category-card:hover img {
    border-color: #6b7c8c;
}

body.industrial-theme #hidraulika-products .category-card span {
    color: #2f3a45;
    border-bottom: 2px solid #768899;
    letter-spacing: 0.2px;
}

/* -------------------- Modal -------------------- */
#category-modal.hidden {
    display: none;
}

#category-modal {
    /* ... egyéb stílusok változatlanul ... */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow-y: auto;
}

#category-modal .modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 1000px;
    width: 90%;
    padding: 30px;
    position: relative;
    border: 3px solid #ff6600; 
}

#category-modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

#modal-subcategories {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
    margin-top: 20px;
    max-width: 900px; 
    margin-left: auto;
    margin-right: auto;
}

/* 🌟 ALKATEGÓRIA KÁRTYA STÍLUS MÓDOSÍTÁS 🌟 */
.subcategory-card {
    text-align: center;
    
    /* Fehér alap, mint a fő kategória kártya */
    background: #fff; 
    
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    
    /* Animációk */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    
    color: #333; /* Sötét szöveg */
    
    /* Finom, narancs keret a fókuszra */
    border: 1px solid #ff6600; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Enyhe árnyék */
    
    width: 140px; 
    height: auto; 
    min-height: 180px;
    justify-content: space-between; 
}

.subcategory-card:hover {
    /* Kiemelkedés és Narancs árnyék */
    transform: translateY(-5px); 
    box-shadow: 0 12px 20px rgba(255,102,0,0.4);
    /* Nincs teljes színváltozás, csak finom kiemelés */
    background-color: #fce4d6; /* Nagyon halvány narancs háttér */
    border-color: #cc5200;
}

.subcategory-card img {
    width: 100%;
    height: 100px; 
    object-fit: cover; 
    border-radius: 5px;
    /* Kép keret: narancs alsó vonal */
    border-bottom: 3px solid #ff6600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    margin-bottom: 5px;
    transition: border-bottom-color 0.3s;
}

.subcategory-card:hover img {
    border-bottom-color: #cc5200; /* Sötétebb narancs hoverkor */
}

.subcategory-card span {
    display: block;
    font-size: 0.95em; 
    font-weight: bold;
    line-height: 1.2;
    margin-top: 5px;
    padding-bottom: 5px;
}

#modal-subcategories {
    display: flex; 
    flex-wrap: wrap;
    justify-content: center; 
    gap: 20px; 
    margin-top: 20px;
    /* ÚJ: Max szélesség, hogy a tartalom középen maradjon */
    max-width: 900px; 
    margin-left: auto;
    margin-right: auto;
}

/* -------------------- Mobil responsive -------------------- */
@media (max-width: 1024px) {
    
    /* 1. Navigációs menü konténere: ÜVEGES HÁTTÉR és POZÍCIÓ */
    #nav-links {
    display: none !important; 
    flex-direction: column;
    width: 200px; /* kisebb szélesség */
    position: absolute;
    top: 100%; /* A header alá pozícionálva */
    right: 0;
    left: auto;
    background-color: rgba(51, 51, 51, 0.6); /* Üveges háttér */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
    z-index: 999;

    /* ⭐ Minden sarkot lekerekítünk */
    border-radius: 10px;

    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* Ensure nav 'open' class is supported (some pages/JS use .open instead of .active) */
@media (max-width: 1024px) {
    /* Header flexbox javítás mobilon */
    header nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 10px;
        position: relative;
    }
    
    .logo {
        flex: 0 0 auto;
        margin-right: auto;
        z-index: 1200;
    }
    
    .logo img {
        height: 38px;
        width: auto;
    }
    
    #nav-links.open {
        display: flex !important;
        flex-direction: column;
        background-color: rgba(51,51,51,0.9);
        position: absolute;
        top: 60px;
        right: 0;
        width: 220px;
        padding: 12px 10px;
        gap: 10px;
        z-index: 1001;
        transform: translateX(0);
        opacity: 1;
    }

    /* Hamburger active (X) visual polish if global CSS isn't loaded */
    .hamburger.active div:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active div:nth-child(2) { opacity: 0; }
    .hamburger.active div:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}


    /* 2. Megnyitott állapot */
    #nav-links.open {
        display: flex !important; 
        transform: translateX(0); 
        opacity: 1; 
    }

    /* Hamburger ikon */
    .hamburger {
        display: flex; 
        z-index: 1001;
    }

    /* 3. Menüelemek középre és kisebb padding */
    #nav-links li {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 8px 0;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    #nav-links li a {
        text-align: center;
        display: block;
        color: white;
        padding: 10px 0;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.3s ease;
        position: relative; /* fontos a pseudo elemhez */
        z-index: 1;
    }

  /* Hover effekt: fehér overlay + kiemelkedés */
    #nav-links li:hover::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(255, 255, 255, 0.15); /* halvány fehér */
        border-radius: 5px;
        z-index: 0;
    }

    #nav-links li:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    }

    #nav-links li a:hover {
        color: white; /* maradjon fehér a szöveg */
    }
}

/* Cookie Modal Stílus */
#cookieConsent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: none;
    opacity: 0;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.cookie-content {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeInDown 0.5s ease-out;
}

.cookie-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

#cookieConsent button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1em;
}

#cookieConsent button:hover {
    background-color: #cc5200;
    transform: scale(1.05);
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* Hero aljának átmenete a következő szekció színébe */
#hidraulika-hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* az átmenet magassága */
    background: linear-gradient(
        to bottom,
        rgba(255, 217, 167, 0) 0%,
        #ffd9a7 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Hidraulika – H2 címek (hero stílus) */
#hidraulika-products h2 {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  color: #ff6a00;
  text-shadow: 0 0 15px rgba(255,106,0,0.7);
  margin-bottom: 40px;
  animation: fadeIn 1.5s ease-out forwards;
}

/* ================== Hidraulika teljes szurke tema ================== */
body.industrial-theme {
    color: #1f2933;
}

body.industrial-theme header nav ul li a {
    background-color: rgba(85, 97, 111, 0.9) !important;
    border-color: rgba(225, 232, 240, 0.34) !important;
    color: #f1f5f9 !important;
}

body.industrial-theme header nav ul li a:hover,
body.industrial-theme header nav ul li a.active {
    background-color: #3f4b57 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.42) !important;
}

body.industrial-theme .flag-btn.active {
    border-color: rgba(148, 163, 184, 0.85) !important;
    background: rgba(148, 163, 184, 0.2) !important;
}

body.industrial-theme #hidraulika-hero .btn {
    background-color: #556170;
    box-shadow: 0 0 12px rgba(85, 97, 112, 0.6);
}

body.industrial-theme #hidraulika-hero .btn:hover {
    background-color: #3f4b57;
    box-shadow: 0 0 18px rgba(63, 75, 87, 0.75), 0 0 30px rgba(85, 97, 112, 0.42);
}

body.industrial-theme #hidraulika-hero::before {
    background: linear-gradient(
        to bottom,
        rgba(207, 213, 219, 0) 0%,
        rgba(207, 213, 219, 0.96) 100%
    );
}

body.industrial-theme #hidraulika-products h2 {
    color: #334155;
    text-shadow: 0 0 14px rgba(100, 116, 139, 0.45);
}

body.industrial-theme #hidraulika-products .category-card {
    background: linear-gradient(165deg, rgba(248, 250, 252, 0.96) 0%, rgba(226, 232, 240, 0.96) 100%);
    border-color: #94a3b8;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

body.industrial-theme #hidraulika-products .category-card:hover {
    border-color: #64748b;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28), 0 0 0 2px rgba(148, 163, 184, 0.26);
}

body.industrial-theme #hidraulika-products .category-card img {
    border-color: #a8b4c0;
}

body.industrial-theme #hidraulika-products .category-card:hover img {
    border-color: #64748b;
}

body.industrial-theme #hidraulika-products .category-card span {
    color: #253041;
    border-bottom-color: #64748b;
}

body.industrial-theme #category-modal .modal-content,
body.industrial-theme .modal-content {
    background: #f1f5f9;
    border: 2px solid #94a3b8;
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.4);
}

body.industrial-theme #category-modal .modal-content h2,
body.industrial-theme .modal-content h2 {
    color: #334155 !important;
}

body.industrial-theme #category-modal .close,
body.industrial-theme .modal-content .close {
    color: #334155;
}

body.industrial-theme .subcategory-card {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

body.industrial-theme .subcategory-card:hover {
    background: #e2e8f0;
    border-color: #64748b;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.26);
}

body.industrial-theme .subcategory-card img {
    border-bottom-color: #64748b;
}

body.industrial-theme #cookieConsent button {
    background-color: #556170;
}

body.industrial-theme #cookieConsent button:hover {
    background-color: #3f4b57;
}

/* ==================== HYDRAULIC BRAND OVERRIDES ==================== */
body {
    --brand-primary: #607487;
    --brand-primary-strong: #3f4f5e;
    --brand-surface: #eef3f7;
    --brand-outline: rgba(100, 116, 139, 0.32);
    --brand-text: #27313b;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --font-heading: 'Rajdhani', 'Arial Narrow', sans-serif;
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
#hidraulika-hero .hero-content,
header nav ul li a,
.category-card span,
.subcategory-card span {
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 14%, rgba(148, 163, 184, 0.2) 0%, rgba(148, 163, 184, 0) 30%),
        radial-gradient(circle at 85% 78%, rgba(100, 116, 139, 0.16) 0%, rgba(100, 116, 139, 0) 34%),
        linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

body.industrial-theme::before {
    background:
        radial-gradient(circle at 12% 14%, rgba(148, 163, 184, 0.16) 0%, rgba(148, 163, 184, 0) 34%),
        radial-gradient(circle at 85% 78%, rgba(100, 116, 139, 0.14) 0%, rgba(100, 116, 139, 0) 38%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.2) 0%, rgba(226, 232, 240, 0.22) 100%);
}

/* ==================== HYDRAULIC MENU READABILITY FIX ==================== */
header nav ul li a,
header #nav-links li a,
#nav-links li a {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.68) !important;
    background: linear-gradient(180deg, rgba(70, 82, 95, 0.95) 0%, rgba(43, 53, 64, 0.96) 100%) !important;
    border: 1px solid rgba(212, 223, 234, 0.55) !important;
    box-shadow: 0 6px 14px rgba(16, 24, 34, 0.34) !important;
}

header nav ul li a:hover,
header nav ul li a.active,
header #nav-links li a:hover,
header #nav-links li a.active,
#nav-links li a:hover,
#nav-links li a.active {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.52) !important;
    background: linear-gradient(180deg, #7d8fa3 0%, #55677a 100%) !important;
    border-color: rgba(228, 237, 246, 0.92) !important;
    box-shadow: 0 8px 16px rgba(36, 47, 60, 0.42) !important;
}

@media (max-width: 1024px) {
    #nav-links,
    #nav-links.open,
    #nav-links.active {
        background-color: rgba(25, 33, 42, 0.92) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* ==================== HOME LINK NEXT TO LOGO ==================== */
@media (min-width: 1025px) {
    header nav ul#nav-links {
        width: 100%;
        flex: 1;
        margin-left: 18px !important;
        margin-right: 0 !important;
    }

    #nav-links li:has(> a[href="index.html"]),
    #nav-links li:has(> a[href="index-en.html"]) {
        order: -1;
        margin-right: auto;
        padding-right: 26px;
    }
}

#nav-links li a[href="index.html"],
#nav-links li a[href="index-en.html"] {
    background: linear-gradient(180deg, #8798ab 0%, #64778c 100%) !important;
    border-color: rgba(227, 236, 245, 0.8) !important;
}

#nav-links li a[href="index.html"]:hover,
#nav-links li a[href="index.html"].active,
#nav-links li a[href="index-en.html"]:hover,
#nav-links li a[href="index-en.html"].active {
    background: linear-gradient(180deg, #9baabc 0%, #74869a 100%) !important;
    border-color: rgba(240, 246, 252, 0.94) !important;
}

/* ==================== INTERACTION SPEED TUNING ==================== */
:root {
    --ui-fast-response: 0.14s;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

a,
button,
.btn,
.category-card,
.subcategory-card,
header nav ul li a,
#nav-links li a,
.hamburger,
.flag-btn {
    transition-duration: var(--ui-fast-response) !important;
    transition-delay: 0s !important;
}

a,
button,
.btn,
.category-card,
.subcategory-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

a,
button,
.btn,
.hamburger,
.flag-btn {
    touch-action: manipulation;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ==================== PRODUCT READABILITY LAYER ==================== */
body.industrial-theme #hidraulika-products {
    background: rgba(232, 238, 244, 0.72) !important;
    border-top: 1px solid rgba(148, 163, 184, 0.32);
    border-bottom: 1px solid rgba(148, 163, 184, 0.32);
}

body.industrial-theme #hidraulika-products .category-card {
    background: linear-gradient(165deg, #d6dee8 0%, #bcc7d4 100%);
    border-color: #7b8898;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(245, 248, 252, 0.52) inset;
}

body.industrial-theme #hidraulika-products .category-card:hover {
    border-color: #596777;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.32), 0 0 0 2px rgba(123, 136, 152, 0.34);
}

body.industrial-theme #hidraulika-products .category-card img {
    border-color: #8f9eae;
}

body.industrial-theme #hidraulika-products .category-card:hover img {
    border-color: #596777;
}

body.industrial-theme #hidraulika-products .category-card span {
    color: #1f2a36;
    border-bottom-color: #647587;
}

