:root {
  --primary-color: #30565f;
  --accent-color: #11aabb;
  --text-light: #f0f2f5; /* A slightly softer white */
  --text-dark: #2c3e50;
  --text-orange: #e87e04;
  --bg-highlight: #ffffff; /* The highlight color is now white */
  --border-color: #4a6c75; /* A lighter shade of the primary color */
}

/* --- Global Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background-color: var(--primary-color);
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* --- Full-Width Layout --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

img,
iframe {
  border-radius: 12px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.4rem;
}
h3 {
  font-size: 1.8rem;
  color: var(--accent-color);
}
p {
  margin-bottom: 1.5rem;
  text-align: justify;
}
a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
}
hr {
  border: none;
  height: 1px;
  background-color: var(--border-color);
  margin: 4rem auto;
}

/* --- Highlight Section (White Band) --- */
.section-highlight {
  background-color: var(--bg-highlight);
  color: var(--text-dark);
}
.section-highlight h1,
.section-highlight h2,
.section-highlight h3 {
  color: var(--primary-color);
}
.section-highlight a {
  color: var(--accent-color);
}

/* --- Split Section (Image + Text) --- */
.split-section {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.split-section .image-column {
  flex: 1;
}
.split-section .text-column {
  flex: 1.5; /* Give text a bit more space */
}
.split-section img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* --- Header & Footer --- */
.page-header {
  position: relative; /* Needed for absolute positioning of the back button */
  text-align: center;
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
}
.page-header img {
  max-width: 100%;
  max-height: 120px;
}
.back-to-site-btn {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.back-to-site-btn:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  text-decoration: none;
}

.page-footer {
  text-align: center;
  background-color: var(--bg-highlight);
  color: var(--primary-color);
}
.footer-image {
  width: 100%;
  display: block;
}

/* --- Buttons --- */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}
.btn {
  background-color: var(--accent-color);
  color: var(--text-light) !important;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.btn-dark {
  background-color: var(--primary-color);
  color: var(--text-light) !important;
}

/* --- Specific Components --- */
.main-banner {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  display: block;
}

/* Cleanup old structural classes */
.container > .content-wrapper,
.main-column,
.sidebar,
.sidebar-inner,
.main-header,
.main-footer {
  all: unset;
  display: contents;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .back-to-site-btn {
    display: none; /* Hides the button on smaller screens to avoid clutter */
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .container {
    padding: 3rem 1.5rem;
  }
  .split-section {
    flex-direction: column;
    gap: 2rem;
  }
}
