/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #222;
  line-height: 1.6;
}

/* Flag Bar (Optional Top Accent) */
.flag-bar {
  height: 10px;
  background: linear-gradient(to right, #000 33.33%, #dd0000 33.33% 66.66%, #ffcc00 66.66%);
}

/* Container Wrappers */
.full-width {
  width: 100%;
}

.wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Navigation */
nav {
  background-color: #000;
  padding: 1rem 0;
}

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

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a[aria-current="page"] {
  color: #ffcc00;
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)),
    url('https://images.unsplash.com/photo-1581091012184-80b0a17b9f06?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero h1 {
  font-size: 2.8rem;
  color: #000;
  margin-bottom: 1rem;
  border-bottom: 4px solid #ffcc00;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
  color: #333;
}

/* Headings */
h2, h3, h4 {
  color: #000;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 3px solid #dd0000;
  display: inline-block;
}

/* Buttons */
.button,
.button-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-weight: bold;
}

/* Red solid button */
.button {
  background-color: #dd0000;
  color: white;
  border: none;
}

.button:hover {
  background-color: #aa0000;
  transform: translateY(-2px);
}

/* Gold outlined button */
.button-outline {
  border: 2px solid #ffcc00;
  color: #ffcc00;
  background: transparent;
}

.button-outline:hover {
  background-color: #ffcc00;
  color: #000;
  transform: translateY(-2px);
}

/* Sections & Content */
main {
  text-align: center;
}

main p {
  margin-bottom: 1.5rem;
}

section {
  margin-bottom: 3rem;
}

/* Lists */
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

ul li::before {
  content: "🟡";
  margin-right: 0.5rem;
}

/* Cards (for guides/resources) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  border-left: 6px solid #dd0000;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  text-align: left;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #000;
}

.card p {
  font-size: 0.95rem;
  color: #444;
}

.card a {
  color: #dd0000;
  font-weight: bold;
  text-decoration: none;
}

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

/* Footer */
footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

footer a {
  color: #ffcc00;
  text-decoration: underline;
}

.link-footer {
  margin-top: 3rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}
