/*Utilizar métodos BEM (Bloques, Elementos y Modificadores,
 Utility First o Módulo para escribir código
 
 ¿Utilizar SASS?
 */
:root {
  --black:#000000;
  --golden:#d4a94f;
  --medium_golden: #e3c379;
  --light_golden: #f2dca3; 
  --cream:#f0e6cd;
  --white_logo:#fbf6f2;
  --light-cream: #f5efe0;
  --dark_blue:#0e3467;
  --medium_purple:#2c5a9a;
  --light_blue:#a3c0e4;
  --bright_violet:#9b30ff;
  --transparent_dark_blue: rgba(43,48,140, .75);
  --transparent_light_blue: rgba(65, 72, 206, .80);
}

/*
Utilizar rem junto con los dos selectores de html y body, hace el sitio más adaptable a distintos dispositivos.
    1 rem = 10 px
*/

html {
  font-size: 62.5%;
  box-sizing: border-box;
  background-color: var(--white_logo);
}

/* Evita que se tome en cuenta el padding o otros atributos a la hora de definir una medida */
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
  font-style: normal;
}

/* ESTILOS GENÉRICOS */

/*Titles*/
h1 {
  font-weight: 600;
  font-style: normal;
  font-size: 5rem;
}

/* Subtitles */
h2 {
  font-weight: 700;
  font-style: normal;
  font-size: 3.5rem;
  margin-top: 0.1rem;
}

/*  Not Defined */
h3 {

}

/* Footer Text */
h4 {
  font-weight: 700;
  font-style: normal;
  font-size: 1.8rem;
  padding: 0rem 2rem;
}

header {
  display: block;
}

p {
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.6;
}

.container {
  max-width: 144rem;  /* Cualquier div toma el 100% de la pantalla. Max-width será la medida máxima. Hace que se adapte mejor el sitio.*/
  margin: 0 auto;
}  

/*************************** GENERAL - SECTION: Header ***************************/
.header-bg {
  background-color: var(--white_logo);
}

.header-content{
  display: flex;
  align-content: center; /*MODIFICALO 30/10/25*/
  padding: 1rem;
}

.company-information {
  display: flex;
  gap: 2rem;
}

.company-information section p {
  font-size: large;
  font-weight: 550;
}

