/* ========================= */
:root{
  --bg:#ffffff;
  --white:#ffffff;
  --accent:#e6d5c3;
  --text:#2e2e2e;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height: 100vh;
 display: flex;
 flex-direction: column;
}

header{
  position:sticky;
  top:0;
  z-index:1500;
  background:var(--white);
  padding:22px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.logo{
  font-weight:600;
  font-size:18px;
}

.logo img{
  height: 50px;
  width: auto;
  display: block;
}

.logo-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}

.social-icons{
  display:flex;
  gap:10px;
}

.social-icons a{
  color:#333;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0.7;
  transition:0.2s;
}

.social-icons a:hover{
  opacity:1;
  transform:translateY(-1px);
}

.hamburger{
  width:20px;
  height:18px;
  position:relative;
  cursor:pointer;
}

.hamburger span{
  position:absolute;
  height:2px;
  width:100%;
  background:#333;
  left:0;
  transition:0.3s;
  border-radius:2px;
}

.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:8px; width:70%; right:0; }
.hamburger span:nth-child(3){ bottom:0; }

.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.3);
  opacity:0;
  pointer-events:none;
  transition:0.3s;
  z-index:1800;
}

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

.menu{
  position:fixed;
  top:0;
  right:-100%;
  width:30%;
  height:100%;
  background:white;
  padding:60px 20px;
  transition:0.3s;
  box-shadow:-5px 0 20px rgba(0,0,0,0.1);
  display:flex;
  flex-direction:column;
  gap:15px;
  z-index:2000;
}

.menu.active{
  right:0;
}

.menu a{
  text-decoration:none;
  color:#333;
  font-size:15px;
}

.hero{
  height:50vh;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
  max-height: 900px;
}

.hero img{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  top:0;
  left:0;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.01);
}

.hero h1{
  position:relative;
  z-index:1;
  font-size:28px;
  padding:0 15px;
}

/* FOOTER */
.footer{
  background:#fff;
  padding:30px 20px 20px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  gap:40px;
}

.footer-col h4{
  margin-bottom:10px;
  font-size:14px;
}

.footer-col p,
.footer-col a{
  font-size:13px;
  color:#333;
  text-decoration:none;
  display:block;
  margin:4px 0;
  opacity:0.8;
}

.footer-col a:hover{
  opacity:1;
}

.footer-logo{
  width:170px;
  margin-top: 15px;
}

.social-footer a{
  display:block;
  margin:4px 0;
}

.footer-bottom{
  text-align:center;
  margin-top:30px;
  font-size:12px;
  opacity:0.6;
  border-top:1px solid #eee;
  padding-top:15px;
}

.footer-logo-center{
  text-align:center;
  margin-bottom:25px;
}

.footer-logo-center img{
  max-width:180px;
  height:auto;
}

.footer-follow{
  text-align:center;
  margin-bottom:30px;
}

.footer-follow p{
  margin-bottom:10px;
  font-size:14px;
  letter-spacing:1px;
}

.footer-social-icons{
  display:flex;
  justify-content:center;
  gap:15px;
}

.footer-social-icons a{
  color:#333;
  opacity:0.7;
  transition:0.2s;
}

.footer-social-icons a:hover{
  opacity:1;
  transform:translateY(-2px);
}

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

.footer-contact p{
  margin:5px 0;
}

.footer-nav-center a{
  margin-bottom:10px;
  font-size:14px;
  letter-spacing:1px;
  text-decoration: none;
  color: #333;
}

.footer{
  position: relative;
  background-image: url("../img_rebrand/footer-bg.png");
  background-size: cover;
  background-position: center;
}

.footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.0); /* ajustezi */
}

.footer *{
  position:relative;
  z-index:1;
}

/* SLIDES */
.slides{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1s ease;
}

.slide.active{
  opacity:1;
}

