/* palette: sienna-blue */
:root {
  --primary-color: #5C2B0E;
  --secondary-color: #7D3A16;
  --accent-color: #1A3A6B;
  --background-color: #FEF3EC;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: #000000;
  --shadow-sm: 4px 4px 0 #000000;
  --shadow-md: 6px 6px 0 #000000;
  --shadow-lg: 8px 8px 0 #000000;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* @property Declarations for CSS Animations */
@property --count { syntax:'<integer>'; initial-value:0; inherits:false; }
@property --bar { syntax:'<integer>'; initial-value:0; inherits:false; }
@property --deg { syntax:'<integer>'; initial-value:0; inherits:false; }

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Brutalist-Mono Preset Rules (Copied Literally) */
section{padding:48px 16px;margin:0;border-bottom:3px solid #000} @media(min-width:1024px){section{padding:56px 24px}} body{background:#fff;color:#000} .card{border:2px solid #000;border-radius:0;background:#fff;box-shadow:none} h1,h2{text-transform:uppercase;letter-spacing:-0.02em;font-size:clamp(2rem,6vw,4rem)} .btn{background:#000;color:#fff;border-radius:0;border:2px solid #000;font-weight:700;text-transform:uppercase;letter-spacing:0.1em} .section-num,.step-num{font-size:5rem;font-weight:900;color:#F0F0F0;line-height:1;display:block}

/* Section Backgrounds */
.bg-light {
  background-color: var(--background-color);
}

/* Header & Navigation */
.site-header {
  border-bottom: 3px solid #000;
  background: #fff;
  position: relative;
  z-index: 1000;
}
.logo img {
  height: 40px;
  width: auto;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 3px solid #000;
  padding: 24px 16px;
  z-index: 999;
}
.site-nav a {
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.site-nav a:hover {
  color: var(--secondary-color);
}

/* Burger Button CSS-only */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}
.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: #000;
  transition: transform 0.3s, opacity 0.3s;
}
#menu-toggle:checked ~ .site-nav {
  display: block !important;
}
#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    border-bottom: none;
    padding: 0;
  }
}

/* Hero Section (floating-cards) */
.hero-section {
  min-height: 83vh;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 3px solid #000;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.hero-title {
  font-family: var(--main-font);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
}
.hero-subtitle {
  font-family: var(--alt-font);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 700px;
}

/* Floating Cards Styling & Animation */
.floating-cards-container {
  position: relative;
  z-index: 10;
}
.floating-card {
  transition: transform 0.25s, box-shadow 0.25s;
}
.floating-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 4px 4px 0 #000;
}
.floating-card:nth-child(1) {
  --rot: -3deg;
  animation: float 4s ease-in-out infinite;
  animation-delay: 0s;
}
.floating-card:nth-child(2) {
  --rot: 2deg;
  animation: float 4s ease-in-out infinite;
  animation-delay: 0.8s;
}
.floating-card:nth-child(3) {
  --rot: -1deg;
  animation: float 4s ease-in-out infinite;
  animation-delay: 1.6s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(var(--rot));
  }
  50% {
    transform: translateY(-12px) rotate(var(--rot));
  }
}

/* Icons Accent */
.icon-accent {
  color: var(--accent-color);
}

/* Standard Buttons & Brutalist Styling */
.btn {
  padding: 12px 24px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--primary-color);
  border-color: #000;
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 #000;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: #000;
  border-color: #000;
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 #000;
}

/* Timeline Components */
.timeline-dot {
  position: absolute;
  left: -41px;
  top: 6px;
  width: 18px;
  height: 18px;
  background-color: var(--accent-color);
  border: 3px solid #000;
}

/* Progress Bar Component */
.bar-fill {
  --pct: 78;
  width: calc(var(--bar) * 1%);
  animation: fill-bar 1.5s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
  background: var(--accent-color);
  height: 16px;
  border-right: 2px solid #000;
}
@keyframes fill-bar {
  from { --bar: 0; }
  to { --bar: var(--pct); }
}
.bar-track {
  background: var(--background-color);
  border: 2px solid #000;
  overflow: hidden;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
}

/* Scroll Reveal animation */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Card Hover effect */
.card {
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}

/* Form Inputs */
input, textarea {
  font-family: var(--alt-font);
  font-size: 15px;
}
input:focus, textarea:focus {
  outline: 3px solid var(--accent-color);
}

/* Footer Styling */
.site-footer {
  background-color: var(--dark-color);
  border-top: 3px solid #000;
  color: #fff;
}
.site-footer .footer-logo img {
  filter: brightness(0) invert(1);
  height: 40px;
}
.footer-nav a:hover {
  text-decoration: underline;
  color: #fff;
}