/*
Theme Name: SMM
Author: Simply Marvellous Creative
Version: 1.0
*/
:root{
      --bg: #ffffff;
      --dark: #565656;
      --darker: #4b4b4b;
      --text: #1a1a1a;
      --muted: #666;
      --yellow: #e7e64c;
      --accent: #e7e64c;
      --hairline: rgba(0,0,0,.12);
      --max: 1200px;
    }

*{ box-sizing: border-box; }

body{
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Zilla Slab", serif;
    font-weight: normal;
    font-weight: 300;
    font-style: normal;
}

h1{
    margin: 0 0 25px 0;
    font-weight: 300;
    font-size: clamp(27px, 4.3vw, 43px);
    line-height: 1.2;
    letter-spacing: .01em;
    /* text-align: right */
}

.page-template-default h1 {
  color: var(--accent);

}

h2{
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
}

h3{
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.3;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.wrap{
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 18px;
}

.text-font {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.mt-1 {
    padding-top: 20px;
    display:block;

}

@media (min-width: 768px) {
.md-text-right {
    text-align: right;
}
}

    .large{
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.6;
    }

    .small{
    font-size: clamp(12px, 1.3vw, 14px);
    line-height: 1.6;
    }

    p strong {
        font-weight: 500
    }
@media (max-width: 767px) {
    .sm-text-center {
      text-align: center
    }
 }
    /* Header */
    .site-header{
      padding: 18px 0 12px;
    }

    .menu-link{
      float: right;
      font-size: 12px;
      letter-spacing: .08em;
      text-transform: lowercase;
      color: #222;
      padding-top: 4px;
    }



/*
 * -- LAYOUT STYLES --
 */

/* Pure grid tweaks */
.pure-g > [class*="pure-u"]{ padding: 0; }
.intro .pure-g > [class*="pure-u"]{ padding: 0 18px; }
.clients .pure-g > [class*="pure-u"]{ padding: 0 18px; }
@media (max-width: 640px){
  .pure-g > [class*="pure-u"]{ padding: 0 12px; }
    .menu-link{ float: none; display: inline-block; margin-top: 10px; }
}
.pure-g  .l-box {
    padding: 1em;
}

@media (max-width: 640px) {
 .pure-g  .l-box {
    padding: 0.25em 0.5em;
}
}

.l-box-lrg {
    padding: 2em;
}

.is-center {
    text-align: center;
}

.pure-img-responsive {
    max-width: 100%;
    width: 100%;
    height: auto;
}

    /* Two-column intro */
    .intro{
      background: var(--dark);
      color: #f3f3f3;
      padding: 34px 0 30px;
    }

     .intro h1 .accent{
     color: var(--yellow);
     font-family: "Zilla Slab", serif;
         font-weight: normal;
        font-weight: 100;
        font-style: normal;
        font-size: clamp(31px, 4.8vw, 52px);
    }
    .intro .body{
      color: #fff
    }
    .intro p{ margin: 0 0 12px; }
    .intro .body p:last-child{ margin-bottom: 0; }

    /* Clients */
    .clients{
      background: var(--yellow);
      padding: 26px 0 28px;
    }
    .clients h2{
      margin: 0 0 14px;
      font-weight: 400;
      color: #fff;

    }


    .client-list ul{
        color: rgba(0,0,0,.65);
      list-style: none;
      padding: 0;
      margin: 0;
      break-inside: avoid;
      column-count: 4;
      column-gap: 28px;
    }
    .client-list li{
        break-inside: avoid;
        font-size: clamp(13px, 1.3vw, 14px);
    line-height: 1.6;
    }


    @media (max-width: 980px){
      .client-list ul{ column-count: 3; }
    }
    @media (max-width: 640px){
      .client-list ul{ column-count: 2; }
    }
    /* @media (max-width: 420px){
      .client-list ul{ column-count: 1; }
    } */

    /* Testimonial */
    .testimonial{
      padding: 35px 0 35px;
      max-width: 920px;
      margin: 0 auto;
    }
    .quote{
      font-size: 1.2rem;
      margin: 0 0 16px;

    }
    .sig{
      color: var(--yellow);
      margin: 0;
      font-size: 1.2rem;
        width: 100%;
      text-align: left
    }
    .sig small{
      display:block;
      color: rgba(255,255,255,.7);
      font-size: 11px;
      margin-top: 6px;
      letter-spacing: .02em;
    }

    /* Contact band */
    .contact{
      background: var(--darker);
      color: rgba(255,255,255,.86);
      padding: 35px 0 25px 0;
    }


    .contact p{
      margin: 0 0 10px;

      line-height: 1.7;
      max-width: 920px;
    }

    .contact  a{ color: var(--yellow); }

    /* Footer */
    .site-footer{
      background: var(--darker);
      padding: 0 0 26px 0;
      color: rgba(255,255,255,.65);
      margin: -30px 0 0 0
    }
    .footer-brand{
    text-align: right;
    color: rgba(255,255,255,.8);
    font-size: 0.85rem
    }

    .footer-brand img {
      width: 100% !important;
      max-width: 400px;
      margin: 0 0 15px 0;
    }


    /* Menu dropdown */
/* ===== Menu toggle (burger) ===== */
.menu-wrap{
  position: relative;
  text-align: right;
}

.menu-toggle{
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: lowercase;
  color: #222;
}

@media (max-width: 640px) {
.menu-toggle {
  margin: -30px 0 0 0;
  float: right
}
}


.burger{
  width: 22px;
  height: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span{
  height: 2px;
  width: 100%;
  background: #222;
  display: block;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, background .2s ease;
}

/* Animate to X when open */
.menu-open .burger span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.menu-open .burger span:nth-child(2){
  opacity: 0;
}
.menu-open .burger span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

.menu-open .menu-toggle{
  color: #111;
}

/* ===== Desktop dropdown (kept from previous, slightly refined) ===== */
.dropdown-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: var(--dark);
  min-width: 210px;
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 1000;
}

.dropdown-menu.open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.dropdown-menu a{
  display: block;
  padding: 10px 22px;
  font-size: 0.9rem;
  letter-spacing: .04em;
  color: #f2f2f2;
  transition: background .2s ease, color .2s ease;
}
.dropdown-menu a:hover{
  background: #d6db3b;
  color: #1a1a1a;
  text-decoration: none;
}

/* ===== Mobile drawer + overlay ===== */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1200;
}
.menu-overlay.show{
  opacity: 1;
}

.mobile-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(84vw, 360px);
  background: #1f1f1f;
  box-shadow: -14px 0 40px rgba(0,0,0,.35);
  transform: translateX(110%);
  transition: transform .28s ease;
  z-index: 1300;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open{
  transform: translateX(0);
}

.mobile-drawer__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mobile-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
}
.mobile-brand__text{
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.1;
}
.mobile-brand__text small{
  display:block;
  font-size: 10px;
  letter-spacing: .12em;
  opacity: .85;
  text-transform: lowercase;
}

