body {
    margin: 0;
    font-family: Arial;
}

/* HERO */
.hero {
    height: 100vh;
    background: url('../img/portada_02.jpg') center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.6)
    );
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.overlay h1 {
    font-size: 50px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.overlay p {
    font-size: 20px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #00bcd4;
    color: white;
    border-radius: 30px;
    text-decoration: none;
}

/* INTRO */
.intro {
    padding: 60px 20px;
    text-align: center;
    background: #f5f5f5;
}


/* ÁLBUMES */
.albums {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* IMAGEN */
.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* HOVER */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.card:hover img {
    transform: scale(1.08);
}

/* OVERLAY */
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.1)
    );
}

.card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* TEXTO SOBRE IMAGEN */
.card .info {
    position: absolute;
    bottom: 0;
    color: white;
    padding: 20px;
    z-index: 2;
}

.card .info h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.card .info p {
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.9;
}

.info {
    padding: 15px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.album img {
    width: 100%;
    border-radius: 10px;
}

.album {
    transition: 0.3s;
}

.album:hover {
    transform: translateY(-5px);
}

/* GALERÍA */
.galeria {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}