/* ============================================
   Shared Inner Page Styles
   ============================================ */

/* --- Page Header Banner (cream bg + title + breadcrumb) --- */

.page-header {
  background-color: var(--color-primary);
  text-align: center;
  padding: 6em 0 5em;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ctext x='10' y='35' font-size='18' fill='white' opacity='0.1'%3E✦%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ctext x='30' y='60' font-size='14' fill='white' opacity='0.07'%3E★%3C/text%3E%3C/svg%3E");
  pointer-events: none;
}

.page-header .shape-divider--bottom {
  height: 60px;
}

.page-header .shape-divider--bottom svg {
  fill: var(--color-white);
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb a {
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-header .breadcrumb span {
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent-yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-header .breadcrumb i {
  font-size: 12px;
  color: var(--color-body);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.cta-banner.bg-light-green {
  background-color: var(--color-accent-green);
}

@media (max-width: 1024px) {
  .page-header {
    padding: 5em 0 4em;
  }
  .page-header .shape-divider--bottom {
    height: 40px;
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 4em 0 3em;
  }
  .page-header .shape-divider--bottom {
    height: 25px;
  }
}

/* --- About Page --- */

.about-detail-section {
  padding: 5em 0;
}

.about-detail-section .split {
  gap: 60px;
}

.about-detail-image img {
  border-radius: 14px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-detail-content h6 {
  margin-bottom: 10px;
}

.about-detail-content h2 {
  margin-bottom: 20px;
}

.about-detail-content p {
  margin-bottom: 16px;
}

/* --- Pricing Page --- */

.pricing-section {
  padding: 5em 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--border-radius-card);
  padding: 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card-header {
  padding: 24px 20px;
  border-radius: 14px;
  margin: 10px;
}

.pricing-card-header h4 {
  color: var(--color-white);
  margin-bottom: 4px;
}

.pricing-card-header p {
  color: var(--color-white);
  opacity: 0.9;
  font-size: 13px;
}

.pricing-card:nth-child(1) .pricing-card-header { background-color: var(--color-accent-green); }
.pricing-card:nth-child(2) .pricing-card-header { background-color: var(--color-accent-yellow); }
.pricing-card:nth-child(3) .pricing-card-header { background-color: var(--color-accent-red); }

.pricing-price {
  padding: 30px 20px;
}

.pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--color-heading);
  line-height: 1;
}

.pricing-price .pricing-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--color-heading);
  line-height: 1;
}

.pricing-currency {
  color: var(--color-accent-pink);
  font-family: var(--font-heading);
  font-size: 20px;
  vertical-align: top;
}

.pricing-price .period {
  font-size: 16px;
  color: var(--color-body);
}

.pricing-price .pricing-period {
  font-size: 14px;
  color: var(--color-body);
}

.pricing-features {
  padding: 0 30px 20px;
  text-align: left;
}

.pricing-features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

ul.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 30px 24px;
  text-align: left;
}

.pricing-features li {
  font-size: 14px;
  color: var(--color-body);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-light-gray);
}

.pricing-features li i {
  margin-right: 8px;
  color: var(--color-accent-green);
}

.pricing-card .btn {
  margin: 0 30px 30px;
  width: calc(100% - 60px);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* --- Contact Page --- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 0;
}

.contact-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--border-radius-card);
  background: var(--color-light-gray);
  border: 2px solid transparent;
}

.contact-card:nth-child(1) { background: var(--color-bear-zone); }
.contact-card:nth-child(2) { background: var(--color-rabbit-zone); }
.contact-card:nth-child(3) { background: var(--color-frog-zone); }

.contact-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
  color: var(--color-white);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-white);
  background: var(--color-primary);
  font-size: 26px;
}

