
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  
  padding: 40px;
  box-sizing: border-box;
  
  h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 200;
    letter-spacing: 1px;
  }
}

.site-header {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;

  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 18px;

  border-radius: 16px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.hero {
  height: 100vh;
  
  background-image: url("/hero/1920");

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  
  position: relative;
  
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  
  padding: 74px;
  
  @media (max-width: 600px) {
    padding: 20px;
    background-position: 80% center;
  }

  @media (min-width: 601px) and (max-width: 1024px) {
    background-position: 70% center;
  }

  .content {
    display: flex;
    flex-direction: column;
    
    max-width: 520px;
    
    z-index: 1;
    
    padding: 12px 18px;
    
    border-radius: 16px;
    
    position: relative;
    
    color: #fff;
    
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    
    @media (max-width: 600px) {
      padding: 12px;
	  max-width: 100%;
      background: rgba(0, 0, 0, 0.08);
      backdrop-filter: blur(6px);
    }

    .title {
      h1 {
	    margin: 0;
      }

      @media (max-width: 600px) {
        h1 {
		  font-size: 1.6rem;
		  line-height: 1.1;
        }
      }
    }

    .bottom {
      p {
	    margin: 0;
		font-size: 1rem;
		line-height: 1.6;
      }

      @media (max-width: 600px) {
        p {
		  font-size: 0.85rem;
		  line-height: 1.35;
        }
      }
    }
  }
}

.logo {
  img {
    height: 50px;
    width: auto;
    transition: height 0.4s ease, transform 0.4s ease;

    &:hover {
      transform: rotate(-180deg);
    }

	@media (max-width: 600px) {
      height: 40px;
	}
  }
}

.menu {
  display: flex;
  gap: 20px;

  @media (max-width: 600px) {
    gap: 10px;
    font-size: 13px;
  }

  a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    padding: 6px 0;
    transition: color 0.2s ease, transform 0.2s ease;

    &::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -3px;

      width: 100%;
      height: 2px;

      background: #fff; // brighter for dark UI

      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.2s ease;
    }

    &:hover {
      color: #ddd;
      transform: translateY(-1px);
    }

    &:hover::after {
      transform: scaleX(1);
    }

    @media (max-width: 600px) {
      &:active {
        color: #fff;
        transform: none;
      }
    }
  }
}

.contact {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  background: #0b0b0b;
  color: #fff;

  .contact-inner {
    width: 100%;
    max-width: 600px;
  }

  h1 {
    margin-bottom: 20px;
    font-weight: 300;
  }

  .form {
    display: flex;
    flex-direction: column;
    gap: 12px;

    input,
    textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 8px;
      background: rgba(255,255,255,0.05);
      color: #fff;
      outline: none;
      font-size: 1rem;
    }

    input:focus,
    textarea:focus {
      border-color: rgba(255,255,255,0.4);
    }

    button {
      margin-top: 6px;
      padding: 12px 14px;
      border: none;
      border-radius: 8px;
      background: #fff;
      color: #000;
      font-weight: 500;
      cursor: pointer;
      transition: opacity 0.2s ease;
    }

    button:hover {
      opacity: 0.8;
    }
  }

  @media (max-width: 600px) {
    padding: 40px 16px;

    h1 {
      font-size: 1.6rem;
    }
  }
}
