/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f6eee8;
  background-image: url("../images/flowers-bg.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 500px;
  color: #5a4636;
}

/* ================= UTIL ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* ================= NAVBAR ================= */
.navbar {
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(246, 238, 232, 0.95);
  backdrop-filter: blur(6px);
}

/* FIX: container mic DOAR Ã®n navbar */
.navbar .container {
  padding: 0 20px;
}

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

/* LOGO */
.logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* NAV LINKS */
.nav-inner nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #5a4636;
  font-weight: 400;
  font-size: 15px;
}

.nav-phone {
  margin-left: 25px;
  font-size: 18px;
  text-decoration: none;
  color: #a0714c;
  transition: transform 0.2s ease;
}

.nav-phone:hover {
  transform: scale(1.15);
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #5a4636;
  border-radius: 2px;
}

/* ================= HERO / BANNER ================= */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f6eee8;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* overlay FIN â€“ fÄƒcut corect */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 238, 232, 0.02);
  z-index: 1;
}


.hero-box {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-left: 80px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 58px;
  line-height: 1.1;
  color: #5a4636;
}

.hero h1 span {
  font-size: 70px;
}

/* CURBÄ‚ SVG */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 160px;
  z-index: 2;
  transform: rotate(180deg);   /* ðŸ”¥ AICI ESTE CHEIA */
  transform-origin: center;
}


/* ================= BUTTONS ================= */
.btn-main,
.btn-outline {
  margin-top: 30px;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  background: #d6a47a;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

/* ================= ABOUT ================= */
.about {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about img {
  width: 350px;
  border-radius: 18px;
}

.about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
}

.about-text p {
  margin: 20px 0;
  line-height: 1.7;
  font-size: 15px;
}

/* ================= PRODUCTS ================= */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 22px;
  padding: 20px;
  text-align: center;

  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  will-change: transform, box-shadow;
}

.product-card:hover {
  transform: translateY(-2px);   /* mai subtil */
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-card img {
  width: 100%;
  height: 220px;      /* aceea?i n?l?ime pentru toate */
  object-fit: cover; /* decupare elegant?, f?r? deformare */
  border-radius: 16px;
  margin-bottom: 15px;
}


.product-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
}

.product-card p {
  font-size: 14px;
  opacity: 0.8;
}

