/* --- Глобални стилове --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Arial", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* ensures body is always at least full viewport height */
  background: #f8f9fc;
  color: #1a1a1a;
  line-height: 1.6;
}

/* --- Header --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo h1 {
  color: #007BFF;
  font-size: 24px;
  font-weight: 600;
}

.logo p {
  font-size: 14px;
  color: #666;
}

.contact p {
  margin: 3px 0;
  font-size: 14px;
  color: #333;
}

.contact i {
  color: #007BFF;
  margin-right: 6px;
}

/* --- Навигация --- */
.navbar {
  background: #0D1B2A;
  border-bottom: 3px solid #007BFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.navbar li {
  padding: 14px 28px;
  transition: all 0.3s ease;
}

.navbar a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.navbar li.active,
.navbar li:hover {
  background: #007BFF;
  box-shadow: inset 0 -2px 0 #ffffff;
}

/* --- Hero секция --- */
.hero {
  position: relative;
  height: 70vh;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));
}

.overlay {
  position: relative;
  margin-left: 10%;
  z-index: 1;
}

.overlay h2 {
  color: #ffffff;
  font-size: 36px;
  max-width: 600px;
  line-height: 1.3;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* --- Основно съдържание --- */
.content {
  padding: 50px 10%;
  background: #ffffff;
  margin-top: -40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.content h3 {
  color: #007BFF;
  margin-bottom: 15px;
  font-size: 22px;
}

.content p {
  font-size: 16px;
  color: #444;
}

/* --- Footer --- */
footer {
  text-align: center;
  background: #0D1B2A;
  color: #e5e5e5;
  padding: 20px 0;
  margin-top: 60px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

footer p {
  margin: 0;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

.map-container {
    padding-top: 30px;
  width: 100%;
  max-width: 100%;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible; /* important! */
}

.map-container iframe {
  width: 90%;
  height: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

footer {
  margin-top: auto;
}

.contact-content {
  padding: 20px 10%;
  background: #ffffff;
  margin-top: -40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.contact-content h3 {
  color: #007BFF;
  margin-bottom: 15px;
  font-size: 22px;
}

.contact-content p {
  font-size: 16px;
  color: #444;
}

.services-title {
  margin-top: 35px; /* increase or decrease as needed */
}

.hero-sketch { margin-top: 30px; width: 100%; max-width: 700px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); display: block; animation: fadeIn 1.8s ease-in-out; } .plan-sketch { margin-top: 25px; max-width: 500px; opacity: 0.95; filter: grayscale(100%) contrast(110%); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .contact {
    margin-top: 10px;
  }

  .navbar ul {
    flex-direction: column;
  }

  .navbar li {
    width: 100%;
    text-align: center;
  }

  .overlay h2 {
    font-size: 28px;
  }

.content {
  margin-bottom: 0;
  padding-bottom: 30px;
  background: #fff;
}

.map-container {
  width: 100%;
  max-width: 100%;
  height: 60vh; /* 60% of viewport height */
  min-height: 400px;
  max-height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.map-container iframe {
  width: 90%;
  height: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

}
