@import url('https://fonts.googleapis.com/css2?family=Bitcount+Ink:wght@100..900&family=DM+Serif+Text:ital@0;1&family=Pixelify+Sans:wght@400..700&family=Special+Gothic+Expanded+One&display=swap');

@font-face {
  font-family: proximanova;
  src: url(/assets/fonts/proximanova_bold.otf);
}

@font-face {
    font-family: promixmanova-light;
    src: url(/assets/fonts/proximanova_light.otf);
}



body {
 /* background: linear-gradient(94deg, #1e1e1e, #484849, #48484b, #1e1e1e);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  */
  background-color: #2c2c2c;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
}

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



nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #1e1e1e;
  backdrop-filter: blur(12px) saturate(150%);
  font-family: proximanova;

  /* background-image: url(/assets/signal-2025-09-27-193622_002.jpeg); */
  background-position: 20px;
  
  
  


}

ul, li {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#intro-text {
  letter-spacing: 6px;
  font-weight: bolder;
  font-size: 1.25rem;
  color: wheat;
  
  
}

.links {
  text-decoration: none;
  position: relative;
  font-size: 1rem;
  color: white;
}

.links::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #f7f0f0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.links:hover::before {
  transform: scaleX(1);
}

main {
  background-image: url(/assets/dronecapture_upscaled.jpeg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
  
  
}

#mainpage {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: 90px;
  
  padding: 1rem;
  width: 500px;
  height: 850px;
  font-size: 1.2rem;

  backdrop-filter: blur(5px);
  
  

}

#heading1 {
  margin-top: 10rem;
  text-shadow: 10px 10px 10px black;
}

#aboutme {
    font-family: promixmanova-light;
    font-weight: 400;
    text-shadow: 10px 10px 10px black;
    
    
}

#projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* force equal height */
  padding: 2rem 1rem;
  gap: 5rem;
  margin-top: 5rem;
}


.card {
  flex: 1 1 280px;
  max-width: 350px;
  min-height: 350px; /* set equal height */
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* spread content */
  gap: 0.5rem;
}


.card-image {
  border-radius: 0.75rem;
  object-fit: cover;
  width: 100%;
  height: 160px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.card a {
  color: wheat;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.card a:hover {
  color: rgb(241, 208, 147);
}



/* Media queries */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  #intro-text {
    letter-spacing: 5px;
    font-size: 1rem;
  }

  #mainpage {
    align-items: center;
    text-align: center;
    margin: auto;
    font-size: 0.95rem;
  }

  #projects {
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
  }
}


.option-list {
  display: flex;
  
  justify-content: space-around;
  align-items: flex-end;
  text-align: center;
  padding: 2rem 1rem;
  gap: 10rem;
  color: #fff;
  
  margin-top: 150px;
  margin-left: 800px;
  
  
}

.option-list .option {
  flex: 1;
  width: 145px;
  
  
}

.option-list h3 {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.option-list p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* Responsive stack on mobile */
@media (max-width: 768px) {
  .option-list {
    flex-direction: column;
    text-align: center;
  }
}


@media (max-width: 480px) {
  nav {
    padding: 0.5rem 1rem;
  }

  .card {
    padding: 1rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  #intro-text {
    font-size: 0.9rem;
  }
}


footer {
  display: flex;
  justify-content: space-between;
  align-items: center;       /* vertical alignment */
  padding: 1rem 2rem;
  
  color: #fff;

  background-color: #1e1e1e;
  
}

#contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

#contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

#contact .divider {
  height: 1.2rem;
  border-left: 1px solid rgba(255,255,255,0.5);
}

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

.socials img {
  display: block;
}

#clients {
    display: grid;
}


hr {
  border: none;
  height: 2px;
  background: rgb(255, 255, 255);

  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 3s forwards;
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}



/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {
  /* main block */
  #mainpage {
    margin: 0 auto;                 /* center */
    width: min(92vw, 560px);        /* shrink on small screens */
    height: auto;                   /* no fixed height */
    align-items: center;
    text-align: center;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }

  /* options list */
  .option-list {
    flex-direction: column;
    gap: 1.5rem;                    /* smaller gap */
    text-align: center;

    margin-left: 0;
    margin-top: 0;
  }

  /* project cards */
  #projects {
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    
  }
  .card {
    width: min(80vw, 420px);        /* shrink nicely */
    min-height: unset;              /* let content decide height */
  }

  footer p {
    display: none;
  }
}

/* ===== LOGOS ON MOBILE ===== */
@media (max-width: 720px) {
  .logos {
    overflow-x: auto;               /* enable horizontal scroll */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;       /* remove fade edges */
            mask-image: none;
    padding-bottom: 0.5rem;
  }

  .logos .inner {
    animation: none;                /* stop auto-scroll */
    gap: 2rem;
    width: max-content;
  }

  .logos img {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* optional scrollbar styling */
  .logos::-webkit-scrollbar { height: 6px; }
  .logos::-webkit-scrollbar-thumb { background:#444; border-radius:6px; }
  .logos::-webkit-scrollbar-track { background:transparent; }
}
