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

body {
  font-family: "Inter", sans-serif;
  color: #0f172a;
  background: #f5f7fb;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.navbar {
  background: #1e3a5f;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-weight: 700;
  font-size: 22px;
}

nav a {
  color: #dbeafe;
  margin-right: 22px;
  text-decoration: none;
  font-weight: 500;
}

.btn-primary {
  background: #fbbf24;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  background: url("pictures/hero-solar.jpg") center/cover no-repeat;
  color: white;
  padding: 120px 0 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.85), rgba(15,23,42,.4));
}

.hero-content {
  position: relative;
}

.badge {
  background: #fbbf24;
  color: #111;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.hero h1 {
  font-size: 64px;
  margin: 20px 0;
  line-height: 1.1;
}

.accent {
  color: #fbbf24;
}

.hero p {
  max-width: 600px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.btn-outline {
  background: transparent;
  border: 1px solid #94a3b8;
  color: white;
  padding: 12px 22px;
  border-radius: 10px;
}

.stats {
  display: flex;
  gap: 60px;
}

.stats h3 {
  color: #fbbf24;
  font-size: 32px;
}

/* ABOUT */
.about {
  padding: 90px 0;
  text-align: center;
}

.section-tag {
  color: #f59e0b;
  font-weight: 700;
}

.about h2 {
  font-size: 42px;
  margin: 15px 0 20px;
}

.about-text {
  max-width: 760px;
  margin: auto;
  color: #64748b;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.icon {
  font-size: 28px;
  margin-bottom: 10px;
}

/* CONTACT */
.contact {
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.row {
  display: flex;
  gap: 12px;
}

.full {
  width: 100%;
}

.cta-btn{
  background:linear-gradient(90deg,var(--accent),var(--accent-soft));
  color:#ffffff;
  padding:10px 18px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero h1 { font-size: 42px; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; gap: 20px; }
}

/* 📱 Mobile navbar redesign */
@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .logo {
    text-align: center;
    font-size: 22px;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  .navbar nav a {
    font-size: 14px;
    padding: 6px 8px;
  }

  .cta-btn {
    padding: 8px 14px;
  }
}

/* navbar animation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  transition: transform 0.35s ease;
}

/* когато е скрито */
.navbar.hide {
  transform: translateY(-100%);
}
