/* ============================
   UVALDE MOVERS – DESIGN SHEET
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Koulen&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  /* Brand Colors */
  --primary: #FF7C3B;
  --primary-dark: #e06722;
  --secondary: #4FB7FF;
  --secondary-dark: #2d9be6;

  /* Neutral Colors */
  --text: #1a1a1a;
  --text-muted: #777;
  --surface: #ffffff;
  --background: #f4f5f7;
  --border: #e5e7eb;

  /* Effects & Radii */
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font1: "Koulen", system-ui, sans-serif;
  --font2: "Schibsted Grotesk", system-ui, sans-serif;
}

/* Base Reset */
body {
  background: var(--background);
  color: var(--text);
  margin: 0;
  padding: 0;
  padding-top: 6rem;
}

h1,
h2,
h3 {
  font-family: var(--font1);
}

p {
  font-family: var(--font2);
}

a {
  text-decoration: none;
  color: inherit;
}

/* -------------------------
   BUTTONS
   ------------------------- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 300;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: var(--font1);
}

/* Primary (Orange) */
.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Secondary (Blue Outline) */
.btn-secondary {
  background: #fff;
  border-color: var(--secondary);
  color: var(--secondary-dark);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: #fff;
}

/* Center Text */
.center-text {
  text-align: center;
}

/*Right Text*/
.right-text {
  text-align: right;
}

/* -------------------------
   CARD
   ------------------------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 300px;
}

/* -------------------------
   ICON CIRCLE
   ------------------------- */
.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* -------------------------
   HEADER
   ------------------------- */
#logo {
  height: 3.5rem;
  width: 7rem;
  vertical-align: middle;
  padding-right: 0.5rem;
}

#home_button {
  display: inline-block;
}

header {
  width: 100%;
  padding: 0.25rem 1rem;
  background-color: #ffffff;
  left: 0;
  top: 0;
  position: fixed;
  font-family: var(--font1);
  z-index: 9999;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1.5rem;
}

.nav {
  position: relative;
  color: inherit;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  transition: color .25s ease;
}

.nav::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  opacity: .9;
  transition: width .25s ease,
    color .25s ease;
}

.nav:hover,
.nav:focus-visible {
  color: var(--subtle)
}

.nav:hover::after,
.nav:focus-visible::after {
  width: calc(100% - 24px)
}

header nav li {
  display: inline-block;
  list-style: none;
  margin: 0rem 0.5rem;
}

/* -------------------------
   FOOTER
   ------------------------- */
footer {
  color: #ffffff;
  background-color: #000000;
  position: static;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 1rem 0;
  font-size: smaller;
  font-family: var(--font1);
}

footer div {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  text-align: left;
  line-height: 1;
}

footer div ul {
  line-height: 1.5;
  font-family: var(--font2);
}

footer a:hover {
  color: var(--primary);
  transition: color .25s ease;
}

#Foot_D {
  text-align: center;
}


/* -------------------------
   INDEX
   ------------------------- */

.hero {
  width: 100%;
  height: 80vh;
  background-image: url(https://i.imgur.com/VUimyRy.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  padding: 6rem 3rem;
  max-width: 700px;
  margin-left: 0;
  align-content: center;
}

.hero-label {
  font-family: var(--font2);
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.45;
  color: #e6e6e6;
  max-width: 700px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.services-section {
  padding: 4rem 3rem 5rem;
  background: linear-gradient(to bottom, var(--background) 50%, var(--secondary) 100%);
}

.services-header {
  max-width: 900px;
  margin: 0.5rem;
  text-align: left;
}

.services-eyebrow {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.services-title {
  font-size: 2rem;
  margin: 0;
}

.services-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.services-card.card {
  max-width: 100%;
  border-radius: var(--radius-lg);
}

.services-card .icon-circle {
  margin-bottom: 1rem;
}

.services-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.services-card p {
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 1.5rem;
}

.services-card .card-buttons {
  display: flex;
  gap: 0.75rem;
}


.reviews-section {
  padding: 4rem 3rem 7rem;
  background: var(--background);
}

.reviews-header {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: left;
}

.reviews-eyebrow {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.reviews-title {
  font-size: 2rem;
  margin: 0;
}

.reviews-carousel {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.review-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 2.5rem 3rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  inset: 0;
}

.review-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.review-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.review-author {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #ffffffdd;
  box-shadow: var(--shadow);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.reviews-arrow:hover {
  background: #ffffff;
}

.reviews-arrow.prev {
  left: -18px;
}

.reviews-arrow.next {
  right: -18px;
}

/* Review Dots */
.reviews-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.reviews-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d0d5dd;
  border: none;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.reviews-dot.active {
  width: 22px;
  background: var(--primary);
}

/* -------------------------
   ABOUT
   ------------------------- */
#about {
  background: linear-gradient(0deg, var(--primary) 0%, white 55%, var(--secondary) 100%);
  padding: 3rem 3rem 4rem;
}

#ours {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.story-text p {
  line-height: 1.7;
  margin: 0 0 1rem;
}

.story-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

#family-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

#team {
  max-width: 1100px;
  margin: 0 auto;
}

.team-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.4rem;
}

.team-card p {
  line-height: 1.6;
  margin: 0;
}

.team-role {
  font-family: var(--font2);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem !important;
}

#Javier-photo,
#Gracie-photo {
  width: 100%;
  max-width: 220px;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
}

