/* wa-theme.css — тема, сгенерированная для восстановленного сайта (deepseek/deepseek-v4-pro, попытка 1). */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f2f5f3;
  color: #2d3436;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: #1B4332;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #081c15;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #1B4332;
  line-height: 1.3;
  margin: 0 0 0.5em 0;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
  margin-top: 1.5em;
}

p {
  margin: 0 0 1.2em 0;
  line-height: 1.6;
}

ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  flex: 1;
}

.header {
  background: linear-gradient(135deg, #1B4332 0%, #2d6a4f 100%);
  color: #ffffff;
  padding: 1.5rem 0;
  margin-bottom: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
}

.header .logo {
  background-color: #ffffff;
  display: inline-block;
  padding: 0.8em 1.5em;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header .logo a {
  color: #1B4332;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: bold;
}

.header .logo img {
  max-height: 60px;
  width: auto;
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.nav ul li {
  list-style: none;
}

.nav ul li a {
  display: block;
  padding: 12px 20px;
  color: #ffffff;
  background-color: rgba(255,255,255,0.12);
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav ul li a:hover,
.nav ul li a:focus {
  background-color: rgba(255,255,255,0.25);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  color: #ffffff;
}

.nav ul li.selected a {
  background-color: #ffffff;
  color: #1B4332;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav ul li.selected a:hover {
  background-color: #f0fdf4;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.nav ul ul {
  display: none; /* hide nested menus if any */
}

.clearboth {
  clear: both;
}

#coin-slider {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  background-color: #1B4332; /* fallback */
}

#coin-slider img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* if known dimensions, but we rely on img sizing */
}

#coin-slider span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 70%, transparent 100%);
  color: #ffffff;
  text-align: center;
}

#coin-slider span h1,
#coin-slider span h2 {
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  margin: 0.2em 0;
}

#coin-slider span h1 {
  font-size: 2rem;
}

#coin-slider span h2 {
  font-size: 1.4rem;
  font-weight: normal;
}

.main_content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.main_content_top {
  width: 100%;
}

.main_padding {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 2.5rem 2rem;
  border: 1px solid #e0e6e2;
}

.main_left,
.main_right {
  flex: 1 1 300px;
}

.main_right {
  margin-top: 0;
}

.main_right h3 {
  margin-top: 0;
}

#map_canvas {
  min-height: 300px;
  background-color: #eaf5ea;
  border: 2px solid #b7d7be;
  border-radius: 12px;
  background-image:
    linear-gradient(to right, #b7d7be 1px, transparent 1px),
    linear-gradient(to bottom, #b7d7be 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
  position: relative;
}

#map_canvas::before {
  content: "📍";
  font-size: 2.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services li {
  padding: 0.5em 0;
  border-bottom: 1px solid #e0e6e2;
  display: flex;
  align-items: center;
}

.services li::before {
  content: "🌿";
  margin-right: 0.5em;
  font-size: 1.2em;
}

.quote_box_main {
  background: #f0f7f4;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.quote_box_main .testimonals .quote {
  font-style: italic;
  font-size: 1.1rem;
  color: #2d3436;
  margin-bottom: 0.5em;
}

.quote_box_main .testimonals .end_quote {
  text-align: right;
  font-weight: bold;
}

.quote_box_main .testimonals .test_name {
  text-align: right;
  color: #1B4332;
  font-weight: bold;
  margin-top: 0.3em;
}

.footer {
  background: #081c15;
  color: #cbd5d0;
  padding: 2rem 0;
  margin-top: 3rem;
  border-radius: 12px 12px 0 0;
}

.footer_inner ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer_inner ul li {
  list-style: none;
}

.footer_inner ul li a {
  color: #95d5b2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer_inner ul li a:hover {
  color: #ffffff;
}

/* Form elements and buttons (generic, in case) */
button,
input[type="submit"],
.btn {
  background-color: #1B4332;
  color: #ffffff;
  border: none;
  padding: 0.75em 2em;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
.btn:hover {
  background-color: #2d6a4f;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

input,
textarea,
select {
  padding: 0.7em 1em;
  border: 1px solid #b7d7be;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 1em;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #40916c;
  box-shadow: 0 0 0 2px rgba(64,145,108,0.2);
}

/* hide any broken background images */
.header,
.logo,
.nav,
.main_content_top,
.main_padding,
.main_left,
.main_right,
.footer,
.footer_inner,
#coin-slider,
#coin-slider span {
  background-image: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 1rem 0;
    border-radius: 0 0 0 0;
  }

  .header .logo {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
  }

  .nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav ul li a {
    text-align: center;
    width: 100%;
  }

  #coin-slider span {
    padding: 20px 15px;
  }

  #coin-slider span h1 {
    font-size: 1.5rem;
  }

  #coin-slider span h2 {
    font-size: 1rem;
  }

  .main_padding {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .main_left,
  .main_right {
    flex: 1 1 100%;
  }

  .footer_inner ul {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
}