body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #050816;
  color: white;
}

/* NAVBAR */
.nav {
  position: fixed;
  width: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.logo {
  height: 80px;
}

/* MENU */
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

nav a:hover {
  color: #4cc9ff;
}

/* CTA BUTTON NAV */
.cta-btn {
  background: linear-gradient(90deg,#4cc9ff,#0077ff);
  padding: 10px 20px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

/* HERO */
.hero {
  height: 100vh;
  background: url('../images/bg.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.4));
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 670px;
  padding: 20px;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero p {
  opacity: 0.8;
  margin-bottom: 20px;
}

/* BUTTONS */
.buttons {
  margin-top: 20px;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  margin: 10px;
  display: inline-block;
  text-decoration: none;
  transition: 0.3s;
}

.primary {
  background: linear-gradient(90deg,#4cc9ff,#0077ff);
  color: white;
}

.primary:hover {
  box-shadow: 0 0 20px rgba(76,201,255,0.5);
}

.secondary {
  border: 1px solid #4cc9ff;
  color: white;
}

.secondary:hover {
  background: rgba(76,201,255,0.1);
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  text-align: center;
}

.section h2 {
  font-size: 32px;
}

/* DARK SECTION */
.dark {
  background: #02040a;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  margin-top: 40px;
}

/* CARDS */
.card {
  background: #0a0f1f;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 0 0 transparent;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 15px 0 5px;
}

.card p {
  padding: 0 15px 20px;
  opacity: 0.7;
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(76,201,255,0.4);
}

/* PROJECT OVERLAY */
.project {
  position: relative;
}

.overlay-card {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  width: 100%;
  padding: 10px;
  font-size: 14px;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(90deg,#0a1a3a,#081024);
  padding: 80px;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
}

/* FOOTER */
footer {
  background: black;
  padding: 40px;
  text-align: center;
  font-size: 14px;
}
.contact-form {
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
	gap: 10px;
}

.contact-form input,
.contact-form textarea {
  margin: 10px 0;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background: #0a0f1f;
  color: white;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button {
  margin-top: 10px;
}

/* POPUP BACKGROUND */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

/* POPUP BOX */
.popup-content {
  background: #0a0f1f;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* FORM */
.popup input,
.popup textarea {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background: #050816;
  color: white;
}
/* POPUP BACKGROUND */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

/* POPUP BOX */
.popup-content {
  background: linear-gradient(145deg,#0a0f1f,#050816);
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  text-align: center;
  animation: popupIn 0.35s ease;
  box-shadow: 0 0 40px rgba(0,119,255,0.25);
  position: relative;
}

/* ANIMATION */
@keyframes popupIn {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 26px;
  cursor: pointer;
}

/* SUBTEXT */
.popup-sub {
  opacity: 0.7;
  font-size: 14px;
  margin-bottom: 15px;
}

/* FORM */
.popup input,
.popup textarea {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #050816;
  color: white;
  font-size: 14px;
}

.popup textarea {
  min-height: 120px;
}
.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg,#4FC3F7,#0077FF);
    text-align: center;
    padding: 15px;
    font-weight: bold;
    z-index: 999;
  }
}
.popup input:focus,
.popup textarea:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(79,195,247,0.6);
}
.btn {
  transition: all 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}.hero-extra-cta {
  margin-top: 20px;
}

.hero-extra-cta .large {
  padding: 16px 40px;
  font-size: 18px;
}
html {
  scrollbar-gutter: stable;
}
.sub-hero {
  height: 300px;
  background: linear-gradient(#000000cc,#000000cc), url('images/hero.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-hero h1 {
  font-size: 40px;
}
.content {
  padding: 80px 20px;
}

.text-block {
  max-width: 700px;
  margin-bottom: 40px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.image-grid img {
  width: 100%;
  border-radius: 10px;
}
.content-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card img {
  width: 100%;
  border-radius: 10px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: #0a0f1f;
  padding: 15px;
  border-radius: 12px;
  transition: 0.3s;
}

.project-card img {
  width: 100%;
  border-radius: 10px;
}

.project-card h3 {
  margin-top: 10px;
}

.project-card p {
  font-size: 14px;
  opacity: 0.8;
}

/* 🔥 Hover */
.project-card:hover {
  transform: translateY(-6px);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

/* 🔥 Zoom effekt */
.project-card:hover img {
  transform: scale(1.08);
}

/* 🔥 Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: 0.3s;
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 0;
}

.overlay p {
  font-size: 14px;
  opacity: 0.8;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link:visited {
  color: inherit;
}

.card-link:hover {
  color: inherit;
}
.card-link {
  display: block;
}

.card-link:hover .card {
  transform: translateY(-5px);
  transition: 0.3s;
}