/* 🔤 FONTURI (opțional - poți schimba) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* 🔝 NAVBAR */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.9) !important;
  padding: 10px 0;
}

/* 🏠 HERO SECTION */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  /* 🔽 IMAGINE HERO */
  background: url("./images/building-restaurant.jpg") center/cover no-repeat;
}

/* overlay întunecat */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

/* conținut peste overlay */
.hero .container {
  position: relative;
  z-index: 2;
}

/* animație text */
.hero h1 {
  font-size: 3rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  animation: fadeInUp 1.2s ease;
}

/* ✨ BUTTON */
.btn-warning {
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* 📖 DESPRE */
#about img {
  transition: transform 0.4s ease;
}

#about img:hover {
  transform: scale(1.05);
}

/* 🍽️ MENIU CARDS */
.card {
  border: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  height: 250px;
  object-fit: cover;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* hover imagine */
.card img {
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.1);
}

/* 📞 FORM */
form input,
form textarea {
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: all 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #ffc107;
  box-shadow: 0 0 10px rgba(255,193,7,0.5);
}

/* 🔻 FOOTER */
.footer h5 {
  margin-bottom: 15px;
}

.footer a {
  text-decoration: none;
}

.footer .btn {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.footer .btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* 🎬 ANIMAȚII */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .card img {
    height: 200px;
  }

  .floating-call,
  .floating-whatsapp {
    right: 15px;
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 769px) {
  .floating-cart {
    display: none;
  }
}

/* animații la scroll */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* HERO mai mic pentru pagini secundare */
.hero-small {
  height: 50vh;
  position: relative;
  background: url("./images/menu-restaurant.jpg") center/cover no-repeat;
}

.hero-small::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-small .container {
  position: relative;
  z-index: 2;
}

/* ⭐ stele */
.stars {
  font-size: 1.5rem;
  color: gold;
}

/* 💬 card review */
.review-card {
  background: white;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 👤 imagine client */
.review-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* 🔘 butoane filtru */
.menu-filters button {
  margin: 5px;
  transition: all 0.3s ease;
}

.menu-filters button.active,
.menu-filters button:hover {
  background-color: #ffc107;
  color: black;
}

/* animație filtrare */
.menu-item {
  transition: all 0.4s ease;
}

.floating-call,
.floating-whatsapp {
  position: fixed;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  z-index: 999;
}

.floating-call {
  bottom: 80px;
  background: #ffc107;
}

.floating-whatsapp {
  bottom: 20px;
  background: #25D366;
}

/* social icons */
.social-icons a {
  margin-right: 10px;
  font-size: 20px;
  color: white;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffc107;
}

/* newsletter */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: none;
}

.newsletter-form button {
  border-radius: 8px;
}

/* carduri în carousel */
#menu .card {
  margin: 10px;
}

/* imagine */
#menu .card img {
  height: 220px;
  object-fit: cover;
}

/* butoane carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  padding: 15px;
}

#reservation input,
#reservation textarea {
  border-radius: 10px;
}

#reservation button {
  border-radius: 10px;
  transition: 0.3s;
}

#reservation button:hover {
  transform: translateY(-2px);
}

/* cursor pointer */
.menu-card {
  cursor: pointer;
}

/* hover mai clar */
.menu-card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

.cart-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.floating-cart {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: #ffc107;
  color: #000;
  font-size: 22px;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.floating-cart span {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #dc3545;
  color: white;
  font-size: 12px;
  padding: 3px 7px;
  border-radius: 50%;
}