@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@600&display=swap');

/*====  RESET ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

/*====  VARIABLES ============================ */
:root {
  --header-height: 4.5rem;

  /* colors */
  --hue: 270;
  --body-color: hsl(0 0% 98%);

  /* fonts */
  --title-font-size: 1.875rem;
  --subtitle-font-size: 1rem;
}

/*===  BASE ============================ */
html {
  scroll-behavior: smooth;
}

body {
  font-size: large;
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'Oswald', sans-serif;
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
}

.title {
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'Oswald', sans-serif;
  color: black; 
  font-style: italic;
}

.title h2 {
  font-size: large;
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'Oswald', sans-serif;
  font-style: italic;
 
}

.button {
  background-color: var(--base-color);
  color: var(--text-color-light);
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
  border-radius: 0.25rem;
  font: 500 1rem var(--body-font);
  transition: background 0.3s;
}

.button:hover {
  background: var(--base-color-alt);
}

.divider-1 {
  height: 1px;
  background: rgb(92, 92, 92);
}

.divider-2 {
  height: 1px;
  background: rgb(92, 92, 92);
}


/*====  LAYOUT ============================ */
.container {
  margin-right: 30px;
}


.section {
  padding: calc(5rem + var(--header-height)) 0;
}

.section .title {
  margin-bottom: 1rem;
}

.section .subtitle {
  font-size: var(--subtitle-font-size);
}

.section header {
  margin-bottom: 4rem;
}

.section header strong {
  color: var(--base-color);
}

#header {
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 2rem;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--body-color);
  width: 100%;
}

#header.scroll {
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
}

#header .title {
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'Oswald', sans-serif;
  font-size: 25px;
}

/* Header Logo */
.header-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'Oswald', sans-serif;
  font-style: italic;
  font-size: 40px;
  color: black; /* First letter color */
}

.header-logo span {
  color: grey; /* Second letter color */
}



/*====  LOGO ============================ */
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'Oswald', sans-serif;
  font-style: italic;
  font-size: 40px;
  color: black;
}

.logo span {
  color: grey;
}

.logo-alt span {
  color: grey;
}

/*====  NAVIGATION ============================ */
nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  transition: color 0.2s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--base-color);
}

nav ul li a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: var(--base-color);

  position: absolute;
  left: 0;
  bottom: -1.5rem;

  transition: width 0.2s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav .menu {

  text-decoration: none; /* Remove default underline */
  position: relative; /* Set position for pseudo-element */
}

nav .menu ul {
  display: none;
}

/* Hamburger menu icon styles */
.toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-menu,
.icon-close {
  font-size: 2.2rem; /* Adjust size as needed */
}

.icon-close {
  display: none; /* Initially hide the close icon */
}

/* Mostrar menu */
nav.show .menu {
  opacity: 1;
  visibility: visible;

  background: var(--body-color);

  height: 100vh;
  width: 100vw;

  position: fixed;
  top: 0;
  left: 0;

  display: grid;
  place-content: center;
}

nav.show .menu ul {
  display: grid;
}

nav.show ul.grid {
  gap: 4rem;
}

/* toggle menu */
.toggle {
  color: var(--base-color);
  font-size: 1.5rem;
  cursor: pointer;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;

  position: absolute;
  top: -1.5rem;
  right: 1.5rem;

  transition: 0.2s;
}

nav.show div.icon-close {
  visibility: visible;
  opacity: 1;
  top: 1.5rem;
}

nav:hover{
  color: grey;
}


/*====  HOME ============================ */
#home {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally */
}

/* Button Styling */
#home .text .button {
  display: inline-block;
  padding: 0.6em;
  background-color: #333; /* Adjust the background color */
  color: white;
  text-decoration: none;
  border-radius: 7px;
}

#home .text .button:hover {
  background-color: #007bff; /* Adjust the hover background color */
}

#home .image {
  margin-top: -1rem; /* Increase the negative margin to move the image more to the top */
  margin-right: -2rem;
  text-align: center; /* Center the content horizontally */
  padding: 20px;
}

#home .container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally within the container */
}

#home .image h2 {
  font-size: 2.5em;
  color: rgb(34, 34, 34);
  font-style: italic;
}

#home .text {
  margin-right: 1.5rem;
  text-align: center;
}

#home .text h1 {
  margin-bottom: 1rem;
}

#home .text p {
  margin-bottom: 2rem;
}

/* List of locations */
#home .text ol {
  list-style: none;
  padding: 0;
  font-style: italic;
  margin-right: 8rem;
  text-align: left; 
  color: grey;
}

#home .text li {
  font-size: 1.2em;
  margin-bottom: 1rem;
}

/*====  ABOUT ============================ */
#about {
  background: white;
}

#about .container {
  margin: 0;
}

