@import url('https://fonts.googleapis.com/css2?family=Aboreto&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/* Minimal Reset */
:root{
    --site-bg-color: #fffefb;
    --text-color: #000;
}


*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: var(--site-bg-color);
  color: var(--text-color);
}
a{
    text-decoration: none;
    color: black;
}
.mainText{
  font-family: Aboreto;
}
.titleClass{
    font-size: 2rem;
    font-weight: 900;
}
.textClass{
    font-size: 1rem;
    font-weight: 500;
    color: #7e7e7e;
    text-align: center;
}

.btn{
    border: none;
    border-radius: 2px;
    font-size: 1.2rem;
    /* font-family: "Arsenal", sans-serif;s */
    font-weight: 300;
    margin-top: 2rem;
    background-color: #BA8C6D;
    color: #fff;
    padding: 0.5em 1.4em;
    transition: all 0.5s;
    text-decoration: none;
}
.btn:hover{
    color: #fff;
    background-color: #7C5D48;
}
.btnSecondary{
    text-decoration: none;
    border: 2px solid #BA8C6D;
    padding: 0.5rem 1.4rem;
    color: #BA8C6D;
}
.btnSecondary:hover{
    background-color: #BA8C6D;
    color: #fff;
    font-weight: 800;
}

/* main container */
/* .mainContainer{
    min-height: 100vh;
    overflow: hidden;
} */

.content{
    max-width: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}




/* heading */
.heading{
    background-image: url('/assets/img/home/heading-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: auto;
    height: 20em;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;


    position: relative;
    isolation: isolate;
}
.heading::before {
  content: ""; /* Pseudo-elements require a content property */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1; /* Places the overlay behind the content */

  /* This is the overlay color. Adjust the last value (0.5) for opacity */
  background-color: rgba(0, 0, 0, 0.5);
}
.heading h1{
    font-weight: 600;
}
.headingDesc{
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
}



/* prod Heading */
.prodHeading{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4em 0;
    gap: 1rem;
}



/* products */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; /* Space between cards */
  padding: 2rem 0;
}

/*
 * 2. The Card (.card)
 * This is the base style for each product card.
*/
.card {
  max-width: 280px;
  padding: 0.8rem;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* Ensures the image corners don't stick out */
  display: flex;
  flex-direction: column; /* Stacks card content vertically */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px); /* Lifts the card on hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/*
 * 3. Card Image
 * - `object-fit: cover`: Prevents the image from being stretched or
 *   squished. It will fill the container and crop if necessary.
*/
.card .image img {
  width: 100%;
  height: 300px; /* A fixed height makes the grid look uniform */
  object-fit: cover;
  display: block;
}

/*
 * 4. Card Content
 * A wrapper for all the text and the button.
 * - `flex-grow: 1`: This is key! It makes this container expand to
 *   fill any available vertical space, pushing the button to the bottom.
*/
.card .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* This makes all cards the same height */
}

/*
 * 5. Card Title & Description
 * - `flex-grow: 1` on the description pushes the button down.
*/
.card .desc h2 {
  font-family: "Aboreto", sans-serif;
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
  color: #2c3e50; /* A dark, soft color */
}

.card .detalles p {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  color: #7f8c8d;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1; /* Pushes the button to the very bottom */
}

/*
 * 6. The "Ver mas" Button
 * We align it to the bottom of the card content.
*/
.card .detallesBoton {
  margin-top: 1.2rem; /* Space above the button */
}

/*
 * We will reuse your existing .btn class for consistency.
 * This ensures the button here looks like the other buttons on your site.
*/
.card .detallesBoton .btn {
  display: block; /* Makes the link fill the width */
  width: 100%;
  text-align: center;
  font-size: 1rem;
}



/* about section */
.separator{
    color: #BA8C6D;
}
.aboutSection{
    height: 650px;
    margin-bottom: 5em;
    padding: 0 2rem;
    /* width: auto; */
    /* opacity: 100% !important; */
}
.aboutImg{
    width: 50%;
    /* background-color: #ccc; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* display: block;
    overflow: hidden;
    background-size: contain; */
}
.imageContainer{
    width: 70%;
    border-radius: 5px;
    overflow: hidden;
}
/* .imageContainer img{
    width: 100%;
    object-fit: contain;
} */
.aboutContent{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* align-items: center; */
    /* padding-right: 3rem; */
    text-align: center;
}
.abouText{
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    gap: 2rem;
}
.aboutSection{
    display: flex;
}
.aboutImg img{
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}


