:root { 
    /* Main color palette */
    --primary-color: #f5f5f7;
    --secondary-color: #ffffff;
    --accent-color: #007aff;
    --accent-light: #47a3ff;
    --text-color: #1d1d1f;
    --text-secondary: #86868b;
    --card-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Header Styling */
header {
    width: 100%;
    padding: 1rem 0;
    background: var(--secondary-color);
    box-shadow: var(--card-shadow);
}

header nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

header nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav a:hover,
header nav a.active {
    color: var(--accent-color);
}

/* Footer Styling */
footer {
    width: 100%;
    padding: 1rem;
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-switcher .active {
    color: var(--accent-color);
    font-weight: 500;
}

/* Replace absolute units with relative units */
.container {
    width: 90%;  /* Instead of fixed pixels */
    max-width: 1200px;
    margin: 0 auto;
}

/* Use rem instead of px for typography */
html {
    font-size: 16px; /* Base font size */
}

h1 { font-size: 2rem; }  /* Instead of px */
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

/* Use percentage or vh/vw for images */
.project-image {
    height: 30vh;  /* Instead of fixed height */
}

/* Use rem for padding/margin */
.card-section {
    padding: 1.5rem;  /* Instead of px */
    margin: 1.5rem auto;
}