:root {
    --primary-color: #000000;
    --background-color: #ffffff;
    --text-color: #000000;
    --hover-color: #666666;
    --transition-speed: 0.3s;
    /* Responsive font sizes */
    --fs-xxl: clamp(2.5rem, 5vw + 1rem, 4.5rem);  /* Hero title */
    --fs-xl: clamp(1.75rem, 3vw + 1rem, 3rem);    /* Section titles */
    --fs-lg: clamp(1.1rem, 2vw + 0.5rem, 1.5rem); /* Hero paragraph */
    --fs-md: clamp(0.9rem, 1vw + 0.5rem, 1.2rem); /* Body text */
    --fs-sm: clamp(0.8rem, 0.8vw + 0.5rem, 1rem); /* Small text */
}

/* Dark theme */
[data-theme="dark"] {
    --primary-color: #ffffff;
    --background-color: #000000;
    --text-color: #ffffff;
    --hover-color: #999999;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

main {
    flex: 1 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6, p, a {
    text-transform: lowercase;
}

/* Header Styles */
.header {
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: var(--background-color);
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.logo img {
    height: 40px;
    width: auto;
    transition: opacity var(--transition-speed);
    object-fit: contain;
}

.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

/* Dark theme logo switch */
[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="dark"] .logo-light {
    display: none;
}

/* Update header layout */
.header .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media screen and (min-width: 1920px) {
    .logo img {
        height: 48px;
    }
}

@media screen and (max-width: 768px) {
    .logo img {
        height: 32px;
    }
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--fs-sm);
    font-weight: 300;
    text-transform: lowercase;
    transition: var(--transition-speed);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--text-color);
    transition: width var(--transition-speed);
}

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

/* Menu Toggle */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--fs-sm);
    color: var(--text-color);
    text-transform: lowercase;
    display: none;
}

.menu-toggle span {
    display: none; /* Remove hamburger lines */
}

.menu-toggle::before {
    content: 'menu';
    transition: var(--transition-speed);
}

.menu-toggle.active::before {
    content: 'close';
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    text-align: center;
}

.menu-links {
    margin-top: -5rem;
}

.menu-links a {
    display: inline-block;
    padding: 0.5rem 0;
    position: relative;
}

.menu-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0.3rem;
    left: 0;
    background-color: var(--text-color);
    transition: width var(--transition-speed);
}

.menu-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
}

.hero h1 {
    font-size: var(--fs-xxl);
    font-weight: 300;
    line-height: 1.2;
}

.hero p {
    font-size: var(--fs-lg);
    font-weight: 300;
}

.hero-link {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--text-color);
    transition: var(--transition-speed);
    font-weight: 300;
}

/* About Section */
/* .about-section {
    padding: 6rem 0;
} */

.about-content h2 {
    font-size: var(--fs-xl);
    font-weight: 300;
    margin-bottom: 3rem;
}

.about-text p {
    font-size: var(--fs-md);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-content h2 {
    font-size: var(--fs-xl);
    font-weight: 300;
    margin-bottom: 3rem;
}

.contact-item h3 {
    font-size: var(--fs-md);
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-item p,
.contact-item a {
    font-size: var(--fs-md);
    font-weight: 300;
    text-decoration: none;
    color: var(--text-color);
}

/* Footer */
.footer {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 300;
    margin-top: auto;
}

.footer .row {
    margin: 0;
}

.footer a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-size: var(--fs-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .contact-item {
        text-align: left;
        margin-bottom: 2rem;
    }
}

@media (max-width: 991px) {
    .menu-overlay {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .menu-links a {
        font-size: 2rem;
        margin: 1rem 0;
    }
} 

/* Language Selector */
.language-selector {
  position: relative;
  display: inline-block;
}

.lang-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--text-color);
  cursor: pointer;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--text-color);
}

.lang-arrow {
  font-size: 0.8rem;
  transition: transform var(--transition-speed);
}

.lang-toggle.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  background-color: var(--background-color);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
  transform: translateY(10px);
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  border: 1px solid var(--text-color);
}

.language-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 300;
  transition: color var(--transition-speed);
}

.lang-dropdown a:hover {
  color: var(--hover-color);
}

