/*!
Theme Name: quarty child
Theme URI: https://bslthemes.com/
Author: bslthemes
Author URI: https://themeforest.net/user/bslthemes
Description: Quarty - Architecture & Interior WordPress Theme
Version: 1.0.1
License: General Public License
License URI: http://www.gnu.org/licenses/gpl.html
Template: quarty
Text Domain: quarty-child
Tags: full-width-template, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, theme-options
*/

/* =======================
   الصفحة الفردية للمشاريع
========================= */
.single-portfolio {
 

}

/* =======================
   السلايدر الكبير
========================= */
.portfolio-main {
  width: 100%;
  height: 500px;
  margin-bottom: 20px;
  position: relative;
}

.portfolio-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* أزرار التنقل */
.swiper-button-next,
.swiper-button-prev {
  color: #000;
  transition: opacity 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 0.7;
}

/* =======================
   الثمبنيلز (الصور الصغيرة الثابتة)
========================= */
.portfolio-thumbs {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.portfolio-thumbs::-webkit-scrollbar {
  height: 8px;
}
.portfolio-thumbs::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

/* كل صورة مصغّرة */
.portfolio-thumbs .thumb {
  width: 110px;
  height: 85px;
  flex: 0 0 auto;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.portfolio-thumbs .thumb:hover,
.portfolio-thumbs .thumb.active {
  opacity: 1;
  transform: scale(1.05);
  border-color: #000;
}

.portfolio-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =======================
   معلومات المشروع
========================= */
.project-facts ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.project-facts ul li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* =======================
   الوصف
========================= */
.portfolio-description {
  margin: 30px 0;
}

/* =======================
   المعرض الإضافي
========================= */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.portfolio-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* === إصلاح عرض الثمبنيلز (لتكون صف أفقي وليس عمودي) === */
/* ======= الغلاف العام ======= */
.portfolio-slider-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* ======= الصورة الكبيرة ======= */
.portfolio-main {
  width: 100%;
  height: 500px;
  margin-bottom: 20px;
}

.portfolio-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ======= الثمبنيلز الثابتة (خارج Swiper) ======= */
.portfolio-static-thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.portfolio-static-thumbs::-webkit-scrollbar {
  height: 8px;
}

.portfolio-static-thumbs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.portfolio-static-thumbs .thumb {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-static-thumbs .thumb.active {
  opacity: 1;
  transform: scale(1.05);
}

.portfolio-static-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}



//بوب اب
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.portfolio-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.portfolio-gallery a:hover {
  transform: scale(1.05);
}

.portfolio-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-facts {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-top: 30px;
}

.project-facts h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-facts h3 i {
  color: #b9a96e;
  font-size: 20px;
}

.project-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  color: #444;
  transition: all 0.3s ease;
}

.project-facts li:last-child {
  border-bottom: none;
}

.project-facts li:hover {
  background-color: #fff;
  transform: translateX(5px);
}

.project-facts li i {
  color: #b9a96e;
  font-size: 18px;
  width: 25px;
  text-align: center;
}

.project-facts .fact-label {
  font-weight: 600;
  color: #222;
}

.project-facts .fact-value {
  color: #555;
}

