:root {
  --bg: #0e0e0e;
  --bg-alt: #151515;
  --text: #eaeaea;
  --muted: #9a9a9a;
  --accent: #009f9a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0e0e0e99;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
}

.nav-cta {
  color: var(--accent);
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 4rem;

  background-color: #009f9a; /* aqua base */

  background-image:
    url('../assets/images/title.jpg');

  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 65%;
}


/* CTA */
.cta {
  display: inline-block;
  padding: 0.2rem 2.2rem;
  border: 3px solid var(--text);
  border-radius: 25px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.cta:hover {
  background: var(--text);
  color: var(--accent);
  box-shadow: 3px 3px 5px var(--bg-alt);
  transform: translateY(-2px);
}

/* SECTIONS */
.section {
  padding: 6rem 4rem;
  text-align: center;
}

.section-dark {
  background: var(--bg-alt);
}

.section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

/* ABOUT */
.about-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

/* CAROUSEL */
.carousel {
  margin-top: 4rem;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
}

.carousel img {
  height: 220px;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.carousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.service h3 {
  margin-bottom: 0.5rem;
}

.service p {
  color: var(--muted);
}

/* CONTACT */
.contact-text {
  color: var(--muted);
  margin-bottom: 3rem; /* larger gap before button */
}

.socials {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}

.socials a {
  color: var(--muted);
  font-size: 1.8rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 2rem;
  }

  .hero {
    padding: 0 2rem;
  }

  .section {
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}
