:root {
  --accent-color: #FF6B00;
    -webkit-tap-highlight-color: transparent; /* removes the square flash */

}

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

/* Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif; /* Add your font stack here */
  background: black;
  color: white;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Default style (orange is default) */
.orange {
  color: var(--accent-color);
}

/* Custom brightness per color */
body[data-accent="#007bff"] .orange {
  filter: brightness(0.85);
}

/* Blue */
body[data-accent="#ffc107"] .orange {
  filter: brightness(1.1);
}

/* Yellow */
body[data-accent="#28a745"] .orange {
  filter: brightness(1.0);
}

/* Green */
body[data-accent="#dc3545"] .orange {
  filter: brightness(0.9);
}

/* Red */
body[data-accent="#e83e8c"] .orange {
  filter: brightness(1.0);
}

/* Pink */
body[data-accent="#FF6B00"] .orange {
  filter: brightness(1.4);
}




.color-picker button.selected {
  outline: 2px dashed var(--accent-color);
  outline-offset: 4px;
}



.cta,
.orange-btn {
  background: var(--accent-color);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
}

.cta:hover,
.orange-btn:hover {
  filter: brightness(1.05);
}

.black-btn {
  background: white;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
}

.black-btn:hover {
  background: #ddd;
  color: black;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  flex-wrap: wrap;
}

nav .logo,
.logo {
  font-weight: bold;
  margin-top: -5px;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.01);
}

#color-toggle svg .full {
  fill: var(--accent-color);
  transition: fill 0.3s ease;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.logo {
  flex-shrink: 0;
  margin-right: 2rem;
}
.nav-right {
  display: flex;
  gap: 0.5rem;
  margin-left: auto; /* pushes the buttons to the far right */
}

nav a {
  text-decoration: none;
  color: white;
}

nav a:not(.logo):hover {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

/* Color Picker */
.color-picker {
  display: flex;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
}

.color-picker button {
  outline: none;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.color-picker button:focus,
.color-picker:focus {
  outline: 2px dashed var(--accent-color);
  outline-offset: 4px;
}

/* Menu Toggle Buttons */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Hero Section */
header {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
  opacity: 0;
  transition: opacity 2s ease;
}

.subtitle.fade-in {
  opacity: 1;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.section.dark {
  background: #111;
}

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

.grid div {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  min-width: 250px;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #000;
}

/* Animation Text */
#animated-title {
  font-size: 4.5rem;
  font-weight: bold;
  white-space: nowrap;
  position: relative;
}

.class-slide,
.ascend-slide,
.as-fade,
.cend-move {
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
  position: relative;
  opacity: 0;
}

.as-fade,
.cend-move {
  font-size: 4.5rem;
}

.animate .class-slide {
  animation: slide-in-left 1s forwards, shift-left-late 0.4s 2s forwards;
}

.animate .ascend-slide {
  animation: slide-in-right 1s forwards;
  opacity: 1;
}

.animate .as-fade {
  animation: fade-out 0.5s 1.5s forwards;
  opacity: 1;
}

.animate .cend-move {
  animation: continue-slide 0.5s 2s forwards;
  opacity: 1;
}

.ascend-slide {
  font-size: 0;
}

/* CTA Buttons */
.cta-buttons {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.6s ease;
}

.cta-buttons.animate-buttons {
  opacity: 1;
  transform: translateY(0);
}


/* Animations */
@keyframes slide-in-left {
  from {
    transform: translateX(-300px);
    opacity: 0;
  }

  to {
    transform: translateX(9px);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(300px);
    opacity: 0;
  }

  to {
    transform: translateX(-9px);
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes shift-left-late {
  from {
    transform: translateX(10%);
  }
  to {
    transform: translateX(25%);
  }
}

@keyframes continue-slide {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(-25%);
  }
}


/* Mobile Styles */
@media (max-width: 768px) {
  @keyframes slide-in-left {
    from {
      transform: translateX(-110px);
      opacity: 0;
    }

    to {
      transform: translateX(5px);
      opacity: 1;
    }
  }

  @keyframes slide-in-right {
    from {
      transform: translateX(110px);
      opacity: 0;
    }

    to {
      transform: translateX(-5px);
      opacity: 1;
    }
  }

  @keyframes shift-left-late {
    from {
      transform: translateX(10%);
    }
    to {
      transform: translateX(24%);
    }
  }

  @keyframes continue-slide {
    from {
      transform: translateX(-10%);
    }
    to {
      transform: translateX(-24%);
    }
  }

  #animated-title,
  .class-slide,
  .as-fade,
  .cend-move {
    font-size: 2.5rem;
  }

  .menu-btn {
    display: inline-block;
  }

  .nav-links,
  .color-picker {
    display: none;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.3rem;
    border-radius: 0px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 11;
  }

  .nav-links.show,
  .color-picker.show {
    display: flex;
  }

  .nav-links ul {
    display: flex;
    width: 100%;

    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
  }

  .nav-links ul li {
    margin: 0;
  }

  .nav-links ul a {
    white-space: nowrap;
  }

  .nav-links .cta {
    background: none;
    color: var(--accent-color) !important;
    padding: 0.3rem 0.8rem;
    font-weight: bold;
    font-family: inherit;
  }

  .nav-links .cta:hover {
    filter: brightness(1.2);
  }

  .color-picker {
    flex-direction: row;
    justify-content: center;
  }
}


#color-toggle svg .ring {
  stroke: var(--accent-color);
  transition: stroke 0.3s ease;
}

#color-toggle svg .dot {
  fill: var(--accent-color);
  transition: fill 0.3s ease;
}


