/* === Custom Properties === */
:root {
  --color-bg: #ffffff;
  --color-accent: #dc4029;
  --color-accent-hover: #48b5b1;
  --color-text: #000000;
  --color-nav-text: #1a1a1a;
  --color-footer-bg: #dc4029;
  --color-footer-text: #ffffff;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

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

ul {
  list-style: disc;
  padding-left: 1.5em;
}

/* === Skip to Content === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5em 1em;
  z-index: 1000;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* === Header === */
.site-header {
  background: var(--color-bg);
}

/* === Navigation === */
.site-nav {
  background: var(--color-bg);
  position: relative;
  border-bottom: 1px solid #eee;
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  list-style: none;
  padding: 0;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid #eee;
  z-index: 100;
}

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

.nav-menu > li {
  border-top: 1px solid #f0f0f0;
}

.nav-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-nav-text);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--color-accent);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  list-style: none;
  padding: 0;
  display: none;
  background: var(--color-bg);
}

.has-dropdown.is-open > .dropdown {
  display: block;
}

.dropdown a {
  padding-left: 2.5rem;
  font-size: 0.75rem;
  text-transform: none;
}

/* === Logo === */
.site-logo {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.site-logo img {
  margin: 0 auto;
  max-width: 400px;
  width: 100%;
}

/* === Main Content === */
.site-main {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.3;
}

.entry-title {
  text-transform: uppercase;
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-align: center;
}

h2 {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
}

/* === Entry Image === */
.entry-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.entry-image img {
  margin: 0 auto;
  max-width: 520px;
  width: 100%;
}

/* === Home Page === */
.home-heading {
  color: var(--color-accent);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 1.5rem 0;
  line-height: 1.6;
}

/* === Contact Info Block === */
.contact-info-accent {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* === Contact Form === */
.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 400;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

.cf-turnstile {
  margin: 1.25rem 0;
}

.form-submit {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.form-submit:hover {
  background: var(--color-accent-hover);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 3px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}

.form-message.error {
  display: block;
  background: #ffebee;
  color: #c62828;
}

/* === Legal Pages === */
.legal-content h3 {
  margin-top: 2rem;
}

.legal-content p {
  margin-bottom: 0.75rem;
}

/* === Footer === */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-nav-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  color: var(--color-footer-text);
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
}

.footer-nav-col li {
  margin-bottom: 0.4rem;
}

.footer-nav-col a {
  color: var(--color-footer-text);
  font-size: 0.85rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-nav-col a:hover {
  opacity: 1;
  color: var(--color-footer-text);
}

.footer-copyright {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* === Desktop === */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-inner {
    justify-content: center;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    border-bottom: none;
    gap: 0;
  }

  .nav-menu > li {
    border-top: none;
  }

  .nav-menu a {
    padding: 1rem 1.1rem;
  }

  /* Desktop dropdown */
  .has-dropdown:hover > .dropdown {
    display: block;
  }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-bg);
    border: 1px solid #eee;
    z-index: 100;
  }

  .dropdown a {
    padding: 0.6rem 1.2rem;
    font-size: 0.78rem;
  }

  .site-logo img {
    max-width: 520px;
  }

  .site-main {
    padding: 2rem 1.5rem 4rem;
  }

  .footer-nav {
    justify-content: center;
  }
}

/* === Focus Styles === */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent-hover);
  outline-offset: 2px;
}

input:focus,
textarea:focus {
  outline-offset: 0;
}
