@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap');

/*
 * Stiluri suplimentare pentru pagina Evenimente Auto și Fotografie Imobiliară.
 * Cardurile de beneficii sunt afișate vertical, cu un overlay semi‑transparent peste fotografiile de fundal
 * fără text. Fiecare element al listei afișează o bifa verde înainte de text.
 */
/* Old auto-details styles removed */

/* Stiluri pentru hero-ul paginii Fotografie imobiliară */
/* Folosim un pseudo-element pentru a afișa imaginea de fundal cu un efect de zoom in la încărcarea paginii. */
.hero-photo {
  height: 60vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  color: #ffffff;
  overflow: hidden;
  /* Compensează înălţimea barei de navigaţie fixate */
  margin-top: 6rem;
}

/* Pseudo-elementul ::before afişează fotografia reală de interior şi o măreşte treptat la încărcarea paginii. */
.hero-photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('real_estate_photo.jpg');
  background-size: cover;
  background-position: center;
  transform-origin: center;
  z-index: -2;
  /* Animație pentru efectul de zoom in: imaginea crește lent la încărcare */
  animation: heroZoom 12s ease-out forwards;
}

/* Pseudo-elementul ::after aplică un overlay semitransparent de culoare închisă peste imagine pentru a îmbunătăţi lizibilitatea textului. */
.hero-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Stiluri pentru textul din hero */
.hero-photo h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  z-index: 1;
}

.hero-photo p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  z-index: 1;
}

/* Definim animaţia pentru efectul de zoom in al fotografiei de fundal. Imaginea porneşte de la dimensiunea normală şi se măreşte până la 110% pe parcursul animaţiei. */
@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
/*
 * Stiluri pentru site-ul de prezentare Pixel Studio Media.
 * Puteți ajusta culorile, dimensiunile și fonturile pentru a se potrivi identității
 * vizuale a brandului dvs. Fotografiile și clipurile video pot fi înlocuite
 * în folderul "images" cu fișierele proprii.
 */

/*
 * Paleta de culori pentru tema deschisă (alb și portocaliu).
 * --primary-color: culoarea accent (portocaliu) pentru butoane și linkuri active.
 * --hover-color: nuanță mai închisă pentru efectul hover.
 * --dark-color: culoarea închisă folosită pentru bara de navigație și footer.
 * --light-color: gri deschis pentru secțiuni contrastante (services, contact).
 * --text-color: culoarea principală a textului (gri închis/negru).
 */
:root {
  --primary-color: #4D6568;
  --hover-color: #3A4446;
  --dark-color: #40474A;
  --light-color: #F7F7F7;
  --muted-color: #F6F5F5;
  --text-color: #3A4446;
  --text-muted: rgba(77, 101, 104, 0.85);
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--muted-color);
  height: 100%;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  /* Bara de navigație pe fundal întunecat */
  background-color: rgba(0, 0, 0, 0); /* Transparent la început */
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Spaţiu mai generos pe laterale pentru ca elementele din dreapta să nu iasă din ecran. */
  padding: 0.75rem 2.5rem;
  /* Fixăm bara de navigație în partea de sus a ecranului, astfel încât să rămână vizibilă la derulare */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: none;
  box-sizing: border-box;
  /* Tranziție smooth pentru fade in/out */
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Header negru când se dă scroll */
.navbar.scrolled {
  background-color: #000000;
}

/* Header transparent când ești în top - gradient închis pentru lizibilitate (ca la cardurile de servicii) */
.navbar.transparent {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.9) 0%,    /* Foarte închis sus */
        rgba(0, 0, 0, 0.6) 20%,   /* Încă destul de închis până puțin sub jumătate */
        rgba(0, 0, 0, 0) 100%     /* Transparent complet jos */
      );
}

/* Text shadow suplimentar pentru vizibilitate când header-ul e transparent */
.navbar.transparent .logo span,
.navbar.transparent .nav-links li a {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Header ascuns la scroll down */
.navbar.navbar-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Header blocat la limita hero/services - se oprește acolo */
.navbar.header-stuck-at-edge {
  position: fixed;
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Header complet ascuns după ce ai trecut de hero section */
.navbar.header-completely-hidden {
  display: none !important;
}

/* Header care se oprește la limita hero section-ului */
.navbar.header-sticky-at-edge {
  position: fixed;
  top: auto;
  bottom: auto;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, top 0.3s ease-in-out;
}

/* Stil logo: imaginea deasupra textului, mai mare */
.navbar .logo {
  /* Align logo and text horizontally */
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  /* Mută logoul și numele mai în dreapta pe desktop */
  margin-left: 2rem;
}

/* Doar pe desktop - mută logoul mai în dreapta */
@media (min-width: 769px) {
  .navbar .logo {
    margin-left: 2.5rem;
  }
}

.navbar .logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

.navbar .logo span {
  /* Brand name appears next to the logo in the nav bar.  Use white to contrast
   * against the dark navigation bar and align it with the logo.  We keep
   * the original font styling but update the colour. */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  margin-right: 5rem;

}

.navbar .nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  transition: color 0.2s ease-in-out;
}

  .navbar .nav-links li a:hover {
    color: var(--primary-color);
  }

/* Ascunde link-ul Portofoliu pe paginile secundare */
.nav-links li a[href*="#portfolio"] {
  display: none !important;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.nav-links li:has(a[href*="#portfolio"]) {
  display: none !important;
}

/* Hero section */
.hero {
  /* Înălțimea și poziționarea pentru erou.  Folosim 100vh pentru a evita
   * apariția unei benzi albe sub secțiunea erou atunci când pagina este
   * derulată la început. Aceasta asigură că secțiunea acoperă întregul
   * viewport (cu excepția barei de navigație). */
  min-height: 100vh;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  color: #ffffff;
  overflow: hidden;
  /* Pe desktop, nu adăugăm margin-top pentru a centra perfect conținutul */
  margin-top: 0;
  padding-top: 0;
  /* Centrează perfect conținutul pe mijlocul viewport-ului */
  box-sizing: border-box;
}

/* Pe desktop, asigură centrare perfectă a conținutului hero */
@media (min-width: 769px) {
  .hero {
    margin-top: 0;
    padding-top: 0;
    /* Centrează perfect pe mijlocul ecranului */
    align-items: center;
    justify-content: center;
  }
  
  .hero .hero-content {
    /* Elimină orice offset care ar putea afecta centrarea */
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    transform: none;
  }
}

/* Pe mobile, hero-ul ocupă tot ecranul, header-ul este peste */
@media (max-width: 768px) {
  .hero {
    margin-top: 0;
  }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.cta-button {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
  border: none;
}

.cta-button:hover {
  background-color: var(--hover-color);
  color: #ffffff;
}

/* Video de fundal din secțiunea erou */
#hero-video {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height pentru mobile */
  min-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
  /* Întunecăm clipul pentru lizibilitate */
  filter: brightness(0.6);
  /* Asigură că videoclipul este vizibil */
  display: block;
  pointer-events: none;
  /* Elimină orice spațiu negru */
  margin: 0;
  padding: 0;
  /* Centrează video-ul perfect */
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  /* Asigură că video-ul acoperă complet fără bara neagră */
  background-color: #000000;
}

/* Suprapunere semi-transparentă peste video pentru a îmbunătăți contrastul textului */
.hero::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height */
  min-width: 100%;
  min-height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
  /* Elimină orice spațiu */
  margin: 0;
  padding: 0;
}

/* Services section */
.services {
  padding: 4rem 1rem;
  background-color: var(--light-color);
  position: relative;
  z-index: 1001; /* Mai mare decât navbar (1000) pentru a trece peste header */
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;

  /* Tranziție lină pentru transform la hover și zoom la click */
  transition: transform 0.4s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-5px);
}

