/*
Theme Name: HealtCove Mental Wellness
Description: A clean and calming theme for mental health blogging
Version: 1.0
Author: Abdelghafour
*/

/* ===== style.css (header & footer styles) ===== */




.responsive-lcp-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Reset and base styles */
body, ul, li {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #F9F9F9;
  color: #333;
}

header {
  background-color: #A8DADC;
  padding: 20px 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #457B9D;
  transition: width 0.3s ease;
}

.navbar-menu li a:hover {
  color: #457B9D;
}

.navbar-menu li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100vh;
    background-color: #A8DADC;
    flex-direction: column;
    width: 250px;
    padding: 60px 20px;
    display: flex;
    gap: 30px;
    transition: right 0.4s ease-in-out;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  }

  .navbar-menu li a {
    font-size: 18px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    position: relative;
  }

  .navbar-menu li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 10px;
    width: 0;
    height: 2px;
    background-color: #457B9D;
    transition: width 0.3s ease;
  }

  .navbar-menu li a:hover {
    color: #457B9D;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }

  .navbar-menu li a:hover::after {
    width: 80%;
  }

  .navbar-menu.active {
    right: 0;
  }
}

/* ===== Footer styles ===== */
footer {
  background-color: #1d3557; /* تباين أقوى */
  color: #f1faee;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: #f1faee;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #a8dadc;
  text-decoration: underline;
}

.footer-copy {
  font-size: 15px;
  color: #cbd5e0; /* لون واضح بتباين ممتاز */
}









/*
Theme Name:  TravelBuz24 

Description: Smart Travel Tips & Budget Adventures
Version: 1.0
Author: Abdelghafour
*/


.pg-container {
  max-width: 960px;
  margin: 50px auto;
  padding: 40px 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.8;
  color: #333;
}
.pg-container h1 {
  text-align: center;
  font-size: 36px;
  color: #0073a8;
  margin-bottom: 30px;
}
.pg-container h2 {
  font-size: 24px;
  margin-top: 30px;
  color: #005c88;
}
.pg-container p {
  font-size: 16.5px;
  margin-top: 10px;
}
.pg-container ul {
  margin-left: 20px;
}
@media(max-width: 600px){
  .pg-container {
    padding: 25px 15px;
  }
  .pg-container h1 {
    font-size: 28px;
  }
}

/* single page*/
.post-wrapper {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #333;
  }

  .post-title {
    font-size: 36px;
    color: #1d3557;
    margin-bottom: 10px;
  }

/* معلومات النشر */
.post-meta {
  font-size: 14px;
  color: #222; /* تباين أعلى من #444 */
  margin-bottom: 10px;
}

/* عدد المشاهدات */
.views-count {
  font-size: 14px;
  color: #222; /* نفس اللون لثبات النمط */
  margin-bottom: 30px;
}

/* تصنيفات المقال */
.post-categories {
  margin-bottom: 10px;
}

.post-categories a {
  color: #005792; /* أزرق داكن بتباين قوي مع الخلفية البيضاء */
  text-decoration: none;
  font-weight: 500;
}

.post-categories a:hover {
  text-decoration: underline;
}

/* محتوى المقال */
.post-content {
  font-size: 18px;
  color: #111; /* تأكيد أن النص داخل المحتوى قابل للقراءة */
  line-height: 1.6;
}

/* الوسوم */
.post-tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ccc; /* تغيير من #ddd إلى #ccc لزيادة التباين */
}

