/* ═══════════════════════════════════════
   ProGreen Cleaning – style.css
   ═══════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --blue-dark:   #1a4480;
  --blue-mid:    #2e6fbd;
  --blue-light:  #5db8f5;
  --green-dark:  #2d8a4e;
  --green-mid:   #4caf6e;
  --green-light: #a8d8b0;
  --sky:         #d6eeff;
  --sky-pale:    #eef7ff;
  --white:       #ffffff;
  --text-dark:   #1a2e45;
  --text-mid:    #3a5270;
  --bubble1:     rgba(93, 184, 245, .25);
  --bubble2:     rgba(76, 175, 110, .20);
}

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--sky-pale);
  overflow-x: hidden;
}

/* ─── BUBBLES ─── */
.bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .55;
  animation: float 7s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-18px) scale(1.06); }
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--sky);
  box-shadow: 0 2px 20px rgba(30, 60, 120, .08);
  transition: background .3s;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 1.35rem;
  color: var(--blue-dark); text-decoration: none;
}

.nav-logo svg { width: 38px; height: 38px; }
.nav-logo .green,
.nav-logo span.green { color: var(--green-dark); }

.nav-links { display: flex; gap: 28px; list-style: none; }

.nav-links a {
  text-decoration: none; font-size: .9rem; font-weight: 600;
  color: var(--text-mid); position: relative; padding-bottom: 3px;
  transition: color .25s;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--blue-mid);
  transition: width .25s;
}

.nav-links a:hover { color: var(--blue-mid); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--blue-mid), var(--green-dark));
  color: #fff !important;
  padding: 8px 20px; border-radius: 30px;
  box-shadow: 0 4px 14px rgba(46, 111, 189, .35);
  transition: transform .2s, box-shadow .2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 111, 189, .45) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
}

.hamburger span {
  display: block; width: 26px; height: 3px;
  background: var(--blue-dark); border-radius: 3px; transition: .3s;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #c6e8ff 0%, #daf1e8 50%, #c6e8ff 100%);
  padding-top: 70px;
}

#hero .bubble:nth-child(1)  { width:180px; height:180px; top:8%;  left:5%;  background:var(--bubble1); animation-duration:8s; }
#hero .bubble:nth-child(2)  { width:100px; height:100px; top:20%; left:18%; background:var(--bubble2); animation-duration:6s;  animation-delay:.8s; }
#hero .bubble:nth-child(3)  { width:250px; height:250px; top:55%; left:-4%; background:var(--bubble2); animation-duration:9s;  animation-delay:.3s; }
#hero .bubble:nth-child(4)  { width:130px; height:130px; top:75%; left:12%; background:var(--bubble1); animation-duration:7s;  animation-delay:1.2s; }
#hero .bubble:nth-child(5)  { width:200px; height:200px; top:5%;  right:4%; background:var(--bubble2); animation-duration:10s; animation-delay:.5s; }
#hero .bubble:nth-child(6)  { width: 80px; height: 80px; top:30%; right:15%;background:var(--bubble1); animation-duration:5s;  animation-delay:1.5s; }
#hero .bubble:nth-child(7)  { width:300px; height:300px; bottom:-60px; right:-40px; background:var(--bubble1); animation-duration:11s; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-text h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.15;
  color: var(--blue-dark); margin-bottom: 18px;
}

.hero-text h1 span { color: var(--green-dark); }

.hero-text p {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 30px; max-width: 480px;
}

.hero-badges {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px;
}

.badge {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(46, 111, 189, .25);
  border-radius: 30px; padding: 6px 16px;
  font-size: .82rem; font-weight: 700; color: var(--blue-dark);
  display: flex; align-items: center; gap: 6px;
}

.badge svg { width: 14px; height: 14px; fill: var(--green-dark); }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  color: #fff; padding: 14px 30px; border-radius: 40px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  box-shadow: 0 6px 24px rgba(26, 68, 128, .35);
  transition: transform .25s, box-shadow .25s;
}

.btn-primary svg { width: 18px; height: 18px; fill: white; }

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 68, 128, .45);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(8px);
  color: var(--green-dark); padding: 14px 30px; border-radius: 40px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 2px solid var(--green-mid);
  transition: background .25s, transform .25s;
}

