:root {
  --sidebar-width: 220px;
  --bg-pastel: #ffffff;
  --sidebar-bg: #ffffff;
  --transition: 0.4s cubic-bezier(.77,0,.18,1);
}

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

body {
  font-family: 'Work Sans', 'DM Sans', sans-serif !important;
  background: var(--bg-pastel);
  color: #222;
  min-height: 100vh;
  overflow-x: hidden;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  z-index: 10;
}

.logo {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-weight: 900;
  font-style: italic;
  font-stretch: condensed;
  font-size: 2rem;
  margin-bottom: 48px;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.sidebar nav a {
  text-decoration: none;
  color: #222;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
  font-family: 'Work Sans', 'DM Sans', sans-serif !important;
}

.sidebar nav a:hover {
  color: #b85c38;
}

.gallery {
  margin-left: var(--sidebar-width);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  min-height: 100vh;
  transition: margin 0.3s;
}

.gallery-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  transition: transform var(--transition);
  background: var(--sidebar-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', 'DM Sans', sans-serif !important;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 0;
  animation: zoomIn 0.5s cubic-bezier(.77,0,.18,1);
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0.5; }
  to   { transform: scale(1); opacity: 1; }
}

.close {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
  z-index: 101;
  font-family: 'Work Sans', 'DM Sans', sans-serif !important;
}

.close:hover {
  color: #EBAE97;
}

/* Responsive */
@media (max-width: 900px) {
  .sidebar {
    width: 70px;
    padding: 24px 8px;
    align-items: center;
  }
  .logo {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-weight: 900;
    font-style: italic;
    font-stretch: condensed;
    font-size: 1.2rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
  }
  .sidebar nav a {
    font-size: 0.95rem;
    text-align: center;
    padding: 2px 0;
  }
  .gallery {
    margin-left: 70px;
    padding: 24px 8px;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .sidebar {
    position: static;
    width: 100vw;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: none;
    padding: 12px 16px;
  }
  .logo {
    margin-bottom: 0;
  }
  .sidebar nav {
    flex-direction: row;
    gap: 16px;
  }
  .gallery {
    margin-left: 0;
    padding: 16px 4px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }
  .close {
    top: 12px;
    right: 16px;
    font-size: 2rem;
  }
}

/* Estilos para la página de info/about */
.about-container {
  margin-left: var(--sidebar-width);
  padding: 48px 32px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  min-height: 100vh;
  background: var(--bg-pastel);
}

.about-photo {
  flex: 0 0 340px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-text {
  max-width: 700px;
  color: #222;
  font-family: 'Work Sans', 'DM Sans', sans-serif !important;
  font-size: 0.85rem;
}

.about-text h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 2.2rem;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.about-text p {
  font-size: 0.85rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-links {
  margin-top: 18px;
  font-size: 0.95rem;
  font-family: 'Work Sans', 'DM Sans', sans-serif !important;
}

.about-links a {
  color: #b85c38;
  text-decoration: none;
  font-weight: 600;
  margin: 0 6px;
  transition: color 0.2s;
}

.about-links a:hover {
  color: #222;
}

@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 8px;
    margin-left: 70px;
  }
  .about-photo {
    flex: none;
    width: 100%;
    max-width: 340px;
  }
}

@media (max-width: 600px) {
  .about-container {
    margin-left: 0;
    padding: 16px 4px;
  }
  .about-photo {
    max-width: 100vw;
  }
  .about-text h1 {
    font-size: 1.3rem;
  }
  .about-text p, .about-links {
    font-size: 1rem;
  }
}

.about-square-photo {
  width: 320px;
  max-width: 90vw;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 0;
}

@media (max-width: 600px) {
  .about-square-photo {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
  }
}

.icon-link {
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
  transition: transform 0.2s;
}
.icon-link:hover .icon-svg {
  transform: scale(1.15);
  filter: brightness(0.7);
}
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s, filter 0.2s;
}

.sidebar-footer {
  font-size: 0.75rem;
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  text-align: center;
}
.sidebar-icons svg {
  width: 18px;
  height: 18px;
  margin: 0 4px;
}
.sidebar-copyright {
  margin-top: 6px;
  font-size: 0.7rem;
}

.sidebar-copyright a {
  text-decoration: none;
  color: #000;
}
.sidebar-copyright a:visited {
  color: #000;
}
.sidebar-copyright a:active {
  color: #000;
}
.sidebar-copyright a:hover {
  color: #222;
}
