﻿
html, body {
    height: 100%;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
}
footer {
    margin-top: auto;
}
/* =========================
   BASE (LIGHT MODE)
========================= */
.btn-gaudi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    background-color: #008500;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, outline 0.15s ease;
    margin-bottom: 5%;
}

    /* Hover */
    .btn-gaudi:hover:not(:disabled) {
        background-color: #1A911A;
    }

    /* Pressed */
    .btn-gaudi:active:not(:disabled) {
        background-color: #0D780D;
    }

    /* Focus */
    .btn-gaudi:focus-visible {
        background-color: #0D780D;
        outline: 2px solid #001221;
        outline-offset: 2px;
    }

    /* Disabled */
    .btn-gaudi:disabled {
        background-color: #66717A;
        color: #FFFFFF;
        cursor: not-allowed;
        opacity: 1;
    }

/* Icono base */
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

    .btn-icon svg,
    .btn-icon img {

        fill: currentColor; /* 🔥 importante para cambiar automático */
    }

/* =========================
   DARK MODE
========================= */
@media (prefers-color-scheme: dark) {

    .btn-gaudi {
        background-color: #86C40C;
        color: #121212;
    }

        /* Hover */
        .btn-gaudi:hover:not(:disabled) {
            background-color: #93CA25;
        }

        /* Pressed */
        .btn-gaudi:active:not(:disabled) {
            background-color: #80B021;
        }

        /* Focus */
        .btn-gaudi:focus-visible {
            background-color: #86C40C;
            outline: 2px solid #FFFFFF;
            outline-offset: 2px;
        }

        /* Disabled */
        .btn-gaudi:disabled {
            background-color: #808990;
            color: #121212;
        }
}

.info-box {
    border: 2px solid #3B82C4;
    border-radius: 6px;
    padding: 16px;
    background-color: #F5F9FF;
    font-family: Arial, sans-serif;
    color: #1F2A37;
    max-width: 600px;
}

/* Header (icono + título) */
.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.info-title {
    font-size: 18px;
    font-weight: 700;
}

/* Icono */
.info-icon {
    width: 24px;
    height: 24px;
    display: flex;
}

    .info-icon svg {
        width: 100%;
        height: 100%;
        fill: #3B82C4;
    }

/* Lista */
.info-list {
    margin: 0 0 12px 20px;
    padding: 0;
}

    .info-list li {
        margin-bottom: 6px;
        line-height: 1.4;
    }

/* Links */
.info-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .info-links a {
        color: #1D70B8;
        text-decoration: underline;
        font-weight: 500;
    }

        .info-links a:hover {
            text-decoration: none;
        }
/* =========================
   LAYOUT GAUDI
========================= */

.layout-gaudi {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Botón centrado arriba */
.gaudi-top {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

/* Contenido en dos columnas */
.gaudi-content {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

/* Columnas */
.gaudi-left,
.gaudi-right {
    flex: 1;
}

    /* Ajuste visual para links (lado derecho) */
    .gaudi-right .links {
        width: 100%;
        margin: 0;
    }

/* Responsive (muy importante 🔥) */
@media (max-width: 768px) {
    .gaudi-content {
        flex-direction: column;
    }

    .gaudi-top {
        margin-bottom: 20px;
    }
}
.links {
    float: none;
}

.logo-gaudi {
    width: 24px;
    height: 24px;
}

/* 🌞 Light mode */
.logo-gaudi {
    content: url("../images/logogaudi.png");
}

/* 🌙 Dark mode */
@media (prefers-color-scheme: dark) {
    .logo-gaudi {
        content: url("../images/logogaudidark.png"); /* #86C40C */
        width: 54px;
        height:54px;
    }
}