:root {
  --color-primary: #254F22;
  --color-secondary: #A03A13;
  --color-accent: #F5824A;
  --color-surface: #EDE4C2;
  --color-surface-strong: #f7f2de;
  --color-text: #1f2a1f;
  --color-white: #ffffff;
  --font-primary: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Trebuchet MS", "Arial Black", Arial, sans-serif;
  --shadow-soft: 0 10px 25px rgba(37, 79, 34, 0.12);
  --shadow-strong: 0 14px 30px rgba(37, 79, 34, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-surface-strong), var(--color-surface));
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-primary);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(237, 228, 194, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.top-header,
.main-header,
main,
footer {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.top-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: 0.9rem;
  padding: var(--space-2) 0;
}

.top-header p {
  margin: 0;
}

.main-header {
  display: flex;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

nav a {
  font-weight: 600;
  display: inline-block;
}

nav a:hover,
nav a:focus-visible {
  transform: translateY(-2px);
}

main {
  padding: var(--space-6) 0;
  display: grid;
  gap: var(--space-6);
}

section,
article {
  scroll-margin-top: 130px;
}

.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  background: linear-gradient(rgba(37, 79, 34, 0.75), rgba(37, 79, 34, 0.66)), url("../images/4.jpg") center/cover no-repeat;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  padding: var(--space-7) var(--space-5);
  box-shadow: var(--shadow-strong);
}

.hero h1 {
  margin-top: 0;
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--color-white);
}

.hero p {
  max-width: 700px;
  font-size: 1.1rem;
  margin-bottom: var(--space-4);
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.button:hover,
.button:focus-visible,
button:hover,
button:focus-visible {
  transform: translateY(-2px);
  background: var(--color-secondary);
  box-shadow: var(--shadow-soft);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-primary);
}

h2 {
  margin-bottom: var(--space-4);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.card,
.faq-item,
.policy article,
.page-intro article,
.planner-card,
.season-panel {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.faq-item:hover,
.policy article:hover,
.page-intro article:hover,
.season-panel:hover,
.planner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse>* {
  direction: ltr;
}

figure {
  margin: 0;
}

img,
iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

ul {
  margin: var(--space-3) 0 0;
  padding-left: 1.2rem;
}

#disclaimer {
  background: rgba(160, 58, 19, 0.12);
  border-left: 5px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}

.seasonal-tabs {
  display: grid;
  gap: var(--space-3);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tab-btn {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid rgba(37, 79, 34, 0.2);
}

.tab-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.tab-panels {
  display: grid;
}

.season-panel {
  display: none;
}

.season-panel.active {
  display: block;
  animation: fadeUp 0.45s ease;
}

.planner-card {
  display: grid;
  gap: var(--space-2);
}

input[type="range"] {
  accent-color: var(--color-primary);
}

.contact-form {
  background: var(--color-white);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: var(--space-1);
}

label {
  font-weight: 600;
  margin-top: var(--space-2);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(37, 79, 34, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  font: inherit;
  background: #fffdf7;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: transparent;
}

.checkbox-row {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-weight: 500;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
}

.error {
  min-height: 1.2rem;
  margin: 0;
  color: var(--color-secondary);
  font-size: 0.9rem;
}

.form-status {
  font-weight: 600;
  color: var(--color-primary);
}

.cookie-banner {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  width: min(390px, 92vw);
  background: var(--color-white);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  z-index: 1200;
}

.cookie-banner h2 {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.cookie-options {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.policy {
  display: grid;
  gap: var(--space-4);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  padding: var(--space-4) 0 var(--space-6);
  text-align: center;
  font-size: 0.93rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {

  .top-header,
  .main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    gap: var(--space-2);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh;
    padding: var(--space-6) var(--space-4);
  }

  .cookie-banner {
    left: var(--space-3);
    right: var(--space-3);
    width: auto;
  }
}