.drawer-close{
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-size: 20px;
  cursor: pointer;
  padding: 6px 8px;
  line-height: 1;
}

.mobile-nav{
  display: grid;
  padding: 10px 0;
}

.mobile-nav ul {
margin: 0;
padding: 10px
}

.mobile-nav li {
margin: 0;
padding: 0;
height: auto
}

.mobile-nav a{
  display: block;
  padding: 15px 10px;
  font-size: 16px;
  letter-spacing: .05em;
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover{
  background: #d6db3b;
  color: #1a1a1a;
  text-decoration: none;
}

/* ===== Responsive behavior ===== */
/* Show desktop dropdown only on >= 768px, show drawer behavior on < 768px */
@media (max-width: 767px){
  .dropdown-menu{ display: none; }
  .menu-label{ display: none; } /* optional: icon-only on mobile */
}

/* Nice focus states */
.menu-toggle:focus-visible,
.drawer-close:focus-visible,
.dropdown-menu a:focus-visible,
.mobile-nav a:focus-visible{
  outline: 2px solid #d6db3b;
  outline-offset: 2px;
}


/* --------- SLIDER ---------------*/

/* Hero / carousel mock */
    .hero{
      padding: 0 0 35px 0 ;
    }

  .hero .splide{
    width: min(600px, 100%);
    margin: 0 auto;
  }



  /* Main slider: keep square like the comp */
  #main-slider .splide__slide{
   width: 100%;
    height: 290px;
    display: grid;
    place-items: center;
    overflow: hidden;
  }

  @media (min-width: 767px) {
    .hero .splide{
        width: min(750px, 100%);
      }

      #main-slider .splide__slide{
       width: 100%;
       height: 650px;
       display: grid;
        place-items: center;
        overflow: hidden;
      }
  }

  #main-slider img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  /* Thumbnails row */

 #thumbnail-slider {
    width: min(755px, 100%);
    margin: 0 auto;
     margin-top: -50px;
  }
  #thumbnail-slider .splide__slide{
    opacity: .55;
    border: 2px solid transparent;
    transition: opacity .2s ease, border-color .2s ease;
    background: #bfbfbf; /* fallback */
  }

  #thumbnail-slider .splide__slide.is-active{
    opacity: 1;
    border-color: rgba(0,0,0,.25);
  }

  #thumbnail-slider img{
    width: 75px;
    height: 75px;         /* controls thumb height */
    object-fit: contain;
    display: block;
  }

  /* Make thumb track feel like small squares */
  #thumbnail-slider .splide__slide{
    border-radius: 0; /* keep squared off like your mock */
    overflow: hidden;
  }

  /* Optional: soften arrow look */
  .splide__arrow{
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: .45;
    transition: opacity .2s ease;
  }
  .splide__arrow:hover{ opacity: .8; }

    .arrow{
      width: 22px; height: 22px;
      display: grid;
      place-items: center;
      color: var(--yellow);
      font-size: 18px;
      user-select: none;
    }
    .splide__arrow--prev {
        left: -50px
    }
      .splide__arrow--next {
        right: -50px
    }
