

.layout-wrapper {
  display: flex;
  width: 100%;
  position: relative;
  margin-top: -1rem;
}


.side-nav {
  width: 220px;
  background: var(--section-bg-color);
  color: var(--text-color);
  top: 0;
  padding: 20px;
  border-radius: 3rem;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.5);
}

  .side-nav {
    position: fixed;
    left: -260px;
    width: 240px;
    height: 30rem;
    transition: 0.35s;
    z-index: 999;
  }

.side-nav ul {
  list-style: none;
  padding: 0;
  position: relative;
}

.side-nav li {
  margin-bottom: 15px;
}

.side-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 16px;
  position: relative;
  transition: all 250ms ease-in-out;
}
.side-nav a:hover::before{
    width: 100%;
}
.side-nav a::before{
content: " ";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 0;
  margin: auto;
  width: 0;
  height: 0.1rem;
  border-radius: 10rem;
  transition: all 250ms ease-in-out;
  background-color: var(--primary-dark);
}
.side-nav a:hover{
    color: var(--primary-dark);
}
.content-area {
  flex: 1;
  padding: 20px;
}

.nav-title{
  font-family: "Morabba Bold";
  font-size: 1rem;
  margin: 2rem 0;
}
.header-img img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.header-info {
  margin-right: 20px;
  flex: 1;
}

.mobile-menu-btn {
  margin-top: 1rem;
  padding: .5rem 1.5rem;
  font-size: 16px;
  display: none;
  background-color: var(--primary-color);
  border-radius: 3rem;
  border: none;
  color: white;
}
.mobile-menu-btn:hover{
    background-color: var(--primary-dark);
}


.main-sections section {
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}

  .side-nav.nav-open {
    left: 0;
  }

  .mobile-menu-btn {
    display: inline-block;
  }


.media-card{
  background-color: var(--section-bg-color);
  padding: 3rem;
  border-radius: 3rem;
  box-shadow: 0px 5px 5px rgba(128, 0, 16, 0.5);

  margin-top: 0;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.media-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


.media-item{
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 1.25rem;


  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.media-video{
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;

  border-radius: 1.25rem;
  overflow: hidden;
  object-fit: cover;
}

.vid{
  object-fit: contain;
}

.media-card .media-item:only-child{
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1.25rem;
}

@media (max-width: 1024px){
  .media-card{ padding: 2rem; border-radius: 2rem; }
  .media-item{ width: 180px; height: 180px; }
}

@media (max-width: 600px){
  .media-card{ padding: 1.5rem; border-radius: 1.5rem; }
  .media-item{ width: 100%; height: 220px; }
  .media-grid{ gap: .75rem; }
}


.info-btn{
  align-self: flex-end;
  cursor: pointer;

  padding: 0.8rem 1.2rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255,255,255,.15);

  background: var(--primary-color);
  color: #fff;

  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.info-btn:hover{
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}


.info-modal-overlay{
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;

  padding: 1rem;
  z-index: 9999;
}

.info-modal-overlay.open{
  display: flex;
}

.info-modal{
  width: min(900px, 100%);
  max-height: 80vh;
  overflow: auto;

  background: var(--section-bg-color);
  border-radius: 2rem;
  box-shadow: 0px 20px 60px rgba(0,0,0,.35);

  border: 1px solid rgba(255,255,255,.12);
}


.info-modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.info-modal-title{
  margin: 0;
  font-size: 1.4rem;
}


.info-modal-close{
  cursor: pointer;
  border: none;
  background: rgba(255,255,255,.08);
  color: #fff;

  width: 40px;
  height: 40px;
  border-radius: 1rem;

  font-size: 1.6rem;
  line-height: 1;
  transition: transform .15s ease, background .15s ease;
}

.info-modal-close:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
}

.info-modal-body{
  padding: 1.5rem;
  color: var(--text-color);
  font-size: 1.1rem;
}

@media (max-width: 600px){
  .info-modal{ border-radius: 1.5rem; }
  .info-modal-body{ font-size: 1rem; }
  .info-btn{ width: 100%; }
}
