@import url("./index.css");
@import url("./card.css");
@import url("./gallery.css");
@import url("./contact.css");

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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    flex-direction: column;
    color: white;
    min-height: 100vh;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
    margin: 1rem;
    flex-wrap: wrap;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.glass-logo {
    height: 50px;
    width: auto;
    border-radius: 16px;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        /* apila logo, título y menú */
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        /* cambia a vertical */
        width: 100%;
        /* ocupa todo el ancho */
        align-items: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        /* centra el texto */
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }
}

button {
    margin-top: 1rem;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

button:hover {
    background: rgba(255, 255, 255, 0.4);
}


/* Header */
header {}

/* main */
main {
    flex: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    margin: 1rem;
}

.footer-glass {
    background: rgba(255, 255, 255, 0.15);
    /* vidrio translúcido */
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    color: white;
    font-size: 0.9;
    border-radius: 16px;
    opacity: 60%;

}

.footer-glass h3 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.footer-col {
    flex: 1 1;
    /* al menos 200px, pero que pueda encoger si hace falta */
}

.footer-col h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #ddd;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #00e0ff;
    /* ejemplo de un color llamativo */
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col.links ul {
    list-style: none;
    /* saca viñetas */
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-direction: row;
    /* espacio entre links */
}

.footer-col.links li {
    margin: 0;
}

.footer-col.links a {
    color: white;
    /* color de los links */
    text-decoration: none;
    /* sin subrayado */
    font-weight: 500;
    transition: color 0.3s;
}

.footer-col.links a:hover {
    color: #00bcd4;
    /* cambia de color al pasar el mouse */
}

.contact p {
    margin-bottom: 0.25rem;

}

.titulo {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #f0f0f0;
    text-align: center;
    letter-spacing: 1px;
    margin: 1.5rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.titulo::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #00c6ff;
    /* un color de acento */
    margin: 0.5rem auto 0;
    border-radius: 2px;
}