/* Animație zoom la click - Modificat pentru a nu mări casuta */

/* 1. Casuta rămâne doar ridicată (ca la hover), nu se mai mărește */
.service-item.zooming {
  transform: translateY(-5px); /* Păstrăm poziția de hover ca să nu "sară" */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* Opțional: accentuăm puțin umbra */
}

/* 2. Zoom-ul se aplică ACUM doar pe imaginea din interior */
.service-item.zooming img {
  transform: scale(1.15); /* Imaginea se mărește mai mult (de la 1.1 la 1.15) */
  transition: transform 0.5s ease; /* Tranziție lină */
}

/* Imaginea acoperă întregul card */
.service-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}

/* Overlay cu gradient de la jos – tranziție lină, fără linie bruscă */
.service-item-overlay {
    /* 1. Acoperim tot cardul */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  
    /* 2. Centrare perfectă (fără padding care să decaleze) */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical */
    align-items: center;     /* Orizontal */
    padding: 0;              /* SCOATEM padding-ul ca să nu mai stea "ușor dreapta" */
  
/* Negru puternic doar jos de tot (0%), 
     la mijloc unde e textul e mult mai fin (0.4), 
     iar sus e complet clar */
     background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.9) 0%,     /* Baza neagră */
        rgba(0, 0, 0, 0.4) 40%,    /* La 40% din înălțime e deja semi-transparent */
        transparent 100%           /* Sus e complet curat */
      );
  
    color: #fff;
    text-align: center;
  }

/* Stratul cu gradientul puternic (de hover) – animăm doar opacitatea pentru tranziție fină */
.service-item-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 35%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.2) 75%,
    transparent 100%
  );

  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: -1;
}

.service-item:hover .service-item-overlay::after {
  opacity: 1;
}

.service-item-overlay h3 {
  margin: 0;
  font-size: 1.85rem;
  color: #fff;
  text-align: center;
  width: 100%;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease;
  position: relative;
  z-index: 2;
}

/* Hover pe card: titlul face zoom */
.service-item:hover .service-item-overlay h3 {
  transform: scale(1.12);
}

.service-item-overlay p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

/* Portfolio section */
.portfolio {
  padding: 4rem 1rem;
  background-color: var(--muted-color);
}

.portfolio h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.portfolio h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  justify-items: center;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gallery-grid video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* Video gallery layout - 3 videos per row */

/* Video styling - both videos same layout */
.video-landscape,
.video-portrait {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-landscape:hover,
.video-portrait:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive video styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .video-portrait {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    gap: 0.5rem;
  }
  
  .video-portrait {
    height: 250px;
  }
}

/* --- Carusel imobiliare: centrează perfect pe pagină --- */
/* .photo-carousel stilurile sunt definite mai jos în fișier */

.photo-carousel .carousel-item {
  position: absolute;
  top: 0;
  left: 50%;                 /* centrează baza fiecărui slide */
  width: 65%;
  height: 100%;
  transform: translateX(-50%);              /* aliniază pe mijloc */
  transition: transform 0.6s ease, opacity 0.6s ease;
  cursor: pointer;
}

.photo-carousel .carousel-item.active {
  transform: translateX(-50%) scale(1);
  z-index: 3;
  opacity: 1;
}

.photo-carousel .carousel-item.prev {
  transform: translateX(-115%) scale(0.8);  /* la stânga, puțin micșorat */
  z-index: 2;
  opacity: 0.85;
}

.photo-carousel .carousel-item.next {
  transform: translateX(15%) scale(0.8);    /* la dreapta, puțin micșorat */
  z-index: 2;
  opacity: 0.85;
}

.photo-carousel .carousel-item.hidden {
  transform: translateX(-50%) scale(0.6);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}


