/* ============================================= */
/* BASE STYLES & RESET */
/* ============================================= */
:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --white: #ffffff;
  --black: #212529;
  --gray-light: #e9ecef;
  --gray-medium: #adb5bd;
  --gray-dark: #495057;
  --whatsapp-color: #25D366;
  --whatsapp-hover: #1DA851;
  --border-radius: 4px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ============================================= */
/* HEADER & NAVIGATION */
/* ============================================= */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.625rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar p{
  color: white;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons a {
  color: var(--white);
  transition: var(--transition);
}

.social-icons a:hover {
  opacity: 0.8;
}

.main-header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  padding: 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo img {
  width: 3.125rem;
  height: auto;
}

.search-cart {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.search-cart input {
  padding: 0.5rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  width: 12.5rem;
  transition: var(--transition);
}

.search-cart input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.cart-icon {
  position: relative;
  color: var(--primary-color);
}

.badge {
  position: absolute;
  top: -0.5rem;
  right: -0.625rem;
  background-color: var(--danger-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  background-color: var(--dark-color);
  padding: 0.625rem 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--warning-color);
}

/* ============================================= */
/* HERO SLIDER */
/* ============================================= */
.slider {
  position: relative;
  width: 100%;
  height: 31.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, #004080, var(--primary-color));
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-text {
  flex: 1;
  max-width: 50%;
  color: var(--white);
}

.banner-text h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.banner-text p {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.banner-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.banner-image img {
  max-height: 25rem;
  border-radius: 0.625rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================= */
/* PRODUCT GRID – Senior Developer Polish */
/* ============================================= */

.product-grid {
  padding: 4rem 1.5rem;
  background-color: var(--light-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* Image Block */
.product-img {
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-light);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

/* Product Info */
.product-info {
  flex-grow: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Price */
.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Buttons */
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1 1 48%;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  white-space: nowrap;
  justify-content: center;
}

/* WhatsApp Button */
.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

/* Responsive Fine-Tuning */
@media (max-width: 576px) {
  .product-actions .btn {
    flex: 1 1 100%;
  }

  .product-img {
    height: 160px;
  }
}


/* ============================================= */
/* CART FUNCTIONALITY */
/* ============================================= */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -25rem;
  width: 25rem;
  height: 100%;
  background-color: var(--white);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-dark);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.empty-cart {
  text-align: center;
  color: var(--gray-medium);
  padding: 2rem 0;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 0.9375rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.cart-item-img {
  width: 5rem;
  height: 5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.3125rem;
}

.cart-item-price {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Cart Tab Styles */
.cart-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin: 0 -20px;
  padding: 0 20px;
}

.cart-tab {
  background: none;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  position: relative;
  margin-right: 5px;
}

.cart-tab.active {
  color: #2c3e50;
  font-weight: 600;
}

.cart-tab.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #3498db;
}

.cart-tab-content {
  display: none;
  padding: 15px 0;
  max-height: 50vh;
  overflow-y: auto;
}

.cart-tab-content.active {
  display: block;
}

.quantity-btn {
  width: 1.875rem;
  height: 1.875rem;
  border: 1px solid var(--gray-light);
  background-color: transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-item {
  background: none;
  border: none;
  color: var(--danger-color);
  cursor: pointer;
  margin-left: auto;
}

.cart-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--gray-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.checkout-btn {
  width: 100%;
  margin-bottom: 0.625rem;
}

.whatsapp-checkout {
  width: 100%;
  background-color: var(--whatsapp-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.whatsapp-checkout:hover {
  background-color: var(--whatsapp-hover);
}

.cart-notification {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background-color: var(--success-color);
  color: var(--white);
  padding: 0.9375rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transform: translateY(6.25rem);
  opacity: 0;
  transition: var(--transition);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================= */
/* FAQ SECTION */
/* ============================================= */
.faq-section {
  padding: 3.75rem 1.25rem;
  background-color: var(--white);
}

.faq-container {
  max-width: 50rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
  padding: 1.25rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 31.25rem;
  padding-top: 0.9375rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ============================================= */
/* NEWSLETTER SECTION */
/* ============================================= */
.newsletter-section {
  background-color: #050859;
  color: var(--white);
  padding: 3.75rem 1.25rem;
}

.newsletter-content {
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.newsletter-text h2 {
  font-size: 2rem;
  margin-bottom: 0.625rem;
}

.newsletter-form {
  display: flex;
  gap: 0.625rem;
}

.newsletter-form input {
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius);
  min-width: 15.625rem;
}

.newsletter-form button {
  background-color: #040336;
  color: #4f99e7;
  border: none;
  font-weight: 600;
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
.footer {
  background-color: var(--dark-color);
  color: var(--gray-medium);
  padding: 2.5rem 1.25rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 3.125rem;
  margin-bottom: 1rem;
}

.footer-logo p {
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--gray-medium);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--white);
}

.footer-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--warning-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-dark);
  font-size: 0.875rem;
}

/* ============================================= */
/* RESPONSIVE DESIGN */
/* ============================================= */
@media (max-width: 992px) {
  .banner-text h1 {
    font-size: 2.5rem;
  }
  
  .banner-text p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  .search-cart {
    width: 100%;
  }
  
  .search-cart input {
    width: 100%;
  }
  
  .slide {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .banner-text {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .banner-text h1 {
    font-size: 2rem;
  }
  
  .cart-sidebar {
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  
  .newsletter-form input {
    min-width: 100%;
  }
  
  .newsletter-form button {
    width: 100%;
  }
}

/* Banner Text Styles */
.banner-text {
  color: white; /* Ensure all text is white */
}

.banner-text h1,
.banner-text p {
  color: white; /* Explicitly set both headings and paragraphs to white */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add shadow for better readability */
}

/* Slider Styles */
.slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Cart Sidebar Styles */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

/* Disclaimer Section Styles */
.disclaimer-section {
  padding: 20px 0;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.disclaimer-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 4px solid #e74c3c;
}

.disclaimer-card h3 {
  color: #e74c3c;
  margin-bottom: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclaimer-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.policy-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  border-left: 3px solid #3498db;
}

.policy-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-item ul {
  padding-left: 20px;
}

.policy-item li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .disclaimer-card {
    padding: 15px;
  }
  
  .policy-grid {
    grid-template-columns: 1fr;
  }
}



/* Policy Content Styles */
.policy-content {
  padding: 5px;
}

.policy-section {
  margin-bottom: 20px;
}

.policy-section h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-section h4 i {
  color: #3498db;
}

.policy-section p, 
.policy-section li {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.policy-section ul {
  padding-left: 25px;
  margin-top: 5px;
}

.policy-section li {
  margin-bottom: 5px;
}

.delivery-note {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.delivery-note i {
  color: #e67e22;
}

.discount-tooltip {
  position: absolute;
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  display: none;
  z-index: 100;
}

.product-actions {
  position: relative;
}

/* ============================================= */
/* HAMBURGER MENU STYLES */
/* ============================================= */

/* Hide the hamburger menu on desktop */
.hamburger-menu {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-icon {
  width: 30px;
  height: 3px;
  background-color: var(--dark-color);
  position: relative;
  transition: var(--transition);
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: var(--dark-color);
  transition: var(--transition);
}

.hamburger-icon::before {
  transform: translateY(-8px);
}

.hamburger-icon::after {
  transform: translateY(8px);
}

/* Mobile menu styles */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  overflow-y: auto;
  padding-top: 4rem;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-links {
  list-style: none;
  padding: 1rem;
}

.mobile-nav-links li {
  margin-bottom: 1rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.75rem;
  color: var(--dark-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.mobile-nav-links a:hover {
  background-color: var(--gray-light);
  color: var(--primary-color);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-light);
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1001;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

/* Overlay when mobile menu is open */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Show hamburger menu on mobile */
@media (max-width: 992px) {
  .hamburger-menu {
    display: block;
  }

  .nav-menu {
    display: none;
  }
  
  /* Animate hamburger icon when active */
  .hamburger-menu.active .hamburger-icon {
    background-color: transparent;
  }
  
  .hamburger-menu.active .hamburger-icon::before {
    transform: rotate(45deg);
  }
  
  .hamburger-menu.active .hamburger-icon::after {
    transform: rotate(-45deg);
  }
}



