/* ===========================
   GLOBAL RESET & VARIABLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00B894;      /* Orange — ecommerce modern */
  --dark: #333;
  --light: #f7f7f7;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(0,0,0,0.08);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

 /* Header */
/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

/* ===== MAIN HEADER ===== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #f0f0f0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  position: relative;
}

/* ===== LOGO ===== */
.logo-link {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* ===== HAMBURGER BUTTON (Hidden on Desktop) ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-btn:hover .hamburger-line {
  background: #00B894;
}

/* Hamburger Animation when Menu Open */
.menu-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== NAVIGATION MENU (Desktop) ===== */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Hover Effect */
.nav-link:hover {
  background: #f5f5f5;
  color: #00B894;
}

/* Active Link */
.nav-link.active {
  color: #00B894;
  background: #fff4f0;
}

/* ===== HEADER ICONS (Always Visible) ===== */
.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  position: relative;
  background: transparent;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.icon-btn:hover {
  background: #f5f5f5;
  color: #00B894;
  transform: translateY(-2px);
}

/* Cart Button Special */
.cart-btn:hover {
  background: #00B894;
  color: white;
}

/* Badge */
.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #00B894;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* ===== RESPONSIVE - MOBILE & TABLET ===== */
@media (max-width: 768px) {
  
  /* Show Hamburger Button */
  .hamburger-btn {
    display: flex;
  }

  .header-container {
    padding: 12px 15px;
  }

  /* Navigation Menu - Dropdown Style */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
  }

  /* Show Menu - Dropdown */
  .nav-menu.show {
    max-height: 400px;
    opacity: 1;
  }

  /* Vertical Menu List */
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 10px 0;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-link {
    width: 100%;
    padding: 15px 20px;
    border-radius: 0;
    font-size: 15px;
    text-align: left;
  }

  .nav-link:hover {
    background: #f9f9f9;
  }

  .nav-link.active {
    background: #fff4f0;
    border-left: 4px solid #00B894;
  }

  /* Icons - Smaller on Mobile */
  .header-icons {
    gap: 8px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .badge {
    font-size: 10px;
    padding: 2px 5px;
    min-width: 16px;
  }
}

/* ===== TABLET (Medium Screens) ===== */
@media (min-width: 481px) and (max-width: 768px) {
  
  .header-container {
    padding: 12px 25px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .nav-link {
    padding: 16px 25px;
    font-size: 16px;
  }
}

/* ===== DESKTOP (Machine) ===== */
@media (min-width: 769px) {
  
  /* Hide Hamburger */
  .hamburger-btn {
    display: none !important;
  }

  /* Normal Menu */
  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    max-height: none;
    opacity: 1;
  }

  .nav-list {
    flex-direction: row;
  }

  .nav-link {
    padding: 10px 18px;
  }
}

/* ===== LARGE DESKTOP ===== */
@media (min-width: 1025px) {
  
  .header-container {
    padding: 12px 40px;
  }

  .nav-list {
    gap: 8px;
  }

  .nav-link {
    padding: 10px 20px;
    font-size: 16px;
  }

  .header-icons {
    gap: 15px;
  }
}

/* ===== VERY SMALL PHONES ===== */
@media (max-width: 360px) {
  
  .logo {
    height: 38px;
  }

  .header-icons {
    gap: 6px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .hamburger-line {
    width: 24px;
  }
}


.suggestions {
  position: absolute;
  top: 50px;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 10;
}

.suggestion-item {
  padding: 10px 15px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}
.search-bar .search-btn:hover {
  background: #00B894;
}

.camera-btn {
  position: relative;
  background: #f5f5f5;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  color: #555;
  font-size: 18px;
}

.camera-btn:hover {
  color: #ff6b35;
}

.camera-btn input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 150px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .search-container { width: 90%; }
  .gallery img { width: 45%; }
}

@media (max-width: 480px) {
  .gallery img { width: 100%; }
}

/* ===========================
   CONTACT HEADER
=========================== */
.contact-header {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  margin-top: 20px;
}

.contact-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
}

.contact-header p {
  font-size: 1.1rem;
  margin-top: 10px;
  color: #555;
}


/* ===========================
   CONTACT INFO CARDS
=========================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 40px 25px;
  max-width: 1400px;
  margin: auto;
}

.card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.15);
}

.card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 6px;
  color: #444;
}

.card .btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}

.card .btn:hover {
  background: #00B894;
}


/* ===========================
   CONTACT FORM
=========================== */
.contact-form {
  max-width: 850px;
  margin: 60px auto;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: bold;
}

.contact-form form {
  display: grid;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  outline: none;
  transition: 0.2s ease;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.btn-primary {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 14px;
  border: none;
  font-size: 1.1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #00B894;
}


/* ===========================
   WHATSAPP SECTION
=========================== */
.whatsapp-section {
  padding: 50px 20px;
  text-align: center;
}

.whatsapp-section h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.whatsapp-section p {
  margin-bottom: 20px;
  color: #444;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
  background: #1ebe58;
}


/* ===========================
   SOCIAL MEDIA
=========================== */
.social-section {
  padding: 50px 20px;
  text-align: center;
  background: var(--white);
}

.social-section h2 {
  margin-bottom: 15px;
}

.social-icons a {
  display: inline-block;
  font-size: 1.7rem;
  margin: 0 12px;
  color: var(--primary);
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #e65d2d;
}


/* ===========================
   MAP SECTION
=========================== */
.map-section {
  padding: 40px 20px;
  background: var(--white);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 15px;
}

.map-section iframe {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
}


/* ===========================
   FAQ SECTION
=========================== */
.faq {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.faq details {
  background: var(--white);
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.faq summary {
  font-size: 1.1rem;
  font-weight: bold;
}

.faq p {
  margin-top: 10px;
  color: #444;
}


/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 25px;
  text-align: center;
  margin-top: 40px;
}

.footer p {
  font-size: 0.95rem;
}


/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 1024px) {
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .btn-whatsapp {
    width: 100%;
  }
}


/* ✅ ALERTS */
#alert-box {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 1rem;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
}

.alert-success {
  background: #25d366;
  color: white;
}

.alert-error {
  background: #e74c3c;
  color: white;
}