/* === RESET DE BAZĂ === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img { display: block; max-width: 100%; height: auto; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

main.visual-content {
  flex: 1;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* === CONTAINER === */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* === SECȚIUNI VIZUALE === */
.visual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.visual-section:hover {
  transform: translateY(-4px);
}

.visual-section.reverse {
  direction: rtl;
}
.visual-section.reverse > * {
  direction: ltr;
}

.visual-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #1e293b;
}

.visual-section p {
  font-size: 1.1rem;
  color: #475569;
}

.visual-section img {
  width: 100%;
  max-width: 1000px; /* ✅ restrângere controlată */
  height: auto;
  max-height: 360px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  margin: 0 auto;
}


.visual-section img:hover {
  transform: scale(1.03);
}

/* === LIMITĂRI === */
.limitari-modern {
  text-align: center;
  margin: 80px 0 60px;
}

.limitari-titlu {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1e3a8a;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
}

.limitari-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 0 10px;
}

.limitari-cards .card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.limitari-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.limitari-cards .card h3 {
  font-size: 1.4rem;
  color: #1e3a8a;
  margin-bottom: 10px;
  text-align: center;
}

.limitari-cards .card p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
  text-align: center;
}

/* === GALERIE IMAGINI === */
.image-gallery-section {
  margin-bottom: 60px;
  padding-bottom: 40px;
}

.image-gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1e293b;
  text-align: center;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

/* === HERO === */
.hero {
  position: relative;
  height: 368px;
  overflow: hidden;
  max-width: 100vw;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.hero-slider .slide,
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  padding: 0 1rem;
  width: 100%;
  max-width: 1280px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.4rem;
  color: #cbd5e1;
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .visual-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .visual-section.reverse {
    direction: ltr;
  }

  .visual-section img {
    max-height: none;
    margin-top: 20px;
  }
}
