@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap");

/* Brand Colors
#73BF44
#088E60
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Google Sans Flex", sans-serif;
  background-color: #30302f;
  color: #fff;
  line-height: 1.6;
}

/* ========================
   Layout Helpers
======================== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 50px 0;
}

.section__title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 15px;
}

.section__subtext {
  margin-bottom: 15px;
}

.section__subtext__list {
  padding-left: 50px;
}

.section__subtext__list li {
  margin-top: 15px;
}

/* ========================
   Navigation
======================== */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background-color: #30302f;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 50px;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav__links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav__links a:hover {
  color: #73bf44;
}

/* ========================
   Hero Section
======================== */

.hero {
  margin-top: 70px;
  height: 650px;

  background-image: url("../images/lasVegasCover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  overflow: hidden;
}

.hero__content {
  position: relative;
  height: 100%;
}

.hero__logo {
  position: absolute;
  width: 650px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* ========================
   Services Section
======================== */

.services {
  background-color: #088e60;
  padding: 20px;
}

.services p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: left;
}

.services__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: center;
}

.service-card {
  background-color: #3c3c3b;
  padding: 25px;
  border-radius: 8px;
  width: 300px;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #088e60;
}

.service-card__title {
  font-size: 20px;
  margin-bottom: 15px;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* ========================
   About Section
======================== */

.about {
  background-color: #30302f;
}

.about p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: left;
}

/* ========================
   Contact Section
======================== */

.contact {
  padding-top: 50px;
  background-color: #3c3c3b;
}

.contact__grid {
  display: flex;
  justify-content: space-between;
}

.contact p {
  max-width: 300px;
  margin: 0 auto;
}

/* ========================
   Contact Page Section
======================== */
.contact-page {
  padding-top: 100px;
  background-color: #30302f;
}

.contact-page__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: center;
}

.contact-card {
  background-color: #3c3c3b;
  padding: 25px;
  border-radius: 8px;
  width: 400px;
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
}

.contact_card h3 {
  transition: color 0.3s ease;
}

.contact-card:hover h3 {
  color: #088e60;
}

.contact-card__title {
  font-size: 20px;
  margin-bottom: 15px;
}

.contact-card p {
  margin-bottom: 8px;
  font-size: 15px;
}

/* ========================
   Services Page Section
======================== */

.services-page {
  padding-top: 100px;
  background-color: #30302f;
}

/* ========================
   Content Section
======================== */

.content__grid {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 20px;
}

.content__card {
  border-radius: 16px;
  padding: 24px;
}

.content__card:nth-child(odd) {
  background-color: #088e60;
}

.content__card:nth-child(even) {
  background-color: #3c3c3b;
}

/* ========================
   Slider Animation
======================== */

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(-200%);
  }
  75% {
    transform: translateX(-300%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ========================
   Hamburger Icon
======================== */

.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/*
================================
RESPONSIVE BREAKPOINTS
================================
*/

/* ===============================
   Large Desktop (1440px+)
=============================== */
@media (min-width: 1440px) {
  .hero {
    height: 700px;
  }

  .services__grid {
    gap: 30px;
  }

  .contact-page__grid {
    gap: 30px;
  }
}

/* ===============================
   Desktop (1439px – 1280px)
=============================== */
@media (max-width: 1439px) {
  .hero__logo {
    width: 500px;
  }
}

/* ===============================
   Laptop (1279px – 1024px)
=============================== */
@media (max-width: 1279px) {
  .services__grid {
    flex-wrap: wrap;
  }

  .service-card {
    width: 45%;
  }

  .hero__logo {
    width: 450px;
  }

  .contact-card {
    width: 45%;
  }
}

/* ===============================
   Tablet (1023px – 768px)
=============================== */
@media (max-width: 1023px) {
  .nav__links {
    gap: 16px;
  }

  .hero {
    height: 550px;
  }

  .hero__logo {
    width: 380px;
  }

  .services__grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 80%;
  }

  .contact__grid {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .contact-page__grid {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: center;
  }

  .contact-card {
    width: 80%;
  }
}

/* ===============================
   Large Mobile (767px – 481px)
=============================== */
@media (max-width: 767px) {
  .header {
    height: 60px;
  }

  .hero {
    height: 450px;
  }

  .hero__logo {
    width: 300px;
  }

  .section__title {
    font-size: 26px;
  }

  .service-card {
    width: 90%;
  }

  .about p {
    padding: 0 15px;
    text-align: left;
  }

  .contact-card {
    width: 90%;
  }
}

/* ===============================
   Mobile (480px – 320px)
=============================== */
@media (max-width: 480px) {
  .hero {
    height: 400px;
  }

  .hero__logo {
    width: 240px;
  }

  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 22px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card li {
    font-size: 14px;
  }

  .about p {
    font-size: 14px;
  }
  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* Hide nav links by default */
  .nav__links {
    position: absolute;
    top: 70px; /* below header */
    right: 0;
    background: #30302f;
    flex-direction: column;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 20px;
    padding: 20px;
    border-radius: 0 0 8px 8px;
  }

  .nav__links li {
    margin: 0;
  }

  .nav__links a {
    font-size: 18px;
  }

  /* Active menu slides in */
  .nav__links.active {
    transform: translateX(0);
  }
}