/* DOTS */
.dots{
  position:absolute;
  bottom:15px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:2;

  background:rgba(0, 0, 0, 0.8);
  padding:6px 10px;
  border-radius:20px;
}

.dot{
  width:8px;
  height:8px;
  background:white;
  border-radius:50%;
  opacity:0.5;
  cursor:pointer;
  transition:0.3s;
}

.dot.active{
  opacity:1;
  transform:scale(1.2);
}

/* SLIDER (devine layout simplu) */
.category-slider{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:20px;
}

/* WRAPPER */
.category-wrapper{
  width: min(600px, 65vw);
  margin: 0 auto;

  position: relative;
  height: 420px;

  border-radius: 0px;
  overflow: hidden;

  background: #ffffff;
}

.category-card{
  position: absolute;
  inset: 0;

  opacity: 0;
  transform: scale(1.08);

  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 6s ease;

  pointer-events: none;
}

.category-card.active{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* IMAGE */
.card-image{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.card-image img{
  width: 100%;
  height: 80%;
  object-fit: cover;

  transform: scale(1.1);
  transition: transform 6s ease;
}

.category-card.active .card-image img{
  transform: scale(1);
}

/* CONTENT */
.card-content{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  background-color:#f5f3f0f3;
  color: #000000;

  padding: 18px;
  clip-path: polygon( 0 0%, /* stânga sus */ 
                      30% 0%, /* mijloc sus (mai sus) */ 
                      100% 25%, /* dreapta sus */ 
                      100% 100%, /* dreapta jos */ 
                      0 100% /* stânga jos */ );

  opacity: 0;
  transform: translateY(20px);

  transition: all 0.8s ease 0.4s;
}

.category-card.active .card-content{
  opacity: 1;
  transform: translateY(0);
}

/* text */


.card-content h3{
  font-family: 'Playfair Display', serif;
  font-weight:500;
  margin: 0;
  margin-bottom: 10px;
}

.card-content p{
  
  margin:5px 0 0;
  font-size:12px;
  line-height:1.4;
  opacity:0.7;
}



/* TITLE */
.categories h2{
  text-align:center;
  font-size:22px;
  margin-bottom:25px;
  position:relative;

  font-family:'Cormorant Garamond', serif;
  font-weight:600;
}

.categories h2::after{
  content:"";
  display:block;
  width:260px;
  height:2px;
  margin:12px auto 0;

  background: linear-gradient(
    to right,
    transparent,
    #e6d5c3,
    transparent
  );
}

/* GLASS BUTTONS */ 
.cat-btn{ 
  position:absolute; 
  top:50%; 
  transform:translateY(-50%) scale(0.9); 
  width:45px; height:45px; 
  border-radius:50%; 
  border: 0.5px solid rgb(0, 0, 0);
  cursor:pointer; 
  z-index:10; 
   
  backdrop-filter:blur(8px); 
  box-shadow:0 6px 18px rgba(0,0,0,0.15); 
  font-size:32px; color:#000000; display:flex; 
  align-items:center; justify-content:center; 
  opacity:0; /* 👈 invizibil */ 
  pointer-events:none; /* 👈 nu se poate apăsa */ 
  transition:0.3s ease; 
} /* când ești pe slider */ 

.category-slider:hover .cat-btn{ 
  opacity:1; pointer-events:auto; 
  transform:translateY(-50%) scale(1); 
} 

@media (max-width: 768px){ 
  .cat-btn{ 
    opacity:0.9; 
    pointer-events:auto; } 
  } .cat-btn.prev{ left:12px; } 
  .cat-btn.next{ right:12px; } 
  .cat-btn:hover{
  transform: translateY(-50%) scale(1.05);
  filter: brightness(1.1);

  } 
  
  .cat-btn.prev{ left:8px; } 
  .cat-btn.next{ right:8px; }


/* SECTION */
.popular{
  padding:25px 0;
}

/* CONTAINER (important) */
.popular-container{
  width:100%;
  max-width:350px;
  margin:0 auto;
  padding:0 16px;
}

/* TITLE */
.popular h2{
  text-align:center;
  font-size:22px;
  margin-bottom:25px;
  position:relative;

  font-family:'Cormorant Garamond', serif;
  font-weight:600;
}

.popular h2::after{
  content:"";
  display:block;
  width:260px;
  height:2px;
  margin:12px auto 0;

  background: linear-gradient(
    to right,
    transparent,
    #e6d5c3,
    transparent
  );
}

/* container */
.recipes-container{
  max-width:600px;
  margin:0 auto;
  padding:0 16px;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.recipe-item.big{
  grid-column:1 / -1;
}

.recipe-item{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.recipe-item img{
  width:100%;
  border-radius:0px;
  object-fit:cover;
  display:block;
}

.recipe-item.big img{
  aspect-ratio: 16 / 9;
}

.recipe-item:not(.big) img{
  aspect-ratio: 3 / 4;
}

@media (hover:hover){
  .recipe-item img{
    transition:0.3s ease;
  }

  .recipe-item:hover img{
    transform:scale(1.03);
  }
}

.recipe-item h3{
  font-family: 'Playfair Display', serif;
  font-weight:500;
  margin: 0;
  margin-bottom: 10px;
}

.recipe-link{
  font-size:13px;
  color:#000;
  opacity:0.5;

  text-decoration:none;
  display:inline-block;

  margin-top:4px;

  transition:0.3s ease;
}

.recipe-link:hover{
  opacity:1;
  transform:translateX(3px);
}

.recipe-link{
  cursor:pointer;
}

.heart{
  font-size:14px;
  cursor:pointer;
  line-height:1;
}

.heart.pop{
  transform:scale(1.4);
}

.heart.active{
  color:#c97b63;
}

.heart.pop{
  animation:pop 0.3s ease;
}

@keyframes pop{
  0%{ transform:scale(1); }
  50%{ transform:scale(1.5); }
  100%{ transform:scale(1); }
}

.img-wrap{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:0px;
}

.likes{
  position:absolute;
  right:10px;
  bottom:10px;

  display:flex;
  flex-direction:column;
  align-items:flex-end;

  font-size:12px;
  color:#fff;

  background:rgba(0,0,0,0.25);
  padding:4px 6px;
  border-radius:6px;

  backdrop-filter:blur(6px);
}

.likes{
  transition:0.3s ease;
}

.img-wrap:hover .likes{
  background:rgba(0,0,0,0.35);
}

.recipes-cta{
  text-align:center;
  margin-top:18px;
}

.btn-recipes{
  display:inline-block;
  padding:10px 18px;

  font-size:14px;
  text-decoration:none;

  color:#222;
  border:1px solid rgba(0,0,0,0.2);
  border-radius:0px;

  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(6px);

  transition:0.3s ease;
}

.btn-recipes:hover{
  transform:translateY(-2px);
  border-color:#c97b63;
  color:#c97b63;
}

.btn-recipes{
  border:none;
  border-bottom:1px solid rgba(0,0,0,0.3);
  border-radius:0;
  background:none;
}

.about{
  max-width:600px;
  margin:0px auto;
  padding:0 16px;
}

.about-header{
  margin-bottom:12px;
}

.founder{
  font-family: 'Playfair Display', serif;
  font-size:25px;
  font-weight:400;
  margin:0;
  
  text-align:center;
  opacity:0.7;
  transform:translateX(-65px);
}

.brand{
  font-size:22px;
  margin:0;

  font-family: 'Playfair Display', serif;
  font-weight:500;
  opacity:0.9;
  text-align:center;
  transform:translateX(20px);
}

.about-text{
  font-size:14px;
  line-height:1.6;
  opacity:0.8;
  margin:14px 0 20px;
  text-align: center;
}

.about-video{
  width:100%;
  margin:10px 0;
}

.about-video video{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}