@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;600;700&display=swap');

/* ========================================
   FLORES SMALL ENGINE REPAIR
======================================== */

:root {
  --red: #df1f26;
  --red-dark: #a50f15;
  --black: #060606;
  --panel: #101010;
  --white: #ffffff;
  --offwhite: #f2f1ee;
  --gray: #b9b9b9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: auto;
}


/* ========================================
   TOP BAR
======================================== */

.topbar {
  background: #020202;
  border-bottom: 1px solid #272727;
  color: #ddd;
  font-size: 13px;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-inner div {
  display: flex;
  gap: 24px;
}

.topbar a {
  text-decoration: none;
}


/* ========================================
   NAVIGATION
======================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(5, 5, 5, .98);
  border-bottom: 2px solid var(--red);
}

.nav-inner {
  position: relative;
  min-height: 102px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;

  flex-shrink: 0;

  line-height: 1;
  text-decoration: none;
}

.top-flores {
  color: white;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  font-style: italic;
}

.top-subtitle {
  margin-top: 5px;

  color: var(--red);

  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  display: block;

  color: white;

  text-decoration: none;
  text-transform: uppercase;

  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;

  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--red);
}

.menu-toggle {
  display: none;

  border: 0;
  background: transparent;

  color: white;

  font-size: 32px;
  line-height: 1;

  cursor: pointer;
}


/* ========================================
   HERO
======================================== */

.hero {
  position: relative;

  min-height: 620px;

  display: grid;
  place-items: center;

  background-color: #070707;
  background-image: url("hero.jpg");
  background-repeat: no-repeat;
  background-position: 8% center;
  background-size: auto 85%;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 0;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.10) 38%,
    rgba(0,0,0,.55) 58%,
    rgba(0,0,0,.78) 100%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 0;

  background:
    radial-gradient(
      circle at center,
      transparent,
      rgba(0,0,0,.28)
    );
}

.hero-content {
  position: relative;

  z-index: 2;

  width: 54%;
  max-width: 850px;

  margin-left: 42%;

  padding: 70px 30px;

  text-align: center;
}

.eyebrow,
.red-label,
.section-heading p {
  margin: 0;

  color: var(--red);

  text-transform: uppercase;

  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;

  letter-spacing: .1em;
}

.hero h1 {
  margin: 0;

  color: #f5f5f5;

  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4rem, 7vw, 7.5rem);
  font-weight: 800;
  font-style: italic;

  line-height: .85;
  letter-spacing: -3px;

  text-transform: uppercase;

  text-shadow:
    3px 3px 0 #222,
    6px 6px 8px rgba(0,0,0,.85);
}

.hero h1 span {
  display: block;
  color: var(--red);
  margin-top: 12px;
}

.hero-copy {
  max-width: 720px;

  margin: 25px auto 0;

  font-size: 1.15rem;
  font-weight: 700;

  line-height: 1.55;
}

.hero-location {
  margin: 10px 0 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 15px;
}


/* ========================================
   BUTTONS
======================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 55px;

  padding: 0 26px;

  border: 1px solid transparent;
  border-radius: 4px;

  text-decoration: none;
  text-transform: uppercase;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;

  cursor: pointer;
}

.button-red {
  background: var(--red);
  color: white;
}

.button-red:hover {
  background: var(--red-dark);
}

.button-outline {
  border-color: white;
  background: rgba(0,0,0,.65);
}

.button-outline:hover {
  background: white;
  color: #111;
}

.button-dark {
  background: #111;
  color: white;
  border: 2px solid #111;
}


/* ========================================
   BENEFITS
======================================== */

.benefits {
  background: #090909;

  border-top: 1px solid #303030;
  border-bottom: 1px solid #303030;
}

.benefit-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);
}

.benefit-grid article {
  display: grid;
  gap: 5px;

  padding: 24px 18px;

  border-right: 1px solid #303030;
}

.benefit-grid article:last-child {
  border-right: 0;
}

.benefit-grid strong {
  font-family: "Barlow Condensed", sans-serif;

  text-transform: uppercase;
}

