/* QR Menü - Modern Tasarım */

/* Hero Header */
.qr-hero {
  background: linear-gradient(135deg, #FF6B35 0%, #E55A27 50%, #DC2626 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.qr-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.qr-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(0,0,0,0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.qr-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  text-align: center;
}

.qr-hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.qr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.qr-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.qr-hero-desc {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.qr-hero-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.qr-hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Wave */
.qr-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.qr-wave svg {
  display: block;
  width: 100%;
}

/* Category Nav */
.qr-category-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  padding: 1rem 0;
}

.qr-category-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.qr-category-scroll::-webkit-scrollbar {
  display: none;
}

.qr-category-btn {
  flex-shrink: 0;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #E2E8F0;
  background: white;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s;
}

.qr-category-btn:hover {
  background: #F1F5F9;
}

.qr-category-btn.active {
  background: #FF6B35;
  color: white;
  border-color: #FF6B35;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  transform: scale(1.05);
}

/* Product Grid */
.qr-products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.qr-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.qr-product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.qr-product-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  border-color: #FDBA74;
  transform: translateY(-4px);
}

.qr-product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

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

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

.qr-product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #FDBA74;
}

.qr-product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.qr-product-price {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: #FF6B35;
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.qr-product-content {
  padding: 1rem;
}

.qr-product-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.qr-product-card:hover .qr-product-title {
  color: #FF6B35;
}

.qr-product-desc {
  font-size: 0.875rem;
  color: #64748B;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.qr-product-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #FF6B35;
}

.qr-product-link svg {
  transition: transform 0.2s;
}

.qr-product-card:hover .qr-product-link svg {
  transform: translateX(4px);
}

/* QR Code Section */
.qr-share-section {
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  color: white;
  padding: 4rem 1rem;
}

.qr-share-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .qr-share-content {
    flex-direction: row;
    text-align: left;
  }
}

.qr-share-text h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.qr-share-text p {
  color: #9CA3AF;
  margin-bottom: 1rem;
  max-width: 400px;
}

.qr-share-url {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qr-share-url input {
  background: #374151;
  border: none;
  padding: 0.625rem 1rem;
  border-radius: 8px;
  color: #D1D5DB;
  font-family: monospace;
  font-size: 0.875rem;
  width: 200px;
}

.qr-code-box {
  background: white;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* Footer */
.qr-footer {
  background: #111827;
  color: #9CA3AF;
  padding: 2rem 1rem;
  text-align: center;
}

.qr-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 600;
}

.qr-footer-logo svg {
  color: #FF6B35;
}

/* Product Detail Modal */
.qr-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.qr-detail-overlay.active {
  opacity: 1;
  visibility: visible;
}

.qr-detail-modal {
  background: white;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.qr-detail-overlay.active .qr-detail-modal {
  transform: translateY(0);
}

.qr-detail-image {
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

.qr-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-detail-handle {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 9999px;
}

.qr-detail-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qr-detail-content {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: calc(85vh - 250px);
}

.qr-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.qr-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A1A;
}

.qr-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: #FF6B35;
}

.qr-detail-price-old {
  font-size: 1rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

.qr-detail-desc {
  color: #64748B;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.qr-detail-steps {
  background: #FFF7ED;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid #FFEDD5;
}

.qr-detail-steps-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.qr-detail-steps-icon {
  width: 32px;
  height: 32px;
  background: #FF6B35;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-detail-steps ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qr-detail-steps li {
  display: flex;
  gap: 0.75rem;
}

.qr-detail-step-num {
  width: 24px;
  height: 24px;
  background: #FF6B35;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Empty State */
.qr-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.qr-empty-icon {
  width: 80px;
  height: 80px;
  background: #FFF7ED;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
  color: #FF6B35;
}

.qr-empty h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.qr-empty p {
  color: #64748B;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qr-product-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .qr-hero h1 {
    font-size: 2rem;
  }
  
  .qr-hero-desc {
    font-size: 1rem;
  }
  
  .qr-product-grid {
    grid-template-columns: 1fr;
  }
  
  .qr-share-section {
    padding: 3rem 1rem;
  }
  
  .qr-share-text h2 {
    font-size: 1.5rem;
  }
}
