/* VARIABLES */
:root {
  --radius-lg: 1rem;
  --shadow-soft: 0 10px 25px rgba(0,0,0,0.12);
  --transition-base: 0.5s ease;
}

/* BODY */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* HTML */
html {
  scroll-behavior: smooth;
}

/* HERO */
.hero {
  min-height: 90vh;
  background-image: url("../img/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

/* Overlay oscuro */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}


/* PARALLAX */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* LOADER */
#page-loader {
  pointer-events: none;
}

/* GALERÍA */
.gallery-grid {
  gap: 3rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base);
}

.gallery-card:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

