@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i|Playfair+Display:400,400i,500,500i,600,600i,700,700i&subset=cyrillic');

:root {
  --bg-color: #f8f9fa;
  --text-color: #4a4a4a;
  --text-muted: #6c757d;
  --card-bg: #ffffff;
  --accent-color: #2c4964;
  --max-width: 1400px; /* Increased for large screens */
  --header-height: 70px;
  --border-radius: 12px;
  --font-main: "Open Sans", sans-serif;
  --font-heading: "Playfair Display", serif;
  --font-sub: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #7c787a;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Responsive adjustments */
@media (min-width: 1600px) {
  :root {
    --max-width: 1600px;
  }
}

@media (max-width: 1200px) {
  :root {
    --max-width: 96%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: #345676;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; border-bottom: 2px solid var(--accent-color); padding-bottom: 0.5rem; display: inline-block; }
h3 { font-size: 1.5rem; margin-top: 0; }

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 5rem 0;
}

#site-header {
  background: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

#site-footer {
  background: #fff;
  padding: 3rem 0;
  border-top: 1px solid #eaeaea;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
}