/* Hide default SVG arrows */
.splide__arrow svg{
  display: none;
}

/* Base arrow button reset */
.splide__arrow{
  width: 22px;
  height: 22px;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: .6;
  transition: opacity .2s ease;
}

.splide__arrow:hover{
  opacity: 1;
}

/* Triangle arrows */
.splide__arrow::before{
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: auto;
}

/* Left arrow */
.splide__arrow--prev::before{
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid #bfbfbf; /* triangle color */
}

/* Right arrow */
.splide__arrow--next::before{
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #bfbfbf; /* triangle color */
}

/* Optional: darker on hover */
.splide__arrow:hover::before{
  border-right-color: #888;
  border-left-color: #888;
}

.splide__arrow--prev::before,
.splide__arrow--next::before{
  border-right-color: #d6db3b;
  border-left-color: #d6db3b;
}

.thumb{
    height: 22px;
    background: #bfbfbf;
}

#testimonial-slider .splide__slide {
    display: flex;
    align-items: center;
    min-height: 160px;
    text-align: left
}

#testimonial-slider .t-slide{
    display: flex;
    flex-direction: column;
}

  /* Minimal triangle arrows (bigger, like earlier) */
  .t-slider .splide__arrow svg{ display:none; }

  .t-slider .splide__arrow{
    width: 34px;
    height: 34px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: .6;
    transition: opacity .2s ease;
    position: absolute;
    top: 14px;
  }

  .t-slider .splide__arrow:hover{ opacity: 1; }

  .t-slider .splide__arrow::before{
    content:"";
    display:block;
    width:0;height:0;
    margin:auto;
  }

  .t-slider .splide__arrow--prev{
    left: -42px;      /* pulls arrows just outside text column */
  }
  .t-slider .splide__arrow--next{
    right: -42px;
  }

  .t-slider .splide__arrow--prev::before{
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 15px solid #bfbfbf;
  }

  .t-slider .splide__arrow--next::before{
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 15px solid #bfbfbf;
  }

  .t-slider .splide__arrow:hover::before{
    border-right-color:#888;
    border-left-color:#888;
  }

  #testimonial-slider .splide__pagination__page.is-active{
  background: #d6db3b;
  transform: scale(1.3);
}

  /* Keep arrows inside on small screens */
  @media (max-width: 880px){
  #thumbnail-slider {
    max-width: 85%;
    margin-top: -20px
  }
  #thumbnail-slider .splide__arrow--prev{ left: -40px; }
  #thumbnail-slider .splide__arrow--next{ right: -40px; }
    .t-slide{ padding-right: 0; }
    .t-slider .splide__arrow--prev{ left: 0; }
    .t-slider .splide__arrow--next{ right: 0; }
    .t-slider .splide__arrow{ top: auto; bottom: -4px; }

    .splide__pagination {
      bottom: -6px
    }
  }

  @media (max-width: 767px){
  #thumbnail-slider {
    margin-top: 5%
  }
}
  @media (max-width: 420px){
  #thumbnail-slider {
    margin-top: 0
  }
}
  /* PORTFOLIO */
  .modal img {
    height: 500px !important;
    width: auto;
    display: block;
    margin: 0 auto;
  }
   .modal {
        max-width: 800px !important;
        padding: 35px !important
      }
  .portfolio-inner {
    border: 1px solid #333;
    padding: 20px;
  }
  .modal a.close-modal {
    background-image: none !important;
    background-image: url(img/icon-close.png) !important;
    border: 1px solid #666;
    top: 5px !important;
    right: 5px !important;
    width: 25px !important;
    height: 25px !important;
  }

 .modal p {
  font-size: 16px
 }


  .blocker {
   background-color: rgba(0, 0, 0, 0.45) !important;
  }

    @media (max-width: 640px) {
        .modal img {
        height: auto !important;
        width: 100% ;
        display: block;
        margin: 0 auto;
      }
      .modal {
        padding: 15px 20px !important
      }

        .modal a.close-modal {

        width: 15px !important;
        height: 15px !important;
      }
      .portfolio-inner {
        border: none;
        padding: 10px 0 0 0;
      }

  }

/* SEARCH & FILTER PORTFOLIO */
  .search-filter-field--input-type-select,
  .search-filter-field--control-type-sort {
    width: 220px !important;
    margin: 0 0 0 15px;
}


.filter-wrap  {
  display: flex; padding-bottom: 25px
}
  @media (max-width: 640px) {

  .search-filter-field--input-type-select,
  .search-filter-field--control-type-sort {
    width: 180px !important;
    margin: 0 0 0 15px;

}

  .search-filter-field--input-type-select,
  .search-filter-field--control-type-sort {
    width: 45% !important;
    margin: 0 0 0 15px;

}
    .filter-wrap  {
  /* display: block; padding-bottom: 25px */
      width: 100%;
      flex-wrap: wrap;
  }
  }

  .search-filter-component-combobox-base {
    border: none !important;
    border-bottom: 2px solid var(--accent) !important;
    border-radius: 0 !important
  }

  .search-filter-component-combobox__listbox-toggle svg {
    fill: var(--accent) !important;
    color: var(--accent) !important
  }

  .search-filter-component-combobox__listbox-toggle::before {
    border-left: 1px solid var(--accent) !important;
  }

  .search-filter-component-combobox-base__listbox-option--selected {
    background:#666 !important
  }