.btn-secondary svg { width: 18px; height: 18px; }

.btn-secondary:hover {
  background: var(--green-light);
  transform: translateY(-3px);
}

.hero-illustration {
  display: flex; justify-content: center; align-items: center;
}

.house-wrap {
  position: relative; width: 320px; height: 320px;
  animation: float 6s ease-in-out infinite alternate;
}

.house-wrap svg { width: 100%; height: 100%; }

/* ─── WAVE DIVIDERS ─── */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }
.wave-white  { background: var(--white); }
.wave-green  { background: linear-gradient(160deg, #d4edff, #dcf5e7); }
.wave-dark   { background: var(--white); }

/* ─── SECTIONS COMMON ─── */
section { padding: 90px 5%; }

.section-header { text-align: center; margin-bottom: 60px; }

.section-header .label {
  display: inline-block; background: var(--sky);
  color: var(--blue-mid); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 14px;
}

.section-header h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--blue-dark); line-height: 1.2;
}

.section-header h2 span { color: var(--green-dark); }

.section-header p {
  color: var(--text-mid); max-width: 560px;
  margin: 14px auto 0; line-height: 1.7;
}

/* ─── SERVICES ─── */
#servicii {
  background: var(--white);
  position: relative; overflow: hidden;
}

#servicii::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
}

.services-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: linear-gradient(145deg, #f0f9ff, #e8f7ef);
  border: 1.5px solid rgba(93, 184, 245, .3);
  border-radius: 20px; padding: 34px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: default;
}

.service-card::after {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 184, 245, .2), transparent 70%);
  transition: transform .4s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(30, 60, 120, .12);
}

.service-card:hover::after { transform: scale(2); }

.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(46, 111, 189, .3);
}

.service-icon svg { width: 28px; height: 28px; fill: white; }

.service-card h3 {
  font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 1.15rem; color: var(--blue-dark); margin-bottom: 8px;
}

.service-card p { color: var(--text-mid); font-size: .9rem; line-height: 1.65; }

.service-check {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700; color: var(--green-dark);
  margin-top: 14px; background: rgba(76, 175, 110, .12);
  padding: 4px 12px; border-radius: 20px;
}

/* ─── ABOUT ─── */
#despre {
  background: linear-gradient(160deg, #d4edff 0%, #dcf5e7 100%);
  position: relative; overflow: hidden;
}

.about-wrap {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}

.about-graphic { display: flex; justify-content: center; }

.about-circle-wrap {
  position: relative; width: 340px; height: 340px;
}

.about-circle-wrap .ring {
  position: absolute; border-radius: 50%;
  border: 2px dashed rgba(46, 111, 189, .25);
}

.about-circle-wrap .ring:nth-child(1) {
  inset: 0;
  animation: spin 18s linear infinite;
}

.about-circle-wrap .ring:nth-child(2) {
  inset: 30px;
  border-color: rgba(76, 175, 110, .25);
  animation: spin 12s linear infinite reverse;
}

.about-center {
  position: absolute; inset: 60px;
  background: linear-gradient(145deg, var(--white), var(--sky));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 40px rgba(30, 60, 120, .15);
  flex-direction: column; gap: 8px;
}

.about-center svg { width: 70px; height: 70px; }

.about-center p {
  font-family: 'Nunito', sans-serif;
  font-size: .8rem; font-weight: 800;
  color: var(--blue-dark); text-align: center;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-text .label {
  display: inline-block; background: rgba(93, 184, 245, .2);
  color: var(--blue-mid); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 14px;
}

.about-text h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--blue-dark);
  margin-bottom: 20px; line-height: 1.2;
}

.about-text h2 span { color: var(--green-dark); }

.about-text > p {
  color: var(--text-mid); line-height: 1.75; margin-bottom: 30px;
}

.features-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
}

.features-list li {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(8px);
  border-radius: 14px; padding: 14px 18px;
  border: 1px solid rgba(93, 184, 245, .25);
  transition: transform .25s;
}

.features-list li:hover { transform: translateX(6px); }

.feat-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
}

.feat-icon svg { width: 18px; height: 18px; fill: white; }

.feat-text strong {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: var(--blue-dark); display: block; margin-bottom: 2px;
}

.feat-text span { font-size: .85rem; color: var(--text-mid); }

