/* ===================================================================
   ARTICLES.CSS - Article Pages, Related Tours, Programs
   For: singleu.php, related-tours.php, all program pages
   =================================================================== */

/* ===================================================================
   ARTICLE PAGE LAYOUT
   =================================================================== */

.page-wrapper {
  margin: 0 auto;
  padding: 10px;
  max-width: 97%;
}

.content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-content-wrapper {
  flex: 1 1 65%;
  min-width: 0;
}

.main-content {
  background: white;
  padding: 0;
}

.main-content.single {
  padding: 0;
}

/* ===================================================================
   HERO SECTION - Dramatic 70vh
   =================================================================== */

.article-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.article-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  padding: 3rem;
  color: white;
}

.article-hero-overlay h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  line-height: 1.2;
  color: white;
  font-family: 'Algerian', 'cursive';
}

.article-hero-overlay .post-meta {
  font-size: 1rem;
  opacity: 0.95;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ===================================================================
   INTRO SECTION - First Content Block
   =================================================================== */

.article-intro {
  padding: 3rem;
  background: white;
  border-bottom: 3px solid #667eea;
  max-width: 1200px;
  margin: 0 auto;
}

.article-intro h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #790000;
  font-family: 'Algerian', 'cursive';
}

.article-intro .post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.article-intro .post-content p {
  margin-bottom: 1rem;
}

/* ===================================================================
   CONTENT BLOCKS - Visual Cards with Alternating Layout
   =================================================================== */

.content-block-horizontal {
  display: flex;
  gap: 2rem;
  padding: 3rem;
  margin: 2rem auto;
  background: white;
  border-left: 5px solid #667eea;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  align-items: center;
  max-width: 1200px;
}

.content-block-horizontal.align-right {
  flex-direction: row-reverse;
  border-left: none;
  border-right: 5px solid #764ba2;
}

.text-content-block {
  flex: 1;
}

.text-content-block h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #790000;
  font-family: 'Algerian', 'cursive';
}

.text-content-block h2.subheading {
  font-size: 2rem;
}

.paragraph-content {
  color: #555;
}

.content-block-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}

.image-content-block {
  flex: 1;
  max-width: 500px;
}

.content-block-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===================================================================
   CTA MOMENTS - Call to Action Sections
   =================================================================== */

.cta-moment {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 2.5rem 3rem;
  margin: 3rem auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  max-width: 1200px;
}

.cta-moment h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
  font-family: 'Algerian', 'cursive';
}

.cta-moment p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-moment .btn {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-moment .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  color: #667eea;
}

/* ===================================================================
   MID-ARTICLE PROGRAMS SECTION
   =================================================================== */

.mid-article-programs {
  background: #f8f9fa;
  padding: 3rem;
  margin: 3rem auto;
  border-radius: 12px;
  border: 2px dashed #667eea;
  max-width: 1200px;
}

.mid-article-programs h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #790000;
  text-align: center;
  font-family: 'Algerian', 'cursive';
}

.mid-article-programs .subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.mid-article-programs .program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mid-article-programs .program-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.mid-article-programs .program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mid-article-programs .program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mid-article-programs .card-content {
  padding: 1.5rem;
}

.mid-article-programs .card-content h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #790000;
  font-family: 'Antic Slab', serif;
}

.mid-article-programs .card-content .btn {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.mid-article-programs .card-content .btn:hover {
  background: #764ba2;
  color: white;
}

/* ===================================================================
   BOTTOM SUGGESTED PROGRAMS SECTION
   =================================================================== */

.suggested-programs {
  background: white;
  padding: 3rem;
  margin: 3rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  max-width: 1200px;
}

.suggested-programs h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #790000;
  text-align: center;
  font-family: 'Algerian', 'cursive';
}

.suggested-programs .program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.suggested-programs .program-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.suggested-programs .program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.suggested-programs .program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.suggested-programs .program-card h4 {
  padding: 1.5rem;
  font-size: 1.2rem;
  color: #790000;
  font-family: 'Antic Slab', serif;
}

