/* File: /assets/css/style.css */

/* CSS Variables */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --light-bg: #f8f9fa;
  --dark-bg: #343a40;
  --text-color: #212529;
  --header-height: 220px;
}

/* Reset & Base Typography */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  background-color: #fff;
  margin: 0;
}
a {
  color: var(--primary-color);
  text-decoration: none;
}
a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Header */
.site-header {
  position: relative;
  height: var(--header-height);
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}
.site-header .overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.4);
}
.site-header .header-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-title {
  font-size: 1.75rem;
  color: #fff;
  margin: 0;
}
.site-contact {
  text-align: right;
}
.site-contact a {
  color: #fff;
  display: block;
  line-height: 1.2;
}

/* Navigation */
.navbar-custom {
  background-color: var(--dark-bg);
}
.navbar-custom .navbar-nav .nav-link {
  color: #fff;
  padding: 0.75rem 1rem;
}
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .active > .nav-link {
  color: var(--primary-color);
}

/* Main Content */
main.container {
  flex: 1;
  padding-bottom: 2rem;
}

/* Article Cards */
.card {
  border: none;
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
}
.card-img-top {
  object-fit: cover;
  height: 180px;
}

/* Footer */
.site-footer {
  background-color: var(--dark-bg);
  color: #ccc;
  padding: 2rem 0;
  margin-top: auto;
}
.site-footer a {
  color: var(--primary-color);
}
.site-footer .footer-info {
  text-align: center;
  margin-bottom: 0.5rem;
}
.site-footer .footer-copy {
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  :root {
    --header-height: 160px;
  }
  .site-title {
    font-size: 1.5rem;
  }
  .site-contact {
    font-size: 0.9rem;
  }
  .card-img-top {
    height: 140px;
  }
}