.post-tags span {
  display: inline-block;
  background: #d0f0f6; /* خلفية فاتحة مع تباين جيد */
  color: #003e3e;       /* نص داكن جداً ليتباين جيداً مع الخلفية */
  padding: 6px 12px;
  margin: 5px 5px 0 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}


  .share-buttons {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #457b9d;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s;
  }

  .share-buttons a:hover {
    background-color: #1d3557;
  }

  .related-posts {
    margin-top: 60px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
  }

  .related-posts h2 {
    font-size: 24px;
    color: #1d3557;
    margin-bottom: 20px;
  }

  .related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .related-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    flex: 1 1 calc(33.333% - 20px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: 0.3s ease;
  }

  .related-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .related-item a {
    text-decoration: none;
    color: #1d3557;
    font-weight: bold;
    font-size: 16px;
  }

  @media (max-width: 768px) {
    .post-title {
      font-size: 28px;
    }
    .related-item {
      flex: 1 1 100%;
    }
  }


 .table-of-contents {
  border: 1px solid #ccc; /* وضوح أفضل من #ddd */
  border-radius: 10px;
  padding: 20px;
  background-color: #e9ecef; /* أغمق قليلاً لتحسين التباين */
  margin-bottom: 30px;
}

.table-of-contents h3 {
  margin-top: 0;
  font-size: 20px;
  color: #1b1b1b; /* لون غامق للعناوين لتباين ممتاز */
  font-weight: bold;
}

.table-of-contents ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.table-of-contents ul li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #bbb; /* أغمق قليلاً */
}

.table-of-contents ul li:last-child {
  border-bottom: none;
}

.table-of-contents ul li a {
  color: #0a3d62; /* أزرق داكن لتباين قوي جدًا */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.table-of-contents ul li a:hover {
  color: #1d3557;
  text-decoration: underline;
}



.faq-section {
  margin-top: 60px;
  padding: 30px;
  background-color: #f5f7fa; /* خلفية أفتح توفر تباينًا أفضل */
  border: 1px solid #bbb; /* لون حدود أوضح من #ccc */
  border-radius: 10px;
}

.faq-section h2 {
  color: #0f0f0f; /* أسود تقريبًا لتباين ممتاز */
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 15px;
  cursor: pointer;
  padding-bottom: 15px;
  border-bottom: 1px dashed #888; /* أوضح من #aaa */
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin: 0;
  font-size: 18px;
  color: #002b5c; /* أزرق داكن جدًا لتباين ممتاز مع الخلفية */
  font-weight: 700;
  position: relative;
}

.faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  font-weight: bold;
  color: #002b5c; /* نفس لون العنوان للحفاظ على الاتساق */
}

.faq-item.open h3::after {
  content: '-';
}

.faq-item p {
  display: none;
  padding: 10px 0 0;
  color: #111; /* أسود تقريبًا لتباين مثالي مع الخلفية */
}

.faq-item.open p {
  display: block;
}


  
  
  



/* تنسيق المحتوى المستورد من the_content */
.page-content {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  background: #ffffff;
}

.page-content p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #333;
}

/* ✅ العناوين العامة بلون أسود وخالية من أي حدود */
.page-content h2,
.page-content h4 {
  margin: 40px 0 20px;
  color: #000; /* لون أسود طبيعي */
  border: none;
  padding-left: 0;
  font-weight: bold;
}

/* ✅ h3 باللون الأزرق */
.page-content h3 {
  margin: 40px 0 20px;
  color: #0077aa; /* لون أزرق */
  border: none;
  padding-left: 0;
  font-weight: bold;
}

.page-content ul,
.page-content ol {
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 10px;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content a {
  color: #0077aa;
  text-decoration: underline;
}

.page-content a:hover {
  color: #005e89;
}

@media (max-width: 768px) {
  .page-content {
    padding: 0 15px;
  }
}







/* لإخفاء label عن العين مع الإبقاء على فائدتها لقارئات الشاشة */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



    /* Make sure the entire page fills the viewport */
 html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
  
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
  }

  .modal-content {
    background-color: white;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    text-align: center;
  }

  .modal-content input[type="email"] {
    width: 80%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
  }

  .modal-content button {
    background-color: #0066cc;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
  }

  .testimonial-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .testimonial {
    background-color: #f6f8fa;
    border-left: 5px solid #4caf50;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    font-style: italic;
  }

  .testimonial em {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
  }
