/* === GENERAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #121212;
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === NAVEGACIÓN === */
nav {
  background: #1e1e2f;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 70px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  font-weight: bold;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease-in-out;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #f39c12;
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: #f39c12;
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffffff;
}

/* === HEADER === */
header#inicio {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #121212;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

header .content {
  z-index: 2;
  position: relative;
}

header h1 {
  font-size: 3rem;
  color: #f39c12;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

header p {
  color: #bbbbbb;
  margin-bottom: 2rem;
}

.btn {
  padding: 15px 30px;
  background: #f39c12;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e67e22;
}

/* === SECCIONES === */
section {
  padding: 60px 20px;
}

.section-title, h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #f39c12;
  margin-bottom: 40px;
  font-family: 'Georgia', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === TRABAJOS === */
.services {
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  background-color: #1e1e2f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.service-card img {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
  flex: 1;
}

.service-content h3 {
  color: #f39c12;
  margin-bottom: 10px;
  font-family: 'Georgia', serif;
  text-transform: uppercase;
}

.service-content p {
  color: #bbbbbb;
}

/* === QUIÉNES SOMOS === */
.about-section-box {
  background-color: rgba(30, 30, 47, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 15px;
  padding: 40px;
  margin: 0 auto 60px;
  max-width: 1200px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
  scroll-margin-top: 100px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.about-box {
  color: #dddddd;
  flex: 1;
}

.about-box h3 {
  color: #f39c12;
  margin-top: 20px;
  font-family: 'Georgia', serif;
  text-transform: uppercase;
}

.about-box p,
.about-box li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #bbbbbb;
  font-family: 'Arial', sans-serif;
}

.about-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* === CONTACTO === */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 40px;
}

.contact-info,
.contact-form {
  flex: 1 1 400px;
  background-color: #1e1e2f;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #bbbbbb;
}

.info-box i {
  color: #f39c12;
  font-size: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #2b2b3d;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  height: 150px;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  background-color: #f39c12;
  border: none;
  color: white;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #e67e22;
}

/* === MAPA === */
.map {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* === FOOTER === */
footer {
  background-color: #1e1e2f;
  color: white;
  text-align: center;
  padding: 20px;
}

/* === BOTÓN IR ARRIBA === */
#go-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #f39c12;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 1.2rem;
  z-index: 999;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  display: none;
  transition: background 0.3s ease;
}

#go-top:hover {
  background: #e67e22;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #1e1e2f;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .service-card,
  .about-container,
  .contact-container {
    flex-direction: column;
  }

  .logo img {
    height: 50px;
  }
}