/* contact section */
.contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    font-family: Arsenal;
}
.contact h1{
    margin-bottom: 2rem;
}
.primary-container{
    display: flex;
}
#contactLink{
    transition: all 0.3s;
}
#contactLink:hover{
    scale: 1.1;
    color: #7C5D48;
}
.primary-container div{
    width: 500px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    font-size: 1.4rem;
    gap: 1rem;
}
.primary-container i{
    font-size: 2.5rem;
    color: #BA8C6D;
}
.secondary-container{
    display: flex;
    flex-direction: row-reverse;
}
.secondary-container div{
    width: 500px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    font-size: 1.4rem;
    gap: 1rem;
}
.secondary-container i{
    font-size: 2.5rem;
    color: #BA8C6D;
}
.prim-item{
    /* background-color: #ccc; */
    border: 1px solid #ccc;
    border-radius: 5px;
}
/* .second-item{
    background-color: red;
} */



/* FORM contacto */
.contactContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 600px;
  margin: 0 auto;
  margin-top: 10rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 4rem 3rem;
}
.contactContainer h2{
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.contactContainer form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.contactContainer form label{
  color: #7e7e7e;
}
.contactContainer form input{
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.7rem
}
.contactContainer form textarea{
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 200px;
}
.contactContainer form div{
  display: flex;
  flex-direction: column;
}




/* footer */
.footer{
    font-family: "Arsenal", sans-serif;
    width: 40%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 400px;
    gap: 3rem;
}
.footer h1{
    font-weight: bold;
}
.footer input{
    border: none;
    /* padding: 1rem; */
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px;
    width: 100%;
}
.inputFooter{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 100%;
    gap: 0.5rem;
}
.inputs{
    display: flex;
    width: 400px;
}
.btn-footer{
    padding: 0 1rem;
    height: 40px;
    margin-top: 0;
}
.inputDesc{
    width: 700px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
}
.spanFooter{
    /* font-size: 1.4rem; */
    text-align: center;
}


/* social links */
.social{
    text-align: right;
}
.social i{
    font-size: 2rem;
    color: #BA8C6D;
}





/* ===== RESPONSIVE DESIGN ===== */

/* Tablet styles (768px to 1024px) */
@media (max-width: 1024px) {
    .content {
      max-width: 90%;
    }
    .products{
      flex-wrap: wrap;
      margin: 0 auto;
    }
    .card {
      grid-template-columns: repeat(2, 1fr);
    }
    
    /* about */

    .aboutSection{
      flex-direction: column;
      height: auto;
      gap: 2rem;
      margin-bottom: 3rem;
    }
    .aboutImg, .aboutContent{
      width: 100%;
    }
    .imageContainer {
      width: 90%;
    }
    .aboutContent{
      padding-right: 0;
      text-align: center;
      gap: 1.5rem;
    }


    /* .aboutSection{
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .aboutImg img{
      width: 100%;
      height: auto;
      object-fit: contain;
      object-position: center;
    }
    .aboutContent {
      padding-right: 2rem;
    }
    .aboutContent .titleClass{
        font-size: 1.5rem;
    }
    .abouText span{
        font-size: 0.8rem;
    }
    .abouText .btn{
        font-size: 1rem;
    } */
    
    .primary-container div,
    .secondary-container div {
      width: 400px;
      height: 350px;
      font-size: 1.2rem;
    }
    
    .footer {
      width: 50%;
    }
  }
  
  /* Mobile Large (768px and below) */
  @media (max-width: 768px) {
    
    /* Typography adjustments */
    .titleClass {
      font-size: 1.8rem;
    }
    
    .textClass {
      font-size: 0.9rem;
    }
    
    /* Main container */
    /* .mainContainer {
      height: auto;
    } */
    
    .content {
      max-width: 100%;
      gap: 3rem;
    }
    
    /* Heading section */
    .heading {
      height: 20em;
      padding: 2rem 1rem;
      background-size: cover;
    }
    
    .heading h1 {
      font-size: 2rem;
      text-align: center;
    }
    
    .headingDesc {
      font-size: 1.2rem;
      padding: 0 1rem;
    }
    
    /* Products heading */
    .prodHeading {
      padding: 3em 1rem;
      text-align: center;
    }
    
    /* Products grid */
    .card {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
    
    .cardItem {
      height: 400px;
      padding: 0.8rem;
    }
    
    .cardItem .btnSecondary {
      padding: 0.4rem 1rem;
      font-size: 0.7rem;
    }
    
    /* About section */
    .aboutSection {
      flex-direction: column;
      height: auto;
      gap: 2rem;
      margin-bottom: 3rem;
    }
    
    .aboutImg,
    .aboutContent {
      width: 100%;
    }
    
    .aboutContent {
      padding-right: 0;
      text-align: center;
      gap: 1.5rem;
    }
    
    .imageContainer {
      width: 90%;
    }
    
    /* .abouText {
      gap: 1.5rem;
    } */
    
    /* Contact section */
    .contactContainer{
      max-width: 100%;
    }



    .contact {
      gap: 1rem;
    }
    
    .primary-container,
    .secondary-container {
      flex-direction: column;
      align-items: center;
    }
    
    .primary-container div,
    .secondary-container div {
      width: 100%;
      max-width: 400px;
      height: 300px;
      font-size: 1.1rem;
      margin-bottom: 1rem;
    }
    
    .primary-container i,
    .secondary-container i {
      font-size: 2rem;
    }
    .second-item{
        display: none !important;
    }
    
    /* Footer */
    .footer {
      width: 90%;
      height: auto;
      padding: 3rem 1rem;
      gap: 2rem;
    }
    
    .inputs {
      width: 100%;
      max-width: 350px;
      flex-direction: column;
      gap: 1rem;
    }
    
    .btn-footer {
      width: 100%;
      margin-top: 0;
    }
    
    /* Social */
    .social {
      text-align: center;
      padding: 2rem 0;
    }
  }
  
  /* Mobile Medium (480px and below) */
  @media (max-width: 480px) {
    
    /* Typography */
    .titleClass {
      font-size: 1.6rem;
    }
    
    .textClass {
      font-size: 0.85rem;
    }
    
    /* Content */
    .content {
      max-width: 100%;
      gap: 2.5rem;
    }
    
    /* Heading */
    .heading {
      height: 20em;
      gap: 1.5rem;
    }
    
    .heading h1 {
      font-size: 1.8rem;
    }
    
    .headingDesc {
      font-size: 1rem;
    }
    
    /* Products */
    .card {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .cardItem {
      height: 350px;
      max-width: 300px;
      margin: 0 auto;
    }
    
    /* About section */
    .imageContainer {
      width: 100%;
    }
    
    .aboutContent .titleClass {
      font-size: 1.5rem;
    }
    
    .abouText span {
      font-size: 0.9rem;
    }
    
    /* Contact */
    .contactContainer{
      max-width: 100%;
    }






    /* .primary-container div,
    .secondary-container div {
      max-width: 100%;
      height: 250px;
      font-size: 1rem;
      padding: 1.5rem;
    }
    
    .primary-container i,
    .secondary-container i {
      font-size: 1.8rem;
    } */
    
    /* Footer */
    .footer {
      width: 95%;
      padding: 2rem 1rem;
    }
    
    .inputs {
      max-width: 100%;
    }
    
    .footer input {
      padding: 0.8rem;
    }
    
    .btn-footer {
      padding: 0.8rem 1rem;
      height: auto;
    }
  }
  
  /* Mobile Small (360px and below) */
  @media (max-width: 360px) {
    
    .heading h1 {
      font-size: 1.6rem;
    }
    
    .headingDesc {
      font-size: 0.9rem;
    }
    
    .cardItem {
      height: 320px;
    }
    
    .primary-container div,
    .secondary-container div {
      height: 220px;
      font-size: 0.9rem;
      padding: 1rem;
    }
    
    .titleClass {
      font-size: 1.4rem;
    }
    
    .btn {
      font-size: 1rem;
      padding: 0.6em 1.2em;
    }
  }
  
  /* Landscape orientation for mobile */
  @media (max-width: 768px) and (orientation: landscape) {
    
    .heading {
      height: 10em;
    }
    
    .aboutSection {
      flex-direction: row;
    }
    
    .aboutImg,
    .aboutContent {
      width: 50%;
    }
    
    .aboutContent {
      padding-left: 2rem;
      text-align: left;
    }
    
    .primary-container,
    .secondary-container {
      flex-direction: row;
    }
    
    .primary-container div,
    .secondary-container div {
      width: 50%;
      height: 200px;
    }
  }
  
  /* Ensure images are always responsive */
  @media (max-width: 768px) {
    
    img {
      max-width: 100%;
      height: auto;
    }
    
    .image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    /* Touch-friendly buttons */
    .btn,
    .btnSecondary {
      min-height: 44px;
      touch-action: manipulation;
    }
    
    /* Prevent zoom on input focus (iOS) */
    input,
    textarea {
      font-size: 16px;
    }
    
    /* Better spacing for mobile */
    .separator {
      margin: 2rem 0;
    }
  }
  
  /* High DPI displays */
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .heading {
      background-size: cover;
    }
  }







