@charset "utf-8";
/* CSS Document */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0 6px; /* 👈 Only 6px left and right */
  background: #f9f9f9;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: #003366;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: #003366;
  color: white;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  height: 350px;
  background-image: url('images/mainimage.jpg');
  background-size: cover;
  background-position: center;
}
@media (max-width: 500px) {
  .hero {
    background-image: url('images/mobile3.jpg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    height: 450px !important;
    padding: 0px 0px !important;
  }
}




/* 📱 Mobile layout adjustments */
@media (max-width: 600px) {
  .custom-top {
    flex-direction: column;
  }

  .custom-image-container {
    order: -1; /* Image appears first on mobile */
  }

  .btn-order-custom {
    font-size: 20px;
    padding: 18px 36px;
    width: 100%;
    text-align: center;
  }
}



.cta-button {
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
}

/* Specific button styles */
.cta-button.red {
  background: #e60000;
}

.cta-button.amazon {
  background: #ff9900;
}

.cta-button.whatsapp {
  background: #25D366;
}



.catalog {
  margin-top: 20px;              /* ✅ Minimal space below hero */
  padding: 0 20px;               /* ✅ Horizontal padding only */
  background: transparent;       /* ✅ No background color */
  text-align: center;
}

.catalog h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #003366;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0;               /* ✅ Reduced vertical padding */
  margin: 0 auto;
  max-width: 1200px;
}

.action-card {
  background-color: #EBE3BB;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.action-card h3 {
  color: #003366;
  margin-bottom: 10px;
}


.action-card {
  background-color: #EBE3BB;       /* 👈 Solid white background */
  padding: 10px;
  border-radius: 8px;            /* Optional: soft corners */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

.cta-button.whatsapp {
  background: #25D366;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  position: absolute;
  bottom: -300px; /* distance from bottom of hero */
  left: 50%;
  transform: translateX(-100%);
}




footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }
}
/* Buttons */
.btn-mercado-libre {
  display: inline-block;
  background-color: #d32f2f; /* Strong red */
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px; /* Rounded corners */
  text-decoration: none;
  font-weight: bold;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s ease;
}

.btn-mercado-libre:hover {
  background-color: #b71c1c; /* Darker red on hover */
}


.btn-mercado-libre:hover {
  background-color: #b71c1c;
}
/* === Custom Product Page Layout === */
.custom-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 30px;
}

.custom-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.custom-image-container {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  text-align: center;
}

.custom-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.custom-bottom {
  padding: 40px 20px;
  background-color: #f9f9f9;
  min-height: 200px;
}

/* === Responsive Layout === */
@media (max-width: 800px) {
  .custom-top {
    flex-direction: column;
    text-align: center;
  }

  .custom-text, .custom-image-container {
    max-width: 100%;
  }
}
/* === Custom Product Page Layout === */
.custom-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 30px;
}

.custom-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.custom-text h2 {
  color: #003366;
  font-size: 26px;
  margin-bottom: 20px;
}

.custom-text p {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.custom-text ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.custom-text li {
  margin-bottom: 10px;
  font-size: 16px;
}

.custom-image-container {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  text-align: center;
}

.custom-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media (max-width: 800px) {
  .custom-top {
    flex-direction: column;
    text-align: center;
  }

  .custom-text, .custom-image-container {
    max-width: 100%;
  }
}
.btn-order-custom {
  display: inline-block;
  margin-top: 24px;
  background-color: #d32f2f;
  color: #fff;
  padding: 18px 36px;              /* 🔺 Larger padding */
  font-size: 18px;                 /* 🔺 Larger text */
  border-radius: 40px;             /* 🔺 More rounded */
  text-decoration: none;
  font-weight: bold;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s ease;
}

.btn-order-custom:hover {
  background-color: #b71c1c;
}
.template-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 30px;
  background-color: #f9f9f9;
}

.template-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.template-text h2 {
  color: #003366;
  font-size: 26px;
  margin-bottom: 20px;
}

.template-text p {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.btn-download {
  display: block;
  margin: 12px 0;
  background-color: #d32f2f;
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s ease;
  text-align: center;
  max-width: 320px;
}

.btn-download:hover {
  background-color: #b71c1c;
}

.template-image {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  text-align: center;
}

.template-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Mobile stacking */
@media (max-width: 800px) {
  .template-section {
    flex-direction: column;
  }

  .template-image {
    order: -1; /* ✅ Image appears first on mobile */
  }

  .template-text, .template-image {
    max-width: 100%;
  }

  .btn-download {
    width: 100%;
  }
}


}
/* === ML STATS Header Bar === */
.main-header {
  background-color: #003366;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

.logo-text {
  font-size: 14px;
  line-height: 1.4;
}

.header-right {
  text-align: right;
  font-size: 14px;
}

.whatsapp-link,
.email-link {
  color: #ffffff;
  text-decoration: none;
}

.whatsapp-link:hover,
.email-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    text-align: left;
    margin-top: 10px;
  }

  .logo-img {
    max-height: 50px;
  }
}




/* === Gregory's Search Page Enhancements start === */