/* -------------------------
   RESOURCES
   ------------------------- */
#resources {
  margin: 2.5rem;
  padding-top: 3rem !important;
  padding: 0rem 4rem;
  justify-content: center;
}

h1 .collapsible {
  text-align: center;
}

.collapsible {
  font-family: var(--font1);
  font-size: x-large;
  color: var(--secondary-dark);
}

.collapsible:hover {
  cursor: pointer;
  text-decoration: underline;
  text-underline-position: below;
  transition: all 0.25s ease-in-out;
}

.collapsible::-webkit-details-marker {
  display: none;
}

.collapsible::marker {
  content: "";
}

.collapsible:before {
  content: "+ ";
  font-size: xx-large;
  vertical-align: middle;
}

details[open] .collapsible:before {
  content: "- ";
}

.collapse-content {
  font-family: var(--font2) !important;
  line-height: 2rem;
}

.tip,
.list {
  display: contents;
}

.collapse-content li,
.collapse-content p {
  list-style: none;
  margin: 1rem 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* -------------------------
   MOBILE RESPONSIVENESS
   ------------------------- */
@media (max-width: 768px) {
  header nav {
    display: flex;
    align-items: center;
    justify-content: space-around !important;
    padding-right: 0.25rem !important;
  }

  .reviews-section {
    padding: 3rem 1.5rem 6rem;
  }

  .review-card {
    padding: 2rem 1.5rem;
  }

  .reviews-arrow.prev {
    left: 0;
  }

  .reviews-arrow.next {
    right: 0;
  }

  /* Quote */
  main#quote {
    padding: 7rem 1.25rem 3rem;
  }

  .quote-container {
    padding: 1.75rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .submit-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 900px) {
  #logo {
    display: none;
  }


  .about-content {
    grid-template-rows: auto auto;
    grid-template-columns: auto;
    grid-template-areas: "blurb" "photo";
    justify-content: center;
    align-items: self-start;
    gap: 1;
    padding: 1.5rem 3rem;
    padding-bottom: 2rem !important;

  }

  #family-photo,
  #Javier-photo,
  #Gracie-photo {
    align-self: flex-start;
    margin-top: -1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* contact */
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form form {
    grid-template-columns: 1fr;
  }

}

/* -------------------------
   CONTACT
   ------------------------- */
main {
  padding: 6rem 1.5rem 6rem;
}

.contact-hero {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: left;
}

.contact-eyebrow {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
}

.contact-layout {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info.card {
  max-width: 100%;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.contact-info p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--secondary-dark);
}

.contact-form.card {
  max-width: 100%;
}

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.contact-form .full-width {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}


.contact-form .actions {
  margin-top: 0.5rem;
}

/* -------------------------
   QUOTE
   ------------------------- */
main#quote {
  background: linear-gradient(180deg, #f2faff 0%, #90caf9 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  flex: 1;
  max-height: auto;
  padding: 40px 20px;
  padding-top: 4rem;
  padding-bottom: 5rem;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
}


.header-section {
  text-align: left;
  margin-bottom: 32px;
}

.header-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}


.quote-container {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
  color: var(--primary);
  font-family: var(--font1);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0rem 0 1.25rem;
}

.section-title:first-child {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

#quote label {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-family: var(--font2);
  font-weight: 500;
}

#quote input[type="text"],
#quote input[type="tel"],
#quote input[type="email"],
#quote select,
#quote textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font2);
  transition: border-color 0.3s;
  box-sizing: border-box;
  width: 100%;
}

#quote input:focus,
#quote select:focus,
#quote textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.radio-option label {
  margin: 0;
  cursor: pointer;
}

#quote textarea {
  min-height: 80px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font1);
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 2rem auto 0;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: var(--primary-dark);
}