/* ============================================
   Co-Living Design Lab - Stylesheet
   Minimal & Nature-Inspired Design
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #2D5F3E;
    --primary-light: #3A7A50;
    --primary-dark: #1E4A2E;
    --secondary: #A8D5BA;
    --secondary-light: #D0EBDA;
    --accent: #C4A35A;
    --accent-light: #E0CFA0;
    --bg-color: #F9F7F2;
    --bg-alt: #EFF5F0;
    --text-color: #2C2C2C;
    --text-light: #5A5A5A;
    --text-muted: #8A8A8A;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-light);
}

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

ul {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-alt);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--secondary-light);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Wave Dividers ---------- */
.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.wave-top {
    top: 0;
}

.wave-bottom {
    bottom: 0;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition);
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter var(--transition);
}

.navbar.scrolled .nav-logo-img {
    filter: none;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

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

.navbar.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: all var(--transition);
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--text-color);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--text-color);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
    background: var(--text-color);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a3c28 0%, #2D5F3E 40%, #3A7A50 70%, #2a5538 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(168, 213, 186, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(196, 163, 90, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 24px;
    width: 100%;
    max-width: 640px;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 24px;
}

.hero-logo {
    max-width: 420px;
    width: 80%;
    height: auto;
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-light);
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
    opacity: 0.6;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(8px);
    }
    60% {
        transform: rotate(45deg) translateY(4px);
    }
}

/* Decorative leaves */
.hero-leaf {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 0 60% 0 60%;
    opacity: 0.06;
    pointer-events: none;
}

.hero-leaf-1 {
    top: 10%;
    right: -40px;
    background: var(--secondary);
    transform: rotate(-30deg);
}

.hero-leaf-2 {
    bottom: 15%;
    left: -60px;
    background: var(--accent);
    transform: rotate(150deg);
    width: 160px;
    height: 160px;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-highlight {
    font-size: 1.3rem !important;
    font-weight: 500;
    color: var(--primary) !important;
    line-height: 1.6;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 28px !important;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(168, 213, 186, 0.3);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--primary);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ---------- Approach ---------- */
.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

.approach-intro {
    text-align: center;
    margin-bottom: 50px;
}

.lead-text {
    font-size: 1.35rem;
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

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

.approach-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(168, 213, 186, 0.2);
}

.approach-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.approach-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--primary);
}

.approach-item h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.approach-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------- Activities ---------- */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.activity-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(168, 213, 186, 0.15);
    position: relative;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.activity-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--secondary-light);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
    opacity: 0.7;
}

.activity-icon {
    width: 44px;
    height: 44px;
    color: var(--primary);
    margin-bottom: 16px;
}

.activity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 12px;
    padding-right: 40px;
}

.activity-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(168, 213, 186, 0.2);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(45, 95, 62, 0.15);
    border: 3px solid var(--secondary-light);
    transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(45, 95, 62, 0.25);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-avatar-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    color: inherit;
    text-decoration: none;
}

.team-avatar:has(.team-avatar-link:focus-visible) {
    box-shadow: 0 0 0 2px var(--secondary), 0 4px 16px rgba(45, 95, 62, 0.15);
}

.team-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.team-affiliation {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 500;
}

.team-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

/* ---------- Research & Projects ---------- */
.research-projects {
    display: grid;
    gap: 24px;
    margin-bottom: 60px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(168, 213, 186, 0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.project-featured {
    border-left: 4px solid var(--accent);
}

.project-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.project-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.project-team {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.project-team span {
    font-size: 0.78rem;
    background: var(--bg-alt);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(168, 213, 186, 0.3);
}

/* Publications */
.publications {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(168, 213, 186, 0.15);
}

.pub-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-light);
}

.pub-list li {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-left: 16px;
    position: relative;
}

.pub-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
}

.pub-list li:last-child {
    border-bottom: none;
}

.pub-list li em {
    color: var(--text-color);
    font-weight: 500;
}

/* ---------- Partners ---------- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.partner-group {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(168, 213, 186, 0.2);
}

.partner-group h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.partner-group ul li {
    font-size: 0.88rem;
    color: var(--text-light);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.5;
}

.partner-group ul li:last-child {
    border-bottom: none;
}

.partner-group ul li strong {
    color: var(--text-color);
    font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer h3 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-logo {
        max-width: 340px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        max-width: 360px;
        margin: 0 auto;
    }

    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-info {
        grid-column: 1 / -1;
    }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.9rem;
    }

    /* Mobile nav */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--text-color);
        font-size: 1rem;
    }

    .nav-menu .nav-link:hover {
        color: var(--primary);
    }

    /* Hero mobile */
    .hero-logo {
        max-width: 280px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-desc br {
        display: none;
    }

    /* About mobile */
    .about-highlight {
        font-size: 1.1rem !important;
    }

    /* Approach mobile */
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lead-text {
        font-size: 1.15rem;
    }

    /* Activities mobile */
    .activities-grid {
        grid-template-columns: 1fr;
    }

    /* Team mobile */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .team-card {
        padding: 28px 16px;
    }

    .team-card h3 {
        font-size: 0.85rem;
    }

    /* Research mobile */
    .project-card {
        padding: 24px;
    }

    .project-team {
        gap: 6px;
    }

    .project-team span {
        font-size: 0.72rem;
    }

    .publications {
        padding: 28px 20px;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-info {
        grid-column: auto;
    }

    /* Wave height on mobile */
    .wave-divider svg {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 220px;
    }

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

    .section-title {
        font-size: 1.6rem;
    }

    .activity-number {
        font-size: 2.2rem;
    }
}

/* ---------- Partners Section Toggle ---------- */
body:not([data-show-partners="true"]) #isbirlikleri {
    display: none;
}

body:not([data-show-partners="true"]) .nav-link[href="#isbirlikleri"] {
    display: none;
}

/* ---------- Team Profile Links ---------- */
.team-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition);
}

.team-card h3 a:hover {
    color: var(--primary);
}

/* ---------- Publication Cards ---------- */
.pub-cards {
    display: grid;
    gap: 20px;
}

.pub-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(168, 213, 186, 0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}

.pub-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pub-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
    font-style: italic;
}

.pub-card .pub-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- Subtle Demo Nav Link ---------- */
.nav-demo-link {
    font-size: 0.7rem !important;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.45;
    transition: opacity var(--transition);
}

.nav-demo-link:hover {
    opacity: 1;
}

/* ---------- Language Switcher ---------- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all var(--transition);
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
}

.lang-switch button.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.lang-switch .lang-divider {
    color: rgba(255, 255, 255, 0.3);
    user-select: none;
}

.navbar.scrolled .lang-switch button {
    color: var(--text-muted);
}

.navbar.scrolled .lang-switch button.active {
    color: var(--primary);
    background: var(--secondary-light);
}

.navbar.scrolled .lang-switch .lang-divider {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .lang-switch {
        margin-left: 0;
        margin-top: 8px;
    }

    .lang-switch button {
        color: var(--text-muted);
    }

    .lang-switch button.active {
        color: var(--primary);
        background: var(--secondary-light);
    }

    .lang-switch .lang-divider {
        color: var(--text-muted);
    }

    .pub-card {
        padding: 20px;
    }
}

