/*
Theme Name: SakreteTime
Author: Priyank Shah
Version: 3.0
Description: Sakretetime Theme
Text Domain: sakretetime
*/
.projects-section {
    background-color: #0b0b0b; /* dark background */
    margin-left: 60px;
}
.post-type-archive-proyectos h1 {
    font-size: 3rem;   /* your size */
    color: #fff;
    text-transform: uppercase;
    margin-left: 0px;
}
.archive.bodyClass .page-wrapper.is-black, .page-wrapper.is-black {
    background: #0b0b0b;
}
.archive.bodyClass .subtitle, .subtitle {
    color: #e6e6e6;
    font-size: 1.125rem;
    margin-bottom: 20px;
}
.projects .page-title h1 {
    font-size: 3rem;          /* big bold heading */
    font-weight: 900;         /* extra bold */
    color: #e6e6e6;           /* light grey */
    letter-spacing: 2px;      /* spacing between letters */
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.projects-section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.projects-section h1,
.projects-section h2 {
    font-family: 'Montserrat', sans-serif;
}
.category-filter {
    margin-bottom: 1.5rem;
}

.category-filter button {
    border: 1px solid #f5c400;
    color: #f5c400;
    background: transparent;
    padding: 3px 10px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 0.75rem;
}

.category-filter .active {
    background: #f5c400;
    color: #000;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #111;
    opacity: 1;
   /* transform: scale(0.95);*/
    /*pointer-events: none;*/
    transition: all 0.4s ease;
}
.project-card.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}
.project-card.hidden {
    display: none;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-right: 3rem;
    grid-row-gap:2rem;
    padding-bottom: 2rem;
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #000;
    padding: 5px 10px;
    font-size: .875rem;
    color: #fff;
}

.project-card h3 {
    font-size: 1rem;
    /*margin: 15px;*/
    color:#ffffff !important;
    margin-top: 1rem;
    margin-bottom: .50rem;
}

.project-card p {
    margin: 0 0px 0px;
    font-size: .875rem;
    color: #ffffff;
}
.project-card a {
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}
.project-hero {
  margin-bottom: 40px;
  padding-left:3.5rem;
  padding-right:3.5rem;
}
.project-hero .video-wrapper {
  border:none !important
}

.video-wrapper iframe {
  width: 100%;
  height: 500px;
  border:none !important
}

.meta-info {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.single-projects .product-grid,
.single-projects .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.project-card {
  position: relative;
}
.project-card h3 {
  color:e5e5e5;
  font-size: 1rem;
}
.card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}
.project-meta h1 {
  font-size: 1.25rem;
  margin-top: 5px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product-card img {
  width: 100%;
}
.product-card h3 {
  font-size: 1rem;
  margin: 10px 0;
  color: #e5e5e5;
}
.related-products h2 {
  font-size: 1.5rem;
}
.related-projects h2 {
  font-size: 1.5rem;
}
.project-list {
  display: flex;
  gap: 20px;
}

.project-row {
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.project-content h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #e5e5e5;
}
.project-content h3 a{
  text-decoration: none;
  color: #e5e5e5;
}

.project-content p {
  margin-bottom: 10px;
  color: #666;
}

.project-row:hover {
  transform: translateY(-3px);
  transition: 0.3s ease;
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.single-proyectos .project-detail-related {
  background: #0b0b0b;
  padding: 40px 0;
  padding-left: 3.5rem;
  padding-right: 3.5rem
}


.single-proyectos .project-card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s ease;
  height: 100%;
  width: 100%;
  display: grid;
}

.single-proyectos .project-card:hover {
  transform: translateY(-5px);
}
.project-grid .project-card-image {
  width: 100%;
  height: 180px;          /* FIXED HEIGHT */
  overflow: hidden;
}
.project-grid .project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 🔥 THIS IS KEY */
  display: block;
}

.single-proyectos .project-card-content {
  padding: 20px;
}

.single-proyectos .project-card-content h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.single-proyectos .project-card-content p {
  color: #ccc;
  font-size: 0.9rem;
}

.single-proyectos .project-sidebar {
  display: flex;
  gap: 30px;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

/* LEFT + RIGHT = 50% each */
.single-proyectos .sidebar-left,
.single-proyectos .sidebar-right {
  width: 50%;
}

/* Headings */
.single-proyectos .sidebar-heading {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  padding-left: 10px;
}

.single-proyectos .sidebar-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #ffd400; /* yellow line */
}

/* Tools */
.single-proyectos .tools-list {
  list-style: square;
  color: #ccc;
  padding-left: 20px;
}

