/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding-top: 80px;
}

p {
    line-height: 1.6;
    margin-bottom: 6px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

header .container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    height: 55px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: #f0c040;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-menu ul li a {
        font-size: 20px;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }
}

/* Hero Section */
#hero {
    position: relative; /* New */
    top: 0px;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* New */
    color: white;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* semi-transparent black */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Make sure text stays above the overlay */
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
}

/* About Section */
#about {
    padding: 50px 50px;
    background-color: #fff;
}

#about .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.destaque {
    font-weight: bold;
    font-style: italic;
    font-size: 1.2rem;
    margin: 20px 0;
    padding: 15px;
    background-color: #f0f0f0;
}
/* Services Section */

#services {
    padding: 50px 50px;
    background-color: #f9f9f9;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.service-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    width: 300px;
}

.service-item h3 {
    height: 50px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.service-image {
    width: 100%;
    height: 200px; /* fixed height for consistency */
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    color: #666;
}

/* Contact Section */
#contact {
    padding: 50px 50px;
    background-color: #fff;
}

#contact .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#contact form {
    margin-bottom: 30px;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contact button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

.contact-info p {
    font-size: 16px;
    color: #333;
}

/* Footer Section */
footer {
    background-color: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 30px auto;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-info,
  .footer-nav {
    text-align: left;
  }

  .footer-info h3,
  .footer-nav h3{
    margin-bottom: 20px;
  }

  .footer-info p {
    font-size: 14px;
    margin: 0px 0px 4px 0;
  }

  .footer-nav ul {
    list-style: none;
    padding: 0;
  }

  .footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin: 6px 0;
  }

  .footer-nav a:hover {
    color: #00bcd4;
  }

  .copyright {
    font-size: small;
  }

  @media (max-width: 700px) {
    .footer-container {
      gap: 20px;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .footer-info,
    .footer-nav {
      margin: 15px 0px 0px 0px;
      text-align: center;
    }

    #contact,
    #about,
    #services {
        padding: 20px;
    }

    .service-item {
        width: 250px;
    }
  }

  @media (max-width: 450px) {
    .service-item {
        width: 100%;
    }
  }