:root {
  --bg: #ffffff;
  --accent: #254b23;
  --muted: #555;
  --card: #f8f8f8;
}

* { box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: var(--bg);
  color: black;
  line-height: 1.5;
  scroll-behavior: smooth;
  text-align: center;
  font-weight: normal;
  padding-bottom: 70px;
}

header {
  background: linear-gradient(90deg, #254b23, #3f6e3d);
  padding: 12px 10px;
  color: white;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  flex-wrap: wrap;
}

.brand img {
  width: 120px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid white;
  flex-shrink: 0;
}

h1 { 
  margin: 0; 
  font-size: 22px; 
  color: white; 
}

p.lead { 
  margin: 4px 0; 
  color: #dcdcdc; 
  font-size: 12px;
}

nav {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 11px;
}

nav a:hover { text-decoration: underline; }

main { padding: 12px 0; }

.menu-section {
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.menu-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.menu-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.menu-card-content { 
  padding: 10px 12px; 
}

.menu-card h3 {
  color: #253f1a !important;
  font-weight: bold;
  font-size: 14px;
  margin: 6px 0;
}

.menu-section h2, h2 {
  color: #253f1a !important;
  font-weight: bold;
  font-size: 18px;
  margin: 10px 0;
}

.price { 
  color: black !important;
  font-weight: bold;
  margin-top: 6px;
  font-size: 14px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 13px;
  margin-top: 8px;
}

.btn:hover { background: #3f6e3d; }

footer {
  border-top: 1px solid #eee;
  padding: 15px 0;
  font-size: 12px;
  background: #254b23;
  color: white;
  margin-top: 20px;
}

#scrollTopBtn {
  position: fixed;
  bottom: 80px;
  right: 12px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: opacity 0.3s;
}

.search-wrapper-final {
  display: block;
  position: relative;
  margin: 10px auto;
  width: 90%;
  max-width: 200px;
}

.search-pill-box {
  display: flex;
  align-items: center;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 20px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.15);
  width: 100%;
}

.search-pill-box input {
  background: none;
  border: none;
  color: white;
  outline: none;
  width: 100%;
  font-size: 12px;
}

.search-pill-box input::placeholder { 
  color: rgba(255,255,255,0.7); 
}

.search-pill-box span {
  font-size: 12px;
  cursor: pointer;
  margin-left: 4px;
}

#final-results-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgb(255, 255, 255);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 99999;
  margin-top: 6px;
  display: none;
  max-height: 180px;
  overflow-y: auto;
}

.res-item {
  padding: 8px;
  border-bottom: 1px solid #575757;
  color: #000000 !important;
  text-align: left;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.res-item:hover { background: #f0f0f0; }

.mobile-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 9999;
  border-top: 1px solid #eee;
}

.action-item {
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  font-weight: bold;
  flex: 1;
}

.action-item .icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.action-item.whatsapp .icon {
  color: #25D366;
}

/* ===== RECENZII SLIDER ===== */
.reviews-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 8px 0 16px;
}

