:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f9f9f9;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-primary: #2c3e50;
  --color-accent: #c5a059;
  --color-border: #e0e0e0;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --container-width: 1200px;
  --header-height: 140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

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

a:hover {
  color: var(--color-accent);
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  height: var(--header-height);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 120px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  font-weight: 500;
  color: var(--color-text);
}

.lang-switcher {
  margin-left: 20px;
  display: flex;
  gap: 10px;
}

.lang-switcher a {
  font-size: 0.9em;
  text-transform: uppercase;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 20px;
  }

  nav ul.active {
    display: flex;
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Hero */
.hero {
  background: var(--color-bg-alt);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
}

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

/* Sections */
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--color-primary);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.card-meta {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 15px;
}

/* Footer */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0;
  margin-top: auto;
}

footer a {
  color: #ccc;
}

footer a:hover {
  color: #fff;
}

/* RTL Support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .lang-switcher {
  margin-left: 0;
  margin-right: 20px;
}

[dir="rtl"] .hero {
  text-align: center;
  /* Hero usually centered anyway */
}

[dir="rtl"] nav ul {
  padding-right: 0;
}