@import '_variables';
@import '_header';
@import '_footer';

// Global Styles
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
  color: #000;
}

// Entry Meta Styling
.entry-meta {
  margin-bottom: 0.5rem;
}

// Primary Content Area
#primary {
  article {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 30px;
    margin: 0 0 1rem;
    box-shadow: 2px 5px 20px rgba(245, 245, 245, 0.14);
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
  
    &:hover {
      transform: translateY(-10px); /* Adds a slight zoom */
      box-shadow: 0px 5px 20px rgba(151, 151, 151, 0.45);
    }
  }
    
    .entry-content{
      p{
        font-size: .85rem;
        opacity: .8;
      }
    }
    .entry-meta{
      font-size: .85rem;
      opacity: .8;
      a{
        color: #000;
        text-decoration: none;
      }
    }


  // Responsive Adjustments for Primary Area
  @media (max-width: 600px) {
    padding: 20px;
    margin-left: 0;
  }

  @media (max-width: 1024px) {
    display: block;
    margin: 0;
    padding: 0;
  }

  // Entry Title Link Styles
  .entry-title a {
    color: #121212;
    text-decoration: none;
    font-size: 26px;
  }
}


// Primary Content Area
main.grid{

  .post-content {
    text-align: center;
    padding: 1rem;
}

}


/* Sidebar (Secondary Content Area) */
#secondary {
  color: rgb(27, 27, 27);
  border-left: solid 1px #eee;

  .widget {
    margin-bottom: 10px;
    padding: 20px;

    a {
      color: #000;
      text-decoration: none;
    }

    ul {
      list-style: none;
      margin: 0;

      li {
        padding: 10px 0;
        color: #3b3b3b;
      }
    }
  }
}



img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  border-radius: 5px;
}

img {
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

// Social Menu Wrapper
.social-menu-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #929292;
  height: 2rem;
}

// Social Menu Styling
.menu-social-menu-container {
  #social-menu {
    ul {
      display: flex;
      list-style: none;
    }

    // Social Link Icons
    a {
      position: relative;
      color: transparent;
      display: inline-block;
      width: 32px;
      overflow: hidden;

      // Font Awesome Icon Styles
      &:after {
        display: block;
        font-family: "Font Awesome 5 Brands";
        font-weight: 400;
        font-size: 15px;
        position: absolute;
        top: 0;
      }

      // Specific Social Media Colors
      &[href*="twitter.com"]:after {
        content: "\f099";
        color: #00aced;
      }

      &[href*="github.com"]:after {
        content: "\f09b";
        color: black;
      }

      &[href*="linkedin.com"]:after {
        content: "\f0e1";
        color: #007bb6;
      }

      // Additional social icons can be added here
    }
  }
}

// Override for Icon Colors in Social Menu
.menu-social-menu-container #social-menu a:after {
  color: #fff !important;
  padding: 3px 9px;
  border-radius: 50%;
}

// Hide Search Form on Small Screens
@media (max-width: 992px) {
  .search-form {
    display: none;
  }
}

// Custom Hover Effect for Content Loop
.row.custom-loop .col-md-4:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2098d1;
  color: white;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s ease-out;
}

// Hover Effect Trigger
.row.custom-loop .col-md-4:hover {
  color: white;
}

// Hover Effect Transition Style
div:hover:before {
  transform: scaleY(1);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

