/* Reset & basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: sans-serif;
}

/* Top nav bar */
.navbar {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(5px);
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  /* semi-transparent black */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  max-height: 75px;
  /* limit height */
}

.nav-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80vh;
  margin: 0 auto;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left a,
.nav-right a {
  color: whitesmoke;
  text-decoration: none;
  font-weight: 500;
  margin-right: 1rem;
  display: inline-block;
  /* so padding/background wrap neatly */
  padding: .1rem 0.5rem;
  border-radius: 5px;
  /* rounded rectangle */
  transition: background 0.2s, color 0.2s;
}

.brand-text {
  font-size: 1.25rem;
  color: whitesmoke;
}

.nav-left a:hover,
.nav-right a:hover,
.nav-left a.active,
.nav-right a.active {
  background: #eee;
  /* light grey */
  color: #000;
  /* dark text */
}

.nav-left a.brand:hover .brand-text,
.nav-left a.brand.active .brand-text {
  color: #000;
  /* dark on grey bg */
}

.nav-left .brand {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.nav-logo {
  height: 28px;
  width: auto;
  margin-right: 0.5rem;
}



.separator {
  width: 1px;
  height: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  margin: 0 1rem;
}

.cart img {
  height: 24px;
  width: auto;
  filter: invert(1) brightness(2);
}

.nav-right .cart:hover img {
  filter: none;
  /* undo the invert/brighten */
}
.nav-right a.active img {
  filter: none;
  /* undo the invert/brighten */
}


/* remove the last link’s extra margin */
.nav-right a:last-child,
.nav-left a:last-child {
  margin-right: 0;
}

.hero {
  height: 85vh;
  background: url('images/landscape.webp') no-repeat center/cover;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffff;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.view-tools-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #000;
  /* solid black */
  color: #fff;
  /* white text */
  border: none;
  border-radius: 9999px;
  /* pill shape */
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.view-tools-btn:hover {
  background: #222;
  /* slightly lighter black on hover */
}

.view-tools-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Info section */
.info {
  padding: 3em 1em;
  margin: 0 auto;
  color: #ffff;
  background: #1f1f1f;
  line-height: 1.6;
  text-align: center;
  min-height: 100vh;
}

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card img {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  color: #ffffff;
  margin-bottom: .5rem;
  font-size: 1.25rem;
}

.card-content p {
  color: #ffffff;
  line-height: 1.5;
}

/* make the carousel feel part of the info block */
.info .verdant-carousel {
  margin-top: 2rem;
  padding: 1rem;
  background: #1f1f1f;
  border-radius: 8px;
  overflow: hidden;
}

.product-info {
  margin: 0 auto;
  color: #ffffff;
  background-image: url('images/banner.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 3em 1em;
  line-height: 2;
  text-align: center;
  min-height: 15vh;
}

/* feature-list bubbles */
.feature-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-list .feature-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 9999px;
  background: white;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-size: 0.9rem;
}

.feature-list .feature-btn.active {
  background: var(--accent);
  color: #fff;
}

/* carousel & peeked cards */
.carousel {
  position: relative;
  width: 100%;
}

.carousel .cards {
  display: flex;
  transition: transform 0.6s ease;
  touch-action: pan-y;
  /* allow vertical page scroll, but let us handle horizontal drags */
  cursor: grab;
  user-select: none;
}

.carousel .cards:active {
  cursor: grabbing;
}

.carousel .card {
  flex: 0 0 50vw;
  /* 50% of viewport width */
  margin: 0 10vw;
  /* 10% of viewport on each side */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #2b2b2b;
  -webkit-user-drag: none;
}

.carousel .card img {
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: block;
}

.carousel .card-content {
  padding: 1rem;
  text-align: center;
}

.vp-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85vh;
  min-height: 500px;
  background: url('images/example-color2.png') no-repeat center/cover;
}

.vp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.vp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  color: #fff;
}

.vp-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.vp-hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.vp-hero-buttons {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.vp-hero-buttons .view-tools-btn {
  padding: 0.75rem 1.5rem;
}

.feature-highlights {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.feature-highlights .highlight {
  flex: 0 1 200px;
  text-align: center;
  color: #fff;
}

.feature-highlights .highlight img {
  width: 48px;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1);
}

/* CUSTOMIZATION SECTION (unchanged wording) */
#customization {
  background: #1a1a1a;
  padding: 4rem 1rem;
  color: #eee;
  min-height: 60vh;
}

#customization h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.custom-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.custom-list {
  padding: 0;
  margin: 0;
}

.custom-list li {
  position: relative;
  line-height: 1.6;                /* more breathing room */
  font-size: 1.5rem;               /* bump up text size */
  margin-bottom: 1rem;             /* gap between items */
}

.custom-text {
  font-size: 1rem;
}
.custom-grid img {
  flex: 0 0 45vw;     /* take up 45% of viewport width */
  max-width: 100%;    /* never overflow its container */
  height: auto;       /* auto‐compute height to preserve aspect */
  object-fit: cover;
  border-radius: 8px;
}

/* VIDEO TUTORIALS */
#tutorials {
  padding: 4rem 1rem;
  background: #113a01;
}

#tutorials h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #eee;
}

.tutorial {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4rem;
  gap: 5vw;
  background: #113a01;
  color: #eee;
  padding: 0.5rem;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.tutorial.visible {
  opacity: 1;
}

.tutorial:nth-child(even) {
  flex-direction: row-reverse;
}

.tutorial video {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex: 0 0 auto;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.tutorial.visible video {
  opacity: 1;
}

.tutorial .text {
  flex: 0 0 auto;
  min-width: 280px;
  opacity: 0;
  transform: translateX(100px);
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.tutorial:nth-child(even) .text {
  transform: translateX(-100px);
}

.tutorial.visible .text {
  opacity: 1;
  transform: translateX(0);
}
/* Responsive stacking for tutorials */
@media (max-width: 1000px) {
  .tutorial,
  .tutorial:nth-child(even) {
    flex-direction: column-reverse !important;
  }
}
/* COMPATIBILITY TABLE full-width */
#compatibility {
  background: #1a1a1a;
  color: #eee;
  padding: 4rem 1rem;
  width: 100%;
  margin: 0;
}

#compatibility h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.compat-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 800px;
}

.compat-table th,
.compat-table td {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.compat-table th {
  background: rgba(255, 255, 255, 0.1);
  text-align: left;
}

.compat-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
}

/* CALL-TO-ACTION SECTION */
#cta {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

#cta h2 {
  margin-bottom: 1rem;
}

#cta .cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #000;
  /* solid black */
  color: #fff;
  /* white text */
  border: none;
  border-radius: 9999px;
  /* pill shape */
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
#cta .cta-btn:hover {
  background: #222;
  /* slightly lighter black on hover */
}

#cta .cta-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.custom-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.tab-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 9999px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab-btn.active {
  background: var(--accent);
  color: #fff;
}
.custom-content {
  display: none;
}
.custom-content:not(.hidden) {
  display: block;
}
/* CHECKOUT SECTION */

