/*
Theme Name: maisonjuriò
Description: A custom WordPress theme for Markolko's Design.
Version: 1.0
Author: Markolko
*/
/* ===== Transparent Navbar with logo offset + fullscreen mobile menu ===== */

/* ===== Transparent Navbar with logo offset + fullscreen mobile menu ===== */
body {
  font-family: "Instrument Serif", "Inria Serif", Georgia, "Times New Roman", serif;
}

:lang(bg) {
  font-family: "Instrument Serif", "Inria Serif", Georgia, "Times New Roman", serif;
}

:root{
  --mj-link-light: #0B2A6B;
  --mj-link-dark:  #FDE8AD;
  --mj-maxw: 1440px;

  /* thresholds for your JS sampler (if used) */
  --mj-thresh-light: 0.60;
  --mj-thresh-dark:  0.45;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
}

.nav-inner{
  max-width: var(--mj-maxw);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left{
  display: flex;
  align-items: center;
  gap: 100px;         /* space between logo and first link */
  margin-left: 10px;  /* your left offset */
}

.nav-left .custom-logo-link img{
  max-height: 70px;
  width: auto;
  display: block;
}

/* Desktop menus */
.menu-primary,
.menu-utility{
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-primary a,
.menu-utility a{
  font-family: "Inria Sans", sans-serif;
  font-weight: 300;
  font-size: 17px;
  text-decoration: none;
  position: relative;
  padding: 0; /* remove underline spacing */
  transition: color .25s ease, opacity .25s ease;
  color: var(--mj-link-light);
  opacity: 1;
}

/* Dynamic link colors toggled by JS */
.nav-inner.nav-links-light a{ color: var(--mj-link-light); }
.nav-inner.nav-links-dark  a{ color: var(--mj-link-dark); }

/* No underlines at all */
.menu-primary a::after,
.menu-utility a::after{ content: none !important; }

/* Hover feedback */
.menu-primary a:hover,
.menu-utility a:hover{ opacity: .7; }

/* Active link stable */
.menu-primary .current-menu-item > a,
.menu-primary .current_page_item > a,
.menu-utility .current-menu-item > a,
.menu-utility .current_page_item > a{ opacity: 1; }

/* Hamburger button hidden on desktop */
.hamburger-btn{
  display: none;
  background: transparent;
  border: 0;
  width: 34px;
  height: 28px;
  padding: 0;
  margin-left: 12px;
  cursor: pointer;
  color: #F3CE63; /* gold */
}
.hamburger-line{
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
  border-radius: 2px;
}

/* Fullscreen mobile menu hidden by default */
.mobile-menu{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  color: var(--mj-link-light);
  display: none;              /* keep closed by default */
  z-index: 2000;
}
.mobile-menu[aria-hidden="false"]{ display: block; }

.mobile-menu-inner{
  max-width: 100vw;
  height: 100%;
  padding: 24px 28px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-close{
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 30px;    /* thinner look via font-weight */
  font-weight: 300;   /* thin “×” */
  line-height: 1;
  background: transparent;
  border: 0;
  color: #F3CE63;     /* same gold */
  cursor: pointer;
}

.mobile-logo{
  margin-top: 24px;
  margin-bottom: 32px;
}
.mobile-logo .custom-logo-link img{
  max-height: 70px;
  width: auto;
}

/* Mobile lists */
.mobile-menu-list,
.mobile-utility-list{
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(90vw, 420px);
}

.mobile-menu-list li,
.mobile-utility-list li{
  margin: 0;
  padding: 0;
}

.mobile-menu-list a,
.mobile-utility-list a{
  display: block;
  font-family: "Inria Sans", sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.3;
  color: var(--mj-link-light);
  text-decoration: none;
  padding: 14px 8px;
  border-radius: 8px;
  transition: opacity .2s ease;
}
.mobile-menu-list a:hover,
.mobile-utility-list a:hover{ opacity: .7; }

.mobile-utility-list{ margin-top: 14px; }
.mobile-utility-list a{ font-size: 22px; opacity: .9; }

/* Prevent page scroll when overlay open */
html.mobile-menu-open,
body.mobile-menu-open{
  overflow: hidden;
  touch-action: none;
}

/* Responsive rules */
@media (max-width: 768px){
  /* hide desktop menus on mobile, show hamburger */
  .menu-primary,
  .menu-utility{ display: none; }

  .hamburger-btn{ display: inline-block; }

  .nav-left{
    margin-left: 20px;  /* your smaller mobile offset */
    gap: 30px;
  }

  .nav-left .custom-logo-link img{
    max-height: 80px;
  }
}

/*-----------FOOTER-----------------------------------------------------------------------------------*/


 /* ===== Footer (Markolko-style) ===== */

footer.site-footer {
  background-color: #F3CE63 !important;
  padding: 12px 15px !important;
  color: #ffffff;
  font-family: "Inria Sans", sans-serif;
}

footer.site-footer .footer-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* stack menu and text */
  align-items: center; /* center both horizontally */
  text-align: center;
  gap: 8px; /* space between menu and text */
}

footer.site-footer .footer-menu {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
}

footer.site-footer .footer-menu a {
  font-family: "Inria Sans", sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity .25s ease;
}

footer.site-footer .footer-menu a:hover {
  opacity: 1;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  opacity: 0.7;
}

/* Dynamic link colors togg

/*-----------BLOG-----------------------------------------------------------------------------------*/


  .blog-description {
    font-family: "Kumbh Sans", sans-serif;
    font-weight: 100;
    font-size: 30px;
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto;
    margin-bottom: 100px;
    text-align: center;
  }
  
  .blog-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 20px;
  }
  
  .blog-header img.blog-logo {
    max-height: 40px;
    margin-right: 5px;
  }
  
  .blog-header h1 {
    font-size: 32px;
    font-family: "Kumbh Sans", sans-serif;
    color:#ffffff;
    margin: 0;
  }
  
  
  /* General Styles */
  .archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .featured-post-link,
  .small-post-link {
    text-decoration: none;
    color:#ffffff;
    display: block;
  }
  
  .featured-post {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    align-items: center;
  }
  
  .featured-post-image img {
    border-radius: 24px;
    width: 800px;
    height: 400px;
    object-fit: cover;
  }
  
  .featured-post-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .featured-post-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    max-height: 4.8em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
  }
  
  .post-tag {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: #fff;
    display: inline-block;
  }
  
  .post-date {
    background-color: rgb(32, 32, 32);
    border:0.5px solid rgba(255, 255, 255, 0.104);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: #8a8a8a;
  }
  
  .tag-marketing {
    background-color: #46249a;
    border:0.5px solid rgba(255, 255, 255, 0.104);
  }
  
  .tag-design {
    background-color: #14539b;
    border:0.5px solid rgba(255, 255, 255, 0.104);
  }
  
  .tag-other {
    background-color: #841198;
    border:0.5px solid rgba(255, 255, 255, 0.104);
    color: #ffffff;
  }
  
  .small-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .small-post img {
    border-radius: 24px;
    width: 100%;
    height: 350px;
    object-fit: cover;
  }
  
  .small-post-content {
    text-align: center;
    margin-top: 10px;
  }
  
  .small-post-content h3 {
    font-size: 20px;
    margin-top: 10px;
    line-height: 1.2; /* Adjusts line height for consistent spacing */
    max-height: 2.4em; /* Allows for exactly two lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
  
  .small-post-content .post-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap; /* Ensure tags wrap correctly */
  }
  
  .small-post-content .post-tag {
    padding: 5px 15px;
    font-size: 14px;
  }
  
  .load-more {
    text-align: center;
    margin: 30px 0;
  }
  
  #load-more-posts {
    background-color: rgb(40, 40, 40);
    border:0.5px solid rgba(255, 255, 255, 0.104);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    /* Featured Post Adjustments */
    .featured-post {
      flex-direction: column;
      text-align: center;
    }
  
    .featured-post-image img {
      width: 100%;
      height: auto;
    }
  
    .featured-post-content {
      width: 100%;
      margin-left: 0;
      margin-top: 20px;
    }
  
    .featured-post-content h2 {
      font-size: 24px;
    }
  
    /* Smaller Posts */
    .small-posts {
      grid-template-columns: 1fr;
    }
  
    .small-post img {
      height: 250px;
    }
  
    .small-post-content h3 {
      font-size: 18px;
    }
  
    .post-meta {
      flex-wrap: wrap;
      justify-content: center;
      gap: 5px;
    }
  }
  
  /* General Hover Effect for Posts */
  .featured-post-link:hover, .small-post-link:hover {
    transform: scale(1.01); /* Slight scaling for the dynamic enlargement */
    transition: transform 0.3s ease; /* Smooth transition */
  }
  
  /* Featured Post */
  .featured-post {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    align-items: center;
    transition: transform 0.3s ease;
  }
  
  .featured-post:hover {
    transform: scale(1.01); /* Scale up slightly on hover */
  }
  
  /* Small Posts */
  .small-post {
    transition: transform 0.3s ease;
  }
  
  .small-post:hover {
    transform: scale(1.01); /* Scale up slightly on hover */
  }
  
  .custom-recent-posts li .recent-post-title {
    color: #ffffff !important;
  }
  .custom-recent-posts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .custom-recent-posts li {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 200px; /* Ensures each post container stays within this width */
  }
  
  .custom-recent-posts img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
  }
  
  .custom-recent-posts .recent-post-title {
    margin-top: 10px;
    font-family: "Kumbh Sans", sans-serif;
    font-size: 16px;
    text-align: center; /* Center the title within each post */
    color: #ffffff !important;
  }
  
  @media (max-width: 768px) {
    .custom-recent-posts {
      display: flex;
      flex-wrap: wrap;
      justify-content: center; /* Center the posts on smaller screens */
      list-style: none;
      padding: 0;
      margin: 0;
      gap: 30px; /* Reducing the space between posts */
      flex-direction: column;
      align-items: center; /* Center posts for mobile */
    }
    
    .custom-recent-posts li {
      width: 200px; /* Set fixed width matching image size */
      margin-bottom: 20px;
      text-align: center;
    }
    
    .custom-recent-posts li img {
      width: 200px;
      height: 200px;
      margin: 0 auto; /* Center image for mobile */
      border-radius: 15px;
      object-fit: cover;
      object-position: center;
    }
    
    .custom-recent-posts li .recent-post-title {
      max-width: 200px;
      font-family: "Kumbh Sans", sans-serif;
      font-size: 14px;
      margin-top: 10px;
      text-align: center; /* Centering title text */
    }
    .elementor-widget-container h5 {
      text-align: center;
      font-family: "Kumbh Sans", sans-serif;
      font-size: 24px;
      margin-bottom: 20px;
    }
  }
/* 3D Button styles */
  /*----------------------------------------------------------------------------------------------*/  

.button-3d-l {
  position: relative;
  border-radius: 40px;
  box-shadow: inset 0px 4px 1.5px -3px #ffffff56, inset 0px 5px 5px -3px #ffffff3f, inset 0 -1px 1px 0px rgba(0, 0, 0, 0.075) !important;
  background: radial-gradient(ellipse at 50% 110%, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.01) 90%);
  -webkit-backdrop-filter: blur(20px);
  -moz-backdrop-filter: blur(20px);
  -ms-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 100px;
  cursor: pointer;
  overflow: hidden;
}

.button-3d-l::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.01) 90%);
  box-shadow: inset 0px 4px 1.5px -3px #ffffff56, inset 0px 8px 8px -3px #ffffff3f, inset 0 -1px 1px 0px #00000017 !important;
  opacity: 0;
  transition: opacity 1s ease; /* Add background transition */
  pointer-events: none; /* Allow click events to pass through */
}

.button-3d-l:hover::after {
  opacity: 1;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.01) 90%);
}
.parallex{
  background-attachment: fixed;
}
#gallery-1 img{
  border: none !important;
}
.gallery-item{
  margin-bottom: 100px !important;
}





