@font-face {
  font-family: 'IranYekanWeb';
  src: url('fonts/IranYekanNew/200-iranyekan-thin.woff') format('woff');
  font-weight: 200;
}

@font-face {
  font-family: 'IranYekanWeb';
  src: url('fonts/IranYekanNew/300-iranyekan-light.woff') format('woff');
  font-weight: 300;
}

@font-face {
  font-family: 'IranYekanWeb';
  src: url('fonts/IranYekanNew/400-iranyekan-regular.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'IranYekanWeb';
  src: url('fonts/IranYekanNew/500-iranyekan-medium.woff') format('woff');
  font-weight: 500;
}

@font-face {
  font-family: 'IranYekanWeb';
  src: url('fonts/IranYekanNew/600-iranyekan-bold.woff') format('woff');
  font-weight: 600;
}

@font-face {
  font-family: 'IranYekanWeb';
  src: url('fonts/IranYekanNew/700-iranyekan-extrabold.woff') format('woff');
  font-weight: 700;
}

@font-face {
  font-family: 'IranYekanWeb';
  src: url('fonts/IranYekanNew/800-iranyekan-black.woff') format('woff');
  font-weight: 800;
}

@font-face {
  font-family: 'IranYekanWeb';
  src: url('fonts/IranYekanNew/900-iranyekan-extrablack.woff') format('woff');
  font-weight: 900;
}



/* errors */
.invalid-feedback {
  display: block;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

.is-invalid {
  border-color: #dc3545 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}



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

body {
  font-family: 'IranYekanWeb', sans-serif;
  background: #0a0a0a;
  color: #fff;
  direction: rtl;
  overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
}

.brand-text {
  background: linear-gradient(135deg, #fff, #d4a84b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.nav-link:hover,
.nav-link.active {
  color: #d4a84b !important;
}

.btn-auth {
  background: linear-gradient(135deg, #d4a84b, #b8860b);
  border: none;
  color: #1a0f08;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 168, 75, 0.4);
}

/* ========== HERO NEW ========== */
.hero-new {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(212,168,75,0.2)"/><circle cx="80" cy="40" r="1.5" fill="rgba(212,168,75,0.15)"/><circle cx="50" cy="70" r="1" fill="rgba(212,168,75,0.2)"/></svg>');
  background-repeat: repeat;
  opacity: 0.5;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-floating-cup {
  text-align: center;
}

.floating-coffee {
  position: relative;
  animation: floatCup 3s ease-in-out infinite;
}

.floating-coffee i {
  font-size: 120px;
  background: linear-gradient(135deg, #d4a84b, #f0d27a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 30px rgba(212, 168, 75, 0.3));
}

@keyframes floatCup {

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

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

.steam-animation {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.steam-animation span {
  width: 4px;
  height: 40px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 50%;
  animation: steam 2s ease-out infinite;
}

.steam-animation span:nth-child(1) {
  animation-delay: 0s;
  left: -15px;
}

.steam-animation span:nth-child(2) {
  animation-delay: 0.5s;
}

.steam-animation span:nth-child(3) {
  animation-delay: 1s;
  left: 15px;
}

@keyframes steam {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translateY(-60px) scale(1.5);
    opacity: 0;
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
  animation: bounce 2s ease infinite;
}

.hero-scroll-indicator span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.hero-scroll-indicator i {
  color: #d4a84b;
  font-size: 20px;
}

@keyframes bounce {

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

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

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4a84b, #b8860b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 5px 20px rgba(212, 168, 75, 0.3);
}

.section-icon i {
  font-size: 28px;
  color: #1a0f08;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4a84b, transparent);
  margin: 10px auto 0;
}

/* ========== CATEGORIES ========== */
.categories-section {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}

.category-slider .item {
  padding: 10px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 168, 75, 0.3);
  background: rgba(212, 168, 75, 0.05);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.2), rgba(184, 134, 11, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.4), rgba(184, 134, 11, 0.2));
}

.category-icon i,
.category-icon img {
  font-size: 32px;
  color: #d4a84b;
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.category-card h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-align: center;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a84b, #f0d27a);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card:hover .category-overlay {
  transform: scaleX(1);
}

/* ========== MENU SECTION ========== */
.menu-container {
  padding: 60px 0 40px;
}

.menu-section {
  margin-bottom: 80px;
  padding: 15px;
}

.menu-section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.menu-section-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #d4a84b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1a0f08;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(212, 168, 75, 0.3);
}

.menu-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 15px;
}

.menu-section-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d4a84b;
  font-size: 0.8rem;
}

/* ========== PRODUCT CARD ========== */
.product-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 75, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-placeholder i {
  font-size: 60px;
  color: rgba(212, 168, 75, 0.3);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-order {
  background: linear-gradient(135deg, #d4a84b, #b8860b);
  border: none;
  padding: 12px 25px;
  border-radius: 40px;
  color: #1a0f08;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-order:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(212, 168, 75, 0.4);
}

.product-info {
  padding: 20px;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.product-price {
  text-align: left;
}

.price-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #d4a84b;
}

.price-unit {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
}

.product-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 15px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-rating i {
  font-size: 11px;
  color: #d4a84b;
  margin-left: 2px;
}

.btn-cart {
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid rgba(212, 168, 75, 0.3);
  padding: 6px 15px;
  border-radius: 20px;
  color: #d4a84b;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-cart:hover {
  background: #d4a84b;
  color: #1a0f08;
  border-color: #d4a84b;
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #d4a84b, #b8860b);
  margin-top: 40px;
}

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

.cta-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a0f08;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(26, 15, 8, 0.8);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-primary {
  background: #1a0f08;
  color: #d4a84b;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #1a0f08;
  backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ========== FOOTER ========== */
.footer {
  background: #050505;
  padding: 50px 0 20px;
}

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

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 2rem;
  color: #d4a84b;
  margin-left: 10px;
}

.footer-logo span {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #d4a84b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4a84b;
}

.footer-social {
  margin-bottom: 20px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  margin: 0 10px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-social a:hover {
  color: #d4a84b;
  transform: translateY(-3px);
}

.footer-copyright p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========== MODAL ========== */
.modal-content {
  background: #1a1a2e;
  border-radius: 20px;
  border: 1px solid rgba(212, 168, 75, 0.3);
}

.modal-header {
  border-bottom-color: rgba(212, 168, 75, 0.2);
}

.modal-title {
  color: #d4a84b;
}

.order-product-info {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(212, 168, 75, 0.05);
  border-radius: 15px;
  margin-bottom: 20px;
}

.order-product-icon i {
  font-size: 40px;
  color: #d4a84b;
}

.order-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.order-product-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.order-product-price {
  color: #d4a84b;
  font-weight: 700;
}

.form-label {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 12px;
  padding: 12px;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4a84b;
  color: #fff;
  box-shadow: none;
}

.btn-modal-cancel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-modal-confirm {
  background: linear-gradient(135deg, #d4a84b, #b8860b);
  border: none;
  color: #1a0f08;
  padding: 10px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-modal-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 168, 75, 0.4);
}

.empty-message {
  text-align: center;
  padding: 50px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
}

.empty-message i {
  font-size: 50px;
  color: rgba(212, 168, 75, 0.3);
  margin-bottom: 15px;
}

/* ========== OWL CAROUSEL OVERRIDE ========== */
.owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.3) !important;
}

.owl-dots .owl-dot.active span {
  background: #d4a84b !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .floating-coffee i {
    font-size: 70px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .menu-section-title {
    font-size: 1.3rem;
  }

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

  .product-price {
    text-align: right;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .categories-section {
    padding: 50px 0 30px;
  }
}


/* ========== CATEGORIES NAVBAR STICKY ========== */
.categories-navbar {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 75, 0.2);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.categories-navbar.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.categories-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 0;
  position: relative;
}

.categories-nav-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(212, 168, 75, 0.3);
}

.categories-nav-icon i {
  font-size: 18px;
  color: #d4a84b;
}

.categories-nav-icon span {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.categories-nav-list {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.categories-nav-list li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 0;
  position: relative;
  white-space: nowrap;
}

.categories-nav-list li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4a84b, #f0d27a);
  transition: width 0.3s ease;
}

.categories-nav-list li a:hover::before,
.categories-nav-list li a.active::before {
  width: 100%;
}

.categories-nav-list li a:hover,
.categories-nav-list li a.active {
  color: #d4a84b;
}

/* ریسپانسیو برای منوی دسته‌بندی */
@media (max-width: 992px) {
  .categories-nav-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .categories-nav-icon {
    border-left: none;
    padding-left: 0;
    border-bottom: 1px solid rgba(212, 168, 75, 0.2);
    padding-bottom: 8px;
    width: 100%;
    justify-content: center;
  }

  .categories-nav-list {
    justify-content: center;
    gap: 15px;
  }

  .categories-nav-list li a {
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .categories-nav-list {
    gap: 12px;
  }

  .categories-nav-list li a {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .categories-nav-list {
    gap: 8px;
  }

  .categories-nav-list li a {
    font-size: 10px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) translateX(20px);
    opacity: 0;
  }
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98) !important;
  padding: 0.7rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.product-card,
.category-card {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-order,
.btn-cart,
.btn-auth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.fade .modal-dialog {
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

/* اسکرول smooth */
html {
  scroll-behavior: smooth;
}

/* استایل اسکرول بار سفارشی */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
  background: #d4a84b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8860b;
}