:root {
  /* Define color variables */
  --primary-color: #0aa696; /* New primary color */
  --primary-rgb: 10, 166, 150; /* Adjusted RGB for the new primary color */
  --primary-hover-bg: #07d9b2; /* New hover background color */
  --primary-active-bg: #f2b807; /* New active background color */
  --span: #cb9125;
  --text-light: #bfb0aa; /* Light text color */
  --text-dark: #403a38; /* Dark text color */
  --background-dark: #0d0c0b; /* Dark background color */
  --background-light: #a5a692; /* Light background color */
}

/* Apply Jost font to all body text */
body {
  font-family: "Jost", sans-serif;
  background-color: var(--background-dark);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer and Edge */
}

/* Apply Jost font to all headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
}

h1 {
  text-shadow: 2px 2px 4px black;
}

span {
  color: var(--span);
}

h5,
.text-body-secondary {
  color: var(--primary-color) !important;
}

.text-bg-primary {
  background-color: var(--primary-color) !important;
}

/* Apply Itim font to paragraphs or other elements that need a cursive font */
p,
.product-device::before {
  font-family: "Itim", cursive;
}

/* .bd-placeholder-img styles remain unchanged */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--primary-hover-bg);
  --bs-btn-hover-border-color: var(--primary-hover-bg);
  --bs-btn-focus-shadow-rgb: var(--primary-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: var(--primary-active-bg);
  --bs-btn-active-border-color: var(--primary-active-bg);
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.container {
  max-width: 960px;
}

.icon-link > .bi {
  width: 0.75em;
  height: 0.75em;
}

/* Custom translucent site header */
.site-header {
  background-color: var(--background-dark);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.site-header a {
  color: "var(--text-light)";
  transition: color 0.15s ease-in-out;
}

.site-header a:hover {
  color: #fff;
  text-decoration: none;
}

/* Dummy devices */
.product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: var(--text-dark);
  border-radius: 21px;
  transform: rotate(30deg);
}

.product-device2 {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: var(--text-dark);
  border-radius: 21px;
  transform: rotate(30deg);
}

.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: var(--background-light);
  background-image: url("/assets/images/BackgroundNoColorV2.jpg");
  background-size: cover; /* Ensures the image covers the box while maintaining its aspect ratio */
  background-position: center; /* Centers the image inside the box */
  border-radius: 5px;
}

.product-device2::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: var(--background-light);
  background-image: url("/assets/images/BackgroundColorV2.jpg");
  background-size: cover; /* Ensures the image covers the box while maintaining its aspect ratio */
  background-position: center; /* Centers the image inside the box */
  border-radius: 5px;
}

.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: #e5e5e5;
}

/* Extra utilities */
.flex-equal > * {
  flex: 1;
}

@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }
}

/* Wrapper for the video container */
.video-container {
  position: relative;
  padding-bottom: 45%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 80%; /* Set the width to 80% of the container */
  width: 80%;
  background-color: var(--text-dark);
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Shadow for depth */
  margin: 20px auto; /* Centering and margin */
}

/* Iframe styling for responsive video */
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px; /* Rounded corners for iframe */
}

.bg-body-tertiary {
  background-color: var(--text-light) !important;
}

.bg-body-hero {
  background-color: var(--text-light) !important;
  background-image: url("/assets/images/ZenPicHero.svg");
  background-size: cover;
  background-position: center;
}

.text-bg-light,
.bg-dark {
  background-color: var(--text-dark) !important;
}

/* BLOG POST STYLES */

article .container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tags-list {
  list-style: none;
  padding: 0;
}
.tags-list li {
  margin-bottom: 0.5rem;
}

/* About page styles */
#heroSectionAbout {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
              url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  margin-bottom: 2rem;
}

#aboutText {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: var(--text-light);
}

#aboutText h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 2.5rem;
  text-align: center;
}

#aboutText h5 {
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: var(--text-light) !important;
  text-align: justify;
}

/* Add animation for text sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#aboutText h1,
#aboutText h5 {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

#aboutText h1:nth-child(1) { animation-delay: 0.2s; }
#aboutText h5:nth-child(2) { animation-delay: 0.4s; }
#aboutText h5:nth-child(3) { animation-delay: 0.6s; }
#aboutText h1:nth-child(4) { animation-delay: 0.8s; }
#aboutText h5:nth-child(5) { animation-delay: 1s; }
