@charset "utf-8";
/* Paws & Hearts - main stylesheet
   Paleta:
   #CA7730 (accent, hover, links)
   #744A26 (principal oscuro: header/nav/títulos)
   #B4AD92 (secundario: bordes, aside)
   #EFD2AE (fondo claro general)
-------------------------------------------------------------- */

/* RESET BASIC */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BODY GENERAL */
body {
  font-family: "Nunito", Arial, sans-serif;
  line-height: 1.5;
  font-size: 100%;
  color: #2f2418;              
  background: #EFD2AE;         
}

/* WRAPPER GENERAL */
#wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 0 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid #B4AD92;
  box-shadow: 0 0 18px rgba(116, 74, 38, 0.25);
}

/* HEADER */
header {
  color: #ffffff;
  text-align: center;
  padding: 6rem 1rem; 
  
  /* BANNER */
  background-image: url("../images/pets.jpg");
  background-size: cover;        
  background-position: center;   
  background-repeat: no-repeat;

  position: relative;
  border-radius: 10px 10px 0 0;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); 
  z-index: 0;
}

header .site-title {
  position: relative;
  z-index: 1; 
}


.site-title h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-title .tagline {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  margin-top: 0.6rem;
}

/* NAV MAIN */
nav {
  background-color: #744A26;
  border-top: 3px solid #CA7730;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

nav li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

nav a {
  display: block;
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: #FDF5EB;              
  transition: background-color 0.2s ease, color 0.2s ease;
}

nav a:hover,
nav a:focus {
  background-color: #CA7730;   
  color: #ffffff;
}

/* MAINCONTENT + ASIDE */
.content-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0 1.5rem;
}

main {
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem 2.2rem;
  box-shadow: 0 6px 18px rgba(116, 74, 38, 0.18);
}

/* ASIDE */
aside {
  width: 100%;
  background-color: #F6EFE2;   /* tono suave de tu paleta */
  border-radius: 12px;
  padding: 1.8rem 2rem;
  border: 1px solid #B4AD92;
  box-shadow: 0 4px 14px rgba(116, 74, 38, 0.12);
}


h2, h3 {
  font-family: "Poppins", sans-serif;
  color: #744A26;
  margin-bottom: 0.4rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
}

p {
  margin-bottom: 0.8rem;
}

ul {
  margin-left: 1.2rem;
  margin-bottom: 0.8rem;
}


.petphoto {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0.3rem 0 0.4rem;
  box-shadow: 0 4px 10px rgba(116, 74, 38, 0.25);
}

.featured-pet {
  margin: 1rem 0;
}

.featured-pet figcaption {
  font-size: 0.9rem;
  color: #5b4b35;
}

/* LINKS  */
a {
  color: #CA7730;              
}

a:hover,
a:focus {
  color: #744A26;              
}

/* FOOTER */
footer {
  border-top: 1px solid #B4AD92;
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #2f2418;
  background-color: #F6EFE2;
  border-radius: 0 0 10px 10px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ----------- MEDIA QUERY: TABLET / DESKTOP (>= 800px) ------------- */
@media screen and (min-width: 800px) {
  nav ul {
    flex-direction: row;
    justify-content: space-between;
  }

  nav li {
    border-top: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  nav li:last-child {
    border-right: none;
  }

  .content-row {
    flex-direction: row;
    align-items: flex-start;
  }

  main {
    width: 65%;
    padding-right: 1.5rem;
  }
  aside {
    width: 35%;
    position: sticky;
    top: 1.5rem; /* hace que el panel lateral se quede visible al hacer scroll */
  }
	
  aside h2 {
    margin-bottom: 0.6rem;
  }

  aside ul li {
    margin-bottom: 0.4rem;
 }
}