.benefit-grid span {
  color: #c7c7c7;

  font-size: 13px;
}


/* ========================================
   SERVICES
======================================== */

.services {
  padding: 75px 0;

  background: var(--offwhite);

  color: #151515;
}

.section-heading {
  margin-bottom: 35px;

  text-align: center;
}

.section-heading h2 {
  margin: 5px 0 0;

  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.5rem);

  text-transform: uppercase;
}

.service-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.service-card {
  overflow: hidden;

  background: white;

  border-radius: 10px;

  border-bottom: 4px solid var(--red);

  box-shadow:
    0 12px 28px
    rgba(0,0,0,.15);
}


/* ========================================
   SERVICE PHOTO QUALITY FIX
======================================== */

.service-card img {
  display: block;

  width: 100%;

  /* Larger image area */
  height: 275px;

  /* Keeps proportions */
  object-fit: cover;

  /* Keeps important part near center */
  object-position: center;

  background: #111;

  /* Prevent browser blur */
  image-rendering: auto;

  transition:
    transform .3s ease;
}

.service-card:hover img {
  transform: scale(1.025);
}

.service-card div {
  padding: 20px;

  text-align: center;
}

.service-card h3 {
  margin: 0 0 8px;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;

  text-transform: uppercase;
}

.service-card p {
  margin: 0;

  color: #555;

  line-height: 1.55;
}


/* ========================================
   ABOUT
======================================== */

.about-section {
  padding: 0;

  background: #0a0a0a;

  border-top: 3px solid var(--red);
}

.about-grid {
  display: grid;

  grid-template-columns: 35% 65%;

  min-height: 500px;
}

.about-copy {
  align-self: center;

  padding: 55px 55px 55px 0;
}

.about-copy h2,
.reviews-area h2,
.quote-grid h2 {
  margin: 8px 0 18px;

  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.3rem, 4vw, 4rem);

  line-height: 1.05;

  text-transform: uppercase;
}

.about-copy p {
  color: #d0d0d0;

  line-height: 1.75;
}

.about-photo {
  overflow: hidden;

  min-height: 500px;
}

.about-photo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  background: black;
}

.owner {
  display: grid;

  gap: 4px;

  margin-top: 25px;

  font-family: "Barlow Condensed", sans-serif;
}

.owner strong {
  font-size: 1.6rem;
}

.owner span {
  color: var(--red);

  text-transform: uppercase;

  font-weight: 800;
}


/* ========================================
   WHY CHOOSE US
======================================== */

.reviews-area {
  background: #111;

  border-top: 1px solid #333;
}

.reviews-grid {
  display: grid;

  grid-template-columns: 1fr;
}

.reviews-grid article {
  padding: 48px;
}

.reviews-area ul {
  padding: 0;

  list-style: none;

  line-height: 2;
}

.reviews-area li::before {
  content: "✓";

  margin-right: 10px;

  color: var(--red);

  font-weight: 800;
}


/* ========================================
   REPAIR REQUEST FORM
======================================== */

.quote-section {
  padding: 70px 0;

  background: #0b0b0b;
}

.quote-section .container {
  max-width: 1350px;
}

.quote-grid {
  display: grid;

  grid-template-columns: .65fr 1.6fr;

  gap: 45px;

  align-items: start;
}

.quote-info p:not(.red-label) {
  color: #ccc;

  line-height: 1.75;
}

