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

/* BASE */
body {
  font-family: "Poppins", sans-serif;
  background-color: rgb(247, 231, 237);
  color: #2b2b2b;
  line-height: 1.5;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
}

/* TOP BANNER */
.top-banner {
  background: rgb(241, 189, 208);
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  color: #666;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 250px;
  background: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding-top: 50px;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #d4a5c1;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 5px;
}

.sidebar-close:hover {
  color: #b88fa6;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-link {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.sidebar-link:hover {
  background: rgb(247, 231, 237);
  color: #d4a5c1;
  border-left-color: #d4a5c1;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

/* HERO BANNER */
.hero {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HEADER */
.header {
  border-bottom: 1px solid #e5d5e0;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 15px;
}

.hamburger {
  font-size: 22px;
  cursor: pointer;
  color: #666;
  display: none;
}

.logo {
  font-size: 32px;
  font-weight: 400;
  color: #d4a5c1;
  font-family: "Great Vibes", cursive;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.logo-img {
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* HEADER RIGHT */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  justify-content: flex-end;
}

/* NAV DESKTOP */
.nav-desktop {
  display: flex;
  gap: 30px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #d4a5c1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4a5c1;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* SEARCH ICON BUTTON */
.search-icon-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #d4a5c1;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon-btn:hover {
  color: #b88fa6;
  transform: scale(1.1);
}

/* SEARCH MODAL */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.search-modal.active {
  display: flex;
}

.search-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-modal-close:hover {
  color: #d4a5c1;
}

.search-modal-input-wrapper {
  position: relative;
  margin-bottom: 25px;
}

.search-modal-input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 2px solid #e5d5e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #2b2b2b;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-modal-input:focus {
  border-color: #d4a5c1;
}

.search-modal-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4a5c1;
  font-size: 16px;
}

.search-modal-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

/* PRODUCTS SEKCIJA */
.products-section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #2b2b2b;
  text-align: left;
}

/* PRODUCTS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* PRODUCT CARD */
.product-card {
  border: 1px solid #e5d5e0;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  background: #fff;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(212, 165, 193, 0.2);
  transform: translateY(-2px);
  border-color: #d4a5c1;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 6px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 5px;
  line-height: 1.3;
  min-height: 28px;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: #d4a5c1;
  margin-bottom: 10px;
}

/* BUTTON */
.product-btn {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #d4a5c1;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-decoration: none;
  margin-top: auto;
}

/* FOOTER */
.footer {
  margin-top: 40px;
  padding: 30px 0 40px 0;
  border-top: 1px solid #e5d5e0;
  font-size: 13px;
  color: #999;
  background: rgb(241, 189, 208);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left {
  font-size: 13px;
  color: #999;
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-social a {
  color: #666;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: #d4a5c1;
}

/* RECEPT STRANICA */
.recept-section {
  padding: 40px 0;
}

.back-link {
  text-decoration: none;
  color: #d4a5c1;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
  display: inline-block;
  margin-bottom: 30px;
}

.back-link:hover {
  color: #b88fa6;
}

.recept-detail {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.recept-header {
  text-align: center;
  margin-bottom: 30px;
}

.recept-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 15px;
}

.recept-price {
  font-size: 24px;
  font-weight: 700;
  color: #d4a5c1;
}

.recept-image-container {
  text-align: center;
  margin-bottom: 40px;
}

.recept-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.recept-description-box {
  background: rgb(247, 231, 237);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.recept-full-description {
  font-size: 16px;
  color: #2b2b2b;
  line-height: 1.8;
  margin-bottom: 20px;
}

.recept-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.highlight-item {
  font-size: 15px;
  color: #2b2b2b;
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-item i {
  color: #d4a5c1;
  font-size: 18px;
}

.recept-guarantee {
  font-size: 14px;
  color: #666;
  font-style: italic;
  border-top: 1px solid #e5d5e0;
  padding-top: 15px;
  margin-top: 15px;
}

.recept-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d4a5c1;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-bottom: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.recept-buy-btn:hover {
  background: #c08fb5;
  transform: scale(1.05);
}

.recept-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.recept-ingredients,
.recept-instructions {
  background: rgb(247, 231, 237);
  padding: 25px;
  border-radius: 8px;
}

.recept-ingredients h2,
.recept-instructions h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 20px;
}

.recept-ingredients ul,
.recept-instructions ol {
  padding-left: 20px;
}

.recept-ingredients li,
.recept-instructions li {
  margin-bottom: 12px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .recept-detail {
    padding: 25px;
  }

  .recept-header h1 {
    font-size: 28px;
  }

  .recept-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .recept-description-box {
    padding: 20px;
  }

  .recept-image {
    max-width: 100%;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-desktop {
    display: none;
  }

  .header-inner {
    gap: 10px;
  }

  .logo {
    flex: 0;
  }

  .logo-img {
    max-height: 50px;
  }

  .header-right {
    flex: 0;
    gap: 10px;
  }

  .search-icon-btn {
    font-size: 18px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .hero {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hamburger {
    display: block;
    order: 1;
    font-size: 20px;
    cursor: pointer;
  }

  .logo {
    order: 2;
    flex: 1;
  }

  .logo-img {
    max-height: 45px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-right {
    order: 3;
    width: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .search-icon-btn {
    font-size: 18px;
  }

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

  .product-card {
    display: flex;
    flex-direction: row;
    padding: 10px;
    text-align: left;
  }

  .product-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 0;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .product-name {
    font-size: 13px;
    min-height: auto;
  }

  .product-price {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .product-btn {
    padding: 6px 10px;
    font-size: 12px;
    margin-top: auto;
  }

  .hero {
    height: 200px;
    margin-bottom: 25px;
  }

  .products-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .search-modal-content {
    width: 95%;
    padding: 20px;
  }

  .search-modal-input {
    padding: 10px 35px 10px 12px;
    font-size: 14px;
  }

  .search-modal-results {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }

  .search-modal-results .product-card {
    flex-direction: column;
    padding: 8px;
  }

  .search-modal-results .product-card img {
    width: 100%;
    height: 100px;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Contact Section */
.contact-section {
  padding: 60px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  font-family: "Great Vibes", cursive;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-item {
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-item i {
  font-size: 2.5rem;
  color: #d4a574;
  margin-bottom: 15px;
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.contact-item p {
  color: #666;
  font-size: 1rem;
}

.contact-item a {
  color: #d4a574;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #333;
}
