/* reset de CSS */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* selector + propiedad + valor 

selector {
propiedad: valolr:
}

*/

@font-face {
  font-family: 'Gotham';
  src: url(fonts/gotham_ultraitalic.otf) format('opentype');
  font-weight: 900; 
  font-style: italic;
}

h1, h3, .titulos {
    font-family: 'gotham', sans-serif;
}

h2 {
  font-family: 'gotham', sans-serif;
  letter-spacing: 2px;
  margin: 20px;
}


.ranchers-regular {
  font-family: 'gotham', sans-serif;
  font-weight: 400;
  font-style: normal;
}


p{
    color: black;
    /* nombre de color, exadecimal, rgb y rgba */
    font-size: 16px;
    /* unidades de  medida | pc em rem % */
    margin: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}
h1 {
    color: orangered;
    text-align: center;
    font-style: italic;
    font-family: 'gotham', sans-serif;
    font-weight: 900;
}

html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  background-color: antiquewhite;
  background-image: url("medios/fondo3.png");
  background-repeat: repeat-y;
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
}


main {
   text-align: center;
}


div {
    color: green;
}

div span {
    color: violet;
}

.titulos {
    color: orangered;
    text-transform: uppercase;
    font-size: 70px;
    position: relative;
    font-family: 'gotham', sans-serif;
    text-align: center;
    margin-top: 20px;
    text-shadow: 2px 2px 4px #000;
    width: 100%;
}

.parrafo-servicios {
    color: #000;
    font-size: 2em;
    font-family: "gotham", sans-serif;    
}

.logo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

header {
  text-align: center;

  display: flex;
  flex-direction: column; 
  align-items: center;
}

.logo {
  width: 300px;  
  margin-bottom: 15px; 
}

nav ul {
  list-style: none;  
  padding: 0;
  margin: 0;
  display: flex;     
  justify-content: center; 
  gap: 20px;          
}

nav ul li a {
  text-decoration: none;  
  color: black;
  font-weight: bold;
}

nav ul li a:hover {
  color: red; 
}
.grid-productos {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.producto img {
  max-width: 100%;
}
.producto p {
  text-align: center;
  font-size: 0.9rem;
}
#nosotros {
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  max-width: 700px;
  margin: 15px auto 30px auto;
  padding: 15px 25px;

  background: rgba(255, 255, 255, 0.7); 
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);

  text-align: center;
  
}

#nosotros h2 {
  margin-bottom: 0.1rem;
}

#nosotros p {
  margin-top: 0.7rem;
}

form {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  width: 350px;
  margin: auto;
  text-align: center;
}

form input, 
form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 12px;
  border: 2px solid #ddd;
  font-family: 'gotham', sans-serif; 
  font-size: 14px;
  transition: all 0.3s ease;
}

form input:focus, 
form textarea:focus {
  border-color: #ff6600;
  box-shadow: 0 0 10px rgba(255,102,0,0.4);
  outline: none;
}

form button {
  background: linear-gradient(135deg, #ff6600, #cc3300);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}


#ubicacion iframe {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
}
#catalogo {
  padding: 30px;
  background: #fff8ee;
  text-align: center;
}

#catalogo h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #d35400;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.producto {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s;

  width: 350px;
  min-height: 200px;
}

.producto:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.producto img {
  max-width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}

.producto h3 {
  font-size: 1.1rem;
  margin: 10px 0 5px;
}

.precio {
  font-size: 1.2rem;
  color: #27ae60;
  font-weight: bold;
}

.producto button {
  background: #d35400;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s;
}

.producto button:hover {
  background: #a84300;
}
.menu-categorias {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.menu-categorias a {
  text-decoration: none;
  background: #ff7f32; 
  color: white;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s, transform 0.2s;
}

.menu-categorias a:hover {
  background: #e86a1d; 
  transform: scale(1.05);
}

.categoria {
  margin-top: 50px;
  font-size: 1.5em;
  color: #2ecc71; 
  text-align: center;
  border-bottom: 2px solid #2ecc71;
  padding-bottom: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

html {
  scroll-behavior: smooth;
}

.bienvenida {
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

.bienvenida h1 {
  font-family: 'gotham', sans-serif;
  font-size: 2.5em;
  color: #d35400;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px #000;
}

.bienvenida p {
  font-size: 1.2em;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
}

.navegacion {
 background-color: white;
 padding: 10px 20px;
 border-radius: 20px;
 box-shadow: 0 2px 6px rgba(0,0,0,0.15);
 width: fit-content;
 margin: 0 auto ;
 font-family: 'gotham', sans-serif;
}

.social-links {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  margin: 0 10px;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: scale(1.1);
}

footer p {
  text-align: center;
  font-size: 0.9em;
  color: gray;
}

.lista-servicios {
  list-style-type: disc; 
  margin: 20px auto;
  padding-left: 20px; 
  max-width: 400px; 
  text-align: left; 
  font-size: 1.2em; 
  color: #333; 
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.bienvenida {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  max-width: 700px;
  margin: 15px auto 30px auto;
  padding: 15px 25px;

  background: rgba(255, 255, 255, 0.6); 
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);

  text-align: center;
}

.bienvenida h1 {
  margin-bottom: 10px;
  color: #d35400;
  font-weight: bold;
}

.servicios-box {
  background: rgba(255, 255, 255, 0.6); 
  padding: 1.5rem;
  border-radius: 20px;
  max-width: 600px;
  margin: 1rem auto;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.servicios-box p {
  margin-bottom: 0.8rem; /* controla la separación con la lista */
  font-weight: bold;
}

.servicios-box ul {
  list-style: none; /* saca viñetas */
  padding: 0;
}

.servicios-box li {
  margin: 0.4rem 0;
}




/*reponsive*/
/*mobile*/
/* regla */ /*medio*/ /*tarea*/
@media only screen and (max-width:480px) {
   header {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    gap: 8px; 
  }

   body {
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
  }
  .navegacion {
    padding: 8px 10px;
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    text-align: center;
  }

  nav ul {
    flex-direction: row;       
    flex-wrap: nowrap;        
    justify-content: space-evenly; 
    gap: 5px;                 
  }
  nav ul li a {
    font-size: 0.8rem;        
    padding: 4px 6px;         
    white-space: nowrap;
  }
  main {
    min-height: 100vh;
  }
  .titulos{
   font-size: 40px;
   margin-top: 10px;
  }
}
/*tablet*/
@media only screen and (min-width: 481px) and (max-width: 780px) {
    form {
        width: 80%; 
        max-width: 450px;
    }
    .titulos {
      font-size: 48px;
      margin-top: 10px;
    }
}