/* COLORS --------------------------------------------------------------------------------------------------*/
:root {
    --pink:#D81B81;
    --yellow:#F1E532;
    --dark-blue:#0D6FB0;
    --light-blue:#27A2DA;
}

/* META ----------------------------------------------------------------------------------------------------*/
html {
  color:var(--pink);
  background-color:var(--yellow);
  height:100%;
}

body {
  height:99%;
  font-family:"Montserrat";
}

.archivo-black-regular {
  font-family: "Archivo Black", serif;
  font-weight: 400;
  font-style: normal;
}

.wrapper {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width:70vw;
  margin:auto; 
}

/* HEADER  --------------------------------------------------------------------------------------------------*/
#header{
  font-size:5em;
}
#header-pages{
  font-size:2em;
}

/* NAV --- --------------------------------------------------------------------------------------------------*/
.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding:5% 15% 5% 15%;
    color:var(--light-blue);
}

.nav li {
    list-style: none;
    display: inline-block;
    padding: 0 20px;
 }

.nav h1 {
    margin-right: auto;
    font-size: 1.5em;
}

.nav>li {
    list-style: none;
    display: inline-block;
    padding: 0 20px;
}

.nav a {
    text-decoration: none;
    transition: all 0.3s ease 0s;
}

.nav a:hover {
    color:var(--light-blue);
}


/* BODY  ----------------------------------------------------------------------------------------------------*/
hr{
  border:.05em solid var(--pink);
}

a {
  color:var(--pink);
  text-decoration: inherit;
}

ul {
  position: relative;
  list-style: none;
  margin-left: 0;
  padding-left: 1.2em;
}
.package ul li:before {
  content: "»";
  position: absolute;
  left: 0;
}

/* COLLAPSIBLE  ---------------------------------------*/
.menu-item {
  font-size:2.5em;
} 

.menu-item:hover {
  color:var(--light-blue);
}

.collapsible {
  cursor: pointer;
  width: 100%;
  border: none;
}


.content {
  max-height: 0; /* Start with no height */
  overflow: hidden; /* Hide overflowing content */
  transition: max-height 0.3s ease-out; /* Smooth transition */
  padding: 10px 18px;
  line-height:2;
}

/* PACKAGES  ------------------------------------------*/
.packages {
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap:3%;
}

.package {
  /*border: 1px solid #D81B81;*/
  border-style: solid;
  border-width:1px;
  border-color:var(--pink);
  border-radius:25px;
  padding:0 5%;
}

/* BIOS  -----------------------------------------------*/
#bios {
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap:3%;
  text-align: center;
  text-align: -webkit-center;
  line-height:0.7;
}

#bios > p {
  padding:0;
  margin:0;
}

#bios img {
  height:20em;
}

/*FOOTER ----------------------------------------------------------------------------------------------------------*/
footer{
  padding-top:15%;
}

#footer-logo {
  height:50px;
  padding-right:5%;
}

/*BLOG ------------------------------------------------------------------------------------------------------------*/
.blog-post{
  padding: 0 15%;

}

.blog-header-image{
  width:100%;
}

/*BLOG LIST PAGE --------------------------------------------------------------------------------------------------*/


.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.blog-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--pink);
  background: var(--yellow);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card__content {
  padding: 5%;
}

.blog-card__content h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.blog-card__content h3 {
  margin: 0;
  font-size: 0.9rem;
  color:inherit; 
}

.content > .blog-list{
  padding: auto 10% auto 10%;
}



/*MEDIA QUERIES----------------------------------------------------------------------------------------------------*/

@media (max-width: 950px) {
  .wrapper {
    width:90vw;
  }
  .content {
    padding:0 5%;
  }
  #bios {
    display:flex;
    flex-direction:column;
  }

  #packages {
    display:flex;
    flex-direction:column;
    row-gap:20px;
    width:80%;
    margin:auto; 
    box-sizing:border-box;
    padding:5% 0;
  } 
  .collapsible.expanded + .content {
    max-height: none; /* Adjust this value based on your content */
  }
  .menu-item{
    font-size:2em;
  }
  #header {
    font-size:4em;
  }
  .narrow {
    width:auto;
  }
}

@media (max-width:450px){
  .nav {
    padding: 5% 3% 5% 3%;
  }
  .blog-post{
    padding:0 3%; 
  }
}

@media (max-width:1470px){
  #bios img {
    height: 15em;
  }
}

@media (max-width:1115px){
  #bios img {
    height: 12em;
  }
}

@media (max-width:950px){
  #bios img {
    height: 20em;
  }
}