/* BUTON VEZI DETALII */
.btn-details {
  margin-top: 14px;
  padding: 8px 22px;
  border-radius: 20px;
  border: 1px solid #d6a47a;
  background: transparent;
  color: #a0714c;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background: #d6a47a;
  color: white;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* ================= CONTACT ================= */
.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-images img {
  width: 120px;
  border-radius: 16px;
  margin-left: 10px;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 30px;
  font-size: 14px;
  opacity: 0.7;
}

/* ================= FADE-IN ================= */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .about img {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {

  .hero-box {
    padding-left: 30px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero h1 span {
    font-size: 44px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    flex-direction: column;
    text-align: center;
  }

  /* NAV RESPONSIVE */
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(246, 238, 232, 0.97);
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
  }

  nav a {
    margin: 15px 0;
    font-size: 16px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}
.btn-outline {
  text-decoration: none;
  display: inline-block;
}
/* BUTON VEZI MAI MULTE â€“ EFECT CA LA CARDURI */
.btn-outline {
  display: inline-block;
  text-decoration: none;

  transition:
    transform 0.45s ease-in-out,
    box-shadow 0.45s ease-in-out;
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.10),
    0 6px 12px rgba(0, 0, 0, 0.06);
}
/* ================= GALERIE ================= */
.gallery {
  padding-top: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* variaÈ›ii */
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: auto;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}
/* ================= SEPARATOR PREMIUM ================= */
.section-separator {
  position: relative;
  text-align: center;
  margin: 80px 0 50px;
}

/* ================= SEPARATOR CU IMAGINE ================= */
.section-separator {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 70px 0 40px;
}

.section-separator::before {
  content: "";
  width: 80%;
  max-width: 900px;      /* opțional, ca să nu fie exagerat pe ecrane mari */
  height: 60px;          /* ajustezi dacă vrei mai „înalt” */
  background-image: url("../images/separator.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.9;
}


.section-separator {
  position: relative;
  text-align: center;
  margin: 10px 0 50px;
  opacity: 1 !important;
}
/* ================= LIGHTBOX GALERIE ================= */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

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

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* ================= LIGHTBOX GALERIE ================= */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

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

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* butoane navigare */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 20px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* ================= BACKGROUND SUB BANNER ================= */
.page-background {
  background-image: url("../images/background-page.png");
  background-repeat: no-repeat;      /* ? NU se duplic? */
  background-position: top center;   /* centrat frumos */
  background-size: 100% auto;          /* ? p?streaz? raport 1:1 */
	
  min-height: 600px;   /* ? ASTA LIPSEA */
  padding-top: 80px;
}
@media (max-width: 768px) {

  .page-background {
    background-size: cover;
    padding-top: 40px;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-wave {
    height: 80px;
  }
}

body {
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .fade-in {
    opacity: 1 !important;
  }
}
@media (max-width: 768px) {
  .fade-in {
    transition: none;
  }
}
/* ================= CONTACT CARD PREMIUM ================= */

.contact-card {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;

  padding: 40px 60px;
  border-radius: 26px;

  background-image: url("../images/bg-contact.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 22px 45px rgba(0,0,0,0.12);
  overflow: hidden;
}


/* STÂNGA */
.contact-left h2 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  margin-bottom: 20px;
}

.contact-desc {
  line-height: 1.8;
  opacity: 0.75;
  max-width: 420px;
  margin-bottom: 30px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.contact-info li {
  margin-bottom: 12px;
  font-size: 15px;
}

/* BUTON */
.contact-btn {
  display: inline-block;
  padding: 14px 38px;
  background: #d6a47a;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}


/* ================= CONTACT ICONS ================= */

.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info i {
  color: #d6a47a;
  font-size: 16px;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

/* SOCIALS */
.contact-socials {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
}

.contact-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(214,164,122,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0714c;
  font-size: 18px;
  transition: all .3s ease;
  text-decoration: none;
}

.contact-socials a:hover {
  background: #d6a47a;
  color: white;
  transform: translateY(-2px);
}
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 245, 0.88);
  z-index: 0;
}
.contact-left {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
@media (max-width: 768px) {
  .contact-card {
    padding: 28px 20px;   /* 🔥 mai subțire pe mobil */
    border-radius: 22px;
  }

  .contact-left {
    max-width: 100%;
    text-align: center;
  }

  .contact-socials {
    justify-content: center;
  }
}


/* ================= CONTACT RESPONSIVE CENTER ================= */

@media (max-width: 768px) {

  .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 22px;
  }

  .contact-left {
    max-width: 100%;
    align-items: center;
  }

  .contact-left h2 {
    font-size: 38px;
    line-height: 1.2;
    text-align: center;
  }

  .contact-desc {
    max-width: 100%;
    text-align: center;
  }

  .contact-info {
    align-items: center;
  }

  .contact-info li {
    justify-content: center;
  }

  .contact-socials {
    justify-content: center;
  }
}

/* ================= FOOTER ================= */

.footer {
  text-align: center;
  font-size: 14px;
  opacity: 0.75;
}

.footer a {
  color:#460091;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

/* EXTRA PRODUCT SECTION */

.product-extra{
  max-width:900px;
  margin:80px auto;
  padding:40px;
  display:none;

  background:rgba(255,255,255,0.85);
  border-radius:24px;

  box-shadow:0 20px 45px rgba(0,0,0,0.08);
}

.tabs-menu{
  display:flex;
  justify-content:center;
  gap:15px;
  margin-bottom:30px;
}

.tab-btn{
  padding:10px 26px;
  border-radius:25px;
  border:1px solid #d6a47a;
  background:white;
  cursor:pointer;
  font-size:14px;
  transition:all .3s ease;
}

.tab-btn:hover{
  background:#f6eee8;
}

.tab-btn.active{
  background:#d6a47a;
  color:white;
  border-color:#d6a47a;
}

.tabs-content{
  background:white;
  padding:35px 40px;
  border-radius:18px;
  box-shadow:0 12px 28px rgba(0,0,0,0.08);
  font-size:15px;
  line-height:1.8;
}

.tab-content{
  display:none;
  line-height:1.7;
}

.tab-content.active{
  display:block;
}

.product-extra{
  animation:fadeProduct .6s ease;
}

@keyframes fadeProduct{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
/* ================= PRODUCT GALLERY PREMIUM ================= */

.product-card-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
  align-items:start;
}

/* container imagine mare */
.product-main-image{
  width:100%;
  height:420px;

  background:white;
  border-radius:22px;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 18px 40px rgba(0,0,0,0.08);
  overflow:hidden;
}

/* imaginea mare */
.product-main-image img{
  max-width:90%;
  max-height:90%;
  object-fit:contain;
  transition:transform .4s ease;
}

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

/* thumbnails */
.product-thumbs{
  display:flex;
  gap:14px;
  margin-top:18px;
}

.product-thumbs img{
  width:80px;
  height:80px;

  object-fit:contain;

  background:white;
  padding:6px;
  border-radius:14px;

  cursor:pointer;

  border:2px solid transparent;

  box-shadow:0 8px 18px rgba(0,0,0,0.08);

  transition:all .25s ease;
}

.product-thumbs img:hover{
  transform:translateY(-3px);
}

.product-thumbs img.active{
  border:2px solid #d6a47a;
}