/* Product Card */
.products-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.products-block .sidebar-heading {
  width: 100%; /* takes full row */
}
.product-card {
  width: calc(50% - 10px); /* 2 items side by side */
}
.single-proyectos .product-card {
  background: #eee;
  padding: 20px;
  text-align: center;
  width:12.5rem;
  height:15.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.single-proyectos .product-card h4 {
  margin: 10px 0;
  font-size: 1rem;  
}
.single-proyectos .product-card img {
  max-width: 120px;
  margin-bottom: 10px;
}

.single-proyectos .btn-buy {
  display: inline-block;
  background: #ffd400;
  padding: 10px 15px;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  font-size: .875rem;
}
.project-steps {
  background: #202020;
  color: #fff;
  padding: 20px;
}

.steps-content h2 {
  font-size: 1.5rem;
}

.steps-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 600px; /* Adjust as needed */
  margin: 35px auto;
  
}
.steps-nav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 7px; /* Thickness of the line */
    background-color: #fff; /* Line color */
    transform: translateY(-50%);
    z-index: 1; /* Sits behind the dots */
}
.steps-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--progress, 0%);
  height: 3px;
  background: #ffd000;
  transform: translateY(-50%);
  z-index: 0;
}
.step-dot {
  position: relative;
  z-index: 2; /* Sits above the line */
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transform: rotate(45deg); /* Creates the diamond shape */
  display: flex;
  cursor: pointer;
}
.step-dot::after {
    content: attr(data-step-label); /* Optional: if you use a data attribute for labels */
}
.step-number{
  transform: rotate(-45deg); /* Keep the number upright */
}
.step-item {
  display: none;
  background: #202020;
}
.step-item h2 {
  border-left: 6px solid #FFCC00;
  padding-left: 15px;
  line-height: 1;
  color: white;
  text-transform: uppercase;
}
.step-item.active {
  display: block;
  background: #202020;
}

.step-image img {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
}

.step-next {
  text-align: right;
  margin-top: 20px;
}
#nextStep {
  background-color: #202020;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}
.project-steps ol {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 1.125rem;
}
.step-next #next-step {
  background: #202020;
}
.step-dot {
  width: 25px;
  height: 25px;
  background: #fff;
  border: 2px solid #ccc;
  transform: rotate(45deg); /* 🔥 makes diamond */
  display: flex;
  align-items: center;
  justify-content: center;
  color:#000;
  font-weight: bold;
  position: relative;
}

.step-dot.active {
  width: 25px;
  height: 25px;
  background: #fedb00;
  border: 2px solid #ccc;
  transform: rotate(45deg); /* 🔥 makes diamond */
  display: flex;
  align-items: center;
  justify-content: center;
  color:#000;
  font-weight: bold;
}
.projects-steps-line {
    z-index: 0;
    background-color: #fff;
    -webkit-text-fill-color: inherit;
    background-clip: content-box;
    width: 100%;
    height: 20%;
    margin-left: 0;
    margin-right: 0;
    padding: 8.5px 10px;
    position: absolute;
    inset: 0%;
}
.step-dot span {
  transform: rotate(-45deg); /* keep text normal */
}

@media (max-width: 768px) {
  .project-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-image img {
    width: 100%;
  }
  .single-proyectos .project-grid {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  }
  .single-proyectos .project-sidebar {
    flex-direction: column;
  }

  .single-proyectos .sidebar-left,
  .single-proyectos .sidebar-right {
    width: 100%;
  }
}
/* Tablet */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-right: 10px;
    }
    .project-card p {
        display: -webkit-box;
        -webkit-line-clamp: 4;   /* show only 4 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: .875rem;
    }
}
.filter-btn {
    display: none;
    background: #f5c400;
    border: none;
    padding: 10px 16px;
    font-weight: bold;
    cursor: pointer;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .filter-btn {
        display: inline-block;
        margin-bottom: 15px;
    }

    .desktop-filter {
        display: none;
    }
}

.filter-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-modal.active {
    display: block;
}

.filter-content {
    min-height: 100vh;
    padding: 30px 20px 100px;
    box-sizing: border-box;
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

.filter-list {
    margin-top: 30px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    text-transform: uppercase;
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.filter-option label {
    color: #e5e5e5;
    font-size: 1rem;
    margin: 0;
    cursor: pointer;
    font-weight: 300;
}

.filter-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 10px;
    padding: 20px;
    background: #000;
    margin: 30px -20px -100px;
}

.filter-actions button {
    flex: 1;
    height: 50px;
    border: 0;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 600;
}

.cancel-filter-btn {
    background: #333;
    color: #fff;
    min-width: 9.75rem;
    max-width: 2.625rem;
    min-height: 2.625rem;
    max-height: 2.625rem;
}

.apply-filter-btn {
    background: #f4c400;
    color: #000;
    min-width: 9.75rem;
    max-width: 9.75rem;
    min-height: 2.625rem;
    max-height: 2.625rem;
}
@media (max-width: 767px) {
    .filter-modal {
        position: fixed;
        inset: 0;
        height: 100vh;
    }

    .filter-content {
        min-height: 100vh;
    }
    .filter-content h3 {
      font-size: 1.25rem;
      font-weight: 900;
      color:#eee;
      padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
    .projects-section {
        margin: 0 !important;
        /* padding-left: 1rem; */
    }
    .post-type-archive-proyectos h1 {
        font-size: 2rem;   /* smaller heading on mobile */
        margin-left: 0;
    }
     .projects-section h2 {
        display: none;
    }
    .project-grid .project-card {
       /* margin: 0 !important;*/
        margin-left: 1px !important;
         margin-right: 1px !important;
         margin-bottom: 1.125rem;
    }
    .projects-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px; /* adds space on both sides */
    }

    .filter-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0;
        margin-right: 10px; /* adjust as needed */
        cursor: pointer;
    }
}
.selected-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
    margin-left: 1rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffd800;
    color: #000;
    padding: .25rem .5rem;
    font-size: .625rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: .5rem;

}

.filter-chip .remove-filter {
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
}

.filter-toggle {
    display: none !important;
}
.category-checkbox {
    accent-color: #FEDB00;
}
.filter-option #all {
    accent-color: #FEDB00;
}
@media screen and (max-width: 767px) {
    .filter-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-right: 1rem;
        padding-left: 1rem;
    }
}