/* =========================
   RESET & GENERAL
========================= */
* { box-sizing: border-box; }

:root{
  --header-h: 80px;
  --orange: #FF7A00;
  --dark: rgba(0,0,0,0.55);
  --grey: #f3f4f6;
  --text: #111;
}

html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 15px);
}

body{
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;

  /* footer lipit jos */
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  opacity: 1;
  transition: opacity 0.35s ease;
}

body.fade-out{ opacity: 0; }
body.fade-in{ opacity: 0; }

/* =========================
   HEADER (MEREU GLASS)
========================= */
header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;

  background: var(--dark);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* chiar daca JS pune .scrolled, ramane identic */
header.scrolled{
  background: var(--dark);
}

.logo{
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.tagline{
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 3px;
}

/* link-urile din nav = aceeasi culoare ca logo */
header nav a{
  color: #fff;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 700;
  font-size: 18px;
}

header nav a:hover{
  color: var(--orange);
}

/* MOBILE MENU */
.menu-toggle{
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* =========================
   HERO (lipit sus, fara gol)
========================= */
.hero-image{
  width: 100%;
  margin: 0;
  padding: 0;

  /* hero sta chiar de la top; header e peste el (glass) */
  min-height: 720px;
  height: 92vh;

  background-image: url('rb-umzug-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  /* pozitionare text in jos */
  padding-bottom: 110px;
}

/* daca vrei pe viitor alta imagine pt montage:
.rb-montage-hero{ background-image: url('ALTA-IMAGINE.png'); }
*/
.rb-montage-hero{ background-image: url('rb-umzug-hero.png'); }

.hero-text{
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background: rgba(128,128,128,0.32);
  padding: 14px 50px;
  border-radius: 999px;
  text-align: center;
  color: var(--text);
  max-width: 980px;
}

.hero-text h1{
  font-size: 40px;
  font-weight: 900;
  margin: 0;
  color: var(--text);
}

.hero-slogan{
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin: 10px 0 2px;
  color: var(--text);
}

.hero-text p{
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0 14px;
  color: var(--text);
}

.hero-text .btn{
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 12px 26px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.25s ease;
  border: 2px solid transparent;
}

.hero-text .btn:hover{
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
}

/* =========================
   SECTIONS (general)
========================= */
.section{
  padding: 70px 40px;
  text-align: center;
}

/* About + Slogan: culoare sus + fade doar jos */
#about,
.slogan-section{
  background: #758484;
  color: #111;
}

/* fade doar jos la blocul de sus (nu sus) */
#about{
  position: relative;
  padding: 80px 20px 55px;
}

#about::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(117,132,132,0) 0%, #fff 100%);
  pointer-events: none;
}

#about h2{
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 16px;
  color: #111;
}

#about p{
  font-size: 20px;
  font-weight: 650;
  margin: 0 auto;
  max-width: 1100px;
  color: #111;
}

/* slogan fara spatiu mare */
.slogan-section{
  padding: 25px 20px 35px;
  margin: 0;
  background: #fff;
}

.slogan-section h2{
  font-size: 30px;
  font-weight: 900;
  color: #111;
  margin: 0;
}

/* =========================
   VEHICLE (BACKGROUND ALB)
========================= */
.vehicle{
  background: #fff;
  padding: 65px 0 80px;
  text-align: center;
}

.vehicle h2{
  font-size: 2.3rem;
  margin: 0 0 28px;
  color: #111;
}

.vehicle-box{
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 35px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0;
  animation: fadeIn 1.1s ease forwards;
}

.vehicle-box img{
  width: 100%;
  max-width: 720px;
  border-radius: 16px;
  margin-bottom: 18px;
}
/* 2 poze la Transporter */
.vehicle-gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

/* override pentru imaginile din galerie */
.vehicle-gallery img{
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  border-radius: 16px;
  display: block;
}

/* pe mobil: una sub alta */
@media (max-width: 768px){
  .vehicle-gallery{
    grid-template-columns: 1fr;
  }
}


