/* ==========================
   GLOBAL STYLES — shared across all pages
   ========================== */

/* Reset and base */
h1 {
  font-size: 2.5rem;
  color: #ff00c8;
  font-weight: bold;
}

h2 {
  font-size: 1.8rem;
  color: #a100ff;
  font-weight: bold;
}

h3 {
  font-size: 1.2rem;
  color: #999;
  font-weight: normal;
}

body, html {
  font-family: 'Inter', sans-serif;
  background-color: #2d2d2d;
  color: #f3f3f3;
}

/* Title fonts */
h1, h2 {
  font-family: 'Poppins', sans-serif;
}

/* UI/Highlight text (e.g., application cards, nav) */
nav a,
.hero-button,
.application-grid div {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.5px;
}


/* GLOBAL */

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

header {
  transform: translateY(-100%);
  opacity: 0;
  animation: slideDownHeader 0.6s ease-out forwards;
}

@keyframes slideDownHeader {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(45, 45, 45, 0.5);
  backdrop-filter: blur(4px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.shrunk {
  padding: 0.4rem 2rem;
  opacity: 0.9;
  transform: scaleY(0.96);
  transform-origin: top;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 40px;
}

.brand {
  background-color: #ff00c8;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.brand:hover {
  background-color: #a100ff;
}

/* nav buttons (now links) */
nav a {
  color: white;
  font-weight: bold;
  margin-left: 1rem;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

nav a:hover {
  background-color: #ce1c5711;
  transform: scale(0.96);
  box-shadow: inset 0 0 6px #ff005533;
}

/* HERO */
.hero-section {
  background-color: #ff00c8;
  background: url('../images/blenderV24model.PNG') center center / cover no-repeat fixed;
  min-height: 100vh;
  padding-top: 50rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12vw;
  color: #ff00c8;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 10px #00ffd855;
}

.flipped-gamma {
  display: inline-block;
  transform: rotate(180deg) translateY(-0.166em);
  vertical-align: middle;
  line-height: 1;
}

.one-liner {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: white;
  z-index: 3;
  text-align: center;
}

.hero-button {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background-color: #ff00c8;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  z-index: 3;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s;
}

.hero-button:hover {
  background-color: #a100ff;
  box-shadow: 0 0 12px #00ffd8;
}

/* V-CUT DIVIDER */
.hero-divider {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom left, transparent 49.5%, #2d2d2d 50.5%) left,
              linear-gradient(to bottom right, transparent 49.5%, #2d2d2d 50.5%) right;
  background-size: 50% 100%;
  background-repeat: no-repeat;
  z-index: 3;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 10%;
  left: 44%;
  transform: translate(-50%, 0);
  color: white;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  text-align: center;
  transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* MAIN CONTENT */
.content {
  padding: 6rem 2rem;
  min-height: 50vh;
}

.products {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.product {
  text-align: center;
  max-width: 320px;
  flex: 1 1 320px;
  background-color: #1e1e1e;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.product.visible {
  opacity: 1;
  transform: translateY(0);
}

.product img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.product-labels {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.label-top {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #ff00c8;
  font-size: 1.6rem;
  text-shadow: 0 0 10px #00ffd855;
}

.label-bottom {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #a100ff;
  font-size: 1.2rem;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 10px #ff00c866;
}

/* FOOTER */
footer {
  background-color: #111;
  padding: 2rem;
  color: white;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  height: 40px;
}

.footer-nav a {
  margin: 0 0.5rem;
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #666;
}

.scroll-to-top {
  animation: bounce 1.5s infinite;
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .title {
    font-size: 15vw;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  nav button {
    flex: 1;
    min-width: 45%;
  }

  .one-liner {
    font-size: 1.2rem;
    top: 32%;
  }

  .hero-button {
    top: 42%;
  }
}

.section-divider {
  height: 3px;
  background: linear-gradient(to right, #ff00c8, #a100ff, #00ffd8);
  margin: 3rem 0;
  border-radius: 2px;
}