#about .image {
  position: relative;
}


#about .image img {
  width: 700px; /* Change the width as needed */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Ensure proper display as a block element */
  margin: 0 auto; /* Center the image horizontally */
}

#about .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;

}

/*====  CONTACT ============================ */
#contact .grid {
  gap: 4rem;
}

#contact .text p {
  margin-bottom: 2rem;
}

#contact .button i,
#contact ul li i {
  font-size: 1.5rem;
  margin-right: 0.625rem;
}

#contact ul.grid {
  gap: 2rem;
}

#contact ul li {
  display: flex;
  align-items: center;
}

#contact ul li i {
  color: var(--base-color);
}

#contact h2{
  color:grey;
  font-style: italic;
}
#contact h3{
  font-style: italic;
}

/*====  FOOTER ============================ */
footer {
  background: black
}

footer.section {
  padding: 4rem 0;
}

footer .brand p {
  color: white;
  margin-bottom: 0.75rem;
  font-style: italic;
}

footer i {
  font-size: 1.5rem;
  color: var(--text-color-light);
}

footer .social {
  grid-auto-flow: column;
  width: fit-content;
}

footer .social a {
  transition: 0.3s;
  display: inline-block;
}

footer .social a:hover {
  transform: translateY(-8px);
}

/* Back to top */
.back-to-top {
  background: var(--base-color);
  color: var(--text-color-light);

  position: fixed;
  right: 1rem;
  bottom: 1rem;

  padding: 0.5rem;
  clip-path: circle();

  font-size: 1.5rem;
  line-height: 0;

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
  transform: translateY(100%);
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Footer Logo */
.logo-alt {
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'Oswald', sans-serif;
  font-style: italic;
  font-size: 40px;
  color: black; /* Default color for the text */
}

.logo-alt:first-child {
  color: white; /* Set the color for the first part of the logo */
}

.logo-alt span {
  color: grey; /* Set the color for the second part of the logo */
}


 /* CONTACT FORM STYLES */
 .contact-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

textarea {
  height: 120px;
}

button {
  display: inline-block;
  padding: 0.6em;
  background-color: #333; /* Adjust the background color */
  color: white;
  text-decoration: none;
  border-radius: 7px;
  font-size: large;
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'Oswald', sans-serif;
  
}


button:hover {
  background-color: #0056b3;
}



/* Footer Social Media Icons Styling */
footer .social {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

footer .social a:hover {
  background-color: #555;
}

footer .social a i {
  font-size: 1.6rem;
  color: white;
}

/*========= MEDIA QUERIES =========*/
/* extra large devices: 1200 > */
@media (min-width: 1200px) {
  /* reusable classes */
  .container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 10rem 0;
  }

  .button {
    height: 3.125rem;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
    -webkit-font-smoothing: antialiased;
  }

  nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothing: auto;
  }

  nav .icon-menu {
    display: none;
  }

  /* layout */
  main {
    margin-top: var(--header-height);
  }

  /* home */
  #home .container {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
  }

  #home .image {
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* about */

  #about h2 {
    color: grey; /* Change h2 color to grey */
  }

}

  #about .container {
    margin: 0 auto;
    grid-auto-flow: column;
  }

  #about .title{
    color: black;
  }

  #about h2{
    color: grey;
    font-style: italic;
  }

  .card {
    padding-left: 3rem;
    padding-right: 3rem;
  }


  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  #contact .text {
    max-width: 25rem;
  }

  #contact .h2{
    font-style: italic;
    color: grey;
  }


  /* footer */
  footer.section {
    padding: 3.75rem 0;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }

  footer .logo {
    font-size: 2.25rem;
    color: black;
  }

/* large devices: 1023 > */
/* large devices: 992 > */
@media (min-width: 992px) {
  :root {
    --title-font-size: 2.25rem;
    --subtitle-font-size: 1.125rem;
  }
}
@media (max-width: 991px) {
  .section {
    padding: 8rem 0; /* Adjust the padding for smaller screens */
  }

  .section header,
  #testimonials header {
    max-width: 90%; /* Make headers responsive within smaller screens */
    text-align: center;
    margin: 0 auto; /* Center align headers */
  }

  /* Adjust navigation for smaller screens if needed */

  /* Layout adjustments for smaller screens */
  main {
    margin-top: var(--header-height); /* Keep the header height consistent */
  }

  /* Adjust the layout of sections like home, about, services, testimonials, contact, footer as needed */

  /* For the image in the about section */
  #about .image img {
    width: 100%; /* Make the image responsive to the container */
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image */
  }
}

/* Small devices: 576px > */
@media (max-width: 575px) {
  .section {
    padding: 6rem 0; /* Further reduce padding for smaller screens */
  }

  /* Adjustments for smaller screens */
}

