@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: #f3f4f6;
  color: #020617;
  line-height: 1.6;
}

/* --- Top Bar & Header --- */
.top-bar {
  background: #111;
  color: #fff;
  overflow: hidden;
  height: 35px;
  position: relative;
}

.ticker-text {
  position: absolute;
  white-space: nowrap;
  line-height: 35px;
  font-size: 14px;
  animation: tickerMove 12s linear infinite;
}

@keyframes tickerMove {
  0% { left: 100%; }
  100% { left: -100%; }
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F59E0B;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
}

.home-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #ff6600, #ff3c00);
  color: white;
}

.hero h1 { font-size: 36px; margin-bottom: 10px; }
.hero p { font-size: 1.1rem; opacity: 0.9; }

/* --- Product Grid & Container --- */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.container h1 { margin-bottom: 10px; font-size: 2rem; }
.container > p { margin-bottom: 30px; color: #666; }

.grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* --- Card Style --- */
.card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

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

/* --- Image Slider Logic --- */
.image-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
  height: 300px;
}

.image-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.image-slider img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s;
}

.image-slider img:hover {
    opacity: 0.9;
}

.title {
  padding: 15px;
  font-weight: 600;
  font-size: 15px;
  background: #0F172A;
  color: #ffffff;
  text-align: center;
}

/* آرڈر ناؤ بٹن */
.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 14px 14px;
    transition: background 0.2s;
}

.order-btn:hover { background: #1da851; }

/* ---- فل ویو (Modal) کا ڈیزائن ---- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: zoomIn 0.3s ease;
    user-select: none;
}

/* بند کرنے کا بٹن (کراس کا نشان) */
.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s;
}
.close-btn:hover { color: #bbb; }

/* نیویگیشن بٹن (Next & Prev) */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 45px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    z-index: 10000;
    transition: background 0.2s, color 0.2s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #F59E0B;
}

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

/* موبائل اسکرینز کے لیے ریسپونسیو سیٹنگز */
@media (max-width: 600px) {
    .nav-btn { font-size: 30px; padding: 5px 10px; }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
    .modal-content { max-width: 95%; }
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  background: #111;
  font-size: 14px;
  color: #bbb;
  border-top: 1px solid #333;
  margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.social-links { list-style: none; display: flex; gap: 15px; padding: 0; }
.social-btn {
    text-decoration: none;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.social-btn:hover { color: #fff; }

.footer-column h4 { color: #fff; margin-bottom: 10px; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column a {
    text-decoration: none;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: color 0.2s;
}
.footer-column a:hover { color: #fff; }

.footer-bottom { margin-top: 20px; border-top: 1px solid #333; padding-top: 10px; width: 100%; }