:root {
  --bg: #121212;
  --text: #fbf5e6;
  --muted: #cccccc;
  --border: rgba(255, 255, 255, 0.3);

  --background-image: url("https://i.postimg.cc/CL6bNLRM/teuku-fadhil-m6c-OCTZLb-Wg-unsplash-(1).webp");

  --font: Arial, Helvetica, sans-serif;

  --content-width: 1200px;
  --reading-width: 70ch;

  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;

  --radius: 8px;

  --transition: 0.25s ease;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;

  scroll-padding-top: 80px;

  font-size: 18px;
}

body {
  margin: 0;

  min-height: 100vh;

  font-family: var(--font), "Montserrat", sans-serif;

  line-height: 1.7;

  color: var(--text);

  background-color: var(--bg);

  background-image: var(--background-image);

  background-repeat: no-repeat;

  background-position: center top;

  background-size: cover;

  background-attachment: fixed;
}

/* TEXT */

h1,
h2,
h3 {
  margin: 0 0 var(--space-md);

  line-height: 1.2;

  padding-bottom: 0.75rem;
  font-family: "Playfair Display", serif;

  text-transform: uppercase;

}

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

h3 {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);

  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

img {
  max-width: 100%;

  height: auto;

  display: block;
}

/* GLOBAL SECTIONS */

section {
  width: 100%;

  max-width: var(--content-width);

  margin-inline: auto;

  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 2rem);
}

/* HEADER */

.header {
  width: 100%;

  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding-top: clamp(2rem, 6vw, 5rem);
}

.mainname {
  text-align: center;

  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

.tagline {
  width: 100%;

  max-width: 900px;

  margin-inline: auto;

  padding-inline: 1rem;

  text-align: center;
}

.tagline h3 {
  font-style: italic;
}
/* ABOUT */

#who-am-i {
  display: flex;

  justify-content: center;

  align-items: center;
}

.wai {
  width: 100%;

  max-width: 500px;

  margin-inline: auto;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;
}

.wai h2 {
  width: 100%;

  text-align: center;
}

.headshot {
  width: clamp(400px, 85vw, 650px);

  aspect-ratio: 1 / 1;

  object-fit: contain;

  border-radius: var(--radius);

  margin-block: 2rem;
}

.wai p {
  max-width: var(--reading-width);

  text-align: left;
}
/* SERVICES */

#services {
  display: flex;

  justify-content: center;
}

.what-services {
  width: 100%;

  max-width: 900px;

  margin-inline: auto;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;
}

.what-services ul {
  width: 100%;

  max-width: 600px;

  padding: 0;

  margin-bottom: var(--space-lg);

  list-style: none;
}

.what-services li {
  margin-bottom: 0.75rem;
}

/* CONTACT */

.contact-content {
  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;
}

#pricing-info {
  font-weight: 700;

  font-style: italic;
}

.qr-code {
  width: min(200px, 70vw);

  border-radius: var(--radius);
}

/* FOOTER */

footer {
  width: 100%;

  padding: 2rem 1rem;

  text-align: center;

  font-size: 0.85rem;

  font-style: italic;
}

/* p indentations === may need to change is more p elements are used */

p {
  text-indent: 2em;
}

/* MOBILE */

@media (max-width: 768px) {
  body {
    background-attachment: scroll;

    background-position: center top;
  }

  section {
    padding-block: 2rem;
  }

  .wai p {
    text-align: left;

    font-size: 1rem;
  }

  .what-services ul {
    max-width: 100%;
  }
}

/* SMALL PHONES */

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .headshot {
    width: 85vw;
  }
}

/* ==========================================================================
   BOOTSTRAP NAVBAR DARK THEME OVERRIDE
   ========================================================================== */

.navbar {
  --bs-navbar-color: #fbf5e6;
  --bs-navbar-hover-color: #cccccc;
  --bs-navbar-brand-color: #fbf5e6;
  --bs-navbar-brand-hover-color: #cccccc;
  --bs-navbar-toggler-border-color: rgba(251, 245, 230, 0.45);

  width: 100%;

  background-color: #121212 !important;

  padding: 0.75rem clamp(1rem, 4vw, 2rem);

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);

   transition: transform 0.3s ease-in-out;
}

/* needed to hide when scrolling did this to hopefully fix the juicer feed interactions */
.navbar.hide {
  transform: translateY(-100%);
}

/* Brand */

.navbar-brand {
  color: #fbf5e6 !important;

  font-weight: 700;
}

.navbar-brand:hover {
  color: #cccccc !important;
}

/* Links */

.navbar-nav .nav-link {
  color: #fbf5e6 !important;

  transition: color 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #cccccc !important;
}

/* Mobile button */

.navbar-toggler {
  border-color: rgba(251, 245, 230, 0.45);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(251, 245, 230, 0.25);
}

/* Hamburger icon */

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28251,245,230,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.logo-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img img {
  width: 500px;
  height: auto;
}

h2::after {
     content: "";
  display: block;
  width: 150px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    #d4af37,
    transparent
  );
  margin: 0.75rem auto 0;
}