.suggested-programs .program-card .btn {
  display: block;
  background: #667eea;
  color: white;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.suggested-programs .program-card .btn:hover {
  background: #764ba2;
  color: white;
}

/* ===================================================================
   FLOATING BUTTONS - Contact & Related Tours
   =================================================================== */

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Related Tours Floating Button */
#relatedToursBtn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

#relatedToursBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
  color: white;
}

#relatedToursBtn i {
  font-size: 1.2rem;
}

/* Contact Button Styles */
.comm-button {
  background: linear-gradient(135deg, #006669 0%, #00484B 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 102, 105, 0.4);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.comm-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 102, 105, 0.5);
  color: white;
}

.comm-btn-text {
  transition: opacity 0.3s;
}

.comm-btn-text.fade-out {
  opacity: 0;
}

/* ===================================================================
   RELATED TOURS PAGE (related-tours.php)
   =================================================================== */

.related-tours-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.related-tours-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: white;
  font-family: 'Algerian', 'cursive';
}

.related-tours-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.back-to-article {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s;
}

.back-to-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #667eea;
}

.related-tours-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.programs-count {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.program-card-full {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e0e0e0;
}

.program-card-full:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.program-card-full img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.program-card-content {
  padding: 1.5rem;
}

.program-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #790000;
  line-height: 1.3;
  font-family: 'Antic Slab', serif;
}

.program-card-content .btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
  width: 100%;
}

.program-card-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
}

.no-programs {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 2rem 0;
}

.no-programs h2 {
  font-size: 2rem;
  color: #790000;
  margin-bottom: 1rem;
  font-family: 'Algerian', 'cursive';
}

.no-programs p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.no-programs .btn {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.no-programs .btn:hover {
  background: #764ba2;
  color: white;
}

/* ===================================================================
   RESPONSIVE DESIGN - TABLETS
   =================================================================== */

@media (max-width: 1024px) {
  .article-hero-overlay h1 {
    font-size: 2.5rem;
  }
  
  .content-block-horizontal {
    padding: 2rem;
  }
  
  .page-wrapper {
    padding: 1rem;
  }
}

/* ===================================================================
   RESPONSIVE DESIGN - MOBILE
   =================================================================== */

@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }
  
  .main-content-wrapper {
    flex: 1 1 100%;
  }
  
  .article-hero {
    height: 50vh;
    min-height: 400px;
  }
  
  .article-hero-overlay {
    padding: 2rem;
  }
  
  .article-hero-overlay h1 {
    font-size: 2rem;
  }
  
  .content-block-horizontal,
  .content-block-horizontal.align-right {
    flex-direction: column;
    padding: 2rem;
    border-left: 5px solid #667eea;
    border-right: none;
  }
  
  .image-content-block {
    max-width: 100%;
  }
  
  .article-intro,
  .cta-moment,
  .mid-article-programs,
  .suggested-programs {
    padding: 2rem;
    margin: 2rem 1rem;
  }
  
  .floating-buttons {
    right: 15px;
    bottom: 15px;
  }
  
  #relatedToursBtn,
  .comm-button {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .related-tours-hero h1 {
    font-size: 2rem;
  }
  
  .related-tours-hero p {
    font-size: 1rem;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .related-tours-container {
    padding: 2rem 1rem;
  }
}

/* ===================================================================
   RESPONSIVE DESIGN - SMALL MOBILE
   =================================================================== */

@media (max-width: 480px) {
  .article-hero-overlay h1 {
    font-size: 1.5rem;
  }
  
  .text-content-block h2 {
    font-size: 1.5rem;
  }
  
  .cta-moment h3 {
    font-size: 1.4rem;
  }
  
  #relatedToursBtn,
  .comm-button {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  #relatedToursBtn span {
    display: none;
  }
  
  #relatedToursBtn i {
    margin: 0;
  }
}

/* ===================================================================
   Q&A SECTION (if exists in article)
   =================================================================== */

.qa-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.qa-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #790000;
  text-align: center;
  font-family: 'Algerian', 'cursive';
}

.qa-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

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

.qa-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #790000;
  margin-bottom: 0.5rem;
  font-family: 'Antic Slab', serif;
}

.qa-answer {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}
