/*Reset default web margins*/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  display: grid;

  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-color: whitesmoke;
  padding-top: 20px; /* espacio para el nav fijo */
  grid-template-rows: 2em auto auto;
  grid-template-columns: 1fr;
  grid-template-areas: 'nav'
                       'main'
                       'footer'
}

/* Brands page styles*/

.coming-soon {
 background: whitesmoke;
  padding: 40px 16px;
  display: flex;
  justify-content: center;
}

.cs-container {
  max-width: 920px;
  width: 100%;
  background: whitesmoke;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(28, 43, 20, 0.06);
  padding: 28px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #1f2933;
  margin-top: 5%;
}

.cs-header h1 {
margin-bottom: 5%;
  font-size: 1.6rem;
  color: #064e3b; /* deep green for brand tone */
  letter-spacing: -0.2px;
  text-align: center;
  
}

.cs-sub {
  margin-bottom: 5%;
  color: #374151;
  line-height: 1.5;
  font-size: 0.98rem;
}

.cs-categories {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 35px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  
}

/*cs-categories:nth-child(4){
  display: flex;
  justify-items: center;
  justify-content: center;
}*/

.cs-categories li:nth-child(1){ background:rgba(224, 151, 14, 0.603)}
.cs-categories li:nth-child(2){ background:#8175a0;}
.cs-categories li:nth-child(3){ background:#88b04b;}
.cs-categories li:nth-child(4){ background:#f394a4;}
.cs-categories li:nth-child(5){ background:#76c6cc;}

.cs-categories li {
  border: 1px solid #e6efe6;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(16, 24, 32, 0.04);
}

.cs-categories li strong {
  display: block;
  color: #0b5a3a;
  margin-bottom: 6px;
  font-weight: 700;
}

.cs-note {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cs-note p {
  margin: 0;
  color: #374151;
  font-size: 0.95rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

.cs-cta {
  display: inline-block;
  text-decoration: none;
  background: #0b6b44;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(11, 107, 68, 0.12);
  transition: transform 120ms ease, box-shadow 120ms ease;
  margin-top: 15px;
}

.cs-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 107, 68, 0.16);
}

.cs-footer {
  margin-top: 38px;
  text-align: left;
  color: rgb(240, 186, 186);
  font-size: 0.85rem;
}

/* Responsive tweaks */
@media (max-width: 520px) {
  .cs-container { padding: 18px; }
  .cs-header h1 { font-size: 1.25rem; }
  .cs-note { flex-direction: column; align-items: stretch; gap: 10px; }
  .cs-cta { width: 100%; text-align: center; }
}

/* CONTACT FORM STYLES */

.contact-section {
  background: whitesmoke;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  padding: 30px;
  max-width: 600px;
  width: 100%;
  font-family: Arial, sans-serif;
  margin-top: 7%;
}

.contact-container h2 {
  text-align: center;
  color: #064e3b;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.contact-container p {
  text-align: center;
  color: #374151;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

input, textarea {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
  border-color: #0b6b44;
  box-shadow: 0 0 0 3px rgba(11, 107, 68, 0.15);
}

.submit-btn {
  width: 100%;
  background: #0b6b44;
  color: whitesmoke;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.submit-btn:hover {
  background: #064e3b;
  transform: translateY(-2px);
}

/* Confirmation message */
.confirmation-msg {
  display: none;
  margin-top: 20px;
  padding: 12px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  text-align: center;
}
/* -------------------------------------------------------------*/
/*
.btn_brand{
  width: 85px;
  height: 30px;
  margin-left: 42px;
  margin-bottom: 20px;
  border: 1px solid purple;
  border-radius: 5px;
  background-color: #cac1e2;
  font-size: 0.7em;
  transition: all 0.2s ease;
}

.btn_brand:hover{
  cursor: pointer;
  background-color: #e3def0;
  box-shadow: 0 4px 12px rgba(216, 46, 46, 0.2);
  transform: scale(1.05);


}

.brands{
  margin: 30px auto;
  text-align: center;
  color: #6b5b95;

}
.matriz{
  display: grid;
  grid-template-columns: repeat(10, 120px);
  grid-template-rows: repeat(10, 20px);
  gap: 5px;
}

.celda{
  display: flex;
  justify-content: center;
  font-size: 14px;
  color: #6b5b95;
  transition: transform 0.3s ease;
}

.celda:hover{
  color: purple;
  transform: scale(1.09);
  cursor: pointer;
 
}*/

/* Terms & Conditiosn Page Styles*/
    .terms_header{
      text-align: center;
      margin: 8% 0 3% 0;
      color: green;
     
    }
  
    .terms_container {
      max-width: 900px;
      margin: 40px auto;
      padding: 30px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .terms_container h2 {
      color: green;
      margin-top: 25px;
      font-size: 22px;
      text-align: left;
    }

    .terms_container p {
      margin-bottom: 15px;
      text-align: justify;
      line-height: 1.6em;
      font-size: 0.8em;
    }

    .terms_container ul li {
      margin: 10px 0 20px 20px;
      text-align: left;
    }

    .terms_container .footer {
      text-align: center;
      padding: 20px;
      font-size: 14px;
      background: #f0f0f0;
      color: #555;
      margin-top: 40px;
      border-radius: 5px;
    }



/* ------------------------------------------------------------------------------------------------- */

/*Products page style*/

.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-left: 10px;
  margin-top: 10%;
  margin-bottom: 5%;

}

.gallery img{
border-radius: 10px;
cursor: pointer;
transition: transform 0.3s ease;


}

.gallery img:hover{
transform: scale(1.01);
}

.gallery figure{
text-align: center;
font-size: 0.7em;
color: green;
font-weight: bold;
transition: transform 0.3s ease;
}

.gallery figure:hover{
  transform: scale(1.05);
}

.gallery figcaption{
  margin-top: 8px;
}

/* ------------------------- End Products page style ------------------------------*/



/* NAV */
nav {
  grid-area: nav;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: darkgreen;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 20px;
  z-index: 1000;
  
}

.menu {
  list-style: none;
  display: flex;
  gap: 100px;
  margin: 0;
  padding: 0;
}


.menu li a {
  color: whitesmoke;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s;
}

.menu li a:hover {
  color: lightgreen;
}

.search_icon i {
  color: rgb(49, 102, 35);
  font-size: 1.2em;
  background: whitesmoke;
}


/* MAIN CONTENT */
main {
  grid-area: main;

}

main .cards{

  display: flex;
  justify-content: space-around;
  justify-items: center;
  
}


.card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px;
  box-shadow:   0 2px 6px rgba(0,0,0,.06);
  transition: transform 15s ease, box-shadow .15s ease;
  width: 190px;
}

 .card_icon {
    font-size: 1.6rem;
    color: green;
    margin-bottom: 12px;
  }

.card:hover{
  transform: translateY(-2px);
   box-shadow: 0 6px 16px rgba(0,0,0,.10);

}

.card_title{
  margin: 0 0 .5rem;
  font-size: 1.125rem;
  text-align: center;
}

.card_description{
  margin: 0 0 .75rem;
  line-height: 1.8;
  color: #374151;
  font-size: .80rem;
  text-align: justify;
}

 p{
  text-align: justify;
 }

/* ********************************** About us html page ******************************** */

.about_us{

 /* margin-top: 40px;*/
  display: flex;
  justify-content: space-around;
  gap: 70px;
}


 .paragraphs{
  display: flex;
  flex-direction: column;
  width: 400px;



 }


 .paragraphs p{
  line-height: 1.6em;
  font-size: 0.8em;
  text-align: justify;
 }

/* End about_Us page*/



.contact_us_box{
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 5%;
}

.contact_us i{
  color: green;
}

.contact_us p{
  font-size: 0.8em;
  line-height: 1.6em;
}

/* ******************************************************************************************* */

/* ********************************** About us html page ******************************** */



/* ******************************************************************************************* */

.register{
  display: flex;
  gap: 25px;
  color: whitesmoke;
}

.register i{
  margin-left: 15px;
}

.register a{
  text-decoration: none;
  color: whitesmoke;
  font-size: 0.8em;
}

.register a:hover{
  cursor: pointer;
  color: greenyellow;
}

/* End register */
.map{
 margin-top: 50px;
 margin-bottom: 50px;
 text-align: center;
}

/* -------------------------------Categories content -------------------------------- */

.slider {
  position: relative;
  width: 80%;
  max-width: 1000px;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin: 120px auto;
  margin-top: 10%;
  margin-left: 250px;
  
  
  }

  .slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
        
  }

      .slide {
        min-width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: #fff;
        font-weight: bold;
        
      }

      .slide1 {
        background: rgba(224, 151, 14, 0.603);
      }
      .slide2 {
        background: #8175a0;
      }
      .slide3 {
        background: #88b04b;
      }

      .slide4 {
        background: #f394a4;
      }

     .slide5 {
        background: #76c6cc;
      }



      /* Botones */
      .btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        border: none;
        color: #fff;
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 50%;
      }

      .btn:hover {
        background: rgba(0, 0, 0, 0.7);
      }

      .prev {
        left: 10px;
      }
      .next {
        right: 10px;
      }

/* FOOTER */
footer{
    grid-area: footer;
    background-color: darkgreen;  
    color: whitesmoke;  
    text-align: center;
    }
footer h3{
  margin: 50px auto;
}



footer .container{
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
}
footer .container .box{
  width: 300px;
  height: 100px;
  color: whitesmoke;
  border-bottom: 1px solid greenyellow;
  font-size: 0.8em;
}
footer .box p, li{
  font-size: 0.8em;
  text-align: center;
  line-height: 1.8;
}

footer h6{
  margin-top: 15px;
  margin-bottom: 30px;
 
}
footer i {
  padding: 5px;
}


footer li{
  list-style: none;
}

footer ul li a{
 text-decoration: none;
 color: whitesmoke;
/* font-size: 0.9em;*/
}
footer ul li a:hover{
  cursor: pointer;
  color: greenyellow;
}

/*nota: revisar en los estilo de social netork quite la a y puse i*/

.social-links a{
  text-decoration: none;
  font-size: 1em;
}
.social-links a:hover{
  cursor: pointer;
}

.social-links i{
 transition: all 0.3s ease;

}

.social-links i:hover{
   transform: scale(1.3);
}



.social-links a[aria-label="Facebook"]   { color: #076cf0; }
.social-links a[aria-label="Instagram"] { color: orangered; }
/*.social-links a[aria-label="WhatsApp"]  { color: #25D366; }*/
.social-links a[aria-label="TikTok"]    { color: #000; }
/*.social-links a[aria-label="YouTube"]   { color: #FF0000; }*/ 
.social-links a[aria-label="X"]   { color: #fff; }

footer .foot{
  margin-bottom: 10px;
  margin-top: 15px;
}

/* SEARCH BAR STYLES */
.search_icon form {
  display: flex;
  align-items: center;
  gap: 5px;
}

.search_icon input {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.9em;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search_icon input:focus {
  border-color: green;
  box-shadow: 0 0 5px rgba(0,128,0,0.5);
}

.search_button {
  background: whitesmoke;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
}

.search_button:hover {
  background: #f0f0f0;
}

/* ================== Responsive Adjustments ================== */

/* Tablets */
@media (max-width: 992px) {
  .menu {
    gap: 40px;
  }

  .about_us {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .paragraphs {
    width: 100%;
    margin: 0 20px;
  }

  footer .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  footer .container .box {
    width: 45%;
  }
}

/* =============== Base Mobile Styles =============== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: whitesmoke;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: darkgreen;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  z-index: 1000;
}


.menu {
  display: none; /* oculto en móvil */
  flex-direction: column;
  background: darkgreen;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 10px 0;
}

.menu li {
  margin: 10px 0;
}

.menu li a {
  color: whitesmoke;
  text-decoration: none;
  font-size: 1rem;
}

/* Botón hamburguesa */
.hamburger {
  font-size: 1.5rem;
  color: whitesmoke;
  cursor: pointer;
}

/* MAIN */
.home_title {
  display: grid;
  text-align: center;
  gap: 15px;
  margin: 8% 0 3% 0;
  color: green;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.card {
  width: 90%;
  max-width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

/* About us */
.about_us{
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 7%;
  
}

.about_us img{
  margin: 7%;
}


 .paragraphs p{
  line-height: 1.6em;
  font-size: 0.8em;
  text-align: justify;
  margin-top: 7%;
  margin-bottom: 7%;
 
 }


 
/* Contact us */
.contact_us {
  margin: 30px auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Footer */
footer {
  background: darkgreen;
  color: whitesmoke;
  text-align: center;
  padding: 30px 15px;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer .box {
  width: 100%;
  border-bottom: 1px solid greenyellow;
  padding-bottom: 10px;
  font-size: 0.9em;
}

/* =============== Media Queries (Tablet & Desktop) =============== */
@media (min-width: 768px) {
  .menu {
    display: flex;
    flex-direction: row;
    gap: 40px;
    background: none;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .hamburger {
    display: none;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: 220px;
  }

  .about_us {
    flex-direction: row;
    justify-content: center;
  }

  footer .container {
    flex-direction: row;
    justify-content: space-evenly;
  }

  footer .box {
    width: 250px;
    border: none;
  }
}

@media (min-width: 1200px) {
  nav {
    padding: 15px 80px;
  }

  .menu {
    gap: 80px;
  }

  .cards {
    gap: 40px;
  }

  .about_us {
    gap: 70px;
  }
}

/* ------------------- MENÚ HAMBURGUESA ------------------- */

.hamburger {
  font-size: 1.8rem;
  color: whitesmoke;
  cursor: pointer;
  display: block;
  z-index: 1001; /* encima de todo */
}

.menu {
  display: none; /* oculto en móvil */
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: darkgreen;
  width: 100%;
  padding: 20px 0;
  position: absolute;
  top: 60px; /* debajo del nav */
  left: 0;
  z-index: 1000;
}

.menu.active {
  display: flex !important; /* mostrar menú */
}

.menu li {
  margin: 10px 0;
}

.menu li a {
  color: whitesmoke;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Desktop */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .menu {
    display: flex !important;
    flex-direction: row;
    gap: 40px;
    position: static;
    background: none;
    width: auto;
    padding: 0;
  }

  .menu li {
    margin: 0;
  }

  .menu li a {
    font-size: 1rem;
  }
}