.lang-dropdown a.active {
  font-weight: 400;
} 

/* Add theme toggle styles */
.theme-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-speed);
    position: relative;
    width: 32px;
    height: 32px;
}

.theme-toggle:hover {
    color: var(--hover-color);
}

.theme-icon {
    position: absolute;
    transition: all var(--transition-speed);
}

.theme-icon.sun {
    opacity: 1;
    transform: scale(1);
}

.theme-icon.moon {
    opacity: 0;
    transform: scale(0.5);
}

[data-theme="dark"] .theme-icon.sun {
    opacity: 0;
    transform: scale(0.5);
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 1;
    transform: scale(1);
}

/* Update the footer styles to align items better */
.footer .d-flex {
    gap: 1rem;
} 

/* Update container padding */
.container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

/* Update footer links spacing */
.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    margin: 0;
}

/* Dark theme border adjustment */
[data-theme="dark"] .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .lang-dropdown {
    border: 1px solid var(--text-color);
} 

/* Media Queries for extreme screen sizes */
@media screen and (min-width: 2560px) {
    :root {
        --fs-xxl: clamp(3.5rem, 6vw + 1rem, 6rem);
        --fs-xl: clamp(2.5rem, 4vw + 1rem, 4rem);
        --fs-lg: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
        --fs-md: clamp(1.2rem, 1.5vw + 0.5rem, 1.5rem);
        --fs-sm: clamp(1rem, 1vw + 0.5rem, 1.2rem);
    }

    .container {
        max-width: 2000px;
        margin: 0 auto;
    }

    .header {
        padding: 2rem 0;
    }

    .footer {
        padding: 2rem 0;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --fs-xxl: clamp(2rem, 4vw + 1rem, 3rem);
        --fs-xl: clamp(1.5rem, 2.5vw + 1rem, 2rem);
        --fs-lg: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
        --fs-md: clamp(0.9rem, 1vw + 0.5rem, 1rem);
        --fs-sm: clamp(0.8rem, 0.8vw + 0.5rem, 0.9rem);
    }

    .hero-content {
        text-align: center;
    }

    .menu-links a {
        font-size: var(--fs-xl);
    }
}

/* Add container width control for different screen sizes */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        max-width: 1800px;
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .hero-content,
    .about-content,
    .contact-content {
        max-width: 1600px;
    }
}

@media screen and (min-width: 2560px) {
    .container {
        max-width: 2400px;
        padding-left: 6rem;
        padding-right: 6rem;
    }

    .hero-content,
    .about-content,
    .contact-content {
        max-width: 2000px;
    }
}

/* Add padding control for different screen sizes */
@media screen and (min-width: 1400px) {
    .header,
    .footer {
        padding: 2rem 0;
    }

    .hero {
        padding: 4rem 0 6rem;
    }

    .about-section,
    .contact-section {
        padding: 8rem 0;
    }
} 

/* Section spacing and alignment */
.section {
    padding: 6rem 0;
}

.hero-content,
.about-content,
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Update media queries for consistent scaling */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        max-width: 1800px;
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .hero-content,
    .about-content,
    .contact-content {
        max-width: 1600px;
    }
}

@media screen and (min-width: 2560px) {
    .container {
        max-width: 2400px;
        padding-left: 6rem;
        padding-right: 6rem;
    }

    .hero-content,
    .about-content,
    .contact-content {
        max-width: 2000px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        padding: 6rem 0;
    }
} 

/* Update Logo Styles */
.text-logo {
    font-size: var(--fs-md);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    padding: 0;
    margin: 0;
    display: block;
}

.text-logo:hover {
    color: var(--text-color);
}

.image-logo {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative;
    width: 48px;
    height: 48px;
}