/* ─── STATS ─── */
#statistici {
  background: linear-gradient(135deg, var(--blue-dark), #0d2d5e);
  color: white; padding: 60px 5%;
}

.stats-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px; text-align: center;
}

.stat-item { padding: 20px; }

.stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block; margin-bottom: 6px;
}

.stat-label { font-size: .9rem; opacity: .8; font-weight: 500; }

/* ─── CONTACT ─── */
#contact { background: var(--white); }

.contact-wrap {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: start;
}

.contact-info h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem; font-weight: 900;
  color: var(--blue-dark); margin-bottom: 18px;
}

.contact-info > p {
  color: var(--text-mid); line-height: 1.75; margin-bottom: 30px;
}

.contact-items {
  display: flex; flex-direction: column; gap: 18px;
}

.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #f0f9ff, #e8f7ef);
  border-radius: 14px; padding: 16px 20px;
  border: 1px solid rgba(93, 184, 245, .3);
  transition: transform .25s;
}

.contact-item:hover { transform: translateX(6px); }

.ci-icon {
  width: 46px; height: 46px; min-width: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
}

.ci-icon svg { width: 22px; height: 22px; fill: white; }

.ci-text strong {
  font-family: 'Nunito', sans-serif;
  font-size: .85rem; font-weight: 800;
  color: var(--blue-dark); display: block;
}

.ci-text a,
.ci-text span {
  font-size: .95rem; color: var(--text-mid);
  text-decoration: none; font-weight: 500;
}

.ci-text a:hover { color: var(--blue-mid); }

/* Contact Form */
.contact-form-wrap {
  background: linear-gradient(145deg, var(--sky-pale), #e8f7ef);
  border-radius: 24px; padding: 40px 36px;
  border: 1.5px solid rgba(93, 184, 245, .25);
  box-shadow: 0 8px 40px rgba(30, 60, 120, .08);
}

.contact-form-wrap h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--blue-dark); margin-bottom: 24px;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}

.form-group {
  display: flex; flex-direction: column;
  gap: 6px; margin-bottom: 16px;
}

.form-group label {
  font-size: .82rem; font-weight: 700; color: var(--blue-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid rgba(93, 184, 245, .4);
  background: rgba(255, 255, 255, .8);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem; color: var(--text-dark);
  outline: none; transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(46, 111, 189, .15);
}

.form-group textarea { min-height: 110px; }

.btn-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--blue-mid), var(--green-dark));
  color: white; border: none; border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 6px 20px rgba(46, 111, 189, .35);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(46, 111, 189, .45);
}

.form-success {
  display: none; text-align: center; padding: 30px;
  background: rgba(76, 175, 110, .1);
  border-radius: 14px;
  border: 1.5px solid var(--green-mid);
  color: var(--green-dark); font-weight: 700; font-size: 1rem;
}

/* ─── FOOTER ─── */
footer {
  background: linear-gradient(135deg, #0d2040, #0d3020);
  color: rgba(255, 255, 255, .75);
  padding: 60px 5% 30px;
}

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 50px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo {
  color: white !important;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: .88rem; line-height: 1.7; max-width: 280px;
}

.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 1rem;
  color: white; margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}

.footer-col ul li a {
  text-decoration: none; font-size: .88rem;
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--blue-light); }

.footer-bottom {
  max-width: 1200px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; flex-wrap: wrap; gap: 10px;
}

.footer-bottom a { color: var(--blue-light); text-decoration: none; }

/* ─── SCROLL TOP ─── */
#scrollTop {
  position: fixed; bottom: 30px; right: 30px; z-index: 99;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), var(--green-dark));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(30, 60, 120, .35);
  opacity: 0; transition: opacity .3s, transform .3s;
  pointer-events: none;
}

#scrollTop.show { opacity: 1; pointer-events: auto; }
#scrollTop:hover { transform: translateY(-4px); }
#scrollTop svg { width: 22px; height: 22px; fill: white; }

/* ─── SCROLL ANIMATIONS ─── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 30px; }
  .hero-badges { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-illustration { order: -1; }
  .house-wrap { width: 220px; height: 220px; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-graphic { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 0 4%; }

  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: white;
    border-bottom: 2px solid var(--sky);
    padding: 20px 5%; gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
