:root {
  --primary-color: #2c3e50;
  --secondary-color: #e67e22;
  --light-color: #f7f3ea;
  --dark-color: #1a252f;
  --text-color: #333;
  --text-light: #666;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.lang-selector {
  display: flex;
  gap: 5px;
}

.lang-selector a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 15px;
  transition: var(--transition);
  font-size: 0.875rem;
}

.lang-selector a.active {
  background: var(--secondary-color);
  color: white;
}

.hamburger-container {
  position: relative;
  display: flex;
  align-items: center;
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 4px 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 18.75rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  transform: translateY(10px);
  z-index: 1000;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.hamburger-container:hover .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3.75rem;
}

.hero-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: block;
  cursor: pointer;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.about {
  padding: 5rem 0;
  background-color: white;
  text-align: center;
}

.about h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.875rem;
}

.about p {
  max-width: 50rem;
  margin: 0 auto 1.25rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

main {
  margin-top: 1.25rem;
}

.projects {
  padding: 6.25rem 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3.75rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.625rem;
  font-weight: 700;
}

.section-title p {
  color: var(--text-light);
  max-width: 37.5rem;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 1.875rem;
}

.project-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-img {
  width: 100%;
  height: 15.625rem;
  object-fit: cover;
}

.project-info {
  padding: 1.25rem;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.625rem;
  color: var(--primary-color);
}

.project-info p {
  color: var(--text-light);
  margin-bottom: 0.9375rem;
  font-size: 0.95rem;
}

.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3.75rem 0 1.875rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  color: white;
}

.copyright {
  margin-top: 1.875rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.hide {
  display: none;
}

@media (max-width: 48em) {
  .hero {
    margin-top: 3.125rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    width: 15.625rem;
    right: -1.25rem;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 50vh;
    margin-top: 50px;
  }
}
.footer-legal {
  margin: 10px 0;
  font-size: 14px;
}
.footer-legal a {
  color: #ccc;
  text-decoration: none;
  margin: 0 8px;
}
.footer-legal .separator {
  color: #ccc;
}