.phone-number, .email, .social-networks{
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.logo {
  width: 12rem;
  height: 10.8rem;
}

/***************************  GENERAL - SECTION: Navigation Bar ***************************/
.nav-bg {
  background-color: var(--dark_blue);
}

.principal-navigation {
  display: flex;  /*Habilita nuevas propiedades*/
  flex-direction: row;
  justify-content: center;
  gap: 8rem;
  padding: 0rem 5rem;
}

.principal-navigation a {
  display: block;
  text-align: center;
  color: var(--white_logo);
  text-decoration: none;
  padding: 2rem 3rem;
}

.principal-navigation a:hover { /*Pseudoclase*/
  background-color: var(--light_blue);
  padding: 2rem 3rem;
}

/*************************** INICIO - SECTION: Introduction Button Catalog ****************************/
.beginning-img-bg {
  background-repeat: no-repeat;
  background-size: cover;
  height: 55rem;
  position: relative;
  border-bottom: 0.5rem solid var(--dark_blue);
}

.beginning-img-phrase {
  position: absolute;
  top: 9rem;
  padding: 1.5rem 4rem;
  background-color: var(--transparent_light_blue);
  color: var(--white_logo);
}

.catalog-button {
  position: absolute;
  bottom: 7rem;
  right: 7rem;
  background-color: var(--cream);
  color: var(--black);
  border-radius: 2rem;
  padding: 2rem 4rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 2px var(--black);
}

.first-img button:hover {
  background-color: var(--white_logo);
}

/* MEDIA QUERIES: FIRST IMG */

/*************************** INICIO - SECTION: Featured Products ***************************/

.featured-products {
  margin: 5rem 1rem;
}

.featured-products-bg{
  background-color: var(--white_logo);
}

.featured-products h2 {
  text-align: center;
  padding: 2rem;
  margin-bottom: 3rem;
  border-bottom: 0.2rem solid var(--black);
}

.featured-products-container{
  display: flex;
  justify-content: center;
  padding: 1.5rem 2rem;
  gap: 7rem;
}

.container-product {
  height: 0%;
  width: 70%;
}

.container-product img {
  border-radius: 2rem;
  height: 80%;
  width: 100%;
}

.featured-products p {
  font-weight: 400;
  font-size: 1.8rem;
}

.featured-products p span {
  font-weight: 600;
  font-size: 2rem;
}

.featured-products p span, p{
  margin: 1rem 0rem;
}

/* MEDIA QUERIES: featured PRODUCTS */
/*************************** INICIO - SECTION: ABOUT US **********************************/

.about-us-bg {
  background-color: var(--dark_blue);
  /*background-image: linear-gradient(to top, var(--dark_blue) 0%, var(--white_logo) 60%);*/
}

.about-us {
  /* CHECA ESTA CLASE
  
  display: grid;
  grid-template-columns: 45% 55%;*/
  margin: 5% 0%;
  border-bottom: 1rem solid var(--light_blue);
  border-top: 1rem solid var(--light_blue);
}

/*
.about-us-img {
  width: 50%; /* Define un ancho*
  margin: 0 auto; /* Centra horizontalmente *
  padding: 4rem 9rem;
}

.about-us-img img {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
  border: 0.2rem solid var(--white_logo);
}
*/

.about-us-info {
  width: 80%;
  margin: 0 auto;
  padding: 5rem;
  align-items: center;
  color: var(--white_logo);
}

.about-us-info h2 {
  font-weight: 700;
  font-size: 3rem;
  border-bottom: 0.2rem solid var(--white_logo);
  margin: 2rem 0rem;
  padding-bottom: 2rem;
}

.about-us-info p {
  text-align: center;
  padding: 1% 0%;
}

.about-us-info span {
  font-weight: 550;
}

.about-us-icons {
  height: 20rem;
  padding-top: 1%;
  padding-bottom: 4%; 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10%;
}

.about-us-icons img {
  height: 75%;
  border-radius: 3rem;
  border: 0.4rem solid var(--white_logo);
}

/*************************** INICIO - SECTION: OBJETIVE **********************************/

.objetive-bg {
  background-color: var(--cream);
}

.objetive-container {
  display: flex;
  color: var(--white_logo);
  margin: 7% 12.5%;
  border-radius: 10%;
  border: 0.5rem solid var(--black)
}

.objetive-img-container {
  margin: 5%;
}

.objetive-img-container img {
  border-radius: 15%;
  border: 3px solid var(--black)
}

.objetive-information {
  color: var(--black);
  margin: 3%;
}

.objetive-information h2 {
  text-align: center;
  padding: 5%;
  margin: 10% 0%;
  border-bottom: 2px solid var(--black);
}

.objetive-information p {
  text-align: center;
  padding: 3%;
}

.sign {
  background: var(--medium_golden);
  width: 40%;
  margin: 5% 2% 5%;
  border: 0.3rem solid var(--black);
}

.sign p {
  text-align: center;
  color: var(--white_logo);
  padding: 3%;
}
/*************************** GENERAL - SECTION: FOOTER **********************************/

footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1;
  gap: 4rem;
  padding: 2rem 5rem;
  background-color: var(--golden);
  color: var(--white_logo);
  border-top: 0.5rem solid var(--black);
} 

.footer-info a {
  color: var(--white_logo);
  display: block;
  text-decoration: none;
}

.footer-info p, a {
  padding: 1rem 2rem;
  font-size: 1.8rem;
}