.large-phone {
  display: inline-block;

  margin-top: 18px;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.photo-note {
  padding: 14px;

  border-left: 4px solid var(--red);

  background: #141414;
}

.quote-form {
  display: grid;

  gap: 15px;

  width: 100%;
  max-width: 950px;

  padding: 30px;

  background: white;

  color: #111;

  border-radius: 8px;

  box-shadow:
    0 15px 40px
    rgba(0,0,0,.35);
}

.two-fields {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.quote-form label {
  display: grid;

  gap: 7px;

  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;

  min-width: 0;

  padding: 13px;

  border: 1px solid #c7c7c7;
  border-radius: 5px;

  background: white;

  color: #111;

  font: inherit;
  font-size: 16px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(223,31,38,.15);

  border-color: var(--red);
}

.quote-form textarea {
  min-height: 115px;

  resize: vertical;
}

.attach-note {
  display: grid;

  gap: 5px;

  padding: 14px;

  background: #f2f2f2;

  border-left: 4px solid var(--red);

  color: #555;
}

.attach-note strong {
  color: #111;
}

.repair-send-options {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 15px;
}

.full {
  width: 100%;

  border: 0;
}


/* ========================================
   PRICING PAGE
======================================== */

.pricing-page {
  min-height: 75vh;

  padding: 80px 0;

  background:
    radial-gradient(
      circle at top,
      rgba(223,31,38,.12),
      transparent 35%
    ),
    #0a0a0a;
}

.pricing-page-heading {
  max-width: 800px;

  margin: 0 auto 45px;

  text-align: center;
}

.pricing-page-heading p {
  margin: 0;

  color: var(--red);

  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;

  text-transform: uppercase;
}

.pricing-page-heading h1 {
  margin: 7px 0 15px;

  color: white;

  font-family: "Archivo Black", sans-serif;

  font-size: clamp(3rem, 6vw, 5.5rem);

  text-transform: uppercase;
}

.pricing-page-heading span {
  color: #bdbdbd;

  line-height: 1.6;
}

.pricing-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.price-card {
  padding: 30px 24px;

  background: #141414;

  border: 1px solid #333;
  border-bottom: 4px solid var(--red);

  border-radius: 8px;

  text-align: center;
}

.price-card h3 {
  margin: 0 0 12px;

  color: white;

  font-family: "Barlow Condensed", sans-serif;

  font-size: 1.6rem;

  text-transform: uppercase;
}

.price-card .price {
  margin: 0 0 8px;

  color: var(--red);

  font-family: "Barlow Condensed", sans-serif;

  font-size: 2.4rem;
  font-weight: 800;
}

.price-card span {
  color: #aaa;

  font-size: .9rem;

  line-height: 1.5;
}

.pricing-disclaimer {
  max-width: 800px;

  margin: 45px auto 0;

  padding: 30px;

  background: #111;

  border-left: 4px solid var(--red);

  text-align: center;
}

.pricing-disclaimer h2 {
  color: white;

  font-family: "Barlow Condensed", sans-serif;

  text-transform: uppercase;
}

.pricing-disclaimer p {
  color: #bbb;

  line-height: 1.7;
}


/* ========================================
   PHOTO GALLERY
======================================== */

.photo-gallery {
  min-height: 100vh;

  padding: 70px 0;

  background: #080808;
}

.gallery-heading {
  max-width: 800px;

  margin: 0 auto 40px;

  text-align: center;
}

.gallery-heading h1 {
  margin: 5px 0 10px;

  color: white;

  font-family: "Archivo Black", sans-serif;

  font-size: clamp(3rem, 6vw, 5rem);

  text-transform: uppercase;
}

.gallery-heading p:last-child {
  color: #aaa;
}

.simple-gallery {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
}

.simple-gallery img {
  width: 100%;
  height: 300px;

  object-fit: cover;
  object-position: center;

  border: 1px solid #333;
  border-radius: 6px;

  cursor: pointer;

  image-rendering: auto;
}

.gallery-bottom {
  margin-top: 50px;

  text-align: center;
}

.gallery-bottom h2 {
  color: white;

  font-family: "Barlow Condensed", sans-serif;

  font-size: 2.3rem;

  text-transform: uppercase;
}


/* ========================================
   LARGE PHOTO POPUP
======================================== */

.photo-viewer {
  display: none;

  position: fixed;
  inset: 0;

  z-index: 99999;

  align-items: center;
  justify-content: center;

  padding: 25px;

  background: rgba(0,0,0,.95);
}

.photo-viewer.open {
  display: flex;
}

.photo-viewer img {
  max-width: 95%;
  max-height: 90vh;

  object-fit: contain;
}

.photo-close {
  position: absolute;

  top: 20px;
  right: 30px;

  border: 0;

  background: transparent;

  color: white;

  font-size: 3rem;

  cursor: pointer;
}


/* ========================================
   FOOTER
======================================== */

footer {
  border-top: 2px solid var(--red);

  background: #030303;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.2fr repeat(3, 1fr);

  align-items: center;

  gap: 24px;

  padding: 35px 0;
}

.footer-grid img {
  width: 150px;
}

.footer-grid > div {
  display: grid;

  gap: 6px;
}

.footer-grid strong {
  color: var(--red);

  text-transform: uppercase;
}

.footer-grid a {
  text-decoration: none;
}

.copyright {
  padding: 15px;

  border-top: 1px solid #292929;

  color: #929292;

  text-align: center;

  font-size: 13px;
}


/* ========================================
   TABLET / MOBILE MENU
======================================== */

@media (max-width: 900px) {

  .topbar {
    display: none;
  }


  /* HEADER */

  .nav-inner {
    min-height: 84px;
  }

  .top-flores {
    font-size: 2rem;
  }

  .top-subtitle {
    font-size: .72rem;
  }

  .menu-toggle {
    display: block;

    position: relative;

    z-index: 10002;
  }


  /* MENU CLOSED */

  .nav-links {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    width: 100%;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 10px 18px 18px;

    background: #080808;

    border-top: 2px solid var(--red);
    border-bottom: 2px solid var(--red);

    z-index: 10001;
  }


  /* MENU OPEN */

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;

    width: 100%;

    padding: 14px 10px;

    color: white;

    border-bottom: 1px solid #252525;

    text-align: center;
  }


  /* HERO */

  .hero {
    min-height: 720px;

    background-position: center 35px;
    background-size: auto 42%;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.05),
      rgba(0,0,0,.15) 38%,
      rgba(0,0,0,.72) 55%,
      rgba(0,0,0,.92)
    );
  }

  .hero-content {
    width: 100%;

    margin-left: 0;

    padding: 340px 18px 45px;
  }

  .hero h1 {
    font-size: 3.3rem;

    line-height: .88;
  }

  .hero-actions {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }


  /* SERVICES */

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card img {
    height: 260px;
  }


  /* BENEFITS */

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  /* ABOUT */

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 50px 0;
  }

  .about-photo {
    min-height: auto;
  }

  .about-photo img {
    height: auto;
  }


  /* REPAIR FORM */

  .quote-grid {
    grid-template-columns: 1fr;
  }


  /* PRICING */

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  /* GALLERY */

  .simple-gallery {
    grid-template-columns: repeat(2, 1fr);
  }


  /* FOOTER */

  .footer-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-grid img {
    margin: auto;
  }

}


