/* --- Song Lyrics Styling --- */
.song-lyric {
  font-style: italic;
  background: #f5f6fa;
  border-left: 4px solid #E91E63;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-radius: 8px;
  color: #444;
  position: relative;
}
.song-lyric .lyric-artist {
  display: block;
  text-align: right;
  font-size: 0.95em;
  color: #888;
  margin-top: 0.5em;
  font-style: normal;
}
/* --- Blog Post Image Responsive Styling --- */
.blog-post-image {
  max-width: 300px;
  float: left;
  margin: 0 2em 1.5em 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: block;
}

@media (max-width: 700px) {
  .blog-post-image {
    float: none;
    display: block;
    margin: 0 auto 1.5em auto;
    max-width: 60vw;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- Unconventional Grid Styles --- */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #F7F7F7;
  color: #333333;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto auto 1fr auto;
  gap: 20px;
  max-width: 1200px;
  margin: 20px; /* Move margin here for main content spacing */
  grid-template-areas:
    "header main"
    "nav    main"
    "aside  main"
    "footer footer";
}

/* --- Grid Area Assignments --- */
.grid-header { grid-area: header; }
.grid-nav { grid-area: nav; }
.grid-main { grid-area: main; }
.grid-aside { grid-area: aside; }
.grid-footer { grid-area: footer; }

/* --- General Styling --- */
.grid-header, .grid-nav, .grid-main, .grid-aside, .grid-footer {
  background-color: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- Header --- */
.grid-header {
  background-color: #2D4059; /* Deep Blue */
  color: #F7F7F7;
}

.grid-header h1 {
  font-size: 3rem;
  font-weight: 700;
}

/* --- Navigation --- */
.grid-nav h3 {
  color: #2D4059;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #E91E63; /* Vibrant Pink */
  padding-bottom: 0.5rem;
}

.grid-nav ul {
  list-style: none;
  padding: 0;
  padding-top: 0; /* Remove top gap for full height */
}

.grid-nav ul li a {
  color: #2D4059;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.grid-nav ul li a:hover {
  color: #E91E63; /* Vibrant Pink */
}

/* Optionally, add padding to the first menu item for spacing */
.grid-nav ul li:first-child a {
  margin-top: 2.5rem;
}

/* --- Main Content --- */
.grid-main h2 {
  color: #2D4059;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.post-preview {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.post-preview img {
  width: 150px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
}

.post-preview h3 {
  color: #2D4059;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-preview a {
  color: #E91E63; /* Vibrant Pink */
  text-decoration: none;
  font-weight: 600;
}

/* --- Aside --- */
.grid-aside .profile-pic {
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
  border: 5px solid #E91E63; /* Vibrant Pink */
}

/* --- Footer --- */
.grid-footer {
  background-color: #2D4059;
  color: #F7F7F7;
  text-align: center;
}

.grid-footer .social-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grid-footer .social-links ul li a {
  color: #F7F7F7;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.grid-footer .social-links ul li a:hover {
  color: #E91E63; /* Vibrant Pink */
}

/* --- Hamburger Menu Styles --- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 2px solid #E91E63;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(45,64,89,0.10);
  cursor: pointer;
  z-index: 2001;
  position: fixed;
  top: 15px;
  right: 15px;
  transition: background 0.2s, border 0.2s;
}
.hamburger:focus {
  outline: 2px solid #E91E63;
  background: #f3e6ef;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 28px;
  margin: 5px auto;
  background: #E91E63;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
@media (max-width: 700px) {
  body {
    margin: 0;
  }
  .hamburger {
    position: fixed;
    top: 0;
    right: 0;
    margin: 0 !important;
  }
  .grid-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  .grid-nav ul {
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    margin: 0 !important;
    border-radius: 0 0 0 18px;
  }
  .grid-nav {
    display: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1100;
  }
  body.nav-open .grid-nav {
    display: block;
  }
  .grid-nav h3 {
    display: none;
  }
  .grid-nav ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    max-width: 340px;
    height: 100vh;
    background: #fff;
    border-radius: 0 0 0 18px;
    box-shadow: -2px 0 18px rgba(45,64,89,0.10);
    padding: 2.5rem 1.5rem 1.5rem 2rem;
    z-index: 1200;
    font-size: 1.2rem;
    /* Hidden by default */
    transform: translateX(100%);
    transition: none;
  }
  .grid-nav ul.open,
  .grid-nav ul.close {
    /* Always start from visible position for animation */
    transform: translateX(0);
  }
  .grid-nav ul.open {
    animation: slideInMenu 0.3s;
  }
  .grid-nav ul.close {
    animation: slideOutMenu 0.3s forwards;
  }
  @keyframes slideInMenu {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  @keyframes slideOutMenu {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
  }
  .grid-nav ul li a {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }
  .grid-nav ul li:first-child a {
    margin-top: 2.5rem;
  }
  .grid-nav ul li:last-child a {
    border-bottom: none;
  }
}

/* --- Mobile Styles --- */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "nav"
      "main"
      "aside"
      "footer";
  }

  .grid-header h1 {
    font-size: 2rem;
  }

  .grid-main h2 {
    font-size: 2rem;
  }

  .post-preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-preview img {
    width: 100%;
    height: auto;
  }

  .grid-aside .profile-pic {
    width: 100px;
    height: 100px;
  }
}

@media (min-width: 701px) {
  .hamburger {
    display: none;
  }
}

/* --- Nav Overlay Styles --- */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1100;
  }
  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }