/* Reset & base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text); /* μαύρο ThinkPad */
    line-height: 1.6;
}

/* Links */
a {
    color: var(--color-accent); /* κόκκινο ThinkPad */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-dark); /* σκούρο κόκκινο hover */
}

/* Headings: slightly heavier/cleaner, tighter leading for an Apple feel */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

/* Header: clean, minimal, refined spacing */
header {
    background: rgba(51,51,51,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 3rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo: reduced size for refinement */
.logo-img {
    height: 52px;
    width: auto;
    display: block;
    transition: opacity 0.18s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

/* Nav menu base */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Top-level nav links: Apple-style minimalist */
nav ul li > a,
.dropdown-toggle {
    padding: 8px 0;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: color 0.18s ease;
    display: inline-block;
    border: none;
    background: none;
    cursor: pointer;
}

nav ul li > a:hover,
.dropdown-toggle:hover {
    color: rgba(255,255,255,1);
}

nav ul li > a.active {
    color: var(--color-accent);
}

/* Keyboard focus: subtle outline */
nav ul li > a:focus,
.dropdown-toggle:focus {
    outline: 2px solid rgba(230,0,18,0.18);
    outline-offset: 6px;
    border-radius: 4px;
}

/* Dropdown: Apple-inspired — centered, elevated, soft shadow */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(28,28,30,0.96);
    backdrop-filter: blur(20px);
    min-width: 300px;
    padding: 12px 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 28px 60px rgba(0,0,0,0.40);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms cubic-bezier(0.2,0.2,0.38,0.9), 
                transform 160ms cubic-bezier(0.2,0.2,0.38,0.9),
                visibility 160ms;
    visibility: hidden;
    z-index: 120;
}

/* Dropdown visible states */
.has-dropdown.open .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

/* Dropdown items: larger padding, refined typography */
.dropdown a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.12s ease, background 0.12s ease;
    white-space: nowrap;
}

.dropdown a:hover {
    color: rgba(255,255,255,1);
    background: rgba(255,255,255,0.06);
}

.dropdown a:focus {
    color: rgba(255,255,255,1);
    outline: 2px solid rgba(230,0,18,0.18);
    outline-offset: -4px;
}

/* Language select: refined, blends with nav */
#locale-select {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-radius: 0;
    padding: 8px 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 20px;
}

#locale-select:hover {
    color: rgba(255,255,255,1);
    border-bottom-color: rgba(255,255,255,0.4);
}

#locale-select:focus {
    outline: 2px solid rgba(230,0,18,0.18);
    outline-offset: 4px;
    border-bottom-color: var(--color-accent);
    color: rgba(255,255,255,1);
}

#locale-select option {
    background: var(--color-header-bg);
    color: rgba(255,255,255,0.85);
}

/* Burger (mobile) */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    z-index: 1001;
}

.burger:focus {
    outline: 2px solid rgba(230,0,18,0.18);
    outline-offset: 4px;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    margin: 5px 0;
    transition: background 0.3s ease;
}

/* Mobile menu */
@media (max-width: 768px) {
    .burger {
        display: block;
    }

    /* Make the mobile menu occupy the full screen when opened */
    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(51,51,51,0.98);
        backdrop-filter: blur(12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        /* ensure full viewport height and stacking */
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center; /* center menu vertically */
        align-items: center;     /* center menu horizontally */
        padding: 0;              /* remove top-only padding */
        overflow-y: auto;
    }

    /* Visible state becomes a full-screen overlay with centered items */
    .nav-menu.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 18px;
        padding: 24px;
        align-items: center; /* center items for full-screen layout */
        margin: 0;
    }

    .nav-menu a,
    .dropdown-toggle {
        padding: 14px 20px;
        font-size: 1.15rem;
        text-align: center;
        width: 100%;
        max-width: 420px; /* keeps items comfortable on large phones */
        border-radius: 10px;
    }

    /* Make dropdown part of the vertical flow and indented */
    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        padding: 0;
        width: 100%;
        max-width: 420px;
    }

    .has-dropdown .dropdown a {
        padding-left: 28px;
        text-align: left;
    }
}

/* Main hero section */
/*.hero {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: center;*/
/*    align-items: flex-start;*/
/*    max-width: 900px;*/
/*    margin: 80px auto;*/
/*    padding: 0 20px;*/
/*    min-height: 60vh;*/
/*}*/

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--site-padding);
    color: var(--color-nav-text);
    align-items: flex-start;
    text-align: left;

    background-image:
        linear-gradient(var(--hero-overlay), var(--hero-overlay)),
        url('../images/frontend/irox-hero.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-nav-text);
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-text); /* ελαφρύ μαύρο */
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Call to action button */
.btn-primary {
    background-color: var(--color-accent); /* κόκκινο ThinkPad */
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
}