.reviews-track {
  display: flex;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.review-slide {
  min-width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

.review-card-inner {
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.review-quote-icon {
  font-size: 40px;
  color: #c8ddc6;
  line-height: 1;
  margin-bottom: 6px;
  font-family: Georgia, serif;
}

.review-text {
  font-size: 12px;
  color: #333;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 12px;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

.review-author-info { 
  text-align: left; 
}

.review-author-name {
  font-weight: bold;
  font-size: 12px;
  color: #253f1a;
}

.review-stars {
  color: #f4b400;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.review-source {
  font-size: 10px;
  color: #888;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8ddc6;
  transition: background 0.4s, transform 0.4s;
  cursor: pointer;
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: #254b23;
  transform: scale(1.3);
}

.slider-progress-bar {
  height: 2px;
  background: #e0e0e0;
  border-radius: 2px;
  margin: 10px 20px 0;
  overflow: hidden;
}

.slider-progress-fill {
  height: 100%;
  background: #254b23;
  border-radius: 2px;
  width: 0%;
  transition: width linear;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  color: #254b23;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slider-btn:hover { 
  background: #f0f7ef; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}

.slider-btn.prev { left: 2px; }
.slider-btn.next { right: 2px; }

/* ===== MEDIA QUERIES ===== */

/* Small phones: 375px - 414px (iPhone X, 11, 12, 13) */
@media only screen and (min-width: 375px) {
  .container {
    padding: 14px;
  }
  
  .brand img {
    width: 130px;
    height: 110px;
  }
  
  h1 { 
    font-size: 24px; 
  }
  
  p.lead { 
    font-size: 13px;
  }
  
  nav {
    gap: 6px;
    font-size: 12px;
  }
  
  nav a {
    font-size: 12px;
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .menu-card img {
    height: 160px;
  }
  
  .menu-card h3 {
    font-size: 15px;
  }
  
  .menu-section h2 {
    font-size: 20px;
  }
  
  .price { 
    font-size: 15px;
  }
  
  .search-wrapper-final {
    width: 95%;
    max-width: 220px;
  }
  
  .review-card-inner {
    padding: 18px 16px;
  }
  
  .review-text {
    font-size: 13px;
  }
}

/* Medium phones: 414px - 600px (iPhone 14 Pro Max, 15 Pro Max, 17 Pro Max) */
@media only screen and (min-width: 414px) {
  .container {
    padding: 16px;
  }
  
  .brand img {
    width: 140px;
    height: 120px;
  }
  
  h1 { 
    font-size: 26px; 
  }
  
  p.lead { 
    font-size: 14px;
  }
  
  nav {
    gap: 8px;
  }
  
  nav a {
    font-size: 13px;
  }
  
  .menu-section {
    padding: 18px;
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .menu-card img {
    height: 180px;
  }
  
  .menu-card-content { 
    padding: 12px 14px; 
  }
  
  .menu-card h3 {
    font-size: 16px;
    margin: 8px 0;
  }
  
  .menu-section h2 {
    font-size: 22px;
    margin: 12px 0;
  }
  
  .price { 
    font-size: 16px;
  }
  
  .btn {
    font-size: 14px;
    padding: 10px 18px;
  }
  
  .search-wrapper-final {
    width: 100%;
    max-width: 240px;
  }
  
  .search-pill-box {
    padding: 7px 12px;
  }
  
  .search-pill-box input {
    font-size: 13px;
  }
  
  .review-card-inner {
    padding: 20px 18px;
  }
  
  .review-text {
    font-size: 14px;
    margin: 0 0 14px;
  }
  
  .review-avatar {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  
  .review-author-name {
    font-size: 13px;
  }
  
  .review-source {
    font-size: 11px;
  }
}

/* Tableti mici și telefoane mari: 600px - 768px */
@media only screen and (min-width: 600px) {
  body {
    padding-bottom: 0;
  }
  
  .container {
    padding: 20px;
  }
  
  header {
    padding: 20px;
  }
  
  .brand img {
    width: 160px;
    height: 140px;
  }
  
  h1 { 
    font-size: 28px; 
  }
  
  p.lead { 
    font-size: 15px;
  }
  
  nav {
    gap: 12px;
  }
  
  nav a {
    font-size: 14px;
  }
  
  .menu-section {
    padding: 20px;
  }
  
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  
  .menu-card img {
    height: 200px;
  }
  
  .menu-card-content { 
    padding: 12px 14px; 
  }
  
  .menu-card h3 {
    font-size: 17px;
    margin: 8px 0;
  }
  
  .menu-section h2 {
    font-size: 24px;
  }
  
  .price { 
    font-size: 17px;
  }
  
  .btn {
    font-size: 15px;
    padding: 12px 20px;
  }
  
  .search-wrapper-final {
    display: inline-block;
    width: auto;
    max-width: none;
    margin-left: 10px;
  }
  
  .search-pill-box {
    width: 150px;
    padding: 6px 12px;
  }

  .slider-btn {
    display: flex;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .mobile-actions {
    display: none;
  }
  
  .review-card-inner {
    padding: 28px 32px;
  }
  
  .review-text {
    font-size: 16px;
    margin: 0 0 18px;
  }
  
  .review-avatar {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  
  .review-author-name {
    font-size: 14px;
  }
}

/* Desktop: 768px+ */
@media only screen and (min-width: 768px) {
  .container {
    padding: 20px;
  }
  
  .brand img {
    width: 175px;
    height: 150px;
  }
  
  h1 { 
    font-size: 30px; 
  }
  
  p.lead { 
    font-size: 16px;
  }
  
  nav a {
    font-size: 15px;
  }
  
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .menu-card h3 {
    font-size: 18px;
  }
  
  .menu-section h2 {
    font-size: 28px;
  }
  
  .price { 
    font-size: 1.2rem;
  }
}