:root {
  --tcc-red: #a81919;
  --tcc-red-dark: #8a1414;
  --tcc-red-light: #c42020;
  --tcc-gold: #ccad5a;
  --tcc-gold-light: #d9c07a;
  --tcc-gold-dark: #b89940;
  --text-dark: #212121;
  --text-body: #1f1f1f;
  --text-muted: #666;
  --white: #fff;
  --light-bg: #f8f8f8;
  --border-light: #e2e2e2;
  --shadow: 0 1px 4px rgba(226, 226, 226, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--light-bg);
}

a {
  color: var(--tcc-red);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--tcc-red-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Images */
img[src*="Slider"] {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.content-box img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1rem 0;
}

.welcome-image {
  max-width: 480px;
  width: 100%;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .welcome-image {
    max-width: 350px;
    margin: 1rem auto;
  }
}

@media (max-width: 480px) {
  .welcome-image {
    max-width: 100%;
    margin: 0.75rem 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  transition: background 0.4s ease;
}

.navbar.scrolled {
  background: var(--tcc-red);
}

.navbar.scrolled .nav-menu a {
  color: var(--white);
}

.navbar.scrolled .nav-menu a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  position: relative;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 2px solid var(--text-dark);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1;
}

.mobile-toggle.active {
  border-color: var(--tcc-red);
  color: var(--tcc-red);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  font-size: 15px;
  font-weight: 400;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--tcc-red);
  color: var(--white);
  text-decoration: none;
}

.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--tcc-red);
  list-style: none;
  min-width: 220px;
  z-index: 200;
  border-radius: 0 0 4px 4px;
}

.nav-menu > li:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--tcc-red);
  color: var(--white);
}

/* ===== HERO / SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--tcc-red);
  width: 100%;
}

.hero-slider,
.slider-track,
.slide,
.slide-bg {
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  max-height: 500px;
  background: linear-gradient(135deg, var(--tcc-red) 0%, var(--tcc-red-dark) 100%);
  color: var(--white);
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.6;
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 3rem;
  max-width: 600px;
  width: 100%;
}

.slide-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.slide-content p {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.slide-content .btn {
  background: var(--tcc-gold);
  color: var(--text-dark);
  padding: 8px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.slide-content .btn:hover {
  background: var(--tcc-gold-light);
  text-decoration: none;
}

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dot.active {
  background: var(--white);
}

/* ===== MAIN LAYOUT ===== */
.page-body {
  padding: 30px 0;
}

.row {
  display: flex;
  gap: 30px;
}

.col-main {
  flex: 1;
  min-width: 0;
}

.col-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.content-box {
  background: var(--white);
  padding: 28px 30px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.content-box h1,
.content-box h2 {
  margin-bottom: 0.75rem;
}

.content-box h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--tcc-red);
}

.content-box p {
  margin-bottom: 0.8rem;
}

.content-box ul,
.content-box ol {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.content-box li {
  margin-bottom: 0.4rem;
}

.content-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.content-box th,
.content-box td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.content-box th {
  background: var(--light-bg);
  font-weight: 600;
}

/* ===== SIDEBAR ===== */
.sidebar-box {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  overflow: hidden;
}

.sidebar-box h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--light-bg);
  border-radius: 4px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--tcc-red);
  color: var(--white);
  text-decoration: none;
}

.social-icons img {
  vertical-align: middle;
}

/* ===== ACCORDION ===== */
.accordion {
  list-style: none;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

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

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  color: var(--tcc-red);
  background: var(--white);
  transition: background 0.15s;
  user-select: none;
}

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

.accordion-arrow {
  font-size: 10px;
  transition: transform 0.2s;
  color: var(--text-muted);
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 20px 16px;
  font-size: 13px;
  line-height: 1.7;
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-body a {
  color: var(--tcc-red);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--tcc-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--tcc-red-dark);
  color: var(--white);
}

.btn-gold {
  background: var(--tcc-gold);
  color: var(--text-dark);
}

.btn-gold:hover {
  background: var(--tcc-gold-dark);
  color: var(--white);
}

/* ===== CARDS GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 1.25rem 0;
}

.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--tcc-red), var(--tcc-red-dark));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .card-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .card-image {
    height: 160px;
  }
}

.card-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tcc-gold);
  z-index: 1;
}

.card-body {
  padding: 16px 18px;
}

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-dark);
}

.card-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-body .btn {
  font-size: 12px;
  padding: 6px 16px;
}

/* ===== EVENT LIST ===== */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

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

.event-date {
  font-weight: 600;
  color: var(--tcc-red);
  white-space: nowrap;
  min-width: 100px;
}

.event-title a {
  color: var(--text-dark);
}

.event-title a:hover {
  color: var(--tcc-red);
}

.event-time {
  color: var(--text-muted);
  font-size: 12px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--tcc-red);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  margin: 0 6px;
  color: var(--border-light);
}

/* ===== BOTTOM BAR / FOOTER ===== */
.bottom-bar {
  background: var(--tcc-gold);
  color: var(--text-body);
  padding: 28px 0 20px;
}

.bottom-bar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.bottom-bar a {
  color: var(--text-dark);
}

.bottom-bar a:hover {
  color: var(--tcc-red);
}

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

.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 14px 0;
  font-size: 13px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: var(--white);
}

/* ===== CONTACT INFO ===== */
.contact-box {
  background: var(--light-bg);
  padding: 20px;
  border-radius: 4px;
  border-left: 4px solid var(--tcc-red);
}

.contact-box p {
  margin-bottom: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .row {
    flex-direction: column;
  }

  .col-sidebar {
    width: 100%;
  }

  .bottom-grid {
    grid-template-columns: 1fr 1fr;
  }

  .slide-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .navbar-inner {
    min-height: 60px;
    padding-right: 60px;
  }

  .site-logo {
    max-width: calc(100% - 60px);
  }

  .site-logo img {
    height: 40px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    overflow-y: auto;
    padding: 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li {
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu a {
    padding: 14px 20px;
  }

  .nav-menu .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    background: var(--light-bg);
    display: none;
    padding-left: 0;
  }

  .nav-menu .dropdown-menu a {
    padding: 12px 30px;
  }

  .nav-menu > li:hover > .dropdown-menu,
  .nav-menu > li.open > .dropdown-menu {
    display: block;
  }

  .has-dropdown > a::after {
    content: " ▼";
    font-size: 10px;
  }

  .has-dropdown.open > a::after {
    content: " ▲";
  }

  .slide {
    min-height: 280px;
    max-height: 300px;
  }

  .slide-bg {
    background-position: center center;
  }

  .slide-content {
    padding: 1.5rem 2rem;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.95rem;
  }

  .slide-content .btn {
    padding: 6px 16px;
    font-size: 13px;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .navbar.scrolled .mobile-toggle {
    color: var(--white);
    border-color: var(--white);
  }

  .page-body {
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .slide {
    min-height: 200px;
    max-height: 220px;
  }

  .slide-content {
    padding: 1rem 1.25rem;
  }

  .slide-content h2 {
    font-size: 1.25rem;
  }

  .slide-content p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .slide-content .btn {
    padding: 5px 12px;
    font-size: 12px;
  }

  .slider-dots {
    bottom: 0.5rem;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .content-box {
    padding: 18px 16px;
  }

  .nav-menu a {
    padding: 12px 16px;
  }
}