/* Footer */
footer {
    border-top: 1px solid var(--color-header-border);
    padding: 2rem 3rem;
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
    margin-top: 100px;
}

/* Contact page */

.contact {
    padding: 120px 8%;
    background-color: #ffffff;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.contact label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.contact input,
.contact textarea {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.02);
    transition: box-shadow 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

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

.contact button {
    padding: 0.75rem 2rem;
    background-color: #E60012;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #a3000a;
}

/* Restore original menu/header styles and mobile spacing (override Apple-specific changes) */
header {
    background: var(--color-header-bg); /* σκούρο γκρι */
    border-bottom: 1px solid var(--color-header-border);
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    height: 30px;

    position: sticky;
    top: 0;
    z-index: 1000;
}

/* restore logo size */
.logo-img {
    height: var(--logo-height);
    width: auto;
    display: block;
}

/* reset nav link padding/hover transform */
nav ul li a {
    padding: 0;
    border-radius: 0;
    transition: color 0.3s ease;
    transform: none;
}

/* dropdown: remove blur/backdrop and restore original shadow/padding */
.dropdown {
    background: var(--color-dropdown-bg);
    min-width: 240px;
    padding: 14px 0;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* mobile nav padding-top restore */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        inset: 0;
        background: var(--color-header-bg); /* restored */
        padding-top: 120px;
    }

    .nav-menu a {
        color: #fff;
    }
}

/* ensure dropdown shows correctly when .has-dropdown.open is toggled on mobile */
@media (max-width: 768px) {
    .has-dropdown .dropdown {
        display: none;
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 12px;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }
}

/* Responsive */

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        background-position: center top;
    }

    .hero h1 {
        font-size: 2.1rem;
        max-width: 100%;
    }

    .hero p {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(15,15,15,0.96);
        transition: transform 0.35s ease;
        padding-top: 120px;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .nav-menu a {
        font-size: 1.6rem;
        color: #fff;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .btn-primary {
        padding: 0.75rem 1.6rem;
        border-radius: 14px;
    }

    .project-card:hover,
    .project-card {
        transform: none;
        box-shadow: 0 10px 30px rgba(12,14,20,0.06);
    }

    .nav-menu {
        padding-top: 96px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 48vh;
        padding: 0 4%;
    }

    .hero h1 {
        font-size: 1.85rem;
        line-height: 1.15;
    }

    .hero p {
        font-size: 1rem;
    }
}


/* About page */

.about {
    padding: 120px 8%;
    background-color: #ffffff;
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.about-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    max-width: 520px;
}

.about-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow:
        0 28px 60px rgba(2,6,23,0.08);
}

/* subtle Apple-ish accent */
.about::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin-top: 80px;
}

/* Responsive */

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-description {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 80px 6%;
    }

    .about-text h1 {
        font-size: 2.2rem;
    }
}


.logo {
    display: flex;
    align-items: center;
    height: 100%;
}


/* Projects page */

.projects {
    padding: 120px 8%;
    background: #fff;
}

.projects-header {
    max-width: 700px;
    margin-bottom: 80px;
}

.projects-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.projects-header p {
    font-size: 1.15rem;
    color: #555;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-card {
    background: var(--color-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
    box-shadow: none;
}

.project-card img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: #000;
}

.project-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

/* subtle brand accent */
.project-card::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 18px;
    border-radius: 2px;
}

/* Responsive */

@media (max-width: 1000px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects {
        padding: 80px 6%;
    }

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

    .projects-header h1 {
        font-size: 2.2rem;
    }
}


.has-dropdown {
    position: relative;
}

.dropdown {
    z-index: 2000;
}
.has-dropdown .nav-link {
    font-weight: 600;
    color: #fff;
    cursor: default;
}

/* Centered dropdown */
.dropdown {
    position: absolute;
    top: calc(100%);
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    background: rgba(17,17,17,0.96);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 12px 8px;
    box-shadow: 0 18px 40px rgba(2,6,23,0.45);
    transition: opacity 0.18s ease, transform 0.18s ease;

    opacity: 0;
    pointer-events: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 26px;
    font-size: 0.95rem;
    color: #ddd;
    text-align: center;
}

.dropdown a:hover {
    color: #E60012;
    background: rgba(255,255,255,0.05);
}

@media (max-width: 768px) {

    .has-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;

        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 12px;

        display: none;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .dropdown a {
        font-size: 1.2rem;
        padding: 12px 0;
        color: #ccc;
    }
}