.image-logo img {
    height: 48px;
    width: auto;
    transition: all var(--transition-speed);
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .text-logo {
        font-size: var(--fs-sm);
        position: static;
    }

    .image-logo {
        width: 40px;
        height: 40px;
        margin-right: 3rem !important; /* Adjust spacing before menu button */
    }

    .image-logo img {
        height: 40px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        color: var(--text-color);
        font-size: var(--fs-sm);
    }

    .menu-toggle::before {
        content: 'menu';
    }

    .menu-toggle.active::before {
        content: 'close';
    }

    /* Hide desktop nav links */
    .nav-links {
        display: none;
    }

    /* Mobile menu overlay */
    .menu-overlay {
        background-color: var(--background-color);
    }

    .menu-content {
        padding: 6rem 2rem;
    }

    .menu-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .menu-links a {
        font-size: var(--fs-xl);
        color: var(--text-color);
        text-decoration: none;
    }

    /* Mobile footer */
    .footer .row {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer .d-flex {
        justify-content: center;
    }

    .footer-links {
        margin: 1rem 0;
    }

    .footer-links a {
        margin: 0 1rem;
    }

    .language-selector {
        margin-right: 1rem;
    }
}

/* Dark theme mobile adjustments */
@media screen and (max-width: 768px) {
    [data-theme="dark"] .menu-overlay {
        background-color: var(--background-color);
    }
}

/* Light mode */
.logo-light.logo-default {
    opacity: 1;
    visibility: visible;
}

.logo-light.logo-hover {
    opacity: 0;
    visibility: hidden;
}

.logo-dark {
    opacity: 0;
    visibility: hidden;
}

/* Light mode hover */
.image-logo:hover .logo-light.logo-default {
    opacity: 0;
    visibility: hidden;
}

.image-logo:hover .logo-light.logo-hover {
    opacity: 1;
    visibility: visible;
}

/* Dark mode */
[data-theme="dark"] .logo-light {
    opacity: 0;
    visibility: hidden;
}

[data-theme="dark"] .logo-dark.logo-default {
    opacity: 1;
    visibility: visible;
}

[data-theme="dark"] .logo-dark.logo-hover {
    opacity: 0;
    visibility: hidden;
}

/* Dark mode hover */
[data-theme="dark"] .image-logo:hover .logo-dark.logo-default {
    opacity: 0;
    visibility: hidden;
}

[data-theme="dark"] .image-logo:hover .logo-dark.logo-hover {
    opacity: 1;
    visibility: visible;
}

/* Responsive logo sizes */
@media screen and (min-width: 1920px) {
    .image-logo {
        width: 56px;
        height: 56px;
    }
    .image-logo img {
        height: 56px;
    }
}

@media screen and (min-width: 2560px) {
    .image-logo {
        width: 64px;
        height: 64px;
    }
    .image-logo img {
        height: 64px;
    }
}

@media screen and (max-width: 768px) {
    .image-logo {
        width: 40px;
        height: 40px;
    }
    .image-logo img {
        height: 40px;
    }
} 

/* Mobile Header Layout */
@media screen and (max-width: 768px) {
    .header .row {
        position: relative;
    }

    .text-logo {
        font-size: var(--fs-sm);
        position: static;
    }

    .image-logo {
        width: 40px;
        height: 40px;
        margin-right: 3rem !important; /* Adjust spacing before menu button */
    }

    .image-logo img {
        height: 40px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        color: var(--text-color);
        font-size: var(--fs-sm);
    }

    .menu-toggle::before {
        content: 'menu';
    }

    .menu-toggle.active::before {
        content: 'close';
    }
}

/* Mobile Footer Layout */
@media screen and (max-width: 768px) {
    .footer .row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer .col-md-3,
    .footer .col-md-6 {
        width: 100%;
        text-align: center;
    }

    .footer .d-flex {
        justify-content: center;
    }

    .language-selector {
        margin-right: 1rem;
    }

    .footer-links {
        margin: 1rem 0;
    }

    .footer-links a {
        margin: 0 1rem;
    }
}

/* Mobile Menu Overlay */
@media screen and (max-width: 768px) {
    .menu-overlay {
        background-color: var(--background-color);
    }

    .menu-content {
        width: 100%;
        padding: 2rem;
    }

    .menu-links {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-top: 4rem;
    }

    .menu-links a {
        font-size: var(--fs-xl);
        text-decoration: none;
        color: var(--text-color);
    }
}

/* Dark theme adjustments for mobile */
@media screen and (max-width: 768px) {
    [data-theme="dark"] .menu-overlay {
        background-color: var(--background-color);
    }
} 