/*
Theme Name: myportfolio
Theme URI: https://website.com/myportfolio
Author: MG
Author URI: https://website.com/myportfolio
Description: This theme is used for my portfolio.
Requires at least: 5.6
Tested up to: 5.9
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myporfolio
Tags: one-column, custom-menu, custom-logo, featured-images
*/

/***************************************************************************************************************
||||||||||||||||||||||||||                TABLE OF CONTENT               |||||||||||||||||||||||||||||||||||||||
****************************************************************************************************************

01. Fonts
02. Variables
03. Reset Css
04. Base Styles
05. Header Section
06. Footer Section
07. Homepage - Hero Section
08. Projects Section - Filter by Tag
09. Single Project Section
10. General Pages wrappers & classes


****************************************************************************************************************
||||||||||||||||||||||||||||            End TABLE OF CONTENT                ||||||||||||||||||||||||||||||||||||
****************************************************************************************************************/

/*** 
============================================
	Fonts
============================================
***/
@font-face {
  font-family: 'Abeezee';
  src: url('assets/fonts/abeezee/ABeeZee-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/*** 
============================================
	Variables
============================================
***/
:root {
  --border-radius-lg: 0.375rem;
  /* Palette 1 */
  /* --clr-white: #f9fafb;
  --clr-background: #f3f4f6;
  --clr-heading: #154d9c;
  --clr-text: #181b1f;
  --clr-link: #e25e93; */

  /* Palette 2 */
  --clr-white: #ffffff;
  --clr-background: #f3f4f6;
  --clr-heading: #154d9c;
  --clr-text: #3c3c57;
  --clr-link: #ab0343;

  --padding-card-lg: 2rem 3rem;
  --padding-card-sm: 2rem 1rem;
  --margin-b-between-sections: 4.5rem;
  --grid-gap-lg: 2rem;
}

/*** 
============================================
	Reset Css
============================================
***/
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}
/*** 
============================================
	Base Styles
============================================
***/

body {
  font-family: 'Abeezee', sans-serif;
  background-color: var(--clr-background);
}

h1 {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--clr-heading);
}

p,
li {
  font-size: 1rem;
  color: var(--clr-text);
}

a {
  color: var(--clr-link);
}

section {
  margin-bottom: var(--margin-b-between-sections);
}

.site-content {
  padding: 1.5rem;
}

.site-main {
  min-height: 100vh;
}

