@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html {
  scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--background-color);
}

:root {
    --primary-color: #151515;
    --secondary-color: #f8df08;
    --tertiary-color: #ffffff;
    --text-color: #949494;
}

h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tertiary-color);
    text-align: center;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    color: var(--tertiary-color);
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-color);
}

#hero-tagline {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--tertiary-color);
}

strong {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
}

#primary-button,
#secondary-button {
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
    color: var(--primary-color) !important;
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 5rem;
    transition: all ease 0.3s;
    cursor: pointer;
    margin-left: 2rem;
    display: inline-block;
    text-decoration: none;
}

#primary-button:hover,
#secondary-button:hover {
    color: var(--secondary-color) !important;
    background: none;
}

#secondary-button {
  margin-top: 2rem;
  margin-left: 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 1.2rem 10rem;
    position: sticky;
    top: 0;
    z-index: 999;
    left: 0;
    background-color: var(--primary-color);
}

nav .logo,
.contact-details img {
    width: 200px;
    height: auto;
    padding: 2px;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 1.7rem;
    position: relative;
}

#navbar li a {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--tertiary-color);
    transition: all ease 0.3s;
}

#navbar li a:hover,
#navbar li a.active {
    color: var(--secondary-color);
}

#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

.icon {
  width: 30px;
  height: auto;
  cursor: pointer;
}

@media (max-width: 1024px) {
    nav {
        padding: 0.7rem 2rem;
    }

    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--primary-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        transition: right 0.3s ease;
    }

    #navbar.active {
        right: 0;
    }

    #navbar li {
        margin-bottom: 1.8rem;
    }

    #mobile {
        display: flex;
        align-items: center;
    }

    #mobile i {
        color: var(--tertiary-color);
        font-size: 1.6rem;
        padding-left: 20px;
    }

    #close {
        display: initial;
        position: absolute;
        top: 30px;
        left: 35px;
        cursor: pointer;
    }

    #close i {
        color: var(--tertiary-color);
        margin-left: -20px;
    }
    #primary-button {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.1rem 2rem;
    }
    nav .logo,
.contact-details img {
    width: 150px;
}
}

#hero {
    width: 100%;
    height: 95vh;
    padding: 4rem 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(21, 21, 21, 0.8), rgba(21, 21, 21, 0.8)), url(images/hero-section-image.webp);
    background-size: cover;
    background-position: center;
}

#features {
    width: 100%;
    height: auto;
    padding: 6rem 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.features-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.feature {
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: top;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  border-radius: 10px;
}

.feature img {
    width: 30%;
    height: auto;
    margin-bottom: 1rem;
}

.feature p {
    text-align: center;
}

@media (max-width: 1024px) {
    .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}

#about {
  width: 100%;
  height: auto;
  padding: 6rem 10rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-text ul {
  margin-top: 2rem;
}

.about-text ul li {
  font-size: 1rem;
  font-weight: 500;
  list-style: none;
  margin-top: 1rem;
  color: var(--text-color);
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 950px) {
  #about {
    flex-direction: column-reverse;
  }

  .about-text button {
    display: block;
  }
}

#services {
    width: 100%;
    height: auto;
    padding: 6rem 10rem 6rem 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.services-image {
    flex: 1;
}

.services-image img {
    width: 95%;
    height: auto;
}

.services-text {
    flex: 2;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex: 1;
  min-height: 180px;
  background-color: transparent;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
    border-radius: 10px;
}

.service-item img {
    width: 17%;
    height: auto;
    flex-shrink: 0;
}

.service-item p {
    width: 80%;
}

@media (max-width: 1200px) {
  .services-image img {
    width: 85%;
    height: auto;
}
}


@media (max-width: 1024px) {
  .services-image{
    display: none;
  }

  .service-column,
  .services-list {
  gap: 1.2rem;
}

.services-text {
  background-image: linear-gradient(rgba(21, 21, 21, 0.8), rgba(21, 21, 21, 0.8)), url(images/services-section-image.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-attachment: scroll;
}

.service-item {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
  }

.service-item img {
    width: 20%;
}
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

#contact {
    width: 100%;
    height: auto;
    padding: 6rem 10rem;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5rem;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.social-handles {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
}

.social-handles img {
    width: 40%;
    height: auto;
}

.contact-item p a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--tertiary-color);
    text-decoration: none;
}

.contact-item img {
    width: 28px;
    height: auto;
}

.contact-form {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.forms-row {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.5rem 1rem;
    border: 1px solid var(--secondary-color);
    border-radius: none;
    outline: none;
    background: none;
    font-size: 1rem;
    color: var(--tertiary-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--tertiary-color);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    width: 160px;
}


@media (max-width: 950px) {
  .contact-container {
    flex-direction: column;
    gap: 3rem;
}
}

@media (max-width: 500px) {
    .contact-form {
    width: 100%;
}
  .forms-row {
    flex-direction: column;
}
}

footer {
    width: 100%;
    height: auto;
    padding: 1.5rem 10rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--secondary-color);
}

footer p {
    color: var(--primary-color);
}

footer p a {
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