@keyframes fadeIn{
  from{ opacity: 0; transform: translateY(14px) scale(0.99); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================
   SERVICES
========================= */
#services{ background: #fff; }

.services{
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.box{
  width: 300px;
  padding: 20px;
  background: #fff;
  border-left: 6px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  transition: 0.25s ease;
}

.box:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

/* =========================
   REVIEWS (BACKGROUND GRI)
========================= */
.reviews{
  background: var(--grey);
  padding: 85px 0;
  text-align: center;
}

.reviews h2{
  font-size: 2.3rem;
  margin: 0 0 40px;
  color: #111;
}

.review-container{
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.review-card{
  width: 280px;
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.review-card:nth-child(1){ animation-delay: 0.2s; }
.review-card:nth-child(2){ animation-delay: 0.4s; }
.review-card:nth-child(3){ animation-delay: 0.6s; }

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(40px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* =========================
   CONTACT FORM
========================= */
.contact-form{
  background: var(--grey);
}

.contact-form h2{
  font-size: 2.3rem;
  margin: 0 0 22px;
  color: #111;
}

.form{
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-group input,
.input-group textarea{
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 12px;
  outline: none;
  transition: 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus{
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.08);
}

.form-btn{
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s ease;
}

.form-btn:hover{
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
}

/* =========================
   CONTACT (BACKGROUND ALB)
========================= */
#contact{
  background: #fff;
}

.contact p{
  font-size: 18px;
}

.contact a{
  color: #0b57d0;
  font-weight: 800;
  text-decoration: none;
}

.contact a:hover{ text-decoration: underline; }

/* =========================
   WHY RB MONTAGE (cards grid)
========================= */
.why-section{
  background: #f5f6f8;
  padding: 90px 40px;
}

.why-container{
  max-width: 1100px;
  margin: 0 auto;
}

.why-header{
  text-align: center;
  margin-bottom: 45px;
}

.why-header h2{
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 10px;
  color: #111;
}

.why-header p{
  font-size: 18px;
  margin: 0;
  color: #555;
}

.why-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.why-card{
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  gap: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  align-items: flex-start;
}

.why-card span{
  font-size: 26px;
  color: var(--orange);
  font-weight: 900;
  line-height: 1;
  margin-top: 2px;
}

.why-card h4{
  margin: 0 0 6px;
  font-size: 18px;
  color: #111;
}

.why-card p{
  margin: 0;
  font-size: 15px;
  color: #555;
}

/* =========================
   SEO TEXT (RB Montage)
========================= */
.seo-text{
  background: #fff;
}

.seo-text p{
  font-weight: 650;
  max-width: 1000px;
  margin: 0 auto;
}

/* =========================
   BACK TO TOP
========================= */
#backToTop{
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #B4B4B4;
  color: #fff;
  padding: 12px 15px;
  border-radius: 50%;
  font-size: 22px;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 9999;
  transition: 0.25s ease;
}

#backToTop:hover{
  background: var(--orange);
  transform: scale(1.12);
}

/* =========================
   REVEAL
========================= */
.reveal{
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.reveal.active{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FOOTER (lipit jos)
========================= */
footer{
  margin-top: auto;
  background: #353C40;
  color: #fff;
  text-align: center;
  padding: 14px 10px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px){

  header{
    padding: 0 18px;
  }

  nav{
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background: rgba(0,0,0,0.92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.35s ease;
  }

  nav.active{ right: 0; }

  header nav a{
    margin: 0;
    font-size: 22px;
  }

  .menu-toggle{ display: block; }

  .hero-image{
    height: auto;
    min-height: 520px;
    padding-bottom: 90px;
  }

  .hero-text{
    padding: 12px 18px;
    border-radius: 22px;
    max-width: 92%;
  }

  .hero-text h1{ font-size: 28px; }

  .services{
    flex-direction: column;
    align-items: center;
  }

  .box{ width: 92%; }

  .why-section{ padding: 70px 18px; }
}
/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-float{
  position: fixed;
  right: 25px;
  bottom: 85px; /* ca sa nu se bata cu backToTop */
  background: #25D366;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: 0.25s ease;
}

.whatsapp-float:hover{
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* pe mobil putin mai mic */
@media (max-width: 768px){
  .whatsapp-float{
    right: 16px;
    bottom: 80px;
    padding: 11px 14px;
  }
}
/* =========================
   WHATSAPP FLOAT BUTTON
========================= */
.whatsapp-float{
  position: fixed;
  right: 25px;
  bottom: 90px; /* sub backToTop */
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: 0.25s ease;
}

.whatsapp-float svg{
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover{
  transform: scale(1.1);
  background: #1ebe5d;
}

/* Mobile */
@media (max-width: 768px){
  .whatsapp-float{
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 85px;
  }

  .whatsapp-float svg{
    width: 28px;
    height: 28px;
  }
}

