/*
 * Ervaringen.html Branding Stylesheet for Besparing Page
 * Exact color scheme, typography, spacing and design from ervaringen.html
 */

/* Import the main stylesheet for base components */
@import url("../homepage-assets/scss/main.css");

/* Override specific styles to match ervaringen.html exactly */

/* === COLOR VARIABLES === */
:root {
  --color-primary: #003e33;
  --color-primary-dark: #003026;
  --color-secondary: #dba143;
  --color-secondary-dark: #d07d00;
  --color-secondary-light: #ffcc39;
  --color-red: #860002;
  --color-red-dark: #580000;
  --color-red-light: #c00000;
  --color-green: #00b500;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-grey: #d8d8d8;
  --color-grey-light: #dadada;
  --color-grey-dark: #cbcbcb;
  --color-grey-dark-2: #94969c;
  --color-grey-dark-3: #878787;
  --color-dark-green: #0a0f09;
  --color-dark-grey: #1f201f;
  --color-dark-1: #111111;
  --color-dark-2: #121910;
  --color-light: #f8f3f0;
  --color-light-2: #f0eeeb;
  --color-beige: #f2e9e2;
}

/* === TYPOGRAPHY === */
body {
  font-family: "Poppins", sans-serif;
  color: var(--color-dark-1);
  line-height: 1.6;
}

/* === HEADER & NAVIGATION === */
.header {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.nav {
  position: relative;
  z-index: 2;
  padding: 2rem 2rem;
}

.nav__logo {
  height: 4rem;
  /* padding-left: 2rem; */
  filter: brightness(0) invert(1);
}

.nav__link {
  color: var(--color-white) !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav__link:hover {
  color: var(--color-secondary) !important;
  transform: translateY(-2px);
}

/* === HERO SECTION === */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  padding: 8rem 2rem 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(219, 161, 67, 0.1) 0%,
    transparent 50%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-title {
  font-family: "Recoleta", sans-serif;
  font-size: 4.8rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--color-light);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
}

/* === SECTIONS === */
.section {
  padding: 8rem 0;
  position: relative;
}

.section--light {
  background-color: var(--color-light);
}

.section--white {
  background-color: var(--color-white);
}

.section--dark {
  background-color: var(--color-dark-1);
  color: var(--color-white);
}

/* === CARDS === */
.basic-card {
  background: var(--color-white);
  border-radius: 1.2rem;
  padding: 3rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--color-grey-light);
}

.basic-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.15);
}

.basic-card__heading {
  font-family: "Recoleta", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.basic-card__text {
  font-size: 1.6rem;
  color: var(--color-dark-1);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* === CALCULATOR STYLING === */
.savings-calculator {
  background: var(--color-white);
  border-radius: 1.2rem;
  padding: 4rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  margin-bottom: 4rem;
}

.calculator-title {
  font-family: "Recoleta", sans-serif;
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 3rem;
}

/* Radio Group Styling */
.radio-group {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border: 2px solid var(--color-grey);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--color-white);
  min-width: 20rem;
  justify-content: center;
}

.radio-option:hover {
  border-color: var(--color-primary);
  background: var(--color-light);
  transform: translateY(-2px);
}

.radio-option input[type="radio"] {
  width: 2rem;
  height: 2rem;
  accent-color: var(--color-primary);
  margin: 0;
}

.radio-option label {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-dark-1);
  cursor: pointer;
  margin: 0;
}

/* Form Styling */
.form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 60rem;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-label {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.form-input {
  padding: 1.5rem 2rem;
  border: 2px solid var(--color-grey);
  border-radius: 1rem;
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.3rem rgba(0, 62, 51, 0.1);
  transform: translateY(-1px);
}

/* Button Styling */
.btn {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
  border: none;
  border-radius: 1rem;
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  min-width: 20rem;
  margin: 2rem auto 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(0, 62, 51, 0.3);
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
}

.btn--secondary {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-secondary-dark) 100%
  );
}

.btn--secondary:hover {
  background: linear-gradient(
    135deg,
    var(--color-secondary-dark) 0%,
    var(--color-secondary) 100%
  );
  box-shadow: 0 1rem 2rem rgba(219, 161, 67, 0.3);
}

/* === RESULTS STYLING === */
.savings-results {
  background: var(--color-light);
  border-radius: 1.2rem;
  padding: 3rem;
  margin: 3rem 0;
}

