:root {
  --bg: #ffffff;
  --text: #0b0b0b;
  --accent: #ffcc00;
  --type-sans: 'Helvetica', Arial, sans-serif;
}

/* Base global */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--type-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

.site-header {
  padding: 10px 0;
  border-bottom: none;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 94%;
  margin: 0 auto;
  padding: 14px 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-right {
  display: flex;
  gap: 10px;
}

.nav-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  background: #000;
  color: #fff;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: #222;
}

/* Hero del proyecto */
.project-main {
  max-width: 94%;
  margin: 40px auto;
}

.project-hero {
  display: flex;
  gap: 60px; /* separa más la imagen del texto */
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 50px;
}

.project-hero-img {
  flex: 1 1 420px;
  max-width: 520px; /* un poco más grande */
  margin-left: 80px; /* la empuja ligeramente a la derecha */
}

.project-hero-text {
  flex: 1 1 300px;
}

.project-hero-text h1 {
  font-size: 2.5rem;
  margin: 0px;
  padding:0px ;
}
.project-hero-text h2 {
  font-size: 1.4rem;
  margin-bottom: 0px;
  padding:0px ;
}

.project-hero-text p {
  font-size: 1.1rem;
}

/* Galería */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}

.project-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Descripción extendida */
.project-description {
  margin-bottom: 80px;
}

.project-description h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.project-description p {
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: #f7e83a;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left h1 {
  font-size: 120px;
  font-weight: 700;
  margin: 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.social {   
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.social img {
  width: 18px;
  height: 18px;
}

.social span {
  font-size: 16px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .project-hero {
    flex-direction: column;
  }

  .project-hero-img {
    max-width: 100%;
  }
}
