@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
:root {
  --main-color: #276869;
  --accent-color: #DAAD29;
  --bg-light: #f5f7fa;
  --card-bg: #fff;
  --text-dark: #222;
  --text-light: #fff;
  --text-muted: #444;
  --border-radius: 18px;
  --shadow: 0 4px 24px rgba(39,104,105,0.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-muted);
  min-height: 100vh;
}
header {
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(39,104,105,0.04);
  position: sticky;
  top: 0;
  z-index: 10;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 2px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--main-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
}
main {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
section, .card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem;
  margin-bottom: 2.5rem;
}
h1, h2, h3, h4 {
  color: var(--main-color);
  margin-bottom: 1.1rem;
  font-weight: 700;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.1rem; color: var(--accent-color); font-weight: bold; }
p, ul, li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.7rem;
}
ul { padding-left: 1.2rem; }
img.responsive, .home-img {
  max-width: 350px;
  margin: 1.5rem auto 1rem auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(39,104,105,0.10);
}
footer {
  background: var(--card-bg);
  color: var(--text-muted);
  box-shadow: 0 -2px 8px rgba(39,104,105,0.04);
  padding: 2.2rem 0 1rem 0;
  margin-top: 2rem;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 220px;
}
.footer-logo {
  height: 32px;
  margin-bottom: 0.7rem;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--main-color);
  font-size: 1rem;
}
.footer-socials-row {
  margin-top: 1.1rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
}
.footer-socials-row a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(0.5) sepia(1) hue-rotate(160deg) saturate(2);
  transition: filter 0.2s;
}
.footer-socials-row a img:hover {
  filter: brightness(0.7) invert(0.7) sepia(1) hue-rotate(180deg) saturate(2);
}
.footer-col h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.7rem;
}
.lang-switcher {
  position: relative;
  margin-left: auto;
  margin-right: 0;
  display: flex;
  align-items: center;
  z-index: 10;
}
.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #276869;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(39,104,105,0.08);
  padding: 6px 18px 6px 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  outline: none;
  position: relative;
}
.lang-switcher-btn:after {
  content: '\25BC';
  font-size: 0.8em;
  margin-left: 0.5em;
  color: #DAAD29;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(39,104,105,0.13);
  min-width: 140px;
  padding: 0.3rem 0.2rem;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 20;
}
.lang-switcher.open .lang-dropdown {
  display: flex;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #276869;
  border: none;
  border-radius: 10px;
  padding: 7px 14px 7px 10px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-dropdown-btn:hover {
  background: #f5f7fa;
  color: #276869;
}
.lang-flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}
.project-row {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.project-row.reverse {
  flex-direction: row-reverse;
}
.project-img-col {
  flex: 1 1 0;
  max-width: 33%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.project-img-col img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(39,104,105,0.10);
  margin-bottom: 1.2rem;
}
.project-content-col {
  flex: 2 1 0;
  max-width: 67%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.about-row {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.about-col {
  flex: 1 1 0;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem;
}
.about-row.reverse {
  flex-direction: row-reverse;
}
@media (max-width: 900px) {
  .container, .footer-flex { padding: 1rem; }
  .footer-flex { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  nav { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .nav-links { flex-direction: column; gap: 0.5rem; width: 100%; }
  .logo { margin-bottom: 0.5rem; }
  .lang-switcher {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: flex-start;
  }
  .lang-switcher-btn { font-size: 0.98rem; padding: 6px 12px 6px 8px; }
  .lang-dropdown { min-width: 110px; }
  .lang-dropdown-btn { font-size: 0.97rem; padding: 6px 10px 6px 7px; }
  .project-row, .project-row.reverse { flex-direction: column; gap: 1.2rem; }
  .project-img-col, .project-content-col { max-width: 100%; }
  .project-img-col img { max-width: 100%; }
  .about-row, .about-row.reverse { flex-direction: column; gap: 1.2rem; }
  .about-col { max-width: 100%; padding: 1.2rem 1rem; }
}
@media (max-width: 600px) {
  .container, .footer-flex { padding: 0.5rem; }
  section, .card { padding: 1rem; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .footer-logo { height: 24px; }
} 