/* Small UI helpers */
a, button {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* larger clickable area for burger and visible focus */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
}
.burger:focus {
    outline: 3px solid rgba(230,0,18,0.18);
    outline-offset: 4px;
}

/* nav-menu open state (mobile) */
.nav-menu {
    transition: transform 0.35s ease, opacity 0.25s ease;
    /* transform: translateX(100%); */
}
.nav-menu.open {
    transform: translateX(0);
}

/* nav links: larger hit area and focus ring */
nav ul li a,
.nav-link,
.nav-menu a {
    padding: 6px 8px;
    display: inline-block;
}
nav ul li a:focus,
.nav-link:focus,
.nav-menu a:focus {
    outline: 3px solid rgba(230,0,18,0.14);
    outline-offset: 4px;
    border-radius: 8px;
}

/* dropdown toggle cursor and accessible appearance */
.dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
}
.dropdown-toggle[aria-expanded="true"] {
    color: #E60012;
}

/* ensure dropdown links receive keyboard focus only when visible */
.dropdown a[role="menuitem"] {
    display: block;
    padding: 10px 26px;
    color: #ddd;
}
.has-dropdown .dropdown {
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
}
.has-dropdown:hover .dropdown,
.has-dropdown.hover .dropdown,
.has-dropdown.open .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* mobile-specific adjustments */
@media (max-width: 768px) {
    .burger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: #333333;
        padding-top: 120px;
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 18px;
        padding: 24px;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 12px 18px;
        color: #fff;
    }
}

/* Improve menu alignment & hit areas for better UX on desktop and mobile */

/* Ensure header content is centered vertically and constrained */
.nav-wrapper {
    display: flex;
    align-items: center; /* vertical center */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Make nav a proper flex container and align items */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Top-level list layout and spacing */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 28px;             /* balanced spacing */
    align-items: center;   /* vertical centering of items */
    margin: 0;
    padding: 0;
}

/* Increase clickable area for each menu item */
nav ul li > a,
.dropdown-toggle {
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure language links are smaller and grouped */
.nav-menu ul li:first-child,
.nav-menu ul li:nth-child(2) {
    font-size: 0.95rem;
    padding: 2px 6px;
}

/* Align dropdown centered under its parent and widen slightly */
.has-dropdown {
    position: relative;
    display: inline-flex;
}

/* dropdown visual tweaks for neat alignment */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px; /* slightly wider for comfortable hit area */
    padding: 8px 0;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    visibility: hidden;
}

/* Visible states controlled by .open or focus-within */
.has-dropdown.open .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

/* Dropdown items alignment */
.dropdown a {
    display: block;
    padding: 10px 22px;
    color: #ddd;
    text-align: left;
}

/* Better focus visual for keyboard users */
nav ul li > a:focus,
.dropdown-toggle:focus,
.dropdown a:focus {
    outline: 3px solid rgba(230,0,18,0.12);
    outline-offset: 4px;
    border-radius: 8px;
}

/* Mobile: center nav items, larger tap targets */
@media (max-width: 768px) {
    .nav-menu ul {
        flex-direction: column;
        gap: 18px;
        padding: 24px;
        align-items: stretch;
    }

    .nav-menu a,
    .dropdown-toggle {
        padding: 14px 18px;
        font-size: 1.1rem;
        text-align: left;
    }

    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .has-dropdown .dropdown a {
        padding-left: 34px;
    }
}

/* ...existing code... */

:root {
    /* Colors */
    --color-bg: #fff;
    --color-text: #000;
    --color-accent: #E60012;
    --color-accent-dark: #a3000a;
    --color-header-bg: #333333;
    --color-header-border: #555555;
    --color-nav-text: #fff;
    --color-dropdown-bg: #111;
    --color-muted: #555;
    --color-subtle: #f9f9f9;

    /* Overlays */
    --hero-overlay: rgba(0,0,0,0.45);
    --muted-text: rgba(218, 215, 215, 0.8);

    /* Spacing / sizes */
    --site-padding: 8%;
    --max-width: 1100px;
    --logo-height: 60px;

    /* Shadows */
    --shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.12);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 10px 30px rgba(230,0,18,0.18);

    /* Radii */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

/* Language select box styling */
#locale-select {
    background: transparent;
    color: var(--color-nav-text);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}

#locale-select:hover {
    border-color: rgba(255,255,255,0.4);
    background-color: rgba(255,255,255,0.05);
}

#locale-select:focus {
    outline: 3px solid rgba(230,0,18,0.12);
    outline-offset: 4px;
    border-color: var(--color-accent);
}

#locale-select option {
    background: var(--color-header-bg);
    color: var(--color-nav-text);
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
