/* 
==========================================================================
Lauren Douglas Fitness — Global Stylesheet
==========================================================================
TABLE OF CONTENTS
  1. Fonts & Base Reset
  2. Root / Globals
  3. Layout: Hero
  4. Layout: About
  5. Layout: Bike (Services + Contact)
  6. Components: Service Cards
  7. Components: Contact Row
  8. Components: Buttons (Hero CTA)
  9. Components: Scroll To Top
 10. Layout: Get In Touch
 11. Footer
 12. Responsive
==========================================================================
*/

/* 1. Fonts & Base Reset */
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400&family=Raleway:wght@300;400;700&family=Open+Sans:wght@400&display=swap");

html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}

/* 2. Root / Globals */
:root {
  --brand: #9a6197;
  --brand-light: #ffbcbc;
  --ink: #3f3f3f;
  --ink-muted: #7f7f7f;
  --paper: #ffffff;
  --contact-bg: #1b1b1e;
  --footer-bg: #333333;
}
body {
  color: var(--ink);
  background: var(--paper);
}

/* 3. Layout: Hero */
.hero {
  position: relative;
  height: 100vh;
  background: url("https://i0.wp.com/lauren.sibrata.com/wp-content/uploads/2023/01/Raise-Hero-4.jpg?fit=1800%2C1200&ssl=1")
    no-repeat center top / cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.site-logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 299px;
  width: 100%;
  height: auto;
}
.hero h3 {
  font-family: "Lora", serif;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  font-size: 70px;
  margin-bottom: 1rem;
}

/* 4. Layout: About */
.about-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.text-col,
.image-col {
  flex: 1;
  min-width: 300px;
  min-height: 575px;
}
.image-col {
  background: url("https://i0.wp.com/lauren.sibrata.com/wp-content/uploads/2023/01/about-2.jpg?fit=1800%2C1200&ssl=1")
    no-repeat center / cover;
}
.text-col {
  background: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-col h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  text-align: center;
  line-height: 1.4em;
  margin: 0 0 0.5em;
}
.text-col h3:first-of-type {
  color: #ae8f65;
  font-size: 48px;
}
.text-col .sub-headline {
  color: var(--ink);
  font-size: 36px;
  margin-top: 0;
}
.text-col p {
  font-family: "Open Sans", sans-serif;
  color: var(--ink-muted);
  line-height: 1.9;
  font-size: 1em;
  margin: 0 0 25px;
}

/* 5. Layout: Bike (Services + Contact) */
.bike-section {
  background: url("https://i0.wp.com/lauren.sibrata.com/wp-content/uploads/2023/01/fitness_bike_bkg-1.jpg?fit=2000%2C1335&ssl=1")
    no-repeat center top / cover;
  width: 100vw;
}
.services-wrapper {
  padding-left: 10%;
  padding-right: 10%;
}
.services-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: -2.7em;
}

/* 6. Components: Service Cards */
.service-card {
  flex: 1 1 50%;
  padding: 4em 2em;
  background: var(--brand);
  color: #fff;
}
.service-card .sow-headline {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  text-align: left;
  color: var(--brand-light);
  line-height: 65px;
  font-size: 55px;
  margin: 0;
}
.service-card .sow-sub-headline {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  text-align: left;
  color: #fff;
  line-height: 24px;
  font-size: 24px;
  margin: 0 0 10px;
}
.service-card p {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin: 0;
  padding-bottom: 25px;
  line-height: 1.9em;
  font-size: 0.9em;
  color: #fff;
}

/* 7. Components: Contact Row */
.contact-row {
  width: 100%;
  background: var(--contact-bg);
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.contact-item {
  flex: 1;
  max-width: 300px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 25px;
}
.contact-item svg {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
}
.contact-item div {
  font-family: "Raleway", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* 8. Components: Buttons (Hero CTA) */
.hero-btn {
  border-radius: 0;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  font-size: 1em;
  padding: 1em 2em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  font-family: "Raleway", sans-serif;
  font-weight: 400;
}

/* 9. Components: Scroll To Top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 9999;
}
.to-top:hover {
  filter: brightness(1.05);
}
.to-top.is-visible {
  opacity: 0.92;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
.to-top:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .to-top {
    transition: none;
  }
}

/* 10. Layout: Get In Touch */
.get-in-touch-section {
  background: #fff;
}
.contact-columns {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.touch-text,
.touch-image {
  flex: 1;
  min-width: 300px;
  min-height: 575px;
}
.touch-text {
  background: #fff;
  padding: 150px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.touch-text h3:first-of-type {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #ae8f65;
  font-size: 48px;
  margin: 0 0 10px;
}
.touch-text .cta-subheadline {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.4;
  margin: 0 0 40px;
}
.cta-button {
  border-radius: 0.25em;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  font-size: 1em;
  padding: 1em 2em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  text-decoration: none;
  font-family: "Raleway", sans-serif;
}
.touch-image {
  background: url("https://i0.wp.com/lauren.sibrata.com/wp-content/uploads/2023/01/lauren_douglas-contact.jpg?fit=1920%2C1282&ssl=1")
    no-repeat center / cover;
}

/* 11. Footer */
footer .secondary {
  font-family: "Raleway", sans-serif;
  padding: 20px 50px;
  text-align: center;
  color: #fff;
  background: var(--footer-bg);
  font-size: 0.9em;
}

/* 12. Responsive */
@media (max-width: 1024px) {
  .hero h3 {
    font-size: 56px;
  }
}
@media (max-width: 768px) {
  .hero h3 {
    font-size: 48px;
  }
  .services-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }
  .about-section {
    flex-direction: column;
  }
  .service-card {
    flex: 1 1 100%;
  }
  .contact-row {
    flex-direction: column;
  }
  .contact-item {
    max-width: none;
    width: 100%;
    margin: 0 0 30px 0;
  }
  .contact-columns {
    flex-direction: column;
  }
  .touch-text,
  .touch-image {
    width: 100%;
  }
}
