/*
Theme Name: Electrogen Energy Solutions
Theme URI: https://electro-gen.com
Author: Electrogen Energy Solutions GmbH
Author URI: https://electro-gen.com
Description: A professional WordPress theme for Electrogen Energy Solutions GmbH - Institutional-grade power infrastructure company. Features customizable content, Contact Form 7 integration, and comprehensive SEO optimization.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: electrogen
Tags: corporate, business, energy, industrial, responsive, customizable, seo-ready

Electrogen Energy Solutions Theme - All rights reserved.
*/

/* ============================================
   CSS Variables (Custom Properties)
   ============================================ */
:root {
    /* Colors - Navy */
    --navy-950: #020617;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;

    /* Colors - Accent */
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-gold: #d4a853;
    --accent-gold-hover: #c49a47;

    /* Colors - Slate */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --container-max: 80rem;
    --container-padding: 1.5rem;
}

/* ============================================
   Base Styles
   ============================================ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff;
    color: var(--slate-800);
    line-height: 1.6;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy-900);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--slate-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 40%, var(--navy-800) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-subpage {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .hero-subpage {
        padding-top: 10rem;
        padding-bottom: 7rem;
    }
}

/* Hero Section for Inner/Subpages */
.hero-section-inner {
    position: relative;
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 40%, var(--navy-800) 100%);
}

.hero-section-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Animated accent lines */
.accent-line {
    position: absolute;
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--accent-blue), transparent);
    animation: lineFloat 8s ease-in-out infinite;
}

@keyframes lineFloat {
    0%, 100% {
        transform: translateY(0) scaleY(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(30px) scaleY(1.2);
        opacity: 0.8;
    }
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, 0.2);
    animation: shapeFloat 12s ease-in-out infinite;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* ============================================
   Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.site-header.nav-scrolled {
    background-color: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
}

.site-logo img {
    height: 2.25rem;
    width: auto;
    min-width: 150px;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    color: var(--navy-900);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.5);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 24rem;
    height: 100%;
    background-color: var(--navy-950);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.mobile-menu-close button {
    padding: 0.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.mobile-nav-cta {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    color: var(--navy-900);
    font-weight: 600;
    text-align: center;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background-color: transparent;
}

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

.btn-white {
    background-color: #fff;
    color: var(--navy-900);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    border: 1px solid var(--slate-300);
    color: var(--navy-900);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--slate-100);
}

/* ============================================
   Cards
   ============================================ */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.stat-card {
    position: relative;
    background: #fff;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), #3b82f6);
}

.solution-card {
    position: relative;
    overflow: hidden;
    background-color: var(--navy-900);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.1), transparent);
    pointer-events: none;
}

.feature-card {
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), #3b82f6);
}

.contact-card {
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), #3b82f6);
}

/* ============================================
   Timeline
   ============================================ */
.timeline-connector {
    position: relative;
}

.timeline-connector::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    width: 3rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.5), transparent);
}

@media (max-width: 1023px) {
    .timeline-connector::after {
        display: none;
    }
}

/* ============================================
   Credentials Scroll
   ============================================ */
@keyframes credentialsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.credentials-scroll {
    animation: credentialsScroll 40s linear infinite;
}

.credentials-scroll:hover {
    animation-play-state: paused;
}

/* ============================================
   Scroll Indicator
   ============================================ */
.scroll-indicator {
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

/* ============================================
   Counter Animation
   ============================================ */
.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   Forms
   ============================================ */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-300);
    background-color: #fff;
    color: var(--navy-900);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: var(--slate-400);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Contact Form 7 Styles */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 .wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-300);
    background-color: #fff;
    color: var(--navy-900);
    transition: all 0.3s ease;
}

.wpcf7 .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wpcf7 .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--accent-blue);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpcf7 .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.5);
}

.wpcf7 .wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border: none;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background-color: #d1fae5;
    color: #065f46;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-spam-blocked {
    background-color: #fee2e2;
    color: #991b1b;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--navy-950);
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 6rem;
}

@media (min-width: 1024px) {
    .site-footer {
        padding-top: 6rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

.footer-logo {
    height: 2rem;
    width: auto;
    margin-bottom: 2rem;
}

.footer-description {
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.social-link svg {
    width: 1rem;
    height: 1rem;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--slate-400);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--slate-500);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-address {
    font-style: normal;
    color: var(--slate-500);
    font-size: 0.875rem;
}

.footer-address p {
    margin-bottom: 1rem;
}

.footer-address a {
    transition: color 0.3s ease;
}

.footer-address a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--slate-600);
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--slate-600);
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* ============================================
   Section Backgrounds
   ============================================ */
.bg-white {
    background-color: #fff;
}

.bg-slate-50 {
    background-color: var(--slate-50);
}

.bg-navy-900 {
    background-color: var(--navy-900);
}

.bg-navy-950 {
    background-color: var(--navy-950);
}

/* ============================================
   Section Spacing
   ============================================ */
.section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

@media (min-width: 1024px) {
    .section-padding {
        padding-top: 9rem;
        padding-bottom: 9rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-accent-gold {
    color: var(--accent-gold);
}

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

.text-white {
    color: #fff;
}

.text-slate-400 {
    color: var(--slate-400);
}

.text-slate-500 {
    color: var(--slate-500);
}

.text-slate-600 {
    color: var(--slate-600);
}

.text-navy-900 {
    color: var(--navy-900);
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* ============================================
   Icon Box
   ============================================ */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--navy-900);
}

.icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

.icon-box-gold {
    background-color: var(--accent-gold);
}

.icon-box-gold svg {
    color: var(--navy-900);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--slate-500);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: var(--slate-600);
}

.breadcrumb .current {
    color: var(--accent-gold);
}

/* ============================================
   WordPress Specific
   ============================================ */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 0.5rem;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Admin bar adjustment */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ============================================
   Language Switcher
   ============================================ */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher .lang-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher .lang-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.lang-switcher .lang-link.active {
    color: #fff;
    opacity: 1;
}

.lang-switcher .lang-link:not(.active) {
    color: rgba(255, 255, 255, 0.6);
}

.lang-switcher .lang-link:not(.active):hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Separator between language links */
.lang-switcher .lang-links .lang-link:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

/* Mobile Language Switcher */
.lang-switcher-mobile .lang-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lang-switcher-mobile .lang-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.lang-switcher-mobile .lang-link.active {
    color: #fff;
}

.lang-switcher-mobile .lang-link:not(.active):hover {
    color: rgba(255, 255, 255, 0.9);
}

.lang-switcher-mobile .lang-link:not(:last-child)::after {
    content: none;
}

/* Dropdown style */
.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lang-toggle:hover {
    color: #fff;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 140px;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: var(--slate-700);
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.lang-option:hover {
    background-color: var(--slate-50);
}

.lang-option.active {
    background-color: var(--slate-100);
    font-weight: 500;
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}
