/* === style.css === */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background: #f5f7fa;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.eco-header {
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.808);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.eco-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.eco-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: linear-gradient(90deg, #0e2c44 0%, #1b3b56 50%, #2d4d6a 100%);
}

.eco-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.eco-nav a:hover {
  color: #627da5;
}

/* Hero https://cdn.pixabay.com/photo/2022/12/23/16/03/sunrise-7674594_1280.jpg */
.eco-hero {
  position: relative;
  height: 100vh;
  background: url('https://cdn.pixabay.com/photo/2022/12/23/16/03/sunrise-7674594_1280.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
  padding: 60px 20px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-contact-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.322);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: left;
}

/* Formular în două coloane */

.hero-contact-form input[type="text"],
.hero-contact-form input[type="email"],
.hero-contact-form input[type="tel"],
.hero-contact-form textarea {
  margin-bottom: 30px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1.5px solid rgba(255 255 255 / 0.6);
  background: transparent;
  color: rgb(44, 44, 44);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.hero-contact-form textarea {
  resize: vertical;
  margin-bottom: 20px;
}

.hero-contact-form input[type="text"]:focus,
.hero-contact-form input[type="email"]:focus,
.hero-contact-form input[type="tel"]:focus,
.hero-contact-form textarea:focus {
  border-color: #383838;
}

.hero-contact-form button {
  width: 100%;
  background: #3c4c64;
  color: white;
  padding: 14px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.hero-contact-form button:hover {
  background: #232c3a;
}

/* Responsive pentru ecrane mici */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-text {
    text-align: center;
  }
}


/* About */
.eco-about-section {
  padding: 4rem 2rem;
  background: #ffffffcc;
  backdrop-filter: blur(4px);
  border-radius: 20px;
  margin: 2rem 0;
}

.eco-about-container {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.eco-about-text {
  flex: 1;
  color: #1c1c1c;
  max-width: 600px;
}

.eco-about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0f2d44;
}

.eco-about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.eco-about-image {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.eco-about-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (min-width: 768px) {
  .eco-about-container {
    flex-direction: row;
  }
}


/* Benefits */

.eco-benefits-section {
  padding: 5rem 2rem;
  background: linear-gradient(to right, #e0f4ec, #f4f9f9);
  text-align: center;
}

.eco-benefits-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #0d3f2d;
}

.eco-benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

.eco-benefits-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.eco-benefit-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eco-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.eco-benefit-card i {
  font-size: 2.5rem;
  color: #3aa87c;
  margin-bottom: 1rem;
}

.eco-benefit-card h3 {
  font-size: 1.4rem;
  color: #174f3d;
  margin-bottom: 0.5rem;
}

.eco-benefit-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}


/* Reviews */
   .reviews-section {
    background: #f5f7fa;
    margin: 30px 0 70px 0;
    padding: 50px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0d3b66;
  }
  .reviews-section .container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  .reviews-section h2 {
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 2.4rem;
  }

  .reviews-carousel {
    position: relative;
    overflow: hidden;
  }
  .carousel-track-container {
    overflow: hidden;
  }
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .review-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(13, 59, 102, 0.15);
    padding: 30px 25px;
    min-width: 100%;
    box-sizing: border-box;
  }
  .review-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  .review-card h4 {
    font-weight: 600;
    color: #064273;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #0d3b66;
    border: none;
    padding: 10px 15px;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
    z-index: 10;
  }
  .carousel-btn:hover {
    color: #074072;
  }
  .carousel-btn.prev {
    left: -5px;
  }
  .carousel-btn.next {
    right: -5px;
  }

  @media (max-width: 600px) {
    .review-card {
      padding: 25px 15px;
      font-size: 1rem;
    }
    .carousel-btn {
      font-size: 1.5rem;
      padding: 8px 12px;
    }
  }

/* Contact */
.contact-section {
    background: #f9fafd;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
    color: #222;
  }
  .contact-section .container {
    max-width: 600px;
    margin: 0 auto;
  }
  .contact-section h2 {
    text-align: center;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2d394b;
  }

  .contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  border: 2px solid #32204b; /* bordură verde */
  border-radius: 16px;
  padding: 30px 35px;
  box-shadow: 0 6px 18px #32204b;
  background: white;
  max-width: 600px;
  margin: 0 auto;
  }

  .input-group {
    position: relative;
    width: 48%;
    min-width: 500px;
  }

  .input-group.textarea-group {
    width: 100%;
  }

  input, textarea {
    width: 100%;
    padding: 14px 14px 14px 14px;
    font-size: 1rem;
    border: 2px solid #c4c4c4;
    border-radius: 12px;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    resize: vertical;
    font-family: inherit;
  }
  input:focus, textarea:focus {
    border-color: #32204b;
    box-shadow: 0 0 8px rgba(79, 42, 122, 0.3);
  }

  label {
    position: absolute;
    top: 14px;
    left: 14px;
    background: white;
    padding: 0 6px;
    color: #888;
    font-size: 1rem;
    pointer-events: none;
    transition: transform 0.3s ease, font-size 0.3s ease, top 0.3s ease;
    border-radius: 4px;
  }

  input:focus + label,
  input:not(:placeholder-shown) + label,
  textarea:focus + label,
  textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.85rem;
    color: #110b1a;
    transform: translateY(0);
  }

  /* Fix for textarea placeholder */
  textarea:placeholder-shown + label {
    top: 14px;
    font-size: 1rem;
    color: #888;
  }

  .submit-btn {
    width: 100%;
    background: #3c4c64;
    color: white;
    padding: 16px;
    font-size: 1.2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease;
  }

  .submit-btn:hover {
    background: #293444;
  }

  @media (max-width: 520px) {
    .input-group {
      width: 100%;
    }
    input, textarea {
    width: auto;
  }
  }

/* Footer */
.eco-footer {
  background: linear-gradient(90deg, #0d2a40 0%, #3c4c64 50%, #c9a7aa 100%);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
  border-top: 4px solid linear-gradient(90deg, #0d2a40 0%, #3c4c64 50%, #c9a7aa 100%);
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .eco-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  .eco-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}