/* Image container layout */
.image-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
/* Search input sizing */
.search-bar input[type="text"] {
  width: 1000px;           /* ✅ Desktop default */
  max-width: 100%;        /* ✅ Prevent overflow */
  padding: 8px;
  font-size: 16px;
}
.search-bar {
  display: flex;
  justify-content: center;     /* ✅ Center the input */
  flex-wrap: wrap;             /* ✅ Allow wrapping if needed */
  width: 100%;                 /* ✅ Ensure full container width */
}


/* Default image block */
.image-block {
  flex: 0 0 150px;
  text-align: center;
}

.image-block img {
  display: block;
  width: auto;                  /* ✅ Let width adjust naturally */
  height: 50px;                 /* ✅ Fixed display height */
  max-height: 50px;             /* ✅ Prevent overflow */
  object-fit: contain;          /* ✅ Preserve full image */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.image-block img.loaded {
  opacity: 1;
}

/* Input focus styling */
.search-bar input:focus {
  border-color: #003366;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 51, 102, 0.3);
}

/* === Gregory's Search Page Enhancements start === */

/* Image container layout */
.image-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Search input sizing */
.search-bar input[type="text"] {
  width: 1000px;          /* ✅ Fixed desktop width */
  max-width: 100%;        /* ✅ Prevent overflow */
  padding: 8px;
  font-size: 16px;
}

/* Default image block */
.image-block {
  flex: 0 0 150px;
  text-align: center;
}

.image-block img {
  display: block;
  width: auto;
  height: 50px;
  max-height: 50px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.image-block img.loaded {
  opacity: 1;
}

/* Input focus styling */
.search-bar input:focus {
  border-color: #003366;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 51, 102, 0.3);
}

/* Responsive layout for small result sets */
.image-results:has(.image-block:nth-child(2)) .image-block {
  flex: 1 1 40%;
  max-width: 400px;
}

/* Mobile layout */
@media (max-width: 600px) {
  .image-block {
    flex: 0 0 120px;
  }

  .image-block img {
    height: 40px;
  }

  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar input,
  .search-bar button {
    width: 100%;
    margin-bottom: 10px;
  }

  .floating-order-btn {
  position: fixed;
  bottom: 200px;                  /* ✅ Raised for visibility */
  right: 30px;
  background-color: #d32f2f;
  color: #fff;
  padding: 24px 42px;             /* ✅ 75% larger than original */
  font-size: 28px !important;     /* ✅ Force larger font */
  line-height: 1.4;               /* ✅ Improve vertical spacing */
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

}

.floating-order-btn:hover {
  background-color: #b71c1c;
}

/* === Gregory's Search Page Enhancements End === */
/* === ML STATS Home Page Buttons === */
.home-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px auto 40px;
  padding: 0 20px;
  max-width: 1200px;
}

.home-button {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  flex: 1 1 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, background-color 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(0, 0, 0, 0.4);
}

/* 🌌 Button 1: Nebula 1 */
.home-button:nth-child(1) {
  background-image: url('/images/3bottons/nebula1.png');
}

/* 🌌 Button 2: Nebula 2 */
.home-button:nth-child(2) {
  background-image: url('/images/3bottons/nebula2.png');
}

/* 🌌 Button 3: Nebula 3 */
.home-button:nth-child(3) {
  background-image: url('/images/3bottons/nebula3.png');
}

/* 🟦 Button 4: Nebula 4 */
.home-button:nth-child(4) {
  background-image: url('/images/3bottons/nebula2.png');
}

.home-button:hover {
  transform: scale(1.05);
  background-color: rgba(0, 0, 0, 0.6);
}

/* === ML STATS Footer (Logo Side-by-Side) === */
.ml-footer {
  background-color: #003366;
  color: #fff;
  padding: 20px 10px;
  font-family: sans-serif;
  font-size: 14px;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.footer-logo {
  max-width: 100px;
  height: auto;
}

.footer-text {
  max-width: 400px;
}
/* === ML STATS Header Bar === */
.main-header {
  background-color: #003366;
  color: #fff;
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  flex-wrap: wrap;
  font-family: sans-serif;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

.logo-text {
  font-size: 14px;
  line-height: 1.4;
}

.header-right {
  text-align: right;
  font-size: 14px;
}

.whatsapp-link,
.email-link {
  color: #fff;
  text-decoration: none;
}

.whatsapp-link:hover,
.email-link:hover {
  text-decoration: underline;
}

/* === ML STATS Button Row Layout === */
.home-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1200px;
  text-align: center;
}

/* === Base Button Style === */
.home-button {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  width: 240px;
  height: 60px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, background-color 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(0, 0, 0, 0.4); /* fallback overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Hover Effect === */
.home-button:hover {
  transform: scale(1.05);
  background-color: rgba(0, 0, 0, 0.6);
}

/* === Background Variants === */
.bg-nebula1 {
  background-image: url('/images/3bottons/nebula1.png');
}

.bg-nebula2 {
  background-image: url('/images/3bottons/nebula2.png');
}

.bg-nebula3 {
  background-image: url('/images/3bottons/nebula3.png');
}

.bg-color2 {
  background-image: url('/images/3bottons/color2.jpg');
}

.bg-color3 {
  background-image: url('/images/3bottons/color3.jpg');
}

/* === Responsive Adjustment === */
@media (max-width: 600px) {
  .home-button {
    width: 100%;
    height: auto;
    padding: 16px;
    font-size: 16px;
  }
}