.results-title {
  font-family: "Recoleta", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.savings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.savings-item {
  display: flex;
  align-items: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 1rem;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.savings-item:hover {
  transform: translateX(0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.savings-item.total-spent {
  border-left-color: var(--color-red);
  background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
}

.currency {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-right: 0.5rem;
}

.period {
  font-weight: 600;
  color: var(--color-grey-dark-3);
  font-size: 1.4rem;
}

/* === SUGGESTIONS STYLING === */
.suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.suggestion-item {
  padding: 2rem;
  background: var(--color-white);
  border-radius: 1rem;
  border-left: 4px solid var(--color-secondary);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.suggestion-item:hover {
  transform: translateX(0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.suggestion-item::before {
  content: "💡";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-secondary);
  color: var(--color-white);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0.5rem 1rem rgba(219, 161, 67, 0.3);
}

/* === TESTIMONIALS STYLING === */
.testimonial-text {
  padding: 2rem;
  background: var(--color-white);
  border-radius: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  font-style: italic;
  line-height: 1.6;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--color-primary);
}

.testimonial-text::before {
  content: "\201C";
  position: absolute;
  top: -1rem;
  left: 2rem;
  font-size: 4rem;
  color: var(--color-primary);
  font-family: serif;
  opacity: 0.3;
}

.testimonial-text::after {
  content: "\201D";
  position: absolute;
  bottom: -2rem;
  right: 2rem;
  font-size: 4rem;
  color: var(--color-primary);
  font-family: serif;
  opacity: 0.3;
}

/* === SOCIAL SHARE STYLING === */
.social-share {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0;
}

.social-icon {
  width: 5rem;
  height: 5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  padding: 1rem;
  background: var(--color-light);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: scale(1.1) translateY(-2px);
  background: var(--color-secondary);
  box-shadow: 0 1rem 2rem rgba(219, 161, 67, 0.3);
}

/* === FOOTER STYLING === */
.footer {
  background: var(--color-dark-1);
  color: var(--color-white);
  padding: 6rem 0 3rem;
}

.footer-container-detailed__logo {
  height: 4rem;
  filter: brightness(0) invert(1);
}

.footer-container-detailed__heading {
  font-family: "Recoleta", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer-container-detailed__text {
  color: var(--color-grey-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-container-detailed__link {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-container-detailed__link:hover {
  color: var(--color-secondary-light);
}

/* === GRID LAYOUTS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.health-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3.6rem;
  }

  .hero-subtitle {
    font-size: 1.6rem;
  }

  .radio-group {
    flex-direction: column;
    align-items: center;
  }

  .radio-option {
    width: 100%;
    max-width: 30rem;
  }

  .social-share {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .basic-card {
    padding: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .testimonials-grid,
  .health-benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .basic-card {
    padding: 1.5rem;
  }

  .form-input {
    padding: 1.2rem 1.5rem;
  }

  .btn {
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
  }
}

/* === UTILITY CLASSES === */
.u-center-text {
  text-align: center;
}

.u-margin-bottom-s {
  margin-bottom: 2rem;
}

.u-margin-bottom-m {
  margin-bottom: 3rem;
}

.u-margin-bottom-l {
  margin-bottom: 4rem;
}

.u-margin-bottom-xl {
  margin-bottom: 6rem;
}

.heading-pill {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 1rem;
}

.heading-pill--dark {
  background: var(--color-primary);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(3rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* === HIDDEN ELEMENTS === */
.hidden {
  display: none !important;
}

/* Hide sections before calculation */
#savings-results,
#suggestions-section,
#testimonials-section,
#expectations-section,
#benefits-section {
  display: none;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.6s ease-in-out;
}

/* Show sections after calculation */
.calculation-complete #savings-results,
.calculation-complete #suggestions-section,
.calculation-complete #testimonials-section,
.calculation-complete #expectations-section,
.calculation-complete #benefits-section {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scroll behavior for results section */
#savings-results-section {
  scroll-margin-top: 2rem;
}

/* === RESULTS HIGHLIGHT STYLING === */
#smoked-total,
#savings-year,
#savings-month,
#savings-week {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 2em;
  text-shadow: 0 2px 4px rgba(219, 161, 67, 0.3);
}

/* === SUGGESTIONS STYLING === */
.suggestion-item {
  padding-left: 4rem;
}

.suggestion-item::before {
  left: 4px;
}

@media only screen and (min-width: 900px) {
  .basic-card {
    width: clamp(30rem, 90vw, 500px);
    margin-inline: calc(50% - 250px);
  }
}

/* === BENEFITS SECTION STYLING === */
#benefits-section .basic-card__heading {
  font-size: 2rem;
}