/* ========================================
   PHONE
======================================== */

@media (max-width: 600px) {

  .container {
    width: calc(100% - 24px);
  }


  /* HEADER */

  .nav-inner {
    min-height: 78px;
  }

  .menu-toggle {
    font-size: 30px;
  }


  /* HERO */

  .hero h1 {
    font-size: 2.8rem;
  }


  /* BENEFITS */

  .benefit-grid {
    grid-template-columns: 1fr;
  }


  /* SERVICES */

  .service-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .service-card img {
    width: 100%;

    height: 260px;

    object-fit: cover;
    object-position: center;
  }


  /* ABOUT */

  .about-copy {
    padding: 45px 5px;
  }


  /* WHY CHOOSE */

  .reviews-grid article {
    padding: 38px 22px;
  }


  /* FORM */

  .quote-section {
    padding: 45px 0;
  }

  .quote-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .quote-form {
    width: 100%;

    padding: 20px;
  }

  .two-fields {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .repair-send-options {
    grid-template-columns: 1fr;

    gap: 10px;
  }


  /* PRICING */

  .pricing-grid {
    grid-template-columns: 1fr;
  }


  /* GALLERY */

  .simple-gallery {
    grid-template-columns: 1fr;
  }

  .simple-gallery img {
    height: auto;

    max-height: 500px;

    object-fit: contain;

    background: #111;
  }

}