.contact-card-icon--green { background: var(--color-accent-green); }
.contact-card-icon--yellow { background: #e5b900; }
.contact-card-icon--blue { background: var(--color-primary); }

.contact-card:nth-child(1) .card-icon { background-color: var(--color-accent-green); }
.contact-card:nth-child(2) .card-icon { background-color: var(--color-accent-yellow); }
.contact-card:nth-child(3) .card-icon { background-color: var(--color-accent-blue); }

.contact-card h5 {
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
}

.map-section {
  position: relative;
  margin-bottom: -100px;
}

.map-section iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.contact-form-section {
  position: relative;
  z-index: 2;
  padding: 0 0 5em;
}

.contact-form-card {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-card .section-header {
  margin-bottom: 30px;
}

.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-card .form-group {
  margin-bottom: 16px;
}

.contact-form-card .btn {
  width: 100%;
}

@media (max-width: 767px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .contact-form-card .form-row {
    grid-template-columns: 1fr;
  }
  .booking-form .form-row { grid-template-columns: 1fr; }
  .map-section iframe {
    height: 300px;
  }
}

/* --- About feature cards --- */

.about-cards {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.about-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 2px solid var(--color-rabbit-zone);
  border-radius: 20px;
  background: var(--color-white);
}

.about-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: var(--color-white);
  background: var(--color-accent-pink);
  border-radius: 50%;
  font-size: 23px;
}

.about-card:nth-child(2) .about-card-icon { background: var(--color-accent-green); }
.about-card h5 { margin-bottom: 4px; }
.about-card p { margin: 0; font-size: 14px; }

/* --- Gallery Page --- */

.gallery-section {
  padding: 3em 0 5em;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  font-family: var(--font-heading);
  font-size: 14px;
  padding: 10px 24px;
  border: 2px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--color-body);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background-color: var(--color-accent-yellow);
  border-color: var(--color-accent-yellow);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  border-radius: var(--border-radius-card);
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item[hidden] { display: none; }

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

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- FAQ Page --- */

.faq-section {
  padding: 5em 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.accordion-item {
  border: 2px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 10px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-heading);
  background-color: var(--color-white);
  border: none;
  width: 100%;
  text-align: left;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: var(--color-light-gray);
}

.accordion-header.active {
  background-color: var(--color-rabbit-zone);
  color: var(--color-navy);
}

.accordion-header i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-body.open {
  padding: 16px 20px;
  max-height: 300px;
}

.accordion-body p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Blog Page --- */

.blog-section {
  padding: 3em 0 5em;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 20px;
}

.blog-card-content h4 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.blog-card-content h4 a {
  color: var(--color-heading);
}

.blog-card-content h4 a:hover {
  color: var(--color-accent-yellow);
}

.blog-card-content p {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--color-body);
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-body);
}

.blog-meta i {
  margin-right: 4px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Single Post --- */

.single-post-header {
  background-color: var(--color-cream);
  text-align: center;
  padding: 12em 0 4em;
  position: relative;
  overflow: hidden;
}

.single-post-header h6 {
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.single-post-header h1 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: 48px;
  font-style: italic;
}

.post-meta-header {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: var(--color-body);
  position: relative;
  z-index: 1;
}

.post-meta-header i {
  margin-right: 4px;
}

.article-section {
  padding: 0 0 5em;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
}

.article-featured-image {
  margin: -60px auto 40px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.article-featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body blockquote {
  border-left: 4px solid var(--color-accent-yellow);
  padding: 20px 30px;
  margin: 2em 0;
  background-color: var(--color-light-gray);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
}

/* Share buttons */
.share-buttons {
  display: flex;
  gap: 10px;
  margin: 30px 0;
}

.share-btn {
  padding: 10px 20px;
  border-radius: var(--border-radius);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.share-btn--facebook { background-color: #3b5998; }
.share-btn--pinterest { background-color: #bd081c; }
.share-btn--twitter { background-color: #1da1f2; }
.share-btn--linkedin { background-color: #0077b5; }

/* Author box */
.author-box {
  display: flex;
  gap: 20px;
  padding: 30px;
  background-color: var(--color-light-gray);
  border-radius: 14px;
  margin: 30px 0;
}

.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box h5 {
  margin-bottom: 8px;
}

.author-box p {
  font-size: 14px;
}

/* Comments */
.comments-section {
  margin-top: 40px;
}

.comments-section h3 {
  margin-bottom: 24px;
}

.comment-form .form-group {
  margin-bottom: 16px;
}

.comment-form .btn {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .single-post-header h1 {
    font-size: 28px;
  }

  .article-featured-image img {
    height: 250px;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .share-buttons {
    flex-wrap: wrap;
  }
}

/* --- Team Page --- */

.team-section {
  padding: 5em 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}

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

.team-card:hover img {
  transform: scale(1.05);
}

.team-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--color-white);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-info {
  transform: translateY(0);
}

.team-card-info h5 {
  color: var(--color-white);
  margin-bottom: 4px;
}

.team-card-info p {
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* Mission / Vision cards */
.mission-card {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-accent-yellow);
  border-radius: var(--border-radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mission-card h5 {
  color: var(--color-accent-yellow);
  margin-bottom: 8px;
}

.mission-card:nth-child(2) {
  border-left-color: var(--color-accent-green);
}

.mission-card:nth-child(2) h5 {
  color: var(--color-accent-green);
}

/* --- 404 Page --- */

.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10em 0 5em;
  background-color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.error-content {
  max-width: 500px;
  background-color: var(--color-white);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.error-content h1 {
  font-size: 72px;
  color: var(--color-accent-green);
  margin-bottom: 16px;
}

.error-content p {
  margin-bottom: 24px;
}

/* --- CTA Join Team Section (team page) --- */

.join-section {
  padding: 5em 0;
  text-align: center;
}

.join-section h6 {
  margin-bottom: 10px;
}

.join-section h2 {
  margin-bottom: 16px;
}

.join-section p {
  max-width: 600px;
  margin: 0 auto 24px;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

/* --- Playground Page (repurposed blog) --- */

.playground-section {
  padding: 3em 0 5em;
}

.playground-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.playground-card {
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.playground-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.playground-card-icon {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.playground-card-content {
  padding: 20px;
}

.playground-card-content h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.playground-card-content p {
  font-size: 14px;
}

@media (max-width: 1024px) {
  .playground-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .playground-grid {
    grid-template-columns: 1fr;
  }
}
