/* form_styles.css */

:root {
  --primary: #e2af3b;
  --primary-hover: #d19f2a;
  --dark: #1a1a1a;
  --grey: #585858;
  --light-grey: #f4f4f4;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --font-main: 'Poppins', sans-serif;
}

/* --- Global Reset & Typography --- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-main);
  background-color: #f9f9f9;
  color: var(--dark);
  margin: 0;
  line-height: 1.6;
  padding-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* --- Header & Logo --- */
header {
  background: #e2af3b;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.highlight-box { background-color: #f8f9fa; border-left: 4px solid #2980b9; padding: 15px; margin: 15px 0; }

.bank-details { background-color: #f4f4f4; padding: 15px; border-radius: 5px; font-family: monospace; }

.important { font-weight: bold; color: #c0392b; }

.logo {
  width: 160px;
  margin: 0 auto;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 60vh; /* Taller hero */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('whiteout-bg.jpg'); /* Ensure this file exists */
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  color: var(--white);
  padding: 20px;
}

/* Dark overlay to make text readable */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-tagline {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
}

/* --- Layout Grid --- */
.container {
  max-width: 1200px;
  margin: -50px auto 50px; /* Overlap the hero slightly */
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  
  /* 1. Ensure the columns are equal height so the left side has room to slide */
  .main-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: stretch; /* CHANGE THIS from 'start' to 'stretch' */
  }

  /* 2. Make the inner card sticky */
  .camp-info-box {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    
    /* 3. The magic number: spacing from the top of the browser */
    /* 100px accounts for your fixed header + 20px gap */
    top: 120px; 
    
    z-index: 10;
  }
}

/* --- Cards (Info & Form) --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  overflow: hidden;
}

/* --- Info Box Styling --- */
.camp-section { margin-bottom: 25px; }
.camp-section h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--light-grey);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.camp-section.include h3 { color: var(--primary); border-color: var(--primary); }
.camp-section.not-include h3 { color: var(--grey); }

.camp-section li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.95rem;
  color: #444;
}

/* Custom bullets */
.camp-section.include li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.camp-section.not-include li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #ccc;
}

.extras {
  background: var(--light-grey);
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--dark);
}

/* --- Form Styling --- */
form h1 { font-size: 2rem; color: var(--dark); text-align: center; }
form h2 { font-size: 1.2rem; color: var(--primary); text-align: center; margin-bottom: 30px; }

.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light-grey);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(226, 175, 59, 0.1);
}

/* --- Toggle Switches --- */
.switch-wrapper {
  display: flex;
  align-items: center;
  background: var(--light-grey);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  justify-content: space-between;
}

.switch-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(22px); }

/* --- Details / Accordion --- */
details {
  background: var(--light-grey);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

summary {
  padding: 15px;
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  list-style: none; /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: bold;
}

details[open] summary::after { content: '-'; }

details div {
  padding: 20px;
  font-size: 0.9rem;
  color: #444;
  text-align: justify;
}

/* --- Checkboxes (Terms) --- */
.checkbox-group {
  margin-top: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  margin: 0;
}

/* --- Submit Button --- */
.button-center { text-align: center; margin-top: 30px; }

.submit_button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 15px 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(226, 175, 59, 0.4);
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit_button:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(226, 175, 59, 0.5);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left a {
  color: #ccc;
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.footer-left a:hover { color: var(--primary); }

.footer-social-wrap {
  display: flex;
  gap: 20px;
}

.footer-social-wrap img {
  width: 24px;
  height: 24px;
  filter: invert(1); /* Make icons white if they are black */
  opacity: 0.7;
  transition: 0.3s;
}

.footer-social-wrap img:hover {
  opacity: 1;
  transform: scale(1.1);
}