/**
* Theme Name: Widoor Child
* Description: This is a child theme of Widoor.
* Author: <a href="http://codeixer.com">Codexier</a>
* Template: widoor
* Version: 1.0.0
*/

/* Portfolio Filter Layout */
/* ---------------------- */
/* FILTER SECTION (unchanged) */
/* ---------------------- */
/* ---------------------- */
/* PORTFOLIO FILTER WRAP */
/* ---------------------- */

/* Override active menu item color */
body .cit-main-navigation .current-menu-item > a,
body .site-header .main-navigation .navbar-nav .current-menu-item > a {
  color: #C8A94D !important;
}


#portfolio-filter-wrap {
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
}

.filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

#portfolio-search,
#portfolio-category {
  padding: 10px 15px;
  /* border: 1px solid #ccc; */
  border-radius: 5px;
  font-size: 15px;
  width: 220px;
}

/* ---------------------- */
/* PORTFOLIO GRID STYLES */
/* ---------------------- */

.cdx-product-style-2 {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.cdx-product-style-2 .col-md-6 {
  width: 50%;
  padding: 15px;
  box-sizing: border-box;
}

.portfolio-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.portfolio-thumb {
  width: 100%;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: none;
  border-radius: 10px 10px 0 0;
}

/* Remove hover effects */
.portfolio-card:hover img {
  transform: none;
}

.portfolio-card-body {
  padding: 20px;
  text-align: left;
  background: #fafafa;
}

/* ---------------------- */
/* CATEGORY (portfolio-series) */
/* ---------------------- */
.portfolio-series {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #000000; 
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.portfolio-series a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-series a:hover {
  color: #C8A94D; 
}

/* ---------------------- */
/* PORTFOLIO TITLE */
/* ---------------------- */
.portfolio-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 8px 0 15px;
}

.portfolio-title a {
  color: #000000; 
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-title a:hover, .portfolio-series a:hover {
  color: #C8A94D !important; 
}

/* ---------------------- */
/* PORTFOLIO TAGS */
/* ---------------------- */
.portfolio-tags {
  margin-top: 10px;
  margin-bottom: 15px;
}

.portfolio-tag-item {
  display: inline-block;
  background: #C8A94D;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 3px;
  text-transform: capitalize;
  transition: background 0.3s ease;
}

.portfolio-tag-item:hover {
  background: #C8A94D;
  color: #fff;
}

/* ---------------------- */
/* VIEW DETAILS BUTTON */
/* ---------------------- */
.portfolio-readmore {
  display: inline-block;
  background: transparent;
  color: #C8A94D;
  border: 1px solid #C8A94D;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-readmore:hover {
  background: #C8A94D;
  color: #000000;
  border-color: #C8A94D;
}


.cdx-product-style-2 a,
.cdx-product-style-2 a:visited {
  color: #000000 !important;
  text-decoration: none;
}

/* Gold hover color for consistency */
.portfolio-readmore a:hover {
  color: #000000 !important;
}

.cdx-breadcrumb-wrapper h1::before,
.cdx-breadcrumb-wrapper h1::after {
  background-color: transparent !important;
}

.sec-subtitle-text small.line-design {
  background: #C8A94D !important;
}
.cdx-accordion .accordion-button:hover {
  color: #C8A94D !important;
}

.site-header .main-navigation .navbar-nav .menu-item:hover a {
  color: #C8A94D !important;
}

#portfolio-search {
  border-color: #C8A94D;
}

select,
select option,
optgroup,
textarea {
  color: #000000 !important; 
}

.site-header .main-navigation .navbar-nav .menu-item a {
  color: #000000 !important;
}

.post-navigation .nav-links a .post-title:hover {
  color: #C8A94D !important;
}
.post-navigation .nav-links a .meta-nav {
  color: #C8A94D !important;
}

.pushy li.current-menu-item > a {
  color: #C8A94D !important;
}

.button, .wp-block-search .wp-block-search__button, .wp-block-button .wp-block-button__link, .wp-block-file a.wp-block-file__button {
  border-color: #C8A94D !important;
  background: #C8A94D !important;
}

.pushy a:hover {
  color: #C8A94D !important;
}
/* ---------------------- */
/* RESPONSIVE DESIGN */
/* ---------------------- */
@media (max-width: 991px) {
  .cdx-product-style-2 .col-md-6 {
    width: 100%;
  }

  #portfolio-search,
  #portfolio-category {
    width: 100%;
    max-width: 350px;
  }
}


@media (max-width: 991px) {
    .product-form {
        display: flex;
        flex-direction: column;
        gap: 15px; 
    }

    .product-form input,
    .product-form select {
        width: 100%;
        box-sizing: border-box;
    }
}