@charset "UTF-8";

/* ===== Estilo General del Body ===== */
body {
    font-family: 'Arial', sans-serif;
    background-image: url('../images/portada-index.jpg');
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    color: #FFFFFF;
}

/* ===== Estilo de etiquetas ===== */
label {
    color: #462766; /* Lila oscuro */
}

/* ===== Botones generales dentro de formularios ===== */
input[type="submit"],
input[type="button"],
button {
    background-color: #462766 !important;
    color: #ffffff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background-color: #5b338c !important;
}

/* ===== Clases de Texto ===== */
.blanco, .row {
    color: white;
}

/* ===== Estilos para Tarjetas ===== */
.transparent-card {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #462766;
}

.transparent-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.card-group .card {
    margin: 10px;
}

/* ===== Botones de las Tarjetas ===== */
.card-button {
    display: inline-block;
    padding: 10px 10px;
    font-size: 16px;
    color: #ffffff;
    background-color: #0AAF46;
    border: 2px solid transparent;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-button:hover {
    background-color: #0093F8;
    border-color: #ffffff;
    text-decoration: none;
}

/* ===== Icono de Navegación ===== */
.tm-nav-icon {
    display: block;
    margin: 0 auto 20px;
    color: #FFFFFF;
}

/* ===== Container General ===== */
.container {
    width: 90%;
    margin: 0 auto;
    background-color: #FFFFFF;
}

/* ===== Header y Navegación ===== */
header {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-navbar {
    background-color: #050033;
    border-bottom: 1px solid #444;
}

.custom-navbar .nav-link {
    color: #ffffff;
    font-size: 18px;
    padding: 10px 20px;
}

.custom-navbar .nav-link:hover {
    background-color: #444;
    color: #ffffff;
    border-radius: 5px;
}

.custom-navbar .dropdown-menu {
    background-color: #333;
    border: none;
    border-radius: 5px;
}

.custom-navbar .dropdown-item {
    color: #ffffff;
}

.custom-navbar .dropdown-item:hover {
    background-color: #555;
    color: #ffffff;
}

.navbar-toggler {
    border: none;
    background-color: #444;
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    filter: invert(1);
}

.collapse.navbar-collapse {
    transition: height 0.3s ease;
}

/* ===== Sección de About, Galería, y Otros Estilos ===== */
.text_column {
    width: 90%;
    text-align: left;
    font-weight: lighter;
    line-height: 25px;
    padding: 0 20px;
    color: #A3A3A3;
}

.gallery, .intro, footer {
    width: 100%;
    padding-bottom: 35px;
}

.thumbnail {
    width: 23%;
    text-align: center;
    float: left;
    margin-top: 35px;
    background-color: #F8F8F8;
    padding-bottom: 20px;
    margin: 0 1%;
    border-radius: 3px;
    padding-top: 20px;
    border-bottom: 4px solid #6DC7D0;
}

.button {
    width: 200px;
    margin: 40px auto;
    padding: 20px 10px;
    text-align: center;
    vertical-align: middle;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    transition: all 0.3s linear;
}

.button:hover {
    background-color: #6DC7D0;
    color: #FFFFFF;
    cursor: pointer;
}

@media (max-width: 1199.98px) {
    .col-lg-3 {
        max-width: 33.3333%;
        flex: 0 0 33.3333%;
    }
}

@media (max-width: 991.98px) {
    .col-md-4 {
        max-width: 50%;
        flex: 0 0 50%;
    }
}

@media (max-width: 767.98px) {
    .col-sm-6, .col-md-4, .col-lg-3 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .transparent-card {
        margin-bottom: 20px;
    }

    header {
        position: static;
    }
}

a, .card-button, .navbar a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover, .card-button:hover, .navbar a:hover {
    color: #FFFFFF;
}

.card {
    border-radius: 15px;
    overflow: hidden;
}

.row {
    border-radius: 20px;
    background: #C9B6D7;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.img-fluid-logo {
    max-height: 70px;
    height: auto;
    width: auto;
}

.grid-patrocinadores-container,
.grid-auspiciantes-container {
    border-radius: 20px;
    background: white;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.grid-patrocinadores,
.grid-auspiciantes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
    margin-bottom: 30px;
}

.grid-auspiciantes img,
.grid-patrocinadores img {
    max-height: 100px;
    object-fit: contain;
}
button, input[type="submit"], input[type="button"] {
    background-color: #7D438F; /* lila oscuro */
    color: white;
    border: 2px solid #d4a9f4; /* borde lila claro */
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #9b59b6;
    border-color: #e2c6f9;
}
fieldset label {
    color: white;
    display: block;
    margin-left: 20px;
}
.btn-berova {
  background-color: #462766; /* Lila oscuro */
  color: white;
  border: 2px solid #D3B0FF; /* Borde lila claro */
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-berova:hover {
  background-color: #5b338c; /* Lila más claro al pasar el mouse */
  border-color: #e2c6f9;
  transform: scale(1.03);
  color: white;
}

label.opcion {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: normal;
    color: white;
    line-height: 1.4;
}

label.opcion input[type="radio"] {
    margin-top: 4px;
    accent-color: #7D438F; /* para que combine con el diseño Berova */
}
