:root {
  --accent: #ffffff !important; /* 1 of 5 basic colors */
  --background: #000;
  --accent-contrast-color: black; /* mainly uses for text on the accent backgrounds but not limited */
  --color: white; /* text color, also some other text use the variable in color mixing */
  --border-color: rgba(223, 27, 27, 0.1); /* border color */

  /* code syntax */
  /* take a look at themes/re-terminal/assets/css/syntax.scss to understand in detail which color stands for */
  --syntax-func-color: color-mix(in srgb, var(--accent) 70%, #999 30%); 
  --syntax-var-color: color-mix(in srgb, var(--accent) 90%, transparent);
  --syntax-value-color: color-mix(in srgb, var(--accent), white);
}

/* Override theme font with Tahoma */
body {
  font-family: Tahoma, Arial, sans-serif !important;
}

code, kbd, pre {
  font-family: Tahoma, 'Courier New', monospace !important;
}

/* Desktop menu styling to match mobile menu */
@media (min-width: 685px) {
  .navigation-menu__inner > li > a {
    color: var(--accent) !important;
    border: 2px solid var(--accent);
    padding: 12px 20px !important;
    margin-bottom: 0 !important;
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
  }
  
  .navigation-menu__inner > li > a:hover {
    background-color: color-mix(in srgb, var(--accent), transparent 90%);
  }
}

/* Header & Menus */
.header__logo {
  height: 60px;
}

/* Mobile contact button - show only on mobile */
.mobile-contact-button {
  display: none;
}

/* Cover */
.custom-cover {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  
  color: white;
  text-align: center;
}
.cover-content {
  z-index: 2;
}

.cover-title-image {
  max-height: 160px;
  align-self: center;
  justify-self: center;
}

.cover-title {
  font-size: 96px !important;
}

.cover-subtitle {
  font-size: 48px !important;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



.contact-button {
  background-color: #E5B80B;
  border: 2px solid #E5B80B !important;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: #bd990a !important;
  border: 2px solid #bd990a !important;
}

.navigation-menu {
  align-items: center !important;
  margin: 0px 1px !important;
}

.header {
  padding-bottom: 30px;
}

.navigation-menu-options {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}



/* Matrix-cubes */
.matrix-cubes {
  position: absolute;
  top: 200px;
  right: 40px;
  z-index: -99;
  overflow: hidden;
  --m: 6; /* number of columns */
  --n: 5; /* number of rows */
  --s: 80px; /* size of the cubes */
  --g: 40px; /* gap between cubes */
  
  aspect-ratio: var(--m)/var(--n);
  width: calc(var(--m)*(var(--s)*(1 + 1/sqrt(8)) + var(--g)));
  background:
    conic-gradient(at var(--s) var(--s),
      #0004 37.5%,#0008 0 75%,#0000 0) 
    0 0/calc(100%/var(--m)) calc(100%/var(--n)) 
    #e5b90b1a; /* the main color */
  mask: 
    conic-gradient(from -90deg at right var(--g) bottom var(--g),#000 90deg,#0000 0) intersect,
    linear-gradient(to top right,#0000 calc(var(--s)/4 + var(--g)/sqrt(2)),#000 0 calc(100% - calc(var(--s)/4 + var(--g)/sqrt(2))),#0000 0);
  mask-size: calc(100%/var(--m)) calc(100%/var(--n));
}



/* Content Sections */
.content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.content-section:last-child {
  border-bottom: none;
}

.section-inner {
  margin: 0 auto;
  padding: 0 60px;
  max-width: 1200px;
}

.section-title {
  font-size: 32px !important;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.section-content {
  color: var(--color);
  line-height: 1.6;
}


/* Mission Section */
.mission-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.mission-statement {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 30px;
  font-weight: bold;
}


/* Values Section */
.values-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.values-content {
  flex: 1;
}

.value-item {
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.value-item:nth-child(1) { animation-delay: 0.1s; }
.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.3s; }

.value-title {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: bold;
}

.value-description {
  color: var(--color);
  line-height: 1.6;
  font-size: 1.1rem;
}

.values-image {
  text-align: center;
}

.values-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 1px solid #E5B80B;
}

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

/* Desktop layout for Values section */
@media (min-width: 769px) {
  .values-container {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  
  .values-content {
    flex: 2;
  }
  
  .values-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .values-image img {
    width: 100%;
    max-width: 500px;
  }
}

/* Location Section */
.location-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.location-content {
  flex: 1;
}

.location-description {
  color: var(--color);
  line-height: 1.6;
  font-size: 1.2rem;
  text-align: center;
}

.location-image {
  text-align: center;
}

.location-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 1px solid #E5B80B;
}

/* Desktop layout for Location section */
@media (min-width: 769px) {
  .location-image img {
    max-width: 500px;
  }
}

/* Contact Section */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  text-align: center;
}

.contact-cta {
  display: inline-block;
  padding: 15px 30px;
  background: var(--accent);
  color: var(--background);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.contact-cta:hover {
  background: #E5B80B;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-section {
    padding: 40px 0;
  }
  
  .section-inner {
    padding: 0 25px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-item {
    padding: 30px 20px;
  }

  .custom-cover {
    height: 50vh;
  }

  .cover-title {
    font-size: 48px !important;
  }

  .cover-subtitle {
    font-size: 24px !important;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .header__logo {
    height: 32px;
  }

  .mobile-contact-button {
    display: inline-block;
    padding: 12px 16px;
  }

  .desktop-contact-button {
    display: none;
    padding: 8px 8px !important;
  }

  .matrix-cubes {
    position: absolute;
    top: 150px;
    right: -5px;
    z-index: -99;
    --m: 3; /* number of columns */
    --n: 5; /* number of rows */
    --s: 58px; /* size of the cubes */
    --g: 24px; /* gap between cubes */
  }
}