/*
--- Zenith Theme ---
Font: Montserrat
Tone: Informative & Straightforward
*/

:root {
  --primary-color: #2c5282; /* Cool Blue */
  --secondary-color: #e2e8f0; /* Light Gray */
  --dark-color: #1a202c; /* Dark Gray / Black */
  --light-color: #ffffff; /* White */
  --text-color: #4a5568; /* Medium Gray for text */
  --link-hover-color: #3182ce; /* Bright Blue for hover */
  --font-family: 'Montserrat', sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s ease;
}

/* --- Base & Typography --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.7;
  color: var(--text-color);
  background-color: #f7fafc;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

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

ul, ol {
    padding-left: 20px;
    margin-bottom: 1rem;
}

/* --- Layout --- */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-header {
  background-color: var(--light-color);
  padding: 1rem 0;
  border-bottom: 1px solid var(--secondary-color);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.site-title a {
    color: var(--primary-color);
}

.site-title a:hover {
    text-decoration: none;
}


.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 700;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-speed), color var(--transition-speed);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--link-hover-color);
  border-bottom-color: var(--link-hover-color);
}

.container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

main {
  width: 100%;
}

.main-footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 2rem 0;
  text-align: center;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--secondary-color);
}

/* --- Components --- */
.hero {
  background-color: var(--light-color);
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.hero h1 {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn:hover {
    background-color: var(--link-hover-color);
    text-decoration: none;
    transform: translateY(-2px);
}

.card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-image {
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-top: 0;
}

.card-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.widget {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.widget-title {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.widget ul {
  list-style: none;
  padding-left: 0;
}

.widget ul li {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.widget ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.widget .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget .logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* --- Article Page Specifics --- */
.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--secondary-color);
  padding-bottom: 1rem;
}

.article-meta {
  color: #718096; /* Gray-500 */
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.article-content {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.article-content img {
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.article-content .cta-section {
    background-color: #ebf8ff; /* Blue-100 */
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* --- Sub Pages (About, Contact, Offers) --- */
.page-header {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 3rem 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--light-color);
    margin: 0;
}

.page-content {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info p {
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--dark-color);
}

/* --- Media Queries (Mobile First) --- */

/* Tablet */
@media (min-width: 768px) {
  .container {
    grid-template-columns: 2fr 1fr;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-content {
      flex-wrap: nowrap;
  }
}
