/* Cerita Kami Page Styles - Card Layout */
.cerita-kami-page {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(to right, 
    rgba(227, 255, 221, 0) 0%, 
    rgba(227, 255, 221, 0.8) 5%, 
    rgba(227, 255, 221, 1) 15%, 
    rgba(227, 255, 221, 1) 85%, 
    rgba(227, 255, 221, 0.8) 95%, 
    rgba(227, 255, 221, 0) 100%
  );
  background-attachment: fixed;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Navigation Bar */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--celtic), #2d5a2f);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.nav-logo {
  display: none; /* Hide logo for Cerita Kami page */
}

.nav-links {
  display: flex;
  gap: 60px;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 1px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(26, 60, 28, 0.7), rgba(45, 90, 47, 0.7)), url('../img/hero-cerita-kami.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 0;
  padding-top: 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-family-poppins);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #ffffff !important;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transform: scale(0.7);
  transform-origin: center;
  font-weight: 500;
}

/* More specific selector to override styleguide.css */
.hero-section .hero-subtitle.poppins-normal-celtic-24px {
  color: #ffffff !important;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Articles Section */
.articles-section {
  margin-bottom: 60px;
}

.articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--celtic);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--celtic);
  border-radius: 2px;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Article Card */
.article-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .card-image img {
  transform: scale(1.1);
}

/* Card Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 60, 28, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card:hover .card-overlay {
  opacity: 1;
}

.read-more {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card Content */
.card-content {
  padding: 25px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #666;
}

.card-date {
  color: #888;
}

.card-category {
  background: var(--celtic);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-title {
  margin-bottom: 15px;
  color: var(--celtic);
  font-size: 1.3rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  margin-bottom: 20px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  display: inline-block;
  color: var(--celtic);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-link:hover {
  border-bottom-color: var(--celtic);
  transform: translateX(5px);
}

/* Load More Section */
.load-more-section {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  background: linear-gradient(135deg, var(--celtic), #2d5a2f);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(26, 60, 28, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transform: scale(0.7);
  transform-origin: center;
}

.load-more-btn:hover {
  transform: scale(0.7) translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 60, 28, 0.4);
}

.load-more-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--celtic), #2d5a2f);
  color: white;
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section {
  text-align: center;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-section h4 {
  margin-bottom: 15px;
  color: white;
}

.footer-section p {
  line-height: 1.6;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 1);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transform: scale(0.7);
  transform-origin: center;
}

.dark-green-link {
  color: #90EE90;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dark-green-link:hover {
  color: white;
}

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

.social-links img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 1);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transform: scale(0.7);
  transform-origin: center;
}

/* WhatsApp Floating Button */
#whatsapp-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

#whatsapp-container img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

#whatsapp-container img:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .card-content {
    padding: 15px;
  }
  
  .load-more-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Article Individual Page Styles */
.article-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 40px;
}

.article-container {
  padding: 50px;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--celtic);
  padding-bottom: 25px;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.article-title {
  margin-bottom: 15px;
  color: var(--celtic);
}

.article-subtitle {
  color: #666;
  font-style: italic;
  margin-bottom: 0;
}

.article-content {
  display: grid;
  gap: 30px;
}

.article-image {
  text-align: center;
  margin: 30px 0;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.article-image img:hover {
  transform: scale(1.02);
}

.article-text {
  line-height: 1.8;
}

.article-text h2 {
  margin: 35px 0 20px 0;
  color: var(--celtic);
  border-left: 4px solid var(--celtic);
  padding-left: 15px;
}

.article-text p {
  margin-bottom: 20px;
  text-align: justify;
}

/* Pillars List for Article */
.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 30px 0;
}

.pillar-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--celtic);
  transition: all 0.3s ease;
}

.pillar-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.pillar-item h3 {
  margin-bottom: 10px;
  color: var(--celtic);
  font-weight: 600;
}

.pillar-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Quote Section for Article */
.quote-section {
  background: linear-gradient(135deg, var(--celtic), #2d5a2f);
  padding: 35px;
  border-radius: 10px;
  margin: 35px 0;
  text-align: center;
  color: white;
}

.quote-section blockquote {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  position: relative;
}

.quote-section blockquote::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  top: -15px;
  left: -10px;
  color: rgba(255, 255, 255, 0.3);
}

/* CTA Section for Article */
.cta-section {
  background: #f8f9fa;
  padding: 35px;
  border-radius: 10px;
  text-align: center;
  margin: 35px 0;
  border: 2px solid var(--celtic);
}

.cta-section h3 {
  margin-bottom: 15px;
  color: var(--celtic);
}

.cta-section p {
  margin-bottom: 25px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--celtic), #2d5a2f);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(26, 60, 28, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 60, 28, 0.4);
}

/* Back to Articles */
.back-to-articles {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.back-link {
  color: var(--celtic);
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid var(--celtic);
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.back-link:hover {
  background: var(--celtic);
  color: white;
  transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--celtic);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d5a2f;
} 