@import "tailwindcss";

body {
  color: #222;
  font-family: 'Montserrat';
  line-height: 1.5;
  background-color: #fbfaf6;
  min-height: 100vh;
}


body > header {
  background-color: #fbfaf6;
}
header ul {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}

footer {
  font-family: 'Montserrat';
  background-color: #301e1d;
  color: #fbfaf6;
  padding: 1em 0; /* Added padding for flexibility */
}

a {
  color: black;
  text-decoration: bold;
  font-family: 'Montserrat';
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.feature-img {
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Base style for all inputs and textarea with .form-input */
.form-input {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid black;      /* thin black border */
  border-radius: 0.375rem;      /* ~6px, similar to Tailwind rounded-md */
  color: black;
  font-size: 1rem;
  line-height: 1.5;
  outline: none;                /* remove default outline */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* On focus (when selected) */
.form-input:focus {
  border: 3px solid #301e1d;    /* thicker border in brownish red */
}


.form-input-flex {
  flex: 1 1 auto;
  border: 1px solid #9ca3af;
  padding: 0.75rem;
  min-width: 8rem;
}

.radio-custom {
  appearance: none;                 /* remove browser default */
  width: 1.25rem;                   /* ~20 px (same as w-5) */
  height: 1.25rem;
  border: 2px solid #301e1d;        /* brown border */
  border-radius: 50%;
  background-color: #fbfaf6;        /* cream background */
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.radio-custom:checked {
  background-color: #301e1d;        /* brown fill when selected */
  box-shadow: 0 0 0 3px #fbfaf6 inset; /* cream inner ring */
}

.radio-custom:hover,
.radio-custom:focus {
  outline: none;
  box-shadow: 0 0 0 2px #301e1d;    /* subtle brown glow on hover/focus */
}

#mobile-menu a {
  margin: 0;          /* remove any inherited margins */
  padding: 0;         /* remove unexpected spacing */
  display: block;     /* ensures they line up the same */
  line-height: 1.5;   /* consistent vertical rhythm */
}



/* === About Page === */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 5rem;
  gap: 1rem;
  color: #fbfaf6; /* cream text */
  font-family: 'Montserrat';
  font-weight: bold;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  transition: opacity 0.2s ease;
}

.hero-arrow {
  width: 1.5rem;
  height: 1.5rem;
  border-bottom: 4px solid #fbfaf6;
  border-right: 4px solid #fbfaf6;
  transform: rotate(45deg);
  transition: opacity 0.2s ease;
}

.about-section {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  font-family: 'Montserrat';
  color: #000; /* black text */
}

.about-title {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  font-weight: bold;
  text-align: center;
}

.about-text {
  max-width: 38rem;   /* slightly narrower for a centered feel */
  margin-left: auto;
  margin-right: auto; /* force centering */
  font-size: 1.25rem;
  line-height: 1.75;
  text-align: justify;
  text-align-last: center; /* keeps last line centered */
}

.about-text p + p {
  margin-top: 1.5rem;
}

/* Remove default number input arrows */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
}
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Custom small black checkbox */
.checkbox-custom {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid black;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.checkbox-custom:checked {
  background: black;
  border-color: black;
}
.checkbox-custom:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