/* Section styles */
.section {
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.bg-1 {
  background: linear-gradient(135deg, #40474A 0%, #3A4446 100%);
  color: #ffffff;
}

.bg-2 {
  background: linear-gradient(135deg, #4D6568 0%, #3A4446 100%);
  color: #ffffff;
}

.bg-3 {
  background: linear-gradient(135deg, #4D6568 0%, #40474A 100%);
  color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.overlay {
  position: relative;
  z-index: 1;
}

/* Typography */
.title-xl {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title-lg {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: inherit;
}

.title-md {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: inherit;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Benefits grid */
.benefits-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefits-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.check {
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.check::after {
  content: "✓";
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.benefit-content {
  flex: 1;
}

/* Asymmetric layout */
.asymmetric-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trophy-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trophy {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Responsive design */
@media (max-width: 768px) {
  .title-xl {
    font-size: 2rem;
  }
  
  .benefits-grid-3,
  .benefits-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .trophy {
    width: 150px;
    height: 150px;
  }
}

.placeholder-note {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Contact section */
.contact {
  padding: 4rem 1rem;
  background-color: var(--light-color);
  position: relative;
  z-index: 1001; /* Mai mare decât navbar (1000) pentru a trece peste header */
}

.contact h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.contact p {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dark-color);
}

/* Reviews (Google Business Profile) section */
.reviews {
  padding: 4rem 1rem;
  background-color: var(--muted-color);
  position: relative;
  z-index: 1001; /* Mai mare decât navbar (1000) pentru a trece peste header */
}

.reviews h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.reviews > p {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color);
}

.reviews-list {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(64, 71, 74, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.review-author-name {
  font-weight: 600;
  color: var(--dark-color);
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-rating {
  font-size: 1rem;
  color: #f5a623; /* gold */
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
  /* Limitează recenziile lungi la N rânduri (dinamic via JS),
     ca butonul să ajungă jos în casetă. */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: var(--review-lines, 6);
  -webkit-box-orient: vertical;
}

.review-item.review-expanded .review-text {
  -webkit-line-clamp: unset;
  display: block;
}

.review-read-more {
  /* Împinge butonul spre baza cardului */
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}

.review-read-more:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

.reviews-loading,
.reviews-error,
.reviews-empty {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  grid-column: 1 / -1;
}

.reviews-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-cta {
  text-align: center;
  margin-bottom: 1.5rem;
}

.reviews-cta .cta-button {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .reviews {
    padding: 3rem 1rem;
  }

  .reviews h2 {
    font-size: 1.8rem;
  }

  .reviews > p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid rgba(77, 101, 104, 0.3);
  border-radius: 4px;
  font-size: 1rem;
  background-color: #ffffff;
  color: var(--dark-color);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  border: 1px solid rgba(77, 101, 104, 0.3);
  background-color: var(--light-color);
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 4px;
}

.form-group select:hover {
  border-color: rgba(58, 68, 70, 0.6);
  background-color: var(--muted-color);
}

.form-group select option {
  padding: 0.75rem;
  background-color: #ffffff;
  color: var(--text-color);
  font-weight: 500;
}

.form-group select option:hover {
  background-color: var(--light-color);
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(77, 101, 104, 0.2);
}

form button {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out;
}

form button:hover {
  background-color: var(--hover-color);
  color: #ffffff;
}

/* Footer */
footer {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem 1rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-social {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  visibility: visible !important;
  opacity: 1 !important;
}

.social-button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: #ffffff;
  text-decoration: none;
}

.social-button:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.social-button:active {
  transform: translateY(-1px);
}

.social-icon {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  color: #ffffff;
}

.social-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
}

.footer-copyright {
  margin: 0;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-social {
    gap: 2rem;
  }
  
  .social-icon {
    width: 28px;
    height: 28px;
  }
  
  .social-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .footer-social {
    gap: 1.5rem;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
  }
  
  .social-text {
    font-size: 0.8rem;
  }
  
  .footer-copyright {
    font-size: 0.85rem;
  }
}

/* Make service cards clickable links */
.service-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Hero section pentru pagina de evenimente auto/moto */
/* Structură similară cu pagina de fotografie imobiliară: folosim un pseudo-element
 * pentru imaginea de fundal şi animăm zoom-ul la încărcare. */
.hero-auto {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  /* Compensează înălţimea barei de navigaţie fixate */
  margin-top: 0;
  overflow: hidden;
}

/* Imaginea de fundal pentru hero-ul de evenimente auto: apare ca pseudo-element şi are
 * animaţie de zoom in. Folosim aceeaşi animaţie definită pentru hero-photo. */
/* Hero section pentru Evenimente Auto - BMW pe două roți */
.hero-auto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('DSC00292.jpg');
  background-size: cover;
  background-position: center;
  transform-origin: center;
  z-index: -2;
  animation: heroZoom 12s ease-out forwards;
}

/* Hero section pentru Fotografie Imobiliară - camera de dinainte */
.hero-real-estate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('real_estate_photo.jpg');
  background-size: cover;
  background-position: center;
  transform-origin: center;
  z-index: -2;
  animation: heroZoom 12s ease-out forwards;
}

/* Overlay întunecat peste fotografie pentru a îmbunătăţi lizibilitatea textului */
.hero-auto::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-real-estate::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Stiluri pentru titlul şi subtitlul din hero-auto: culoare albă şi index corespunzător */
.hero-auto h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.hero-auto p {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  z-index: 1;
}

/* Stiluri pentru hero-real-estate */
.hero-real-estate {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  margin-top: 0;
  overflow: hidden;
}

.hero-real-estate h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.hero-real-estate p {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.hero-real-estate .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  height: 100vh;
  position: relative;
  padding-top: 6rem;
  box-sizing: border-box;
}

.hero-auto .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  height: 100vh;
  position: relative;
  padding-top: 6rem;
  box-sizing: border-box;
}

/* Pe mobile, eliminăm padding-top pentru hero-content */
@media (max-width: 768px) {
  .hero-real-estate .hero-content,
  .hero-auto .hero-content {
    padding-top: 0;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
  }
  
  /* Hero content pentru pagina principală */
  .hero .hero-content {
    padding-top: 0;
  }
}

/* Stiluri pentru butonul de scroll */
.scroll-to-cards-btn {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: block;
  margin: 1.5rem auto 0;
  text-align: center;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  position: relative;
}

.scroll-to-cards-btn:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-cards-btn:active {
  transform: translateY(0);
}

/* Auto details section - removed old styles */

/* Auto gallery section */
.auto-gallery {
  padding: 4rem 1rem;
  background-color: var(--muted-color);
  color: var(--dark-color);
  position: relative;
  z-index: 1001; /* Mai mare decât navbar (1000) pentru a trece peste header */
}

.auto-gallery h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

/* Call to action on auto page */
.cta-contact {
  padding: 4rem 1rem;
  background-color: var(--light-color);
  text-align: center;
  color: var(--dark-color);
  position: relative;
  z-index: 1001; /* Mai mare decât navbar (1000) pentru a trece peste header */
}

.cta-contact h2 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.cta-contact p {
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

/* SEO Content section styling */
.seo-content-section {
  padding: 4rem 2rem;
  background: var(--muted-color);
  color: var(--text-color);
  position: relative;
  z-index: 1001; /* Mai mare decât navbar (1000) pentru a trece peste header */
}

.seo-content-container {
  max-width: 1000px;
  margin: 0 auto;
}

.seo-main-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark-color);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
}

.seo-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--light-color);
  border-radius: 8px;
}

.seo-intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.seo-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.seo-service-block {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.seo-service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0 0 1rem 0;
  font-family: 'Montserrat', sans-serif;
}

.seo-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-service-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  line-height: 1.6;
  color: var(--text-muted);
}

.seo-service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.seo-why-choose {
  background: transparent;
  padding: 2.5rem;
  border-radius: 8px;
  border: none;
  grid-column: 1 / -1;
}

.seo-why-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-color);
  margin: 0 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.seo-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.seo-why-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  line-height: 1.8;
  color: var(--text-color);
  font-weight: 500;
}

.seo-why-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.3rem;
}

/* Pricing packages section styling */
.pricing-packages-section {
  padding: 4rem 2rem;
  background: var(--light-color);
  color: var(--text-color);
  position: relative;
  z-index: 1001; /* Mai mare decât navbar (1000) pentru a trece peste header */
}

.pricing-packages-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-packages-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--dark-color);
  font-family: 'Montserrat', sans-serif;
}

