/* === Variables === */
:root {
  --primary-color: #FF4500; /* Vibrant Orange */
  --secondary-color: #1E1E1E; /* Dark Gray */
  --background-color: #1f1919;
  --accent-color: #FF5722; /* Slightly Darker Orange */
  --font-primary: 'Oswald', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  --header-height: 70px; /* Define header height for consistency */
  --overlay-color: rgba(30, 30, 30, 0.6); /* Dark overlay for hero section */
  --card-background: rgba(255, 255, 255, 0.85); /* Semi-transparent white for cards */
  --card-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --hero-padding: 40px 20px;
  --max-content-width: 1000px;
}

/* === Reset & Global Styles === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--background-color);
  color: var(--secondary-color);
  background: url("/static/entry/img/background.15f5efb01635.webp") center/cover no-repeat fixed;
  line-height: 1.6;
  position: relative;
  z-index:-2;
  min-height: 100vh;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-color);
  z-index: -1;
}

/* === Header === */
header {
  width: 100%;
  height: var(--header-height);
  padding: 0 40px;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* === Navigation === */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li a,
a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* === Hero Section === */
/* .body2, */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: var(--hero-padding);
  text-align: center;
  /* background: url("background.webp") center/cover no-repeat fixed; */
  position: relative;
  color: #FFF;
}

@supports (background: url("/static/entry/img/background.2f0a3da6d4f3.avif")) {
  body{
      background: url("/static/entry/img/background.2f0a3da6d4f3.avif") center/cover no-repeat fixed;
      z-index: -2;
  }
}

.login {
  margin-bottom: -13px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-content-width);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 40px;
}

.hero-content h1 {
  font-family: var(--font-primary);
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 70px;
}

.hero-content h2 {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  background: black;
  padding: 15px;
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.8;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 30px 20px;
  width: fit-content;
  margin: 30px auto;
}

#submit-button,
.cta-button,
.cta-button-main {
  background-color: var(--primary-color);
  color: #FFF;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  text-decoration: none;
}

#submit-button:hover,
.cta-button:hover,
.cta-button-main:hover {
  background-color: var(--accent-color);
}

/* === Main Content === */
.main-content {
  padding: 10px 20px 100px 20px;
  max-width: var(--max-content-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-radius: 10px;

  position: relative;
  z-index: 2;
  max-width: var(--max-content-width);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-header {
  text-align: center;
  margin-bottom: 40px;
}

.intro-header h1 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.intro-header p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  line-height: 1.8;
}

/* === Sections === */
.section {
  margin-bottom: 40px;
  background-color: var(--card-background);
  padding: 40px;
  box-shadow: var(--card-box-shadow);
  border-radius: 8px;
}

.section h2 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.section h3 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.section p {
  text-align: left;
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--secondary-color);
}

.section ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

/* === Forms === */

.hero-content form {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

 .form-container {
  text-align: left;
  color: grey;
  background: white;
  padding:30px;
  border-radius: 8px;
  width: 450px;
}

/*
#card-element {
  padding: 12px 16px;
  border: 1px solid #d1c4e9;
  border-radius: 8px;
  background-color: #fafafa;
  font-size: 16px;
  margin-bottom: 20px;
} */

/* Input field styling */
 input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #bbb !important;
  font-size: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  outline: none;
}
/*
input[type="email"]:focus {
  border-color: #d1c4e9;
  box-shadow: 0 0 5px rgba(126, 87, 194, 0.3);
} */

/* Card element container styling */
/* input[type="email"], */
#card-element {
  padding: 12px 16px;
  border: 1px solid #bbb;
  border-radius: 8px;
  background-color: #fafafa;
  font-size: 16px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  cursor: pointer;
}

.info-icon {
  margin-left: 5px;
  color: var(--secondary-color);
  cursor: pointer;
  position: relative;
  font-size: 14px;
}

.info-icon:hover .info-text {
  display: block;
}

.info-text {
  display: none;
  position: absolute;
  top: 20px;
  left: 0;
  width: 260px;
  background-color: #ffffff;
  color: var(--secondary-color);
  font-size: 15px;
  padding: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  white-space: normal;
  font-weight: 500;
}

.form-group.journey-selection select,
.form-group.daily-penalty select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="%231E1E1E"><path d="M0 0l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  cursor: pointer;
}

.form-group.journey-selection select:focus,
.form-group.daily-penalty select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group input[type="text"].time-picker,
.form-group.vacation-days input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.form-group.finish-time {
  margin-top: 10px;
}

.days-of-week {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.day-option {
  flex: 1 1 calc(14.28% - 10px); /* 7 days, equal width */
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  background-color: #f9f9f9;
  transition: background-color 0.3s, color 0.3s;
  font-size: 14px;
}

.day-option.selected {
  background-color: var(--accent-color);
  color: #FFF;
  border-color: var(--accent-color);
}

.form-group.vacation-days {
  display: flex;
  flex-direction: column;
}

/* === Footer === */
footer {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #FFF;
  z-index: 2;
}

.submit-button {
  width: 100%;
}

.feedback-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 15px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 14px;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.feedback-button:hover {
  background-color: var(--accent-color);
}

.feedback-modal {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  padding: 15px;
  width: 300px;
  z-index: 1001;
}

.feedback-modal textarea {
  width: 100%;
  height: 80px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
}

.feedback-modal button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.feedback-modal button:hover {
  background-color: var(--accent-color);
}

.feedback-modal .close-button {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.feedback-modal .close-button:hover {
  color: #000;
}

.feedback-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* === Responsive Styles === */
@media (max-width: 768px) {
  .highlight,
  .hero-content h1 {
      font-size: 2rem !important;
  }

  .hero-content p {
      font-size: 1rem;
      padding: 20px 15px;
  }

  #submit-button,
  .cta-button,
  .cta-button-main {
      padding: 12px 25px;
      font-size: 0.9rem;
  }

  header {
      padding: 0 20px;
  }

  .logo {
      font-size: 1.2rem;
  }

  .main-content {
      padding: 20px;
      margin-top: -55px !important;
  }

  .section h2 {
      font-size: 1.5rem;
  }

  .section p {
      font-size: 1rem;
  }

  .intro-header h1 {
      font-size: 2rem;
  }

  .intro-header p {
      font-size: 1rem;
  }

  .day-option {
      flex: 1 1 calc(33.33% - 10px); /* Adjust for smaller screens */
  }
}

@media (max-width: 600px) {
  .day-option {
      flex: 1 1 calc(33.33% - 10px); /* Further adjustments if needed */
  }

  .home-link {
    display: none;
  }
  #journey-form {
    min-width: 380px;
  }
  .info-text {
    left: -100px;
  }
}

/* === Consistency Method Section === */
.consistency-method {
  max-width: var(--max-content-width);
  margin: 80px auto;
  text-align: center;
  padding: 50px 20px;
  background: var(--card-background);
  box-shadow: var(--card-box-shadow);
  border-radius: 10px;
}

.consistency-method h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.method-subtitle {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.method-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.method-step {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.method-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
}

.method-step h3 {
  font-size: 1.4rem;
  font-family: var(--font-primary);
  color: var(--primary-color);
  margin-bottom: 10px;
}

.method-step p {
  font-size: 1rem;
  color: var(--secondary-color);
  line-height: 1.5;
}

.cta-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.cta-link:hover {
  text-decoration: underline;
}

.or-span {
  padding: 0 20px;
}

@media (max-width: 500px) {
  .highlight,
  .hero-content h1 {
    font-size: 30px !important;
  }
}