
:root {
  --gold-1: #f3c862;
  --gold-2: #b78a2f;
  --ink: #0e1116;
  --ink-soft: #161c24;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #11161d;
  --muted: #5f6670;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.18);
  --shadow-strong: 0 20px 45px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: #090c12;
}

.background-section {
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}

.background-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.15) 0%, rgba(7, 9, 12, 0.68) 48%, rgba(7, 9, 12, 0.92) 100%);
  z-index: -1;
}

.hero {
  position: relative;
  min-height: 62vh;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(243, 200, 98, 0.2), transparent 46%), linear-gradient(180deg, rgba(7, 10, 14, 0.35), rgba(7, 10, 14, 0.75));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0) 0%, rgba(7, 10, 14, 0.85) 100%);
  z-index: 2;
}

.overlay {
  display: none;
}

.navbar {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 5;
}

.lang-switch {
  list-style: none;
  margin: 0;
  padding: 6px;
  display: flex;
  gap: 6px;
  background: rgba(12, 15, 20, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.lang-switch li {
  margin: 0;
  padding: 0;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #f4f7fb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #1a1e26;
  background: linear-gradient(135deg, var(--gold-1), #f8d578);
  box-shadow: 0 8px 18px rgba(243, 200, 98, 0.3);
}

.centered-logo {
  position: relative;
  z-index: 3;
  padding: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08), rgba(9, 11, 15, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
}

.centered-logo img {
  max-width: 320px;
  width: 100%;
  display: block;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.45));
}

section {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
}

.section-about-us {
  margin-top: 24px;
  text-align: center;
}

.despre-noi h1 {
  margin: 0;
  display: inline-block;
  max-width: 980px;
  padding: 22px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(110deg, var(--gold-1), var(--gold-2));
  color: #fff;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3.4rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-soft);
}

.why-box {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  background-color: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(184, 140, 47, 0.35);
  color: #7f5e19;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.9rem);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.despre-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.despre-box {
  background: var(--surface-strong);
  border: 1px solid rgba(17, 22, 29, 0.07);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  text-align: left;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.despre-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.16);
}

.despre-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #8f6b20;
}

.despre-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.62;
}

.section-catalog {
  margin-top: 20px;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.galerie-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

.galerie-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.galerie-item img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
  cursor: pointer;
}

.galerie-item:hover img {
  transform: scale(1.05);
}

.galerie-redirect-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.galerie-buton-redirect {
  cursor: pointer;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.galerie-buton-redirect:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.3);
}

.galerie-buton-redirect h1 {
  margin: 0;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2.05rem);
  font-weight: 800;
  color: #fff;
  padding: 22px 34px;
  border-radius: 20px;
}

.section-contact {
  margin-top: 58px;
  margin-bottom: 0;
  max-width: 860px;
  padding: 42px 28px;
  border-radius: 28px;
  text-align: center;
  background: var(--surface);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-soft);
}

.section-contact h2 {
  margin: 0 0 24px;
  font-size: 2rem;
  color: #1b2430;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
}

.contact-icons {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-link {
  min-width: 140px;
  text-decoration: none;
  color: #1c2430;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(18, 24, 31, 0.1);
  background: rgba(255, 255, 255, 0.8);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.icon-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

#imageModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 8, 12, 0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.25s ease;
}

#imageModal img {
  max-width: 92%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
  animation: zoomIn 0.2s ease;
}

#imageModal span {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 42px;
  line-height: 1;
  color: #fff;
}

footer {
  margin-top: 38px;
  padding: 16px 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

@keyframes zoomIn {
  from {
    transform: scale(0.94);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1040px) {
  .despre-grid,
  .galerie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 56vh;
  }

  .navbar {
    right: 14px;
    top: 14px;
  }

  .centered-logo {
    padding: 14px;
  }

  .centered-logo img {
    max-width: 230px;
  }

  section {
    width: min(1200px, calc(100% - 24px));
  }

  .section-about-us {
    margin-top: 12px;
  }

  .despre-noi h1 {
    padding: 16px 18px;
  }

  .why-box {
    margin-top: 18px;
    padding: 13px 18px;
  }

  .despre-grid,
  .galerie-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .galerie-buton-redirect h1 {
    padding: 18px 20px;
  }

  .section-contact {
    padding: 30px 18px;
    border-radius: 20px;
  }

  .contact-icons {
    gap: 12px;
  }

  .contact-link {
    min-width: 110px;
    padding: 12px 10px;
    font-size: 0.92rem;
  }

  .icon-img {
    width: 48px;
    height: 48px;
  }

  footer {
    margin-top: 24px;
    font-size: 0.88rem;
  }
}
