/* ============================================
   MAISHA MABATI - COMPLETE STYLESHEET
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #fefefe;
  overflow-x: hidden;
}

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #1a4d8c, #c1272d);
  border-radius: 2px;
}

.highlight {
  color: #c1272d;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* ========== HEADER & NAVBAR ========== */
.header {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 20px;
  gap: 15px;
}

/* Logo Styles */
.logo-area {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  max-height: 50px;
  width: auto;
  display: block;
}

.logo-text-fallback {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1a4d8c;
}

.logo-text .highlight {
  color: #c1272d;
}

/* Navigation */
.navbar {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  color: #1a1a2e;
  transition: color 0.3s;
  font-size: 1rem;
}

.nav-link:hover {
  color: #c1272d;
}

/* Cart Icon */
.cart-icon-container {
  margin-left: 0;
  flex-shrink: 0;
}

.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1a4d8c;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.cart-icon-btn:hover {
  color: #c1272d;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #c1272d;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}

/* ========== CART DRAWER ========== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: white;
  z-index: 1002;
  box-shadow: -2px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.cart-header h3 {
  margin: 0;
  color: #1a4d8c;
  font-size: 1.3rem;
}

.close-cart {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
  line-height: 1;
}

.close-cart:hover {
  color: #c1272d;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.empty-cart-message {
  text-align: center;
  color: #888;
  padding: 2rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 0.5rem;
  gap: 10px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  color: #1a4d8c;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.cart-item-price {
  color: #c1272d;
  font-weight: 600;
  font-size: 0.85rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.quantity-btn {
  background: #f0f0f0;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
  font-size: 1rem;
}

.quantity-btn:hover {
  background: #ddd;
}

.quantity-value {
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

.remove-item {
  background: none;
  border: none;
  color: #c1272d;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 5px;
  transition: opacity 0.2s;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a4d8c;
}

.btn-checkout {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: background 0.3s;
}

.btn-checkout:hover {
  background: #128C7E;
}

.btn-clear-cart {
  width: 100%;
  background: #c1272d;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-clear-cart:hover {
  background: #9a1f24;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background: #1a4d8c;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 77, 140, 0.9) 0%, rgba(193, 39, 45, 0.85) 100%);
  padding: 5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  color: white;
  font-size: 1.2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.btn-call {
  background: #1a4d8c;
  color: white;
}

.btn-call:hover {
  background: #0f3a6b;
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
  color: white;
}

.btn-wa:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.btn-primary {
  background: #c1272d;
  color: white;
}

.btn-primary:hover {
  background: #9e1f24;
}

/* Products */
.products-main-section {
  padding: 4rem 0;
  background: #fff;
}

.product-category {
  margin-bottom: 3rem;
}

.category-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
  border-left: 4px solid #c1272d;
  color: #1a4d8c;
}

.category-title i {
  margin-right: 10px;
  color: #c1272d;
}

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

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #eef2f6;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #f5f7fa;
}

.product-info {
  padding: 0.8rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #1a4d8c;
}

.product-price {
  font-weight: 800;
  color: #c1272d;
  font-size: 1.1rem;
  margin: 0.3rem 0;
}

.product-desc {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.card-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-order, .btn-cart {
  flex: 1;
  padding: 6px 0;
  font-size: 0.75rem;
  border-radius: 25px;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-order {
  background: #c1272d;
  color: white;
}

.btn-order:hover {
  background: #9a1f24;
}

.btn-cart {
  background: #1a4d8c;
  color: white;
}

.btn-cart:hover {
  background: #0e3a6b;
}

/* Testimonials */
.testimonials-section {
  background: #f8fafc;
  padding: 4rem 0;
}

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

.testimonial-card {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}

.testimonial-text {
  font-style: italic;
  color: #2d3e50;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonial-author {
  font-weight: 700;
  color: #c1272d;
}

.testimonial-location {
  font-size: 0.8rem;
  color: #1a4d8c;
  margin-top: 0.25rem;
}

/* Quote Section */
.quote-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.quote-info h2 {
  color: #1a4d8c;
}

.quote-contact-badges {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.quote-contact-badges span {
  background: white;
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.quote-form {
  background: white;
  padding: 1.8rem;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #1a4d8c;
}

.btn-submit {
  width: 100%;
  justify-content: center;
}

/* SEO Content */
.seo-content {
  padding: 3rem 0;
  background: white;
}

.seo-text h3 {
  color: #1a4d8c;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: #0a1c2f;
  color: #cfdfed;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h3, .footer-col h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #cfdfed;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #c1272d;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.2rem;
  border-top: 1px solid #1e3a5f;
  margin-top: 2rem;
  font-size: 0.85rem;
}

/* Sticky CTAs */
.sticky-ctas {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.sticky-call, .sticky-wa {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  text-decoration: none;
}

.sticky-call {
  background: #1a4d8c;
  color: white;
}

.sticky-wa {
  background: #25D366;
  color: white;
}

.sticky-call:hover, .sticky-wa:hover {
  transform: scale(1.05);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .header-container {
    padding: 0.8rem 15px;
  }
  
  .logo-img {
    max-height: 40px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-cta-group {
    gap: 0.8rem;
  }
  
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  
  .category-title {
    font-size: 1.3rem;
  }
  
  .products-grid {
    gap: 1rem;
  }
  
  .quote-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cart-drawer {
    max-width: 320px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .product-title {
    font-size: 0.85rem;
  }
  
  .product-price {
    font-size: 0.95rem;
  }
  
  .btn-order, .btn-cart {
    font-size: 0.65rem;
    padding: 5px 0;
  }
  
  .cart-drawer {
    max-width: 100%;
    width: 100%;
  }
  
  .sticky-call, .sticky-wa {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}