* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background: #f8f8f8;
}
 .avantaje {
  background: #f9f9f9;
  padding: 4rem 0;
}
.logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    max-height: 48px;
  }
}
.blog-box {
  display: block;
  text-decoration: none;
  color: inherit;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #0A073F;
  margin-bottom: 2rem;
}
.seo-text,
.certificari {
  background: #ffffff;
  padding: 2rem 0;
}
.cta-servicii {
  text-align: center;
  margin-top: 2.5rem;
}

.cta-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #000;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #f2c308;
}

.seo-text .container,
.certificari .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.seo-text h3,
.certificari h3 {
  font-size: 1.6rem;
  color: #0A073F;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-align: left;
}

.seo-text p,
.certificari p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 1rem;
  text-align: left;
}

.avantaje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.avantaj-box {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.avantaj-box:hover {
  transform: translateY(-4px);
}

.icon-bullet {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #664FEE;
}

.avantaj-box p {
  font-size: 1rem;
  color: #333;
}

.serviciu-box img {
  width: 48px;
  height: 48px;
    margin-bottom: 1rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .serviciu-box img {
    width: 64px;
    height: 64px;
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* STRUCTURA HEADER */
header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0A073F;
  text-decoration: none;
}

/* MENIU DESKTOP */
.nav-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #664FEE;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* MENIU MOBIL */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #eee;
  }

  .nav-links ul {
      gap:0rem!important;
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    padding: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .nav-links.active {
    display: flex;
  }
}


.hero {
  position: relative;
  background: url('https://deratizaretotala.ro/images/sobolan.webp') no-repeat center center / cover;
  color: white;
  text-align: center;
  padding: 8rem 1rem;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* overlay negru cu transparență */
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2; /* textul apare deasupra overlay-ului */
}


.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0A073F;
}

.servicii-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.serviciu-box {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.serviciu-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.serviciu-box img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.serviciu-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #003366;
}

.serviciu-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}


.cta {
  display: inline-block;
  margin-top: 1rem;
  background: #ffcc00;
  padding: 0.75rem 1.5rem;
  color: #222;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.servicii-home {
  background: white;
  padding: 2rem 0;
}

.grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.grid li {
  background: #e9f5ff;
  padding: 1rem;
  flex: 1 1 30%;
  border-radius: 8px;
}

footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

.hero-servicii {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://deratizaretotala.ro/images/deratizare-bg.webp') no-repeat center center / cover;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.servicii-lista {
  background: #fff;
  padding: 3rem 0;
}

.serviciu-detaliu {
 
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.serviciu-detaliu h2 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 0.75rem;
}

.serviciu-detaliu p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.faq {
  
  padding: 3rem 1rem;
  
}

.faq h2 {
  text-align: center;
  color: #0A073F;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.faq-item {
  
  margin: 0 auto 2rem auto;
  padding: 1.5rem 1rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.faq-item h3 {
  font-size: 1.2rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}
.tarife {
  background: #fff;
  padding: 3rem 0;
}

.tarife h2 {
  font-size: 1.6rem;
  color: #0A073F;
  margin-bottom: 1.5rem;
}

.preturi-tabel {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.preturi-tabel th,
.preturi-tabel td {
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  text-align: left;
}

.preturi-tabel th {
  background-color: #f0f0f0;
  font-weight: 600;
  color: #003366;
}

.preturi-tabel tr:nth-child(even) {
  background-color: #f9f9f9;
}

.preturi-tabel td {
  color: #333;
}

.preturi-tabel td:last-child {
  font-weight: bold;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 0;
}

.contact-left,
.contact-right {
  flex: 1 1 400px;
}

.contact-left p,
.contact-left a {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  text-decoration: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #ffcc00;
  color: #000;
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #003366;
  color: #fff;
}

.harta iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}
.centered-contact {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.centered-contact h2 {
  font-size: 1.8rem;
  color: #0A073F;
  margin-bottom: 1.5rem;
}

.centered-contact p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.centered-contact a {
  color: #003366;
  text-decoration: none;
}

.centered-contact .cta-button {
  display: inline-block;
  margin-top: 2rem;
  background: #ffcc00;
  padding: 0.9rem 1.8rem;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.centered-contact .cta-button:hover {
  background: #003366;
  color: #fff;
}
/* ========== BLOG PAGE ========== */

.blog-articole {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
}

.blog-articole .container {
  max-width: 1140px;
  margin: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-box {
  background: #ffffff;
  padding: 1.5rem 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.blog-box h2 {
  font-size: 1.25rem;
  color: #0A073F;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-box h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-box h2 a:hover {
  color: #664FEE;
}

.blog-box p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .blog-articole .container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .blog-box {
    padding: 1.25rem;
  }
}
/* --- Stil pentru articole SEO --- */
.seo-article {
  padding: 4rem 1rem;
   
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #222;
}

.seo-article h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #003366;
}

.seo-article h3 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  color: #003366;
}

.seo-article ul {
  margin: 1rem 0 2rem 1.5rem;
  padding-left: 1rem;
  list-style: disc;
}

.seo-article ul li {
  margin-bottom: 0.5rem;
}

.seo-article p {
  margin-bottom: 1.4rem;
}

.seo-article a.cta {
  display: inline-block;
  margin-top: 2rem;
  
  color: #000;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.seo-article a.cta:hover {
  
}

footer a{
    color:white;
}
}
