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

:root {
  --primary-color: #0066cc;
  --primary-dark: #004fa3;
  --accent-color: #00b359;
  --secondary-color: #003d7a;
  --light-bg: #f5f9ff;
  --text-dark: #1a1a1a;
  --text-light: #555;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0;
}

.header-right {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-toggle {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: white;
  color: var(--primary-color);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.order-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.order-btn:hover {
  background: #009f4a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 179, 89, 0.3);
}

.navigation {
  background: rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  border-radius: 4px;
  position: relative;
}

.hamburger {
  display: none;
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  border-bottom-color: var(--accent-color);
}

/* ========== SHOP STATUS ========== */
.shop-status {
  background: linear-gradient(135deg, #fff 0%, var(--light-bg) 100%);
  padding: 20px 0;
  border-bottom: 2px solid var(--border-color);
}

.status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--success-color);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success-color);
  animation: pulse 2s infinite;
}

.status-dot.closed {
  background: var(--error-color);
  color: var(--error-color);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.countdown {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 500;
}

/* ========== HERO SECTION ========== */
.hero {
  background:
    linear-gradient(135deg, #00b4d8 0%, var(--primary-color) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f5f9ff" width="1200" height="600"/><circle cx="100" cy="100" r="80" fill="%231ab9e6" opacity="0.1"/><circle cx="1100" cy="500" r="100" fill="%230066cc" opacity="0.1"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  background: #009f4a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ========== CATEGORIES SECTION ========== */
.categories {
  padding: 60px 20px;
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-color);
  font-weight: 700;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.category-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.category-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.2);
}

.category-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.category-card h3 {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
}

/* ========== OFFERS BANNER ========== */
.offers-banner {
  padding: 60px 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
}

.offers-banner h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

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

.offer-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.offer-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.offer-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.offer-card p {
  font-size: 14px;
  opacity: 0.95;
}

/* ========== SEARCH & FILTER ========== */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
  flex: 1;
  min-width: 200px;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.search-bar input:focus,
.search-bar select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* ========== FEATURED PRODUCTS ========== */
.featured-products {
  padding: 60px 20px;
  background: white;
}

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

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.product-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--light-bg) 0%, #e8f4ff 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.product-emoji {
  font-size: 60px;
  line-height: 1;
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-description {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.add-to-cart {
  width: 100%;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ========== SERVICES SECTION ========== */
.services {
  padding: 60px 20px;
  background: var(--light-bg);
}

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

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 14px;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  padding: 60px 20px;
  background: white;
}

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

.testimonial-card {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stars {
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-card h4 {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
}

/* ========== CONTACT SECTION ========== */
.contact {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--light-bg) 0%, #e8f4ff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.15);
}

.contact-info-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.contact-info-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 14px;
}

.contact-info-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ========== SHOPPING CART MODAL ========== */
.cart-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cart-content {
  background: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: black;
}

.cart-items {
  margin: 20px 0;
  max-height: 300px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--border-color);
  text-align: right;
}

.checkout-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 30px;
  margin-top: 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  background: #009f4a;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

.footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: 15px;
  }

  .header-right {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .contact-info {
    flex-direction: column;
    gap: 8px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 5px 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li a {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

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

  .offer-card {
    padding: 20px;
  }

  .offer-card h3 {
    font-size: 18px;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-bar input,
  .search-bar select {
    min-width: 100%;
  }

  .cart-content {
    width: 95%;
  }

  .status-card {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 18px;
  }

  .header-top {
    margin-bottom: 10px;
  }

  .contact-info {
    font-size: 12px;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 10px;
  }

  .order-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .hero {
    padding: 50px 20px;
    min-height: 300px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .cta-btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 15px 10px;
  }

  .category-icon {
    font-size: 28px;
  }

  .category-card h3 {
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image {
    height: 120px;
    font-size: 40px;
  }

  .service-card {
    padding: 25px 15px;
  }

  .service-icon {
    font-size: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    display: none;
  }
}

/* ========== UTILITY CLASSES ========== */
.hidden {
  display: none !important;
}

.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
