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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
  color: #f5f5f5;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3 {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 3px;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

p, li {
  font-size: 1rem;
  color: #ddd;
}

/* ====== HEADER & LOGO ====== */
header {
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 1px solid #222;
}

/* LOGO */
/* LOGO */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* espacio entre triángulos y texto */
  margin-bottom: 1rem;
}

.logo-text {
  text-align: center;
  line-height: 1.1; /* menos espacio entre h1 y p */
}

.logo-text h1 {
  font-size: 1.8rem;
  margin-bottom: 0.1rem;
}

.logo-text .subtitle {
  font-size: 0.8rem;
  color: #aaa;
  margin: 0;
}

/* TRIÁNGULOS LATERALES */
.side-triangle svg {
  display: block;
  transition: transform 0.3s ease;
}

.side-triangle:hover svg {
  transform: scale(1.2);
  cursor: pointer;
}

/* ====== NAVIGATION ====== */
nav {
  margin-top: 1rem;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff;
}

nav .active {
  color: #fff;
  text-decoration: underline;
}

/* ====== HERO ====== */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(to bottom,#111,#000);
}

.hero-title {
  width: auto;       /* tamaño real de la imagen */
  height: auto;
  max-width: 300px;   /* quitar limitación de tamaño */
  display: block;
  margin: 0 auto 2rem auto; /* centrado */
}
.manifesto {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #ccc;
  margin: 1rem auto 2rem auto;
  max-width: 700px;
  line-height: 1.5;
}

.manifesto strong {
  color: #f5f5f5;
}

.manifesto em {
  color: #aaa;
  font-style: normal;
  text-decoration: underline dotted;
}

.gallery-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  color: #f5f5f5;
  text-decoration: none;
  border: 1px solid #f5f5f5;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.gallery-link:hover {
  background: #f5f5f5;
  color: #000;
  cursor: pointer;
}
/* ====== MAIN SECTIONS ====== */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

section {
  margin-bottom: 2rem;
  text-align: center;
}

section p {
  max-width: 700px;
  margin: 0.5rem auto;
}

ul {
  list-style: none;
}

ul li {
  margin: 0.3rem 0;
}

/* GRID DE GALERÍA */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid #f5f5f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #f5f5f5;
}

.gallery-caption {
  text-align: center;
  color: #ccc;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.2;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.project-gallery .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid #f5f5f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery .gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #f5f5f5;
}

.project-gallery .gallery-caption {
  text-align: center;
  color: #ccc;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.2;
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #222;
  font-size: 0.8rem;
  color: #666;
}