/*** 
============================================
	Header Section
============================================
***/
.header {
  background-color: var(--clr-white);
}
.header__container {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.header__row {
  width: 100%;
  max-width: 1240px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo-link {
  text-decoration: none !important;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  background-color: var(--clr-heading);
  color: white;
  padding: 10px;
}

.header__button-toggle {
  padding: 5px 7px;
  background-color: var(--clr-white);
  border: 2px solid var(--clr-heading);
  border-radius: var(--border-radius-lg);
  margin: 5px 0;
  cursor: pointer;
}
.header__button-toggle-line {
  background-color: var(--clr-heading);
  width: 15px;
  height: 2px;
  display: block;
  margin: 4px;
}
@media (min-width: 640px) {
  .header__button-toggle {
    display: none;
  }
}
.header__row {
  position: relative;
}
.header__nav {
  position: absolute;
  height: 100vh;
  z-index: 10;
  background: var(--clr-background);
  top: 50px;
  width: 100%;
}
.header__menu {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: center;
  gap: 1rem;
  padding: 15px 0;
}

.toggle-nav {
  display: none;
}
@media (min-width: 640px) {
  .header__nav {
    display: block;
    position: relative;
    height: unset;
    top: 0;
    width: unset;
    background-color: var(--clr-white);
  }
  .header__menu {
    flex-direction: row;
  }
}

.header__menu-item {
  list-style-type: none;
}
.headear__menu-link {
  color: var(--clr-heading);
  /* font-weight: 600; */
  text-decoration: none;
  font-size: larger;
}

/* =========================
   Footer Section
========================= */

.footer {
  text-align: center;
  padding: 20px 0 10px;
  background-color: var(--clr-background);
}
.footer__text {
  font-size: 1rem;
  color: var(--clr-heading);
}

/* =========================
   Homepage - Hero Section
========================= */

.hero__container {
  display: grid;
  gap: var(--grid-gap-lg);
  margin: 0 auto;
}

/* Responsive grid for hero container */
@media (min-width: 1024px) {
  .hero__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero__container {
    grid-template-columns: repeat(5, 1fr);
  }
}

.hero__content {
  width: 100%;
  border-radius: var(--border-radius-lg);
  background-color: var(--clr-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--padding-card-sm);
}

/* Adjust hero__content padding on larger screens */
@media (min-width: 640px) {
  .hero__content {
    padding: var(--padding-card-lg);
  }
}
/* Span hero__content across grid columns on xl screens */
@media (min-width: 1280px) {
  .hero__content {
    grid-column: span 3;
  }
}

.hero__pretitle {
  text-transform: uppercase;
font-size: 0.9rem;
    margin-bottom: 7px;
  letter-spacing: 1px;
  font-family: monospace;
}

.hero__text {
  margin: 15px 0 2rem
}

.hero__image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

/* Span hero-image across grid columns on xl screens */
@media (min-width: 1280px) {
  .hero__image {
    grid-column: span 2;
  }
}

/* =========================
   Projects Section - Filter by Tag
========================= */
.breadcrumb__back-link {
  color: var(--clr-heading);
}
.projects__title {
  text-align: center;
  padding: 2rem 0;
  font-size: 2rem;
}

.project__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-bottom: 2rem;
}

.projects__filter-button {
  background-color: #b51963;
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: 'Haas Grot Text R Web', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.projects__filter-button:hover,
.projects__filter-button:focus {
  background-color: #154d9c;
}

.project__cards {
  display: grid;
  gap: var(--grid-gap-lg);
  margin: 20px auto;
  max-width: 1360px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.project__card {
  position: relative;
  display: flex;
  border-radius: var(--border-radius-lg);
  background-image: var(--bg-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  height: 350px;
  overflow: hidden;
  text-decoration: none;
  border: 5px solid white;
  transition: all 0.3s ease-in-out;
}
.project__card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 0px 20px 16px rgba(17, 17, 26, 0.08);
}

.project__card-title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  color: var(--clr-white);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  width: max-content;
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  text-align: center;
  background-color: rgba(21, 77, 156, 1);
}

/* =========================
   Single Project Section
========================= */
.project {
  margin-top: 20px;
}

/* Single Project Image & Description Grid */
.project__grid {
  display: grid;
  gap: var(--grid-gap-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .project__grid {
    grid-template-columns: 1fr 2fr;
  }
}

.project__image {
  max-height: 200px;
}
@media (min-width: 980px) {
  .project__image {
    max-height: 750px;
  }
}

.project__image-image {
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--border-radius-lg);
}

.project__details {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-lg);
  padding: var(--padding-card-sm);
  background-color: var(--clr-white);
}

@media (min-width: 640px) {
  .project__details {
    padding: var(--padding-card-lg);
  }
}

.project__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 980px) {
  .project__intro {
    flex-direction: row;
  }
}

/* Single Project Links */
.project__links {
  display: flex;
  gap: 1rem;
}
.project__link {
  border: 1px solid var(--clr-heading);
  padding: 0.2rem 0.8rem;
  margin: 0.5rem 0;
  display: block;
  width: max-content;
  border-radius: var(--border-radius-lg);
  background-color: var(--clr-heading);
  color: var(--clr-white);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.project__link:hover {
  transform: translateY(-3px);
}

/* Single Project Features */
.project__features {
  padding-top: 1.5rem;
}
.project_features-list {
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
}
/* -- Tech Stack -- */
.project__stack {
  padding-top: 1.5rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.project__stack-title {
  font-weight: 600;
  margin-bottom: 0.5em;
}
.project__stack-item {
  /* font-size: 1rem; */
  color: var(--clr-text);
}
/* -- Extras -- */
.project__extras {
  border-radius: var(--border-radius-lg);
  padding: var(--padding-card-sm);
  background-color: var(--clr-white);
}
@media (min-width: 640px) {
  .project__extras {
    padding: var(--padding-card-lg);
  }
}
@media (min-width: 980px) {
  .project__extras {
    grid-column: span 2;
  }
}
.project__extras-title {
  margin-bottom: 0.5rem;
}


/* =========================
   Wix Projects Page
========================= */
.entry-header {
    display: none;
}
.wix_grid_wrapper {
    max-width: 1024px;
    margin: 0 auto;
}

/* =========================
   Genaral Pages wrappers & classes
========================= */
.page_container {
    
}

.page_title {
    text-align: center;
    padding: 2rem 0;
    font-size: 2rem;
}





