/* palette: walnut-teal */
:root {
  --primary-color: #3E2010;
  --secondary-color: #5C3018;
  --accent-color: #00695C;
  --background-color: #FAF3EC;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 0px; 
  --radius-md: 0px; 
  --radius-lg: 0px; 
  --radius-xl: 0px;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Noto Sans', sans-serif;
}

/* GENERAL RESETS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: var(--primary-color);
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
}

/* NEO-BRUTAL PRESET LITERAL RULES */
section{padding:40px 16px;margin:0} 
@media(min-width:1024px){section{padding:48px 24px}} 
.card,.btn{border:3px solid var(--primary-color);box-shadow:6px 6px 0 var(--primary-color);border-radius:0} 
.btn:hover{transform:translate(2px,2px);box-shadow:3px 3px 0 var(--primary-color)} 
h1,h2,h3{text-transform:uppercase;letter-spacing:0.04em;line-height:1.0} 
section+section{border-top:4px solid var(--primary-color)}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff !important;
  border-color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: #fff !important;
  border-color: #fff;
}

/* HEADER STYLE (CSS-only burger) */
header {
  background-color: var(--background-color);
  border-bottom: 4px solid var(--primary-color);
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger-btn .bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Mobile Nav Hide/Show */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-color);
  border-bottom: 4px solid var(--primary-color);
  z-index: 999;
  padding: 24px;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  text-decoration: none;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    border: none;
    padding: 0;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* HERO SECTION (floating-cards) */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 4px solid var(--primary-color);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px;
  text-align: center;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-subtitle {
  max-width: 700px;
  margin: 0 auto 32px;
  color: #FAF3EC;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

/* Floating Cards in Hero */
.floating-cards-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}

.floating-card {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 24px;
  max-width: 320px;
  text-align: left;
}

.floating-card h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -2deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--rot, -2deg) + 1deg)); }
}

@media (min-width: 1024px) {
  .floating-cards-container {
    flex-direction: row;
    position: relative;
    height: 250px;
    margin-top: 64px;
  }
  .floating-card {
    position: absolute;
    width: 320px;
    animation: float 4s ease-in-out infinite;
  }
  .floating-card:nth-child(1) { left: 5%; top: 20px; }
  .floating-card:nth-child(2) { transform: translateX(-50%); top: 50px; animation-delay: 0.5s; }
  .floating-card:nth-child(3) { right: 5%; top: 10px; animation-delay: 1s; }
}

/* TIMELINE SECTION */
.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  background-color: #ffffff;
  padding: 24px;
  margin-bottom: 32px;
}

.timeline-badge {
  position: absolute;
  left: -48px;
  top: 20px;
  width: 32px;
  height: 32px;
  background-color: var(--accent-color);
  color: #ffffff;
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-wrapper {
    padding-left: 0;
  }
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    width: 45%;
    margin-left: 0;
    margin-right: auto;
  }
  .timeline-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
  }
  .timeline-badge {
    left: auto;
    right: -48px;
  }
  .timeline-item:nth-child(even) .timeline-badge {
    right: auto;
    left: -48px;
  }
}

/* ABOUT SECTION */
.about-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.about-list li span {
  font-size: 1.25rem;
}

/* LIFESTYLE CARDS */
.lifestyle-card {
  background-color: #ffffff;
  padding: 28px;
}

.lifestyle-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* TESTIMONIALS WALL */
.testimonial-wall {
  column-count: 1;
  column-gap: 24px;
}

@media (min-width: 768px) {
  .testimonial-wall {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .testimonial-wall {
    column-count: 3;
  }
}

.testimonial-item {
  break-inside: avoid;
  background-color: #ffffff;
  padding: 24px;
  margin-bottom: 24px;
  display: inline-block;
  width: 100%;
}

.testimonial-item .stars {
  color: #FFB300;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.testimonial-item .quote {
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-item .author {
  font-weight: 700;
  font-size: 0.9rem;
}

/* GRADIENT STATS STRIP WITH @PROPERTY */
@property --count { syntax:'<integer>'; initial-value:0; inherits:false; }

.stat-num {
  --target: 80;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view(); 
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}
.stat-num::after { content: counter(n); }

@keyframes count-up { 
  from{--count:0} 
  to{--count:var(--target)} 
}

.stats-strip-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #FAF3EC;
}

.stats-strip-section .stats-num {
  color: #ffffff;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
}

.stats-strip-section .stats-label {
  color: #FAF3EC;
  font-size: 0.95rem;
}

/* CONTACT + FAQ */
.contact-details, .contact-form-wrapper {
  background-color: #ffffff;
  padding: 32px;
}

.contact-form-wrapper input, .contact-form-wrapper textarea {
  background-color: var(--background-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  padding: 24px;
}

/* FOOTER */
footer {
  background-color: var(--primary-color);
  color: #FAF3EC;
  padding: 48px 16px;
  border-top: 4px solid var(--primary-color);
}

footer a {
  color: #FAF3EC;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer img[alt="logo"] { 
  filter: brightness(0) invert(1); 
  max-height: 40px;
}

/* SCROLL REVEAL SECTION 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%;
}