/* ====== Paleta Bauhaus ====== */
:root {
    --bauhaus-red: #e63946;
    --bauhaus-blue: #1d3557;
    --bauhaus-yellow: #f1c40f;
    --bauhaus-black: #111;
    --bauhaus-white: #fff;
    --bauhaus-radius: 24px;
}


/* normalizacion de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Futura', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bauhaus-white);
    color: var(--bauhaus-black);
    line-height: 1.5;
}


main {
    padding: 2rem;
    gap: 2rem;
}

footer {
    background: var(--bauhaus-blue);
    color: var(--bauhaus-white);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    text-transform: uppercase;
}


h2 {
    font-size: 2rem;
    color: var(--bauhaus-blue);
}

a {
    color: var(--bauhaus-yellow);
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: var(--bauhaus-red);
}

/* ====== Botones geométricos ====== */
button {
    background: var(--bauhaus-yellow);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    transition: background 0.2s;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.12);
}

button:hover {
    background: var(--bauhaus-red);
    color: var(--bauhaus-white);
}

ul {
    list-style: none;
}

.list {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    list-style: none;

}

.card {
    background: var(--bauhaus-white);
    border: 5px solid var(--bauhaus-black);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}


.card-image {
    max-width: 220px;
    flex-shrink: 0;
}


.card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.campo-form {
    display: flex;
    flex-direction: column;
}
input,
textarea,
select {
    font-size: 1.2rem;
    padding: 0.5rem;
    border: 2px solid var(--bauhaus-red);
    font-family: inherit;
}

input:focus,
textarea
select:focus {
    outline: none;
    border-color: var(--bauhaus-red);
}

.navbar {
    display: flex;
    background: var(--bauhaus-yellow);
    color: var(--bauhaus-white);
    padding: 4px 16px;
    justify-content: space-between;
}

.navbar .navbar-brand {
    color: var(--bauhaus-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.navbar .navbar-brand img {
    display: flex;
    height: 80px;
}

.navbar-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.navbar-links-item {
    text-decoration: none;
    color: var(--bauhaus-blue);
    font-size: 1rem;
}

.hero-section {
    height: 80vh;
    background: linear-gradient(120deg, rgba(241, 196, 15, 0.3) 0%, rgba(230, 57, 70, 0.3) 100%),
        url(/images/herobauhaus.jpg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 53, 87, 0.45);
    z-index: 1;
}

.hero-content {
    background: rgba(255, 255, 255, 0.92);
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 2.5rem 2rem;
    border-radius: var(--bauhaus-radius);
    box-shadow: 0 8px 32px rgba(29, 53, 87, 0.15);
}

.hero-section h1 {
    font-size: 3rem;
    color: var(--bauhaus-red);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2.2rem;
    color: var(--bauhaus-blue);
    font-weight: 500;
}

.hero-section button {
    background: var(--bauhaus-yellow);
    color: var(--bauhaus-black);
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;

}

.hero-section button:hover {
    background: var(--bauhaus-red);
    color: var(--bauhaus-white);
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 3rem 2vw;
    background: linear-gradient(120deg, rgba(241, 196, 15, 0.08) 0%, rgba(230, 57, 70, 0.08) 100%);
    border-radius: var(--bauhaus-radius);
    box-shadow: 0 4px 24px rgba(29, 53, 87, 0.07);
    margin-bottom: 3rem;
}

.grid-section article {
    background: var(--bauhaus-white);
    border: 3px solid var(--bauhaus-blue);
    border-radius: var(--bauhaus-radius);
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(29, 53, 87, 0.10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    min-height: 220px;
}

.grid-section article img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    max-height: clamp(160px, 28vw, 260px);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.grid-section article:nth-child(2n) {
    border-color: var(--bauhaus-yellow);
}

.grid-section article:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.13);
    border-color: var(--bauhaus-yellow);
}

.grid-section article h2 {
    color: var(--bauhaus-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.grid-section article img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 1rem;
    object-fit: cover;
    max-height: 260px;
}

.grid-section article p {
    color: var(--bauhaus-blue);
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* estilos de galeria */
.galery-section menu {
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#galery-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    width: 100%;
    padding: 2vw 0;
    box-sizing: border-box;
    min-height: 440px;
    height: 440px;
    overflow: hidden;
}

.galery-image-left,
.galery-image-center,
.galery-image-rigth {
    object-fit: cover;
    height: 100%;
    width: auto;
    max-width: 25vw;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(29, 53, 87, 0.12);
    transition: transform 0.3s;
}

.galery-image-center {
    max-width: 30vw;
    z-index: 2;
    transform: scale(1.08);
    border: 3px solid var(--bauhaus-yellow);
}

.galery-image-left,
.galery-image-rigth {
    opacity: 0.85;
    border-radius: 100%;
    border: 2px solid var(--bauhaus-red);
}

@media (max-width: 900px) {

    .galery-image-left,
    .galery-image-center,
    .galery-image-rigth {
        max-width: 45vw;
    }

    .galery-image-center {
        max-width: 55vw;
    }
}

.section-footer {
    background: var(--bauhaus-blue);
    color: var(--bauhaus-white);
    padding: 2rem 0 1rem 0;
    position: relative;
    margin-top: 4rem;
    box-shadow: 0 -4px 24px rgba(29, 53, 87, 0.08);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    color: var(--bauhaus-yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-circle {
    width: 32px;
    height: 32px;
    background: var(--bauhaus-red);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.12);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--bauhaus-yellow);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--bauhaus-red);
}

.footer-copy {
    font-size: 0.95rem;
    color: var(--bauhaus-white);
    opacity: 0.8;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    #galery-content {
        gap: 1vw;
        padding: 1vw 0;
    }

    .galery-image-left,
    .galery-image-center,
    .galery-image-rigth {
        max-width: 90vw;
    }

    .galery-image-center {
        max-width: 98vw;
    }

    .footer-links {
        gap: 1rem;
        font-size: 0.95rem;
    }

    .footer-brand h3 {
        font-size: 1rem;
    }
}

/* historia */
.timeline {
    position: relative;
    margin: 3rem auto;
    height: 100px;
    width: 90%;
}

#timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bauhaus-black);
}

.timeline-point {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--bauhaus-red);
    border-radius: 50%;
    border: 3px solid var(--bauhaus-black);
}

.timeline-year {
    position: absolute;
    top: 65%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: var(--bauhaus-blue);
    font-weight: bold;
}

@media (max-width: 768px) {
    main {
        padding: 1.25rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .navbar {
        gap: 6px;
        padding: 8px 10px;
        flex-wrap: wrap;
    }

    .navbar-links-item {
        font-size: .95rem;
    }

    .card {
        flex-direction: column;
        align-items: stretch;
    }

    .card-image {
        max-width: 100%;
    }

    .grid-section {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 1.5rem;
        padding: 2rem 3vw;
    }

    .grid-section article {
        padding: 1.25rem 1rem;
        min-height: unset;
    }

    .grid-section article h2 {
        font-size: 1.1rem;
    }

    .grid-section article img {
        max-height: 200px;
        aspect-ratio: 16 / 10;
    }

    .timeline {
        height: 84px;
        width: 94%;
    }

    .timeline-year {
        top: 68%;
        font-size: .9rem;
    }

    .timeline-point {
        width: 18px;
        height: 18px;
    }
}