@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Playfair+Display:wght@400;700&display=swap');

/* General Styling */
* {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}


:root {
    --white: #ffffff;
    --dark-green: #b62222;
    --black: #030202;
    --cream: #f7f2c8;

}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: none;
    background-color: var(--white);
    color: var(--black);
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    scroll-behavior: smooth;
}

h2 {
    font-family: 'Playfair Display', sans-serif;
    font-size: clamp(3rem, 5vw, 7rem);
    margin: 0;
    font-weight: 500;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 12vh;
    background-color: var(--dark-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 4vw;
    z-index: 1000;
}

.logo {
    margin-top: 0.2rem;
    height: 100px;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Landing Page Styles */
.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

.logo-section {
    margin-bottom: 2rem;
}


.hero-section {
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--dark-green);
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

.action-section {
    width: 100%;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.action-btn i {
    font-size: 1.2rem;
}

.action-btn.primary {
    background-color: var(--dark-green);
    color: white;
}

.action-btn.primary:hover {
    background-color: #a11d1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(182, 34, 34, 0.3);
}

.action-btn.secondary {
    background-color: white;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

.action-btn.secondary:hover {
    background-color: var(--dark-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(182, 34, 34, 0.2);
}


/* Back Button */
.back-button {
    position: absolute;
    top: 12vh;
    left: 0;
    background-color: var(--white);
    width: 100%;
    display: flex;
    justify-content: flex-start;
    z-index: 500;
}

.back-button button {
    margin-left: 2rem;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background-color: var(--white);
    color: var(--dark-green);
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.back-button button:hover {
    background-color: #f1e9c8;
    transform: translateY(-2px);
}


/*User Info Form*/
.info-section {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 0.5rem 5vw 2rem 5vw;
    margin-top: 25vh;
    background-color: var(--white);
    font-family: 'Inter', sans-serif;
    color: var(--black);
    align-items: center;
    justify-content: center;
}

.info-left {
    flex: 2 1 40%;
    min-width: 280px;
}


.info-left h2 {
    font-family: 'Playfair Display', sans-serif;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.info-left p {
    font-size: 1rem;
    color: var(--black);
}

.info-right {
    flex: 1 1 40%;
    min-width: 280px;
}

.info-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group.inline-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.inline-group .toggle-switch {
    margin: 0;
}

.form-group label {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid black;
    background-color: #b4b4b4dd;
    border-radius: 4px;
    font-size: 0.8rem;
    color: black;
    resize: vertical;
}

.form-submit button {
    padding: 0.75rem 2rem;
    background-color: var(--dark-green);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
}

.form-submit button:hover {
    background-color: #424242;
}

.form-consent {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-consent label {
    font-size: 0.7rem;
    color: var(--dark-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}


/* Sidebar Styling */
.layout {
  display: flex;
  height: 100vh;
}
.sidebar-left {
    width: 250px;
    background-color: var(--dark-green);
    color: var(--white);
    min-height: calc(100vh - 0px); 
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}

.sidebar-logo {
    text-align: center;
}
.sidebar-logo img {
    max-width: 150px;
    height: auto;
}

.sidebar-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-left a {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    padding: 0.75rem 1.25rem;
    display: block;
    transition: background-color 0.25s ease;
}

.sidebar-left a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.sidebar-left .help-btn {
    background-color: var(--white);
    color: var(--dark-green) !important;
    text-align: center;
    border-radius: 4px;
}

.sidebar-left .help-btn:hover {
    background-color: #c49f25;
}

.page-content {
    padding-top: 60px; 
    padding-left: 250px; 
    padding-right: 1rem;
}



#map {
  flex: 1; 
}

/* form styling */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90%;
  height: 10px;
  border-radius: 50px;
  background: #dcdcdc;
  outline: none;
  margin-left: 40px;
  }

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--thumb-color, #464444);
  cursor: pointer;
  border: none;
}


.multi-choice {
    margin: 10px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction:column;
    justify-content: space-evenly;
}


.multi-choice #phone{
    margin: 10px;
    margin-top: 20px;
}

.multi-choice p {
    padding-top: 10px;
}

.multi-choice:hover {
  background-color: #f0f0f0;
}
/* the class that is added to multi-choice element's classlist if element is selected, turning it gray */
.multi-choice.selected {
  background-color: rgb(83, 83, 83);
}

#am-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
}

#injuries {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

.bool {
  padding: 50px;
}

h1{
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin-bottom: 30px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px; 
    height: 34px;
    margin: 25px;
}

.toggle-switch input {
    opacity: 0; 
    width: 0;
    height: 0;
}

.slider2 {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s;
}

.slider2::before {
    content: "";
    position: absolute;
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch input:checked + .slider2 {
    background-color: #2196F3;
}

.toggle-switch input:checked + .slider2::before {
    transform: translateX(26px); 
}
.injure {
  display: flex;
  justify-content:space-evenly;
}

#people {
    border: none;
    background-color: #b6b6b6;
    width: 90%;
    height: 10px;
    margin-top: 20px;
    border-radius: 15px;
}

.slide-container {
  display: flex;
  justify-content: space-evenly;
}
/* navigation styling */
/*sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #ccc;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.sidebar.open {
    right: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar a {
    text-decoration: none;
    color: var(--dark-green);
    font-weight: bold;
    padding: 0.5rem 1.25rem;
    display: block;
    transition: background-color 0.25s ease;
}

.sidebar a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.help-btn {
    background-color: var(--dark-green);
    color: white !important;
    text-align: center;
    border-radius: 4px;
}

.help-btn:hover {
    background-color: (--dark-green);
}
