/* Mountain Medallion - Static Site Styles */

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap');

:root {
  --accent: #7a8f00;
  --accent-hover: #5f7000;
  --secondary: #2d3359;
  --body-color: #999999;
  --bg-dark: #020202;
  --bg-light: #ffffff;
  --navbar-bg: #ffffff;
  --text-light: #ffffff;
  --text-muted: #cccccc;
  --border-color: #d2d2d2;
  --form-text: #47798e;
  --radius: 7px;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(122, 143, 0, 0.25);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body {
  font-family: 'Cabin', sans-serif;
  color: var(--body-color);
  background-color: var(--bg-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.hestia-title,
.card-title,
.info-title {
  font-family: 'Dancing Script', cursive;
  color: var(--secondary);
  line-height: 1.2;
}

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

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

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

/* Layout */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

.col-5 {
  flex: 0 0 41.666%;
  max-width: 41.666%;
  padding: 0 15px;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.col-7 {
  flex: 0 0 58.333%;
  max-width: 58.333%;
  padding: 0 15px;
}

.text-center {
  text-align: center;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-brand img {
  height: 50px;
  width: auto;
  display: block;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 24px;
}

.navbar-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

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

.navbar.scrolled .navbar-nav a {
  color: #555;
}

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

.icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  border-radius: 1px;
  transition: background 0.3s ease;
}

.navbar.scrolled .icon-bar {
  background: #555;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

/* Parallax layers */
.parallax-layers {
  position: absolute;
  inset: -60px;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  z-index: 0;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.layer-bg {
  background: url('images/bg1.jpg') center/cover no-repeat;
}

.layer-fg {
  background: url('images/tree82.png') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.2rem);
  color: var(--text-light);
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .sub-title {
  display: block;
  font-family: 'Cabin', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(122, 143, 0, 0.35);
}

.btn-secondary {
  background: #6c757d;
  color: #fff;
}

.btn-secondary:hover {
  background: #5a6268;
  color: #fff;
}

/* About */
.about {
  background: #0d0d0d;
  padding: 80px 0;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.about img {
  border-radius: 6px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.about p {
  color: #ccc;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.about h2 {
  color: #fff;
}

/* Contact */
.contact {
  padding: 100px 0;
  background: url('images/formbg.svg') center/cover no-repeat;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-title-area {
  color: #fff;
}

.contact-title-area h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 16px;
}

.contact-title-area h5 {
  font-family: 'Cabin', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.6;
}

.info-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.icon-primary {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.info-horizontal .description h4 {
  font-family: 'Cabin', sans-serif;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-horizontal .description p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Card */
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.card .header {
  background: linear-gradient(135deg, var(--accent), #4a5800);
  padding: 24px;
  text-align: center;
}

.card .header h4 {
  color: #fff;
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  margin: 0;
}

.card .content {
  padding: 30px;
}

/* Form */
.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #353535;
  font-size: 14px;
}

label .required {
  color: #cf2e2e;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Cabin', sans-serif;
  font-size: 15px;
  color: var(--form-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95, 112, 0, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  appearance: auto;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.radio-group label,
.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 400;
  color: var(--form-text);
  margin-bottom: 0;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-note {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.hidden {
  display: none !important;
}

/* Footer */
.footer {
  background: #111;
  padding: 60px 0 0;
  color: #999;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  flex: 1 1 280px;
}

.footer-brand img {
  margin-bottom: 12px;
}

.footer-brand p {
  color: #888;
  max-width: 280px;
}

.footer-links,
.footer-contact {
  flex: 0 1 160px;
}

.footer h5 {
  color: #fff;
  font-family: 'Cabin', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer a {
  color: #888;
  transition: color 0.2s ease;
}

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

.footer-contact p {
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 20px 0;
  text-align: center;
  color: #666;
}

/* Scroll to top */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.2s;
  z-index: 1040;
}

.scroll-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.scroll-to-top.visible {
  display: flex;
}

/* Product image placeholder */
.product-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a2235 0%, #141b2a 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #3a4a6a;
  font-size: 40px;
  overflow: hidden;
}

.product-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product cards */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.product-card {
  flex: 1 1 200px;
  max-width: 260px;
  background: #111;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(122, 143, 0, 0.4);
}

.product-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #fff;
}

.product-card p {
  color: #888;
  font-size: 15px;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Form steps */
.form-step {
  animation: stepIn 0.3s ease forwards;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.form-progress {
  margin-top: 24px;
  height: 4px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.form-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Radio & checkbox cards */
.radio-cards,
.checkbox-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-card,
.checkbox-card {
  flex: 1 1 calc(50% - 5px);
  min-width: 120px;
  padding: 16px 12px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #353535;
}

.radio-card:hover,
.checkbox-card:hover {
  border-color: var(--accent);
  background: rgba(122, 143, 0, 0.04);
}

.radio-card input[type="radio"],
.checkbox-card input[type="checkbox"] {
  display: none;
}

.radio-card:has(input:checked),
.checkbox-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(122, 143, 0, 0.08);
  box-shadow: 0 0 0 3px rgba(122, 143, 0, 0.15);
}

.radio-card i {
  font-size: 24px;
  color: #999;
}

.radio-card:has(input:checked) i {
  color: var(--accent);
}

/* Review summary */
.review-summary {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #555;
}

.review-summary .review-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #e9ecef;
}

.review-summary .review-item:last-child {
  border-bottom: none;
}

.review-summary .review-label {
  font-weight: 600;
  color: #333;
}

.review-summary .review-value {
  color: #666;
  text-align: right;
}

/* Typebot popup launch */
.typebot-launch p {
  color: #666;
  font-size: 16px;
  margin-bottom: 20px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .typebot-launch {
    padding: 2rem 1rem;
  }

  .btn-lg {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
  }

  /* Make Typebot popup nearly full-screen on mobile */
  typebot-popup,
  typebot-popup > div,
  typebot-popup iframe {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    inset: 0 !important;
    border-radius: 0 !important;
  }
}

/* Success message */
.success-message {
  display: none;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.error-message {
  display: none;
  background: #ffebee;
  border: 1px solid #ef9a9a;
  color: #c62828;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.error-message a {
  color: #c62828;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-nav.open {
    display: flex;
  }

  .navbar-nav.open a {
    color: #555;
  }

  .navbar-nav a {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .col-5,
  .col-6,
  .col-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-title-area {
    margin-bottom: 40px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero .sub-title {
    font-size: 0.9rem;
  }

  .card .content {
    padding: 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .product-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-content {
    text-align: center;
    justify-content: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-brand img {
    margin: 0 auto 12px;
  }

  .about {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .sub-title {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .contact-title-area h2 {
    font-size: 32px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .parallax-layer {
    transform: none !important;
  }
}
