/* styles.css */
body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
  }
   
  header {
    background-color: #000;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #222;
  }
  
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .logo {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
  }
  
  nav ul li {
    cursor: pointer;
    font-weight: 500;
  }
  
  .info {
    font-size: 0.8rem;
    opacity: 0.7;
  }
  
  .hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background-image: url('./assets/image-aset-rawpng.png');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: heroFadeIn 2s ease-out forwards;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    animation: pulseOpacity 4s ease-in-out infinite;
    z-index: -1;
  }

  @keyframes heroFadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes pulseOpacity {
    0%, 100% {
      background-color: rgba(0, 0, 0, 0.15);
    }
    50% {
      background-color: rgba(0, 0, 0, 0.35);
    }
  }

  .hero h1 {
    font-size: 10rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.03rem;
  }

  #typed-output {
    font-size: clamp(2rem, 8vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.03rem;
    text-align: center;
    margin: 0 auto;
  
    white-space: nowrap;         /* 💥 Prevents "powerTim\no" */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100vw;
  }

  
  @keyframes typing {
    from { width: 0 }
    to { width: 9ch }
  }
  
  @keyframes blink {
    0%, 100% { border-color: transparent }
    50% { border-color: #fff }
  }
  
  
  .hero .tagline {
    max-width: 800px;
    margin: 1rem auto;
    font-size: 1.2rem;
    opacity: 0.9;
  }
  
  .hero-icons  {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: -1rem;
    padding: 2rem 0;
    background-color: #000; /* Optional: adds contrast if your image is bright */
  }

  .stack-icons  {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: -1rem;
    padding: 2rem 0;
    background-color: #000; /* Optional: adds contrast if your image is bright */
  }

  .hero-icons  img:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
  }

  .stack-icons  img:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
  }
  
  
  .hero-icons img {
    width: 30px;
    height:33px;
    object-fit: contain;
    filter: brightness(1.1);
  }
  
  .stack-icons img {
    width: 32px;
    height:32px;
    object-fit: contain;
    filter: brightness(1.1);
  }

  .logo-section {
    height: 60vh;
    display: flex;
    flex-direction: column;       /* stack vertically */
    justify-content: center;      /* center vertically */
    align-items: center;          /* center horizontally */
    text-align: center;           /* center text */
    gap: 1rem;                    /* spacing between items */
    padding: 1rem;
  }
  
  .molten-logo {
    max-height: 80%;
    width: auto;
  }


  .features, .approach, .products, .cta, .slogan{
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .features ul, .approach ul, .products ul {
    list-style: none;
    padding-left: 0;
  }
  
  .features ul li,
  .approach ul li,
  .products ul li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
  }
  
  blockquote {
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #fff;
    font-style: italic;
    opacity: 0.8;
  }
  
  .cta .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .cta button {
    background-color: #fff;
    color: #000;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
  }
  
  .cta button:hover {
    background-color: #ddd;
  }
  
  footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    opacity: 0.6;
    border-top: 1px solid #222;
  }
  
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 4rem;
      word-break: break-word;
    }
  
    .hero .tagline {
      font-size: 1rem;
      padding: 0 1rem;
    }
  
    nav ul {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
    }
  
    .top-bar {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .hero-icons {
      flex-wrap: wrap;
      gap: 1rem;
    }
  }

  .burger {
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
    user-select: none;
  }
  
  /* Mobile styles */
  @media (max-width: 768px) {
    .burger {
      display: block;
    }
  
    nav {
      width: 100%;
    }
  
    nav ul {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #000;
      padding: 1rem 0;
      margin-top: 1rem;
      gap: 0;
    }
  
    nav.open ul {
      display: flex;
    }
  
    nav ul li {
      padding: 0.75rem 1.5rem;
      border-top: 1px solid #222;
      width: 100%;
    }
  }
  

  .top-left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  /* Optional: center content vertically in top-bar */
  .top-bar {
    align-items: center;
  }
  
  /* Reduce top-bar padding on mobile to tighten layout */
  @media (max-width: 768px) {
    .top-bar {
      padding: 1rem;
    }
  
    .logo {
      font-size: 1rem;
    }
  
    .burger {
      font-size: 1.5rem;
      padding: 0.25rem 0.5rem;
    }
  }
  

  @media (max-width: 768px) {
    .top-bar {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 1rem;
    }
  

  
    nav ul {
      display: none;
    }
  
    nav.open ul {
      display: flex;
    }
  
    nav.open ~ .info {
      display: block;
      margin-top: 0.5rem;
      opacity: 0.7;
      font-size: 0.85rem;
    }
  
    nav {
      width: 100%;
    }
  }

  nav ul li a {
    color: #fff;             /* Match your site’s text color */
    text-decoration: none;   /* Remove underline */
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  nav ul li a:hover {
    color: #aaa;             /* Optional hover effect */
  }

  .video-showcase {
    padding: 3rem 2rem;
    background-color: #000;
    text-align: center;
    color: #fff;
  }
  
  .video-showcase h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }

  .video-caption {
    font-style: italic;
    color: #aaa;
    margin-top: 0.75rem;
    font-size: 0.95rem;
  }
  

  html {
    scroll-behavior: smooth;
  }
  
  