/*
Theme Name: Thủy Châu Ecopark
Theme URI: https://thuychauecopark.vn
Description: Giao diện Du lịch sinh thái Thủy Châu — địa điểm dã ngoại, tắm suối thác, hồ bơi tại Bình Dương.
Author: Thủy Châu
Version: 1.0.0
Template: flatsome
Text Domain: thuychau
*/

:root {
  color-scheme: light;
  --tc-primary: #023a6e;   /* xanh đậm brand */
  --tc-blue:    #007aff;   /* xanh nhấn */
  --tc-yellow:  #ffcc00;   /* vàng badge */
  --tc-gray:    #f7f7f7;   /* nền xám nhạt */
  --tc-text:    #2b2b2b;
}

html, body { background: #ffffff !important; }
body {
  font-family: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--tc-text);
}

/* ================= HEADER ================= */
.tc-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.tc-header-inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.tc-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.tc-logo img { height: 54px; width: auto; display: block; }
.tc-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.tc-logo-text b { color: var(--tc-primary); font-size: 18px; font-weight: 700; }
.tc-logo-text span { color: #6b7280; font-size: 12px; }
.tc-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tc-nav a {
  color: var(--tc-primary); font-weight: 600; font-size: 15px;
  text-decoration: none; padding: 8px 12px; border-radius: 4px; transition: .18s;
}
.tc-nav a:hover, .tc-nav a.current { background: var(--tc-primary); color: #fff; }
.tc-header-hotline {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  color: var(--tc-blue); font-weight: 700; font-size: 16px; text-decoration: none;
}
.tc-header-hotline .tc-ico { font-size: 18px; }
.tc-burger { display: none; background: none; border: 0; font-size: 28px; color: var(--tc-primary); cursor: pointer; }

@media (max-width: 900px) {
  .tc-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px;
    border-bottom: 1px solid #e6e6e6; box-shadow: 0 8px 16px rgba(0,0,0,.08);
    display: none;
  }
  .tc-nav.open { display: flex; }
  .tc-nav a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid #f0f0f0; }
  .tc-burger { display: block; }
  .tc-header-hotline { display: none; }
}

/* ================= HERO SLIDER ================= */
.tc-slider { position: relative; overflow: hidden; background: #071a2e; }
.tc-slides { position: relative; height: clamp(340px, 52vw, 620px); }
.tc-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.tc-slide.active { opacity: 1; }
.tc-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,26,46,.72) 0%, rgba(2,26,46,.35) 55%, rgba(2,26,46,.15) 100%); }
.tc-slide-caption { position: relative; max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 24px; color: #fff; }
.tc-slide-badge { display: inline-block; background: var(--tc-yellow); color: #1a1a1a; font-weight: 700; font-size: 13px; letter-spacing: .5px; padding: 6px 14px; border-radius: 3px; margin-bottom: 16px; text-transform: uppercase; }
.tc-slide-title { font-size: clamp(24px, 4vw, 46px); font-weight: 800; line-height: 1.15; margin: 0 0 14px; text-shadow: 0 2px 8px rgba(0,0,0,.4); max-width: 720px; }
.tc-slide-sub { font-size: clamp(15px, 2vw, 20px); max-width: 620px; margin: 0 0 22px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.tc-slide-btn { display: inline-block; background: var(--tc-blue); color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 4px; text-decoration: none; transition: .2s; }
.tc-slide-btn:hover { background: #0060cc; transform: translateY(-2px); }
.tc-slider-dots { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; z-index: 5; }
.tc-slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; margin: 0 5px; cursor: pointer; padding: 0; }
.tc-slider-dots button.active { background: #fff; }

/* ================= HOME BLOCKS ================= */
.tc-section { max-width: 1240px; margin: 0 auto; padding: 54px 24px; }
.tc-section h2 { color: var(--tc-primary); font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin: 0 0 18px; }
.tc-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.tc-intro img { width: 100%; border-radius: 8px; box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.tc-intro p { font-size: 16px; line-height: 1.85; color: #3a3a3a; }
@media (max-width: 820px){ .tc-intro { grid-template-columns: 1fr; } }

.tc-gia-ve { position: relative; background-size: cover; background-position: center; color: #fff; }
.tc-gia-ve::before { content:""; position:absolute; inset:0; background: rgba(2,58,110,.82); }
.tc-gia-ve-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 54px 24px; }
.tc-gia-ve h3 { font-size: 30px; font-weight: 800; margin: 0 0 22px; color: var(--tc-yellow); }
.tc-price-list { list-style: none; margin: 0 0 20px; padding: 0; max-width: 640px; }
.tc-price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed rgba(255,255,255,.35); font-size: 17px; }
.tc-price-list li b { color: var(--tc-yellow); font-weight: 700; white-space: nowrap; }
.tc-price-note { font-style: italic; opacity: .9; margin: 0 0 20px; }
.tc-price-list li .free { color: #7CFC9E; }

.tc-info { background: var(--tc-gray); }
.tc-info-inner { max-width: 1240px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.tc-info h3 { color: var(--tc-primary); font-size: 26px; font-weight: 800; margin: 0 0 16px; }
.tc-info p { margin: 6px 0; font-size: 16px; }
.tc-info .tc-ico { color: var(--tc-blue); margin-right: 8px; }
.tc-map-btn { display: inline-block; background: var(--tc-blue); color: #fff; font-weight: 700; padding: 14px 28px; border-radius: 6px; text-decoration: none; white-space: nowrap; transition: .2s; }
.tc-map-btn:hover { background: #0060cc; }
@media (max-width: 720px){ .tc-info-inner { grid-template-columns: 1fr; } }

.tc-schedule { text-align: center; }
.tc-schedule img { max-width: 760px; width: 100%; border-radius: 8px; box-shadow: 0 8px 22px rgba(0,0,0,.14); cursor: zoom-in; }
.tc-schedule .tc-cap { margin-top: 14px; color: #6b7280; font-style: italic; }

.tc-fb { background: var(--tc-gray); }
.tc-fb-inner { max-width: 1240px; margin: 0 auto; padding: 48px 24px; text-align: center; }
.tc-fb h2 { text-align: center; }
.tc-fb iframe { max-width: 500px; width: 100%; border: none; overflow: hidden; }

/* ============ NEWS GRID (khối tin tức cuối trang) ============ */
.tc-news { max-width: 1240px; margin: 0 auto; padding: 54px 24px; }
.tc-news h2 { color: var(--tc-primary); text-align: center; font-size: clamp(22px,3vw,30px); font-weight: 800; margin: 0 0 28px; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { display: block; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.news-thumb { aspect-ratio: 16/10; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #eef1f4; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-thumb .news-noimg { width: auto; height: 52%; object-fit: contain; opacity: .5; }
.news-card-title { font-size: 15px; font-weight: 700; color: var(--tc-primary); margin: 0; padding: 12px 14px 16px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.pagination, .tc-news .page-numbers-wrap { margin-top: 26px; text-align: center; }
.tc-news .page-numbers { display: inline-block; min-width: 38px; padding: 8px 13px; margin: 3px; border-radius: 5px; text-decoration: none; font-weight: 700; border: 1px solid var(--tc-primary); color: var(--tc-primary); }
.tc-news .page-numbers.current { background: var(--tc-primary); color: #fff; }
.tc-news .page-numbers.dots { border-color: transparent; }
@media (max-width: 880px){ .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .news-grid { grid-template-columns: 1fr; } }

/* ================= FOOTER ================= */
.tc-footer { background: var(--tc-primary); color: #dbe6f2; }
.tc-footer-inner { max-width: 1240px; margin: 0 auto; padding: 44px 24px 22px; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.tc-footer h4 { color: #fff; font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.tc-footer a { color: #dbe6f2; text-decoration: none; }
.tc-footer a:hover { color: var(--tc-yellow); }
.tc-footer p { margin: 8px 0; font-size: 14.5px; line-height: 1.6; }
.tc-footer .tc-ico { color: var(--tc-yellow); margin-right: 8px; }
.tc-social { display: flex; gap: 12px; margin-top: 10px; }
.tc-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: .2s; }
.tc-social a:hover { background: var(--tc-yellow); color: var(--tc-primary); }
.tc-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); text-align: center; padding: 16px; font-size: 13.5px; color: #b9cbe0; }
@media (max-width: 720px){ .tc-footer-inner { grid-template-columns: 1fr; text-align: center; } .tc-social { justify-content: center; } }

/* ============ INNER PAGE (trang con) ============ */
.tc-inner { background: #fafafa; padding: 40px 16px 60px; }
.tc-inner-container { max-width: 860px; margin: 0 auto; background: #fff; padding: 44px 52px; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.tc-inner-container h1 { color: var(--tc-primary); font-size: clamp(24px,3.4vw,34px); font-weight: 800; margin: 0 0 8px; }
.tc-inner-container .tc-inner-sub { color: #6b7280; margin: 0 0 26px; border-bottom: 3px solid var(--tc-yellow); padding-bottom: 14px; }
.tc-inner-container h2 { color: var(--tc-primary); font-size: 23px; margin: 32px 0 12px; }
.tc-inner-container h3 { color: var(--tc-blue); font-size: 19px; margin: 24px 0 10px; }
.tc-inner-container p { line-height: 1.85; font-size: 16px; margin: 0 0 16px; color: #333; }
.tc-inner-container ul, .tc-inner-container ol { line-height: 1.85; margin: 0 0 16px 22px; }
.tc-inner-container img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.tc-inner-container table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.tc-inner-container th, .tc-inner-container td { border: 1px solid #e0e0e0; padding: 10px 14px; text-align: left; }
.tc-inner-container th { background: var(--tc-primary); color: #fff; }
.tc-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0; }
.tc-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0; }
@media (max-width: 640px){ .tc-inner-container { padding: 28px 22px; } .tc-gallery { grid-template-columns: repeat(2,1fr); } }

/* scroll top */
.tc-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--tc-primary); color: #fff; display: none; align-items: center; justify-content: center; font-size: 22px; text-decoration: none; z-index: 900; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.tc-top.show { display: flex; }

/* ============ SEO CONTENT BLOCKS (khối nội dung bổ sung trang chủ) ============ */

/* dùng chung */
.tc-sec-sub { font-size: 16px; line-height: 1.8; color: #555; margin: -6px 0 26px; max-width: 900px; }
.tc-note { font-size: 14px; line-height: 1.8; color: #666; font-style: italic; margin: 18px 0 0; }
.tc-note a { color: var(--tc-blue); font-weight: 600; }

/* ----- H1 + mở bài ----- */
.tc-lead { padding-bottom: 10px; }
.tc-lead h1 {
  color: var(--tc-primary);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 800; line-height: 1.3; margin: 0 0 18px;
}
.tc-lead-text { font-size: 16px; line-height: 1.9; color: #3a3a3a; margin: 0 0 14px; }
.tc-lead-text a { color: var(--tc-blue); font-weight: 600; }

/* ----- Điểm nổi bật ----- */
.tc-hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tc-hl-card {
  background: var(--tc-gray); border-radius: 10px; padding: 24px 22px;
  border-top: 4px solid var(--tc-blue); transition: .2s;
}
.tc-hl-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.10); transform: translateY(-3px); }
.tc-hl-card h3 { color: var(--tc-primary); font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.tc-hl-card p { font-size: 15px; line-height: 1.8; color: #4a4a4a; margin: 0; }

/* ----- Bảng giá dịch vụ ----- */
.tc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tc-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.tc-table th, .tc-table td { border: 1px solid #e0e0e0; padding: 12px 16px; text-align: left; font-size: 15px; }
.tc-table th { background: var(--tc-primary); color: #fff; font-weight: 700; }
.tc-table tbody tr:nth-child(even) { background: var(--tc-gray); }
.tc-table td:nth-child(2) { font-weight: 700; color: var(--tc-blue); white-space: nowrap; }

/* ----- Giờ mở cửa ----- */
.tc-hours { max-width: 620px; margin: 0 auto 30px; text-align: left; }
.tc-hours h3 { color: var(--tc-primary); font-size: 19px; font-weight: 700; margin: 0 0 14px; text-align: center; }
.tc-hours-list { list-style: none; margin: 0; padding: 0; }
.tc-hours-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 16px; border-bottom: 1px dashed #dcdcdc; font-size: 16px;
}
.tc-hours-list li:last-child { border-bottom: 0; }
.tc-hours-list b { color: var(--tc-blue); font-weight: 700; white-space: nowrap; }
.tc-hours-list b.tc-closed { color: #b23b3b; }
.tc-hours .tc-note { text-align: left; }

/* ----- Đường đi ----- */
.tc-direction { background: var(--tc-gray); max-width: none; }
.tc-direction > h2, .tc-direction > .tc-sec-sub, .tc-direction > .tc-note,
.tc-direction > .tc-dir-grid { max-width: 1240px; margin-left: auto; margin-right: auto; }
.tc-dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tc-dir-card { background: #fff; border-radius: 10px; padding: 24px 22px; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.tc-dir-card h3 { color: var(--tc-blue); font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.tc-dir-card p { font-size: 15px; line-height: 1.85; color: #4a4a4a; margin: 0; }

/* ----- Kinh nghiệm ----- */
.tc-tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tc-tips-grid h3 { color: var(--tc-blue); font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.tc-tips-grid ul { margin: 0 0 0 20px; padding: 0; }
.tc-tips-grid li { font-size: 15px; line-height: 1.9; color: #4a4a4a; margin-bottom: 8px; }

/* ----- Phù hợp với ai ----- */
.tc-aud-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tc-aud-card { border-left: 4px solid var(--tc-yellow); padding: 6px 0 6px 20px; }
.tc-aud-card h3 { color: var(--tc-primary); font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.tc-aud-card p { font-size: 15px; line-height: 1.85; color: #4a4a4a; margin: 0; }

/* ----- FAQ ----- */
.tc-faq { background: var(--tc-gray); max-width: none; }
.tc-faq > h2, .tc-faq > details { max-width: 900px; margin-left: auto; margin-right: auto; }
.tc-faq > h2 { text-align: center; }
.tc-faq details {
  background: #fff; border-radius: 8px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05); overflow: hidden;
}
.tc-faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative;
  font-size: 16px; font-weight: 700; color: var(--tc-primary); line-height: 1.6;
}
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq summary::after {
  content: "\203A"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%) rotate(90deg); transition: transform .2s;
  font-size: 24px; color: var(--tc-blue); line-height: 1;
}
.tc-faq details[open] summary::after { transform: translateY(-50%) rotate(-90deg); }
.tc-faq summary:hover { background: #f2f7fc; }
.tc-faq details p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.9; color: #4a4a4a; }

/* ----- Liên kết nội bộ ----- */
.tc-il-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tc-il-card {
  display: block; text-decoration: none; padding: 22px 20px;
  border: 1px solid #e6e6e6; border-radius: 10px; transition: .2s;
}
.tc-il-card:hover { border-color: var(--tc-blue); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.tc-il-card h3 { color: var(--tc-primary); font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.tc-il-card p { font-size: 14px; line-height: 1.75; color: #666; margin: 0; }

@media (max-width: 900px) {
  .tc-hl-grid, .tc-dir-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-il-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-tips-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .tc-hl-grid, .tc-dir-grid, .tc-aud-grid, .tc-il-grid { grid-template-columns: 1fr; }
  .tc-hours-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tc-faq summary { font-size: 15px; padding-right: 42px; }
}
