/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

/* Navbar */
header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}
.nav-links a {
    color: white;
    text-decoration: none;
}
#toggle-theme {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to right, #74ebd5, #acb6e5);
    color: #333;
}
.hero .btn {
    padding: 10px 20px;
    margin-top: 15px;
    background: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.hero .btn:hover {
    background: #555;
}

/* Galerías */
.gallery {
    padding: 50px 20px;
    text-align: center;
}
.gallery h2 {
    margin-bottom: 10px;
}
.gallery p {
    margin-bottom: 20px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* varias columnas */
    gap: 15px;
}
.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;          /* esquinas redondeadas */
    object-fit: cover;
    display: block;
    border: 4px solid #333;       /* marco sólido oscuro */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* sombra para dar relieve */
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
}

/* Tema oscuro */
.dark-mode {
    background-color: #121212;
    color: #eee;
}
.dark-mode header {
    background: #222;
}
.dark-mode .hero {
    background: linear-gradient(to right, #141e30, #243b55);
    color: #eee;
}
.dark-mode .gallery-item {
    background: #1e1e1e;
    color: #aaa;
}