.pricing-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-package-card {
  background: var(--muted-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 71, 74, 0.12);
  position: relative;
  overflow: hidden;
}

.pricing-package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.package-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(64, 71, 74, 0.1);
}

.package-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.package-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.package-description {
  margin-bottom: 1.5rem;
  text-align: center;
}

.package-description p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

.package-features {
  margin-bottom: 1.5rem;
}

.package-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.package-features .checkmark {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.package-price {
  display: block;
  text-align: center;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--hover-color) 100%);
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(64, 71, 74, 0.2);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.package-price:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, #2b3335 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 68, 70, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.package-price:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(58, 68, 70, 0.3);
}

.price-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-right: 0.5rem;
  opacity: 0.95;
}

.price-value {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  display: inline-block;
}

/* Prefix + value styling for "de la" prețuri în pachete */
.price-prefix {
  font-weight: 400;
  font-size: 0.85rem;
  display: inline-block;
}

.price-number {
  font-weight: 700;
  font-size: 1.4rem;
  display: inline-block;
}

/* Stiluri specifice pentru prețurile din pagina fotografie-imobiliară (în feature-item) */
.package-features .price-prefix {
  font-size: 0.9rem;
  font-weight: 400;
}

.package-features .price-number {
  font-size: 0.9rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

/* Benefits section styling - Pricing Cards Layout */
.benefits-section {
  padding: 4rem 2rem;
  background: var(--light-color);
  color: var(--text-color);
  position: relative;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.benefits-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--dark-color);
  font-family: 'Montserrat', sans-serif;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pricing-card {
  background: var(--muted-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 71, 74, 0.15);
  position: relative;
  width: 300px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.card-header {
  text-align: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(64, 71, 74, 0.12);
  padding-bottom: 1rem;
}

.card-icons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.card-icons .icon {
  font-size: 1.2rem;
  background: var(--light-color);
  padding: 0.4rem;
  border-radius: 4px;
  display: inline-block;
  color: var(--text-muted);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-description {
  margin-bottom: 1.5rem;
  text-align: center;
  flex-grow: 1;
}

.card-description p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
  padding: 0.2rem 0;
}

.feature-item .checkmark {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-item span:last-child {
  flex: 1;
}

/* Deliverables section styling */
.deliverables-section {
  padding: 4rem 2rem;
  background: var(--muted-color);
  color: var(--text-color);
  position: relative;
}

.deliverables-section .pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.deliverables-section .pricing-card {
  min-height: auto;
  padding: 2rem 1.5rem;
  width: auto;
}

.checkmark-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.deliverables-section .card-title {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.deliverables-section .card-description {
  margin-bottom: 0;
}

  .deliverables-section .card-description p {
    font-size: 0.9rem;
    font-style: normal;
  }

/* Gallery Navigation Section */
.gallery-navigation-section {
  padding: 4rem 2rem;
  background: var(--muted-color);
  color: var(--text-color);
  position: relative;
  z-index: 1001; /* Mai mare decât navbar (1000) pentru a trece peste header */
}

.gallery-navigation-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-navigation-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--dark-color);
  font-family: 'Montserrat', sans-serif;
}

.gallery-navigation-buttons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.gallery-nav-button {
  background: var(--muted-color);
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 300px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.gallery-nav-button:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(77, 101, 104, 0.3);
}

.gallery-nav-button:hover .nav-button-icon {
  transform: scale(1.1);
}

.nav-button-icon {
  font-size: 3rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav-button-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: inherit;
  font-family: 'Montserrat', sans-serif;
}

.nav-button-text p {
  font-size: 1rem;
  margin: 0;
  color: inherit;
  opacity: 0.8;
}

/* Responsive design pentru SEO content și pricing cards */
@media (max-width: 1200px) {
  .gallery-navigation-buttons {
    gap: 2rem;
  }
  
  .gallery-nav-button {
    min-width: 280px;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .seo-content-section {
    padding: 3rem 1rem;
  }
  
  .seo-main-title {
    font-size: 2rem;
  }
  
  .seo-intro {
    padding: 1.5rem;
  }
  
  .seo-intro-text {
    font-size: 1rem;
  }
  
  .seo-services {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .seo-service-block {
    padding: 1.5rem;
  }
  
  .seo-service-title {
    font-size: 1.3rem;
  }
  
  .seo-why-choose {
    padding: 2rem;
  }
  
  .seo-why-title {
    font-size: 1.5rem;
  }
  
  .seo-why-list {
    max-width: 100%;
  }
  
  .pricing-packages-section {
    padding: 3rem 1rem;
  }
  
  .pricing-packages-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .pricing-packages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-package-card {
    padding: 1.5rem;
  }
  
  .package-title {
    font-size: 1.3rem;
  }
  
  .package-description p {
    font-size: 0.9rem;
  }
  
  .package-features .feature-item {
    font-size: 0.85rem;
  }
  
  .gallery-navigation-section {
    padding: 3rem 1rem;
  }
  
  .gallery-navigation-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .gallery-navigation-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .gallery-nav-button {
    min-width: 100%;
    max-width: 400px;
    padding: 1.5rem;
  }
  
  .nav-button-icon {
    font-size: 2.5rem;
  }
  
  .nav-button-text h3 {
    font-size: 1.3rem;
  }
  
  .nav-button-text p {
    font-size: 0.9rem;
  }
  
  .benefits-section {
    padding: 3rem 1rem;
  }
  
  .benefits-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 350px;
    min-height: auto;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-description p {
    font-size: 0.8rem;
  }
  
  .feature-item {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .benefits-title {
    font-size: 1.8rem;
  }
  
  .pricing-card {
    padding: 1rem;
  }
  
  .card-icons .icon {
    font-size: 1rem;
    padding: 0.3rem;
  }
  
  .deliverables-section .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 350px;
  }
  
  .checkmark-circle {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ... restul stilurilor site-ului ... */

/* === Carusel Imobiliare (scoped, la final) === */
#imobiliare { width: min(92vw,1280px); margin: 0 auto; }

.imobiliare-carousel{ position:relative; height:520px; margin:32px auto 48px; }

.imobiliare-carousel .imob-item{
  position:absolute; top:0; left:50%; width:70%; height:100%;
  transform: translateX(-50%);
  transition: transform .6s ease, opacity .6s ease;
  cursor:pointer;
}

.imobiliare-carousel .imob-item img{
  width:100%; height:100%; object-fit:cover;
  border-radius:16px; box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.imobiliare-carousel .imob-item.active{ transform:translateX(-50%) scale(1); z-index:3; opacity:1; }
.imobiliare-carousel .imob-item.prev  { transform:translateX(-115%) scale(.85); z-index:2; opacity:.9; }
.imobiliare-carousel .imob-item.next  { transform:translateX(15%) scale(.85); z-index:2; opacity:.9; }
.imobiliare-carousel .imob-item.hidden{ transform:translateX(-50%) scale(.7); z-index:1; opacity:0; pointer-events:none; }

/* === Override: Carusel Imobiliare centrat === */
.photo-carousel {
  width: 90%;
  max-width: 1200px;
  height: 450px;
  margin: 2rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-carousel .carousel-item{
  position: absolute;
  top: 0;
  left: 50%;                 /* ancorează fiecare slide la mijloc */
  width: 65%;
  height: 100%;
  transform: translateX(-50%);            /* centrează efectiv */
  transition: transform .6s ease, opacity .6s ease;
  cursor: pointer;
}

.photo-carousel .carousel-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.photo-carousel .carousel-item.active{
  transform: translateX(-50%) scale(1);
  z-index: 3;
  opacity: 1;
}

.photo-carousel .carousel-item.prev{
  transform: translateX(-115%) scale(.85); /* la stânga de centru */
  z-index: 2;
  opacity: .9;
}

.photo-carousel .carousel-item.next{
  transform: translateX(15%) scale(.85);   /* la dreapta de centru */
  z-index: 2;
  opacity: .9;
}

.photo-carousel .carousel-item.hidden{
  transform: translateX(-50%) scale(.7);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

/* Galerie Evenimente - Masonry Style */
.auto-gallery h2 {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--dark-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auto-gallery h3 {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
  margin: 3rem 0 2rem 0;
  text-align: center;
  color: var(--dark-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#video-gallery {
  scroll-margin-top: 120px;
}

#photo-gallery {
  scroll-margin-top: 120px;
}

.photo-gallery {
  margin: 2rem 0;
}

.masonry-gallery {
  columns: 4;
  column-gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  break-inside: avoid;
  margin-bottom: 1rem;
  display: inline-block;
  width: 100%;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Modal pentru zoom */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

/* Modal pentru video fullscreen */
.video-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

#modal-video {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.close-video-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10002;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-video-modal:hover {
  color: var(--primary-color);
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  overflow: visible;
}

.modal-content img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: var(--primary-color);
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10002;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark-color);
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(0, 0, 0, 0.3);
}

.prev-nav {
  left: 30px;
  z-index: 1002;
}

.next-nav {
  right: 30px;
  z-index: 1002;
}

/* Responsive pentru galerie Masonry */
@media (max-width: 1200px) {
  .masonry-gallery {
    columns: 3;
  }
  
  .auto-gallery h2 {
    font-size: 3rem;
  }
  
  .auto-gallery h3 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .masonry-gallery {
    columns: 2;
    column-gap: 0.5rem;
  }
  
  .auto-gallery h2 {
    font-size: 2.5rem;
  }
  
  .auto-gallery h3 {
    font-size: 2.5rem;
  }
  
  .modal-nav {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .prev-nav {
    left: 20px;
  }
  
  .next-nav {
    right: 20px;
  }
}

@media (max-width: 480px) {
  .masonry-gallery {
    columns: 1;
  }
  
  .auto-gallery h2 {
    font-size: 2rem;
  }
  
  .auto-gallery h3 {
    font-size: 2rem;
  }
  
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .prev-nav {
    left: 15px;
  }
  
  .next-nav {
    right: 15px;
  }
}

/* Before/After Slider Styles */
.before-after-section {
  margin: 3rem 0;
  text-align: center;
}

.before-after-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
}

.before-after-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.before-after-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  cursor: grab;
  user-select: none;
}

.before-after-slider:active {
  cursor: grabbing;
}

.before-after-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.before-image {
  left: 0;
}

.after-image {
  right: 0;
}

.before-image img,
.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  z-index: 20;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-line {
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.before-label,
.after-label {
  position: absolute;
  top: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10;
  font-family: 'Montserrat', sans-serif;
}

.before-label {
  left: 20px;
}

.after-label {
  right: 20px;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 21;
}

.slider-button {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: grab;
  transition: all 0.2s ease;
}

.slider-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.slider-button:active {
  cursor: grabbing;
}

.slider-arrow {
  font-size: 18px;
  font-weight: bold;
  color: var(--dark-color);
  font-family: 'Montserrat', sans-serif;
}

.left-arrow {
  margin-right: 2px;
}

.right-arrow {
  margin-left: 2px;
}

/* Responsive design pentru slider */
@media (max-width: 768px) {
  .before-after-slider {
    height: 300px;
  }
  
  .before-after-title {
    font-size: 1.2rem;
  }
  
  .slider-button {
    width: 40px;
    height: 40px;
  }
  
  .slider-arrow {
    font-size: 14px;
  }
  
  .before-label,
  .after-label {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .before-after-slider {
    height: 250px;
  }
  
  .before-after-title {
    font-size: 1rem;
  }
  
  .before-label,
  .after-label {
    top: 10px;
    font-size: 0.7rem;
    padding: 4px 8px;
  }
  
  .before-label {
    left: 10px;
  }
  
  .after-label {
    right: 10px;
  }
}

/* ============================================
   OPTIMIZĂRI MOBILE - TELEFON
   Toate stilurile de mai jos se aplică DOAR pe ecrane mici
   și NU afectează varianta desktop/Windows
   ============================================ */

@media (max-width: 768px) {
  /* Navigation Mobile - Header mai mare și mai estetic */
  .navbar {
    padding: 1.2rem 1.5rem;
    flex-wrap: wrap;
    min-height: auto;
    height: auto;
  }
  
  .navbar .logo {
    flex: 1;
    min-width: 200px;
  }
  
  .navbar .logo img {
    width: 90px !important;
    height: 90px !important;
  }
  
  .navbar .logo span {
    font-size: 1.6rem !important;
    margin-left: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.5px;
  }
  
  /* Hamburger button mai mare pe mobile */
  .hamburger-btn {
    font-size: 2.8rem !important;
    padding: 0.8rem !important;
    min-width: 55px !important;
    min-height: 55px !important;
  }
  
  .navbar .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #000000;
    flex-direction: column;
    padding: 1rem 0;
    margin: 0;
    gap: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
  }
  
  .navbar .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
  
  .navbar .nav-links li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar .nav-links li a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: block;
  }
  
  /* Hamburger Menu Button - creat dinamic prin JavaScript */
  .hamburger-btn {
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.8rem !important;
    cursor: pointer !important;
    padding: 0.4rem !important;
    display: block !important;
    order: 2 !important;
    transition: transform 0.3s ease !important;
  }
  
  .hamburger-btn:hover {
    transform: scale(1.1);
  }
  
  .hamburger-btn:active {
    transform: scale(0.95);
  }
  
  /* Hero Section Mobile - Full height pentru videoclip până jos */
  .hero {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
    padding: 0 1rem;
    position: relative;
  }
  
  /* Video pe mobile - zoom central pentru a elimina barele negre */
  #hero-video {
    transform: translate(-50%, -50%) scale(1.3);
    -webkit-transform: translate(-50%, -50%) scale(1.3);
    object-position: center center;
    /* Asigură că video-ul acoperă complet pe mobile */
    min-width: 120%;
    min-height: 120%;
    width: 120%;
    height: 120%;
  }
  
  /* Overlay pe mobile - acoperă complet */
  .hero::before {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-width: 100%;
    min-height: 100%;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .cta-button {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    border-radius: 30px;
  }
  
  /* Hero Auto & Real Estate Mobile - Full height */
  .hero-auto,
  .hero-real-estate {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
  }
  
  .hero-auto h1,
  .hero-real-estate h1 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-auto p,
  .hero-real-estate p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .scroll-to-cards-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 30px;
    max-width: 90%;
    margin-top: 1rem;
  }
  
  /* Services Section Mobile */
  .services {
    padding: 3rem 1rem;
  }
  
  .services h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .service-item {
    min-height: 280px;
  }
  
  .service-item-overlay {
    padding: 0; /* Modificat din 1.25rem 1rem in 0 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .service-item-overlay h3 {
    font-size: 1.55rem;
    text-align: center;
    width: 100%;
  }
  
  .service-item-overlay p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Contact Section Mobile */
  .contact {
    padding: 3rem 1rem;
  }
  
  .contact h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .contact p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  form {
    max-width: 100%;
  }
  
  .form-group {
    margin-bottom: 1.25rem;
  }
  
  .form-group label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.875rem;
    font-size: 1rem;
    border-radius: 8px;
  }
  
  form button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
    border-radius: 30px;
  }
  
  /* Footer Mobile */
  footer {
    padding: 2rem 1rem 1rem;
  }
  
  .footer-social {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .social-button {
    padding: 0.5rem;
    gap: 0.4rem;
  }
  
  .social-icon {
    width: 28px;
    height: 28px;
  }
  
  .social-text {
    font-size: 0.8rem;
  }
  
  .footer-copyright {
    font-size: 0.85rem;
    padding-top: 0.75rem;
  }
  
  /* SEO Content Section Mobile */
  .seo-content-section {
    padding: 2.5rem 1rem;
  }
  
  .seo-main-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }
  
  .seo-intro {
    padding: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .seo-intro-text {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0.75rem 0;
  }
  
  .seo-services {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .seo-service-block {
    padding: 1.5rem;
  }
  
  .seo-service-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  
  .seo-service-list li {
    font-size: 0.9rem;
    padding: 0.4rem 0 0.4rem 1.5rem;
    line-height: 1.6;
  }
  
  .seo-why-choose {
    padding: 1.5rem;
  }
  
  .seo-why-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .seo-why-list li {
    font-size: 0.95rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
    line-height: 1.7;
  }
  
  /* Pricing Packages Mobile */
  .pricing-packages-section {
    padding: 2.5rem 1rem;
  }
  
  .pricing-packages-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .pricing-packages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-package-card {
    padding: 1.5rem;
  }
  
  .package-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .package-title {
    font-size: 1.2rem;
  }
  
  .package-description p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .package-features .feature-item {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
  
  .package-price {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .price-value {
    font-size: 1.2rem;
  }
  
  /* Gallery Navigation Mobile */
  .gallery-navigation-section {
    padding: 2.5rem 1rem;
  }
  
  .gallery-navigation-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .gallery-navigation-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .gallery-nav-button {
    min-width: 100%;
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .nav-button-icon {
    font-size: 2rem;
  }
  
  .nav-button-text h3 {
    font-size: 1.2rem;
  }
  
  .nav-button-text p {
    font-size: 0.9rem;
  }
  
  /* Benefits Section Mobile */
  .benefits-section {
    padding: 2.5rem 1rem;
  }
  
  .benefits-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-description p {
    font-size: 0.85rem;
  }
  
  .feature-item {
    font-size: 0.8rem;
  }
  
  /* Deliverables Section Mobile */
  .deliverables-section {
    padding: 2.5rem 1rem;
  }
  
  .deliverables-section .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .checkmark-circle {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  /* Auto Gallery Mobile */
  .auto-gallery {
    padding: 2.5rem 1rem;
  }
  
  .auto-gallery h2,
  .auto-gallery h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .masonry-gallery {
    columns: 1;
    column-gap: 0.75rem;
  }
  
  .gallery-item {
    margin-bottom: 0.75rem;
    border-radius: 10px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-grid video {
    height: 250px;
    border-radius: 8px;
  }
  
  /* Modal Mobile */
  .modal-content {
    padding: 1rem;
  }
  
  .close-modal,
  .close-video-modal {
    width: 40px;
    height: 40px;
    font-size: 28px;
    top: 15px;
    right: 15px;
  }
  
  .modal-nav {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .prev-nav {
    left: 15px;
  }
  
  .next-nav {
    right: 15px;
  }
  
  /* Before/After Slider Mobile */
  .before-after-section {
    margin: 2rem 0;
  }
  
  .before-after-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .before-after-slider {
    height: 280px;
  }
  
  .slider-button {
    width: 45px;
    height: 45px;
  }
  
  .slider-arrow {
    font-size: 16px;
  }
  
  .before-label,
  .after-label {
    font-size: 0.75rem;
    padding: 6px 12px;
    top: 15px;
  }
  
  .before-label {
    left: 15px;
  }
  
  .after-label {
    right: 15px;
  }
  
  /* CTA Contact Mobile */
  .cta-contact {
    padding: 2.5rem 1rem;
  }
  
  .cta-contact h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }
  
  .cta-contact p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
  }
  
  .cta-contact .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }
  
  /* Photo Carousel Mobile */
  .photo-carousel {
    height: 300px;
    margin: 1.5rem auto;
  }
  
  .imobiliare-carousel {
    height: 350px;
    margin: 24px auto 32px;
  }
  
  /* Hero Photo Mobile - Full height */
  .hero-photo {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
  }
  
  .hero-photo h1 {
    font-size: 1.8rem;
  }
  
  .hero-photo p {
    font-size: 1rem;
  }
}

/* Mobile Extra Small (telefoane foarte mici) */
@media (max-width: 480px) {
  .navbar {
    padding: 0.35rem 0.75rem;
  }
  
  .navbar .logo img {
    width: 90px !important;
    height: 90px !important;
  }
  
  .navbar .logo span {
    font-size: 1.6rem !important;
  }
  
  .hero {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .hero-auto,
  .hero-real-estate {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
  }
  
  .hero-auto h1,
  .hero-real-estate h1 {
    font-size: 1.5rem;
  }
  
  .hero-auto p,
  .hero-real-estate p {
    font-size: 0.9rem;
  }
  
  .services h2,
  .contact h2,
  .seo-main-title,
  .pricing-packages-title,
  .gallery-navigation-title,
  .benefits-title,
  .auto-gallery h2,
  .auto-gallery h3,
  .cta-contact h2 {
    font-size: 1.4rem;
  }
  
  .service-item {
    min-height: 260px;
  }
  
  .service-item-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .service-item-overlay h3 {
    font-size: 1.4rem;
    text-align: center;
    width: 100%;
  }
  
  .service-item-overlay p {
    font-size: 0.85rem;
  }
  
  .footer-social {
    gap: 1rem;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
  }
  
  .social-text {
    font-size: 0.75rem;
  }
  
  .seo-intro-text {
    font-size: 0.95rem;
  }
  
  .seo-service-title {
    font-size: 1.1rem;
  }
  
  .seo-service-list li {
    font-size: 0.85rem;
  }
  
  .seo-why-title {
    font-size: 1.2rem;
  }
  
  .seo-why-list li {
    font-size: 0.9rem;
  }
  
  .package-title {
    font-size: 1.1rem;
  }
  
  .package-description p {
    font-size: 0.85rem;
  }
  
  .package-features .feature-item {
    font-size: 0.8rem;
  }
  
  .gallery-grid video {
    height: 200px;
  }
  
  .before-after-slider {
    height: 240px;
  }
  
  .slider-button {
    width: 40px;
    height: 40px;
  }
  
  .slider-arrow {
    font-size: 14px;
  }
  
  .photo-carousel {
    height: 250px;
  }
  
  .imobiliare-carousel {
    height: 300px;
  }
  
  .hero-photo {
    height: 45vh;
  }
  
  .hero-photo h1 {
    font-size: 1.5rem;
  }
  
  .hero-photo p {
    font-size: 0.9rem;
  }
}

/* Optimizări suplimentare pentru touch și performanță pe mobile */
@media (max-width: 768px) {
  /* Touch-friendly elements */
  * {
    -webkit-tap-highlight-color: rgba(77, 101, 104, 0.2);
  }
  
  /* Butoane mai mari pentru touch */
  button,
  .cta-button,
  .scroll-to-cards-btn,
  .package-price,
  .gallery-nav-button {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Optimizare pentru imagini */
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  
  /* Prevenire zoom la double-tap pe input-uri */
  input,
  textarea,
  select {
    font-size: 16px !important;
  }
  
  /* Optimizare pentru animații pe mobile */
  .service-item,
  .pricing-card,
  .gallery-item {
    will-change: transform;
  }
  
  /* Reduce motion pentru utilizatorii care preferă */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* ============================================
   OPTIMIZĂRI SPECIFICE PENTRU iPhone X
   Dimensiuni: 375 x 812px (portrait)
   Safe Area: top ~44px, bottom ~34px
   ============================================ */

/* iPhone X și modele similare (iPhone 11 Pro, 12 mini, etc.) */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 812px) 
  and (-webkit-device-pixel-ratio: 3),
only screen 
  and (device-width: 390px) 
  and (device-height: 844px) 
  and (-webkit-device-pixel-ratio: 3),
only screen 
  and (device-width: 428px) 
  and (device-height: 926px) 
  and (-webkit-device-pixel-ratio: 3) {
  
  /* Safe Area Support - evită notch-ul și bara de navigare */
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  /* Navigation - ajustat pentru safe area - Redus padding pentru a elimina spațiul negru gol */
  .navbar {
    padding-top: max(0.3rem, env(safe-area-inset-top));
    padding-bottom: 0.3rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    height: auto;
    min-height: auto;
  }
  
  .navbar .logo img {
    width: 90px !important;
    height: 90px !important;
  }
  
  .navbar .logo span {
    font-size: 1.6rem !important;
  }
  
  /* Hamburger button mai mare pe iPhone X */
  .hamburger-btn {
    font-size: 2.8rem !important;
    padding: 0.8rem !important;
    min-width: 55px !important;
    min-height: 55px !important;
  }
  
  /* Hero Section - optimizat pentru aspect ratio iPhone X - Full height */
  .hero {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
    padding: 2rem 1rem;
    padding-bottom: max(2rem, calc(2rem + env(safe-area-inset-bottom)));
  }
  
  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
    line-height: 1.5;
  }
  
  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
    min-height: 48px;
  }
  
  /* Hero Auto & Real Estate - Full height */
  .hero-auto,
  .hero-real-estate {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
  }
  
  .hero-auto h1,
  .hero-real-estate h1 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-auto p,
  .hero-real-estate p {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  
  .scroll-to-cards-btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    min-height: 48px;
    max-width: 85%;
    margin-top: 1.25rem;
  }
  
  /* Services Section */
  .services {
    padding: 2.5rem 1rem;
    padding-bottom: max(2.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  }
  
  .service-grid {
    gap: 1.75rem;
  }
  
  .service-item {
    min-height: 300px;
  }
  
  /* Contact Section */
  .contact {
    padding: 2.5rem 1rem;
    padding-bottom: max(2.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  }
  
  form button {
    min-height: 48px;
    margin-top: 0.5rem;
  }
  
  /* Footer - safe area pentru bara de navigare */
  footer {
    padding: 2rem 1rem;
    padding-bottom: max(1rem, calc(1rem + env(safe-area-inset-bottom) + 1rem));
  }
  
  .footer-social {
    margin-bottom: 1.5rem;
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  /* SEO Content */
  .seo-content-section {
    padding: 2.5rem 1rem;
    padding-bottom: max(2.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  }
  
  .seo-main-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  /* Pricing Packages */
  .pricing-packages-section {
    padding: 2.5rem 1rem;
    padding-bottom: max(2.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  }
  
  .pricing-package-card {
    padding: 1.75rem;
  }
  
  .package-price {
    min-height: 48px;
    padding: 1.1rem 1.5rem;
  }
  
  /* Gallery Navigation */
  .gallery-navigation-section {
    padding: 2.5rem 1rem;
    padding-bottom: max(2.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  }
  
  .gallery-nav-button {
    min-height: 60px;
    padding: 1.5rem;
  }
  
  /* Auto Gallery */
  .auto-gallery {
    padding: 2.5rem 1rem;
    padding-bottom: max(2.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  }
  
  .gallery-grid video {
    height: 280px;
  }
  
  /* Modal - safe area */
  .modal-content,
  .video-modal-content {
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, calc(1rem + env(safe-area-inset-bottom))) 1rem;
  }
  
  .close-modal,
  .close-video-modal {
    top: max(15px, calc(15px + env(safe-area-inset-top)));
    right: max(15px, env(safe-area-inset-right));
  }
  
  /* CTA Contact */
  .cta-contact {
    padding: 2.5rem 1rem;
    padding-bottom: max(2.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  }
  
  .cta-contact .cta-button {
    min-height: 48px;
    max-width: 280px;
  }
  
  /* Before/After Slider */
  .before-after-slider {
    height: 300px;
  }
  
  /* Photo Carousel */
  .photo-carousel {
    height: 320px;
  }
  
  .imobiliare-carousel {
    height: 380px;
  }
  
  /* Hero Photo */
  .hero-photo {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
  }
}

/* iPhone X în mod landscape */
@media only screen 
  and (device-width: 812px) 
  and (device-height: 375px) 
  and (-webkit-device-pixel-ratio: 3),
only screen 
  and (device-width: 844px) 
  and (device-height: 390px) 
  and (-webkit-device-pixel-ratio: 3),
only screen 
  and (device-width: 926px) 
  and (device-height: 428px) 
  and (-webkit-device-pixel-ratio: 3) {
  
  .navbar {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  
  .hero {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .masonry-gallery {
    columns: 2;
  }
}

/* Viewport fix pentru iPhone X - previne zoom neintenționat */
@supports (-webkit-touch-callout: none) {
  @media screen and (max-width: 428px) {
    html {
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }
    
    body {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  }
}

/* Fix iOS tap status bar scroll-to-top */
@supports (-webkit-touch-callout: none) {
  html,
  body {
    height: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Optimizare pentru aspect ratio iPhone X (19.5:9) - Full height */
@media screen and (min-aspect-ratio: 2/1) and (max-width: 428px) {
  .hero,
  .hero-auto,
  .hero-real-estate {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pentru mobile */
    margin-top: 0;
  }
}

/* Optimizări suplimentare pentru iPhone X - Touch și performanță */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 812px) 
  and (-webkit-device-pixel-ratio: 3),
only screen 
  and (device-width: 390px) 
  and (device-height: 844px) 
  and (-webkit-device-pixel-ratio: 3),
only screen 
  and (device-width: 428px) 
  and (device-height: 926px) 
  and (-webkit-device-pixel-ratio: 3) {
  
  /* Touch targets optimizate pentru iPhone X */
  a,
  button,
  .cta-button,
  .scroll-to-cards-btn,
  .package-price,
  .gallery-nav-button,
  .social-button {
    -webkit-tap-highlight-color: rgba(77, 101, 104, 0.3);
    touch-action: manipulation;
  }
  
  /* Prevenire bounce scroll pe iOS */
  body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Optimizare pentru scroll smooth pe iOS */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Butoane mai mari pentru touch pe iPhone X */
  button,
  .cta-button,
  .scroll-to-cards-btn,
  .package-price,
  form button {
    min-height: 48px;
    min-width: 48px;
    padding: 0.875rem 1.75rem;
  }
  
  /* Input-uri optimizate pentru iPhone X */
  input,
  textarea,
  select {
    font-size: 16px !important;
    min-height: 44px;
    padding: 0.875rem;
  }
  
  /* Navbar - optimizat pentru notch */
  .navbar .nav-links {
    max-height: calc(100vh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Gallery items - optimizate pentru touch */
  .gallery-item {
    touch-action: pan-y;
  }
  
  /* Modal - optimizat pentru safe area */
  .gallery-modal,
  .video-modal {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  /* Footer - safe area pentru home indicator */
  footer {
    position: relative;
  }
  
  .footer-social {
    margin-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
  
  /* Optimizare pentru performanță pe iPhone X */
  .service-item,
  .pricing-card,
  .gallery-item,
  .benefit-item {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
  }
  
  /* Text optimizat pentru lizibilitate pe iPhone X */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  
  /* Spacing optimizat pentru aspect ratio iPhone X */
  .services,
  .contact,
  .seo-content-section,
  .pricing-packages-section,
  .gallery-navigation-section,
  .auto-gallery,
  .cta-contact {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  
  /* Hero content - centrare perfectă pentru iPhone X */
  .hero-content,
  .hero-auto .hero-content,
  .hero-real-estate .hero-content {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  
  /* Form - optimizat pentru keyboard pe iPhone X */
  form {
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  /* Scroll to top button safe area (dacă există) */
  .scroll-to-top {
    bottom: max(1rem, calc(1rem + env(safe-area-inset-bottom)));
    right: max(1rem, env(safe-area-inset-right));
  }
}

/* ============================================
   BUTON SCROLL TO TOP - DOAR PE PAGINI SPECIFICE
   Apare doar pe paginile evenimente-auto.html și fotografie-imobiliara.html
   ============================================ */

.scroll-to-top-btn {
  display: none;
}

.page-scroll-top .scroll-to-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  touch-action: manipulation;
}

.page-scroll-top .scroll-to-top-btn:hover,
.page-scroll-top .scroll-to-top-btn:active {
  background-color: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-scroll-top .scroll-to-top-btn svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 768px) {
  .page-scroll-top .scroll-to-top-btn {
    width: 50px;
    height: 50px;
  }

  .page-scroll-top .scroll-to-top-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* Safe area pentru iPhone X și dispozitive cu notch */
@supports (padding: max(0px)) {
  .page-scroll-top .scroll-to-top-btn {
    bottom: max(2rem, calc(2rem + env(safe-area-inset-bottom)));
    left: max(1.5rem, calc(1.5rem + env(safe-area-inset-left)));
  }
}

