/* ============================================
   MOZZO TEMPLATE CSS - ADAPTAT PENTRU PLĂCINTE
   ============================================ */

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #666;
  background: #fff;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

/* ============================================
   HEADER SECTION
   ============================================ */

.header-top {
  background: #1a1a1a;
  padding: 10px 0;
  color: white;
  font-size: 14px;
}

.header-top .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-top .contact-list {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.header-top .contact-list a {
  color: white;
  font-size: 14px;
}

.header-top .social-icon {
  display: flex;
  gap: 15px;
}

.header-top .social-icon a {
  color: white;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.header-top .social-icon a:hover {
  background: #ff6b35;
  transform: scale(1.1);
}

/* Main Header */
.header-section {
  background: #ff6b35;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-section.sticky {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo h2 {
  margin: 0;
  color: white;
  font-size: 28px;
  font-weight: 800;
}

.menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu a {
  color: white;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
}

.menu a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  background: transparent;
  border: 2px solid white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu-btn:hover {
  background: white;
  color: #ff6b35;
  transform: scale(1.15) rotate(180deg);
}

/* Cart & Login Buttons */
.cart-btn {
  background: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-btn:hover {
  transform: scale(1.2) translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #1a1a1a;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.login-btn {
  background: transparent;
  border: 2px solid white;
  border-radius: 50px;
  padding: 10px 24px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: -1;
}

.login-btn:hover::before {
  width: 400px;
  height: 400px;
}

.login-btn:hover {
  color: #ff6b35;
  transform: translateY(-2px);
}

/* ============================================
   HERO/BANNER SECTION
   ============================================ */

.banner-section {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8f66 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.banner-content {
  text-align: center;
}

.banner-content p {
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0.95;
}

.banner-content h1 {
  color: white;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 50px;
  letter-spacing: -1px;
}

/* Search Bar */
.search-bar {
  background: white;
  border-radius: 60px;
  padding: 10px 10px 10px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto 80px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.search-bar:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
  padding: 16px 0;
  color: #333;
  background: transparent;
}

.search-bar input::placeholder {
  color: #999;
}

.locate-btn {
  background: transparent;
  border: none;
  color: #666;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  border-radius: 30px;
}

.locate-btn:hover {
  background: #f5f5f5;
  color: #ff6b35;
  transform: scale(1.05);
}

.search-btn {
  background: #1a1a1a;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 45px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.search-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.search-btn:hover::after {
  width: 300px;
  height: 300px;
}

.search-btn:hover {
  background: #000;
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================
   CATEGORY CIRCLES
   ============================================ */

.category-circle {
  cursor: pointer;
  display: flex;
  flexDirection: column;
  align-items: center;
  gap: 15px;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: categoryFloat 4s ease-in-out infinite;
}

.category-circle:nth-child(1) {
  animation-delay: 0s;
}

.category-circle:nth-child(2) {
  animation-delay: 0.3s;
}

.category-circle:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes categoryFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.category-circle:hover {
  transform: translateY(-20px) scale(1.05);
  animation-play-state: paused;
}

.category-circle-inner {
  width: 140px;
  height: 140px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.category-circle-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.category-circle:hover .category-circle-inner::before {
  left: 100%;
}

.category-circle:hover .category-circle-inner {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  transform: scale(1.15) rotate(10deg);
}

.category-icon {
  font-size: 70px;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: inline-block;
}

.category-circle:hover .category-icon {
  transform: scale(1.3) rotate(-15deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.category-title {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.category-circle:hover .category-title {
  transform: scale(1.1);
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

/* ============================================
   PRODUCT/FOOD CARDS
   ============================================ */

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.product-image {
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.product-title {
  transition: all 0.3s ease;
}

.product-card:hover .product-title {
  color: #ff6b35;
  transform: translateX(5px);
}

.product-price {
  transition: all 0.3s ease;
}

.product-card:hover .product-price {
  transform: scale(1.05);
}

.product-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.product-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.product-btn:hover::before {
  width: 300px;
  height: 300px;
}

.product-btn:hover {
  background: #e55a28;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* Discount Badge */
.discount-badge {
  animation: badgeWiggle 2s ease-in-out infinite;
}

@keyframes badgeWiggle {

  0%,
  100% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(5deg);
  }
}

/* ============================================
   SECTIONS
   ============================================ */

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease;
}

.section-title span {
  color: #ff6b35;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.footer-section {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 20px;
}

.footer-widgets-wrapper {
  margin-bottom: 40px;
}

.single-footer-widget {
  margin-bottom: 30px;
}

.widget-head h3,
.widget-head h4 {
  margin-bottom: 20px;
  color: white;
}

.list-area {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-area li {
  margin-bottom: 10px;
}

.list-area a {
  color: #ccc;
  transition: all 0.3s ease;
}

.list-area a:hover {
  color: #ff6b35;
  padding-left: 5px;
}

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

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #ccc;
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.text-center {
  text-align: center;
}

.text-theme {
  color: #ff6b35;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 36px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .search-bar {
    flex-direction: column;
    padding: 20px;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Animații pentru imaginile de plăcinte pe laterale */
.food-image-left {
  animation: floatLeft 6s ease-in-out infinite;
  transition: all 0.5s ease;
}

.food-image-left:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4) !important;
}

.food-image-right {
  animation: floatRight 6s ease-in-out infinite;
  transition: all 0.5s ease;
}

.food-image-right:hover {
  transform: rotate(12deg) scale(1.05) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4) !important;
}

@keyframes floatLeft {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(-3deg);
  }
}

@keyframes floatRight {

  0%,
  100% {
    transform: translateY(0) rotate(12deg);
  }

  50% {
    transform: translateY(-25px) rotate(15deg);
  }
}

/* Hero Section - Dimensiuni exacte */
.banner-section {
  min-height: 750px !important;
  padding-bottom: 150px !important;
}

/* Imagini laterale - Mai vizibile */
.food-image-left,
.food-image-right {
  z-index: 1 !important;
  filter: brightness(1.05);
}

.food-image-left img,
.food-image-right img {
  transform: scale(1.2) !important;
}

/* Categorii - Mai mari și mai vizibile */
.category-circle-inner {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
  border: 5px solid rgba(255, 255, 255, 0.5) !important;
}

.category-circle:hover .category-circle-inner {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35) !important;
  transform: scale(1.2) rotate(10deg) !important;
}

/* Header ajustat - elemente mai aproape de margini */
.header-section,
header {
  padding: 0 15px !important;
  /* REDUS de la 20px */
}

.header-wrapper {
  padding: 0 15px !important;
  /* REDUS */
}

/* Mobile Menu Button - exact ca Mozzo */
.mobile-menu-btn {
  margin-left: 0 !important;
}

/* Cart & Login - mai aproape de margine dreapta */
.cart-btn,
.login-btn {
  margin-right: 0 !important;
}

/* Responsive ajustări */
@media (max-width: 768px) {
  header>div {
    padding: 0 10px !important;
  }

  .login-btn span {
    display: none;
    /* Ascunde textul pe mobile */
  }

  .login-btn {
    padding: 10px 12px !important;
  }
}

@media (max-width: 480px) {
  header>div {
    padding: 0 8px !important;
  }

  /* Ascunde numărul de telefon pe ecrane mici */
  header>div>div:first-child>div:last-child {
    display: none;
  }
}