/* Hoa Tam Page Styles */

/* Hero Section */
.hoa-tam-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 0;
  width: 100%;
  padding: 4rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #2f4f6f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  max-width: 100%;
  max-height: 100%;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-quote {
  margin: 0;
}

.main-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.main-quote p {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  color: white;
  letter-spacing: -0.02em;
}

.main-quote cite {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: normal;
  display: block;
  opacity: 0.95;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  color: white;
}

.hero-description {
  max-width: 800px;
  width: fit-content;
  margin: 0;
}

.hero-description-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 500;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-cta {
  margin-top: 2rem;
}

/* Hero Buttons Container */
.hero-buttons-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  max-width: 1000px;
  width: 100%;
  flex-wrap: wrap;
  margin: 1rem 0 0 0;
}

.cta-button,
.hero-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.15rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.cta-button {
  order: 2;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(238, 90, 111, 0.4);
  animation-delay: 0.2s;
  animation: fadeInUp 0.6s ease-out 0.2s forwards, pulse-glow 2s ease-in-out infinite 1s, float-up-down 3s ease-in-out infinite 1.2s;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(238, 90, 111, 0.6);
  background: linear-gradient(135deg, #ff7979 0%, #ff6b6b 100%);
}

.cta-button:active {
  transform: translateY(-2px) scale(1);
}

/* Hero Secondary Buttons */
.hero-secondary-button {
  background: linear-gradient(135deg, var(--nav-bg) 0%, var(--nav-bg-light) 100%);
  color: white;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(90, 135, 168, 0.4);
}

.hero-button-left {
  order: 1;
  animation-delay: 0s;
  animation: fadeInUp 0.6s ease-out 0s forwards, float-up-down 3s ease-in-out infinite 0.8s;
}

.hero-button-right {
  order: 3;
  animation-delay: 0.4s;
  animation: fadeInUp 0.6s ease-out 0.4s forwards, float-up-down 3s ease-in-out infinite 1.6s;
}

.hero-secondary-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-secondary-button:hover::before {
  width: 300px;
  height: 300px;
}

.hero-secondary-button:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(26, 74, 125, 0.5);
  background: linear-gradient(135deg, var(--nav-bg-light) 0%, var(--nav-bg) 100%);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-secondary-button:active {
  transform: translateY(-1px) scale(1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(238, 90, 111, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(238, 90, 111, 0.6), 0 0 20px rgba(238, 90, 111, 0.3);
  }
}

@keyframes float-up-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.cta-icon,
.button-icon {
  font-size: 1.4rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon,
.hero-secondary-button:hover .button-icon {
  transform: scale(1.15) rotate(5deg);
}

.cta-text,
.button-text {
  display: inline-block;
  white-space: nowrap;
}

/* Description Section */
.hoa-tam-description {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e5e7eb;
}

.description-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.description-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #2f4f6f;
  font-weight: 500;
  margin: 0;
  padding: 0 2rem;
}

/* Content Section */
.content-section {
  padding: 4rem 0;
  background: #ffffff;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-article {
  background: white;
}

.article-section {
  margin-bottom: 3rem;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-section h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #5a87a8;
}

.article-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
}

.article-text p {
  margin-bottom: 1.5rem;
}

.article-text p:last-child {
  margin-bottom: 0;
}

/* Activity Cards */
.activity-card {
  background: #f8fafc;
  border-left: 4px solid #5a87a8;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.activity-card:hover {
  background: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.activity-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 0.75rem;
}

.activity-card p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #374151;
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #5a87a8;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Related Activities Section */
.related-activities {
  padding: 4rem 0;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.related-activities h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 2rem;
  text-align: center;
}

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

.related-card {
  display: block;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.related-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #5a87a8;
}

.related-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.related-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.related-card p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hoa-tam-hero {
    min-height: 80vh;
    padding: 3rem 0;
  }

  .hero-content {
    padding: 1rem;
    gap: 1.1rem;
  }

  .hero-quote {
    margin: 0;
  }

  .main-quote p {
    font-size: 2rem;
    margin-bottom: 0.4rem;
  }

  .main-quote cite {
    font-size: 1rem;
  }

  .hero-description-text {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .hero-buttons-container {
    flex-direction: column;
    gap: 1.25rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  .hero-secondary-button,
  .cta-button {
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-width: auto;
  }

  .cta-button {
    font-size: 1.05rem;
  }

  .article-section h2 {
    font-size: 1.6rem;
  }

  .article-text {
    font-size: 1rem;
  }

  .related-activities {
    padding: 3rem 0;
  }

  .related-activities h2 {
    font-size: 1.6rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .related-card {
    padding: 1.5rem;
  }
}

@media (max-width: 720px) {
  .hoa-tam-hero {
    min-height: 70vh;
    min-height: 70dvh;
    padding: 2rem 0;
  }

  .hero-background {
    background: #2f4f6f;
  }

  .hero-image {
    object-fit: cover;
    object-position: center;
  }

  .hero-content {
    padding: 1rem 0.75rem;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-quote {
    margin: 0;
    width: 100%;
    padding: 0 0.5rem;
  }

  .main-quote {
    width: 100%;
  }

  .main-quote p {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    padding: 0 0.5rem;
    word-wrap: break-word;
  }

  .main-quote cite {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .hero-description {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .hero-description-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    word-wrap: break-word;
  }

  .hero-buttons-container {
    flex-direction: column;
    gap: 1rem;
    margin: 0.75rem 0 0 0;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .hero-secondary-button,
  .cta-button {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    gap: 0.75rem;
    flex: none;
    touch-action: manipulation;
  }

  .cta-button {
    font-size: 1rem;
    padding: 1.1rem 1.5rem;
  }

  .cta-icon,
  .button-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
  }

  .cta-text,
  .button-text {
    white-space: normal;
    text-align: center;
    flex: 1;
  }

  .content-section {
    padding: 2.5rem 0;
  }

  .article-section h2 {
    font-size: 1.3rem;
  }

  .related-activities {
    padding: 2rem 0;
  }

  .related-activities h2 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    padding: 0 1rem;
  }

  .related-grid {
    gap: 1rem;
    padding: 0 1rem;
  }

  .related-card {
    padding: 1.25rem;
  }

  .related-icon {
    font-size: 2rem;
  }

  .related-card h3 {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .related-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hoa-tam-hero {
    min-height: 60vh;
    min-height: 60dvh;
    padding: 1.5rem 0;
  }

  .hero-content {
    padding: 0.75rem 0.5rem;
    gap: 0.9rem;
  }

  .main-quote p {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    padding: 0 0.5rem;
    line-height: 1.3;
  }

  .main-quote cite {
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }

  .hero-description {
    padding: 0 0.75rem;
  }

  .hero-description-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-buttons-container {
    padding: 0 0.75rem;
    gap: 0.875rem;
  }

  .hero-secondary-button,
  .cta-button {
    padding: 0.9rem 1.25rem;
    font-size: 0.9rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }

  .cta-icon,
  .button-icon {
    font-size: 1.2rem;
  }
}

