/* Stil general – temă gold/champagne premium */

:root {
  --bg-light: #f7f3ec;
  --bg-dark: #181516;
  --bg-card: #ffffff;
  --bg-card-dark: #211c1d;
  --text-main: #222222;
  --text-muted: #6b6b6b;
  --text-light: #f3f1ee;
  --accent-gold: #d4af37;
  --accent-gold-soft: #f0d89a;
  --border-soft: #e0d4c2;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.12);
  --radius-lg: 18px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.section-light {
  background: radial-gradient(circle at top left, #fff8e8, #f7f3ec);
}

.section-dark {
  background: radial-gradient(circle at top right, #2b2123, #181516);
  color: var(--text-light);
}

.section-dark p,
.section-dark li {
  color: #d9d4d2;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
}

.section-dark .section-header p {
  color: #e0dad4;
}

/* Hero */

.hero {
  position: relative;
  min-height: 80vh;
  color: var(--text-light);
  background:
    radial-gradient(circle at top left, rgba(255, 215, 128, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.85), #000000);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("img/ids-316-difuzor-profesional-lobby.jpg") center/cover no-repeat;
  opacity: 0.22;
  mix-blend-mode: screen;
}


.hero-inner {
  position: relative;
  z-index: 1;
  padding: 20px 0 60px;
}

/* Nav */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 10px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-sub {
  font-size: 0.78rem;
  color: #d6d0c7;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Hero content */

.hero-content {
  max-width: 700px;
  margin: 80px auto 0;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1rem;
  color: #e5ded6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-soft));
  color: #20160d;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-light);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* Cards */

.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
}

.card-tags li {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: #fdf9f1;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #b48819;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* Model sections */

.model-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.model-text h2 {
  font-size: 1.8rem;
  margin-top: 0;
}

.model-text h3 {
  font-size: 1.1rem;
  margin-top: 18px;
  margin-bottom: 8px;
}

.model-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-dark .model-text p {
  color: #dfd5cf;
}

.feature-list {
  padding-left: 18px;
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.feature-list li + li {
  margin-top: 4px;
}

/* Model media */

.model-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Galerii foto pentru fiecare model */

.gallery-block {
  margin-top: 32px;
}

.gallery-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.section-dark .gallery-title {
  color: #f3eee8;
}

.section-light .gallery-title {
  color: #2a2420;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 28px rgba(0,0,0,0.24);
}

.model-main-image {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.model-main-image img {
  width: 100%;
  display: block;
}

.model-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 10px;
}

.model-thumbs img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 100%;
}

/* Tables */

.table-wrapper {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 10px 12px;
  border: 1px solid #e0d4c2;
  vertical-align: top;
}

.compare-table thead th {
  background: #f5e8d1;
  text-align: left;
}

.compare-table thead th span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6a5a43;
}

.compare-table tbody tr:nth-child(odd) {
  background: #fbf5eb;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 32px;
  align-items: flex-start;
}

.contact-form {
  background: var(--bg-card-dark);
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.form-group {
  margin-bottom: 12px;
}

.contact-form label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #3a3234;
  background: #181416;
  color: #f6f1eb;
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-note {
  font-size: 0.8rem;
  color: #b0a7a0;
  margin-top: 6px;
}

.contact-info h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: #ddd3cb;
}

.contact-note {
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Footer */

.footer {
  background: #111010;
  color: #c6c0b6;
  padding: 16px 0 22px;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-top {
  color: #f2e2ba;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.86rem;
}

.back-to-top:hover {
  text-decoration: underline;
}

/* Responsivitate */

@media (max-width: 900px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-content {
    margin-top: 50px;
  }

  .model-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-links {
    font-size: 0.8rem;
  }

  .section {
    padding: 55px 0;
  }
}

/* Carduri cu background pentru gama IDS – STRETCH complet */

.card.bg {
  position: relative;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #fff;
  border: none;
  overflow: hidden;           /* păstrăm pentru colțuri rotunjite / shadow */
  min-height: 320px;          /* înălțime minimă */
  height: auto;               /* lasă cardul să se lungească dacă textul e mai mult */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}


/* Overlay pentru lizibilitate */
.card.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.1)
  );
}

.card.bg * {
  position: relative;
  z-index: 2;
}

.card.bg h3,
.card.bg p {
  color: #fff !important;
}

.card.bg .card-tags li {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.card.bg .card-link {
  color: #f8d787;
}
/* LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  color: #fff;
  border: none;
  font-size: 40px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
}

.lightbox-btn:hover {
  background: rgba(255,255,255,0.5);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
  color: #fff;
  background: none;
}
/* Fix galerie pe mobil */
.gallery-grid img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Fix grid pe mobil – prevenim overflow */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Eliminăm scroll lateral pentru orice galerie */
.gallery-block,
.gallery-grid,
.gallery-grid img {
  overflow-x: hidden;
}

/* Forțăm body să nu permită scroll lateral */
body {
  margin: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Badge de preț în cardurile de gamă */
/* === Fix pentru badge-ul de preț în carduri === */
.price-badge {
  position: absolute !important;
  right: 16px !important;
  bottom: 16px !important;
  left: auto !important;

  /* anulăm stilul de buton full-width */
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;

  padding: 6px 12px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 20;
}
/* ULEIURI AROMATICE & RECIPIENTE VOLUM MARE */

.oil-section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.oil-section-subtitle {
  text-align: center;
  color: #555;
  max-width: 800px;
  margin: 0 auto 35px;
  font-size: 0.98rem;
}

.oil-category-title,
#recipiente .oil-category-title {
  font-size: 1.5rem;
  margin: 35px 0 20px;
  font-weight: 600;
}

.oil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.oil-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.oil-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.oil-card h3 {
  margin: 8px 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
}

.oil-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* Recipiente volum mare */

#recipiente {
  padding-top: 60px;
}

.pack-banner {
  max-width: 900px;
  margin: 0 auto 35px;
}

.pack-banner img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  display: block;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.pack-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pack-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.pack-card h4 {
  font-size: 1.05rem;
  margin: 8px 0 4px;
  font-weight: 600;
}

.pack-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

.pack-specs {
  list-style: disc;
  padding-left: 20px;
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: #555;
}

.oil-section-note {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}