.rights {
  grid-column: 1 / -1; /* Ocupa ambas columnas de la fila de abajo*/
  display: flex;
  justify-content: center;
  align-items: center;
}

/*************************** PÁGINA: NOSOTROS ***************************/

/* Adaptar la imagen de INICIO a este formato para poder obscurecerla */
.title-us-bg {
  background-image: url(../img/us.jpg);
}

.title-contact-bg {
  background-image: url(../img/contact-img.jpg);
}

/* Obscurece las imagenes background en los titulos principales */
.darkness-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5rem solid var(--dark_blue);
}

/* Overlay que oscurece la imagen */
.darkness-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Diseño para titulos principales de cada página */
.title {
  position: relative;
  z-index: 2; /* encima del overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55rem;
}

.title h1 {
  background-color: var(--black);
  color: var(--white_logo);
  padding: 4rem 10rem;
  border: 0.1rem solid var(--white_logo);
}

/*************************** NOSOTROS - SECTION: Us ***************************/
.us-bg {
  background-color: var(--white_logo);
}

.us {
  display: flex;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  margin: 4rem 0rem;
  padding: 2rem 4rem;
}

.us img {
  border-radius: 2rem;
  border: 0.3rem solid var(--dark_blue);
}

.us-info {
  display: flex;
  flex-wrap: wrap;
  color: var(--black);
  padding: 3rem;
  border: 0.3rem solid var(--dark_blue);
  border-radius: 2rem;
  justify-content: center;
}

.us-info p {
  margin-top: 1.5rem;
}

/*************************** NOSOTROS - SECTION: Company Philosophy ***************************/
.org-phil-bg {
  background-color: var(--white_logo);
  margin: 5rem 0rem;
  padding-bottom: 5%;
  border-bottom: 1rem solid var(--light_blue);
}

/* SEPARADOR GENERAL */
.separator {
  background-color: var(--dark_blue);
  color: var(--white_logo);
  font-size: 4rem;
  text-align: end;
  padding: 3rem 4rem 3rem 1rem;
  border-bottom: 1rem solid var(--light_blue);
}

.org-phil-sections {
  display: flex;
  gap: 6rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.org-phil-section {
  border-radius: 2rem;
  border-left: 0.4rem solid var(--dark_blue);
  border-right: 0.4rem solid var(--dark_blue);
  display: flex;
  align-items: center;
  height: auto;
  max-width: 100rem;
  gap: 1rem;
}

.org-phil-title {
  display: flex;
  gap: 2rem;
  margin: 0rem 2rem;
  padding: 2rem;
}

.org-phil-title img {
  height: 8rem;
  width: 7.5rem;
}

.org-phil-title span {
  color: var(--dark_blue);
  display: flex;
  font-size: 3rem;
  font-weight: 600;
  align-items: center;
  padding: 1rem;
}

.org-phil-section p {
  border-left: 1px solid var(--dark_blue);
  padding: 2rem 3rem;
  line-height: 1.6;
}

.org-phil-section div:nth-child(2){
  font-size: 2.6rem;
  font-weight: 400;
  padding: 2rem 3rem 2rem 4rem;
  border-left: 1px solid var(--dark_blue);
  line-height: 1.6;
}

.org-phil-section li{
  margin-top: 2rem;
}

/*************************** NOSOTROS - SECTION: Commitment ***************************/
.commitment-container {
  margin: 6rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.commitment-area {
  width: 85%;
  background: linear-gradient(to right, var(--light-cream) 50%, var(--white_logo));
  border-radius: 4%;
  display: flex;
  gap: 1rem;
  overflow: auto;
  padding: 3rem;
}

.commitment-section {
  text-align: center;
  padding: 2rem;
  margin: 2rem 0rem;
}

.commitment-container img {
  width: 40%;
  padding: 5%;
}

/*QUEDA PENDIENTE PERSONALIZACIÓN DE IMAGEN Y TEXTO .commitment-section y .commitment-img img*/

/*************************** PÁGINA: CONTACTO ***************************/
.info-contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;  
  align-items: center;
  padding: 3rem;
  margin-top: 5rem;
  border-bottom: 0.5rem solid var(--dark_blue);
}

.info-contact-section {
  padding: 4rem;
  border-left: 1rem solid var(--dark_blue);
}

.info-contact-section p {
  margin: 3rem 0rem;
}

.map-section {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: none;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 0.4rem 1.5rem rgba(0,0,0,0.2);
  padding: 4rem;
}

/* Mantener proporción 16:9 celulares y ipads*/
.map-section::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Quiero que los mapas queden separados del horario, por lo tanto 
hay que aplicar un flex-box y poner aparte el horario YA ESTÁ HECHO*/
/*************************** CONTACTO - SECTION: SCHEDULE ***************************/
.schedule-section {
  margin: 5rem auto;
  padding: 5rem;
  width: 50%;
  color: var(--white_logo);
  text-align: center;
  border: 0.2rem solid var(--black);
  background: linear-gradient(to top, var(--light_blue) 50%, var(--dark_blue));
}

.schedule-section h2 {
  margin: 0 auto;
  width: 100%;
  border-bottom: 0.5rem solid var(--black);
  padding-bottom: 3rem;
}

.schedule {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

.schedule p {
  margin-top: 3rem;
}

.schedule div:first-child p {
  font-weight: 550;
}
 
/* 480px Celular 768px Tablet 1140px Laptop o Escritorio 1400px | Tamaños más usados */
/* ----------------------------- iPad --------------------------*/
@media (width <= 768px) {
  body {
    max-width: 768px;
  }

  .company-information{
    font-size: small;
    display: block;
  }
  
  .header-content{
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .container {
    max-width: 768px;
  }

  .featured-products-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .container-product {
    margin-left: 15%;
    height: 50%;
    width: 70%;
  } 

  .container-product img {
    border-radius: 2rem;
    height: 80%;
    width: 100%;
  }

  .objetive-container {
    
  }
}

/* MEDIA QUERIES: NAV PRINCIPAL */
@media (min-width: 600px) and (max-width: 1024px) {
  .principal-navigation{
    flex-direction: row;
    justify-content: center;
    gap: 10rem;
  }

  .objetive-container{
    display: block;
    width: 90%;
    margin: 0 auto;
  }

  .objetive-img-container{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /*Acomoda el pie de página checa de que manera minimizar todo en conjunto*/
  footer h4 {
    
  }

  footer p, a, li {
    font-size: 1.4rem
  }

  footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1;
  gap: 4rem;
  padding: 2rem 5rem;
  background-color: var(--golden);
  color: var(--white_logo);
  border-top: 0.5rem solid var(--black);
} 

.footer-info a {
  color: var(--white_logo);
  display: block;
  text-decoration: none;
}

.footer-info p, a {
  padding: 1rem 2rem;
  font-size: 1.8rem;
}
}

/*  Text Size: ELIMINAR TODO LO DE AQUÍ, ADAPTARLO AL NUEVO CÓDIGO */
.text-super-large {
  font-size: 3.5rem;
}

.text-large {
  font-size: 2.8rem;
}

.text-base {
  font-size: 2.6rem;
}

.text-small {
  font-size: 2rem;
}

.text-super-small {
  font-size: 1.8rem;
}

.text-hyper-small {
  font-size: 1.6rem;
}


/* Font Poppins, Classes */
.poppins-thin {
  font-weight: 100;
}

.poppins-extralight {
  font-weight: 200;
}

.poppins-light {
  font-weight: 300;
}

.poppins-regular {
  font-weight: 400;
}

.poppins-medium {
  font-weight: 500;
}

.poppins-semibold {
  font-weight: 600;
}

.poppins-bold {
  font-weight: 700;
}

.poppins-extrabold {
  font-weight: 800;
}

.poppins-black {
  font-weight: 900;
}