:root {
    --color-principal: #364C59;
    --color-secundario: #FEB71A;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://evoting.s3.amazonaws.com/UDA+2025/UDA.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.countdown-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.countdown-box {
    background: var(--color-principal);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 0.5rem;
    min-width: 80px;
}

.section-title {
    color: var(--color-principal);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--color-secundario);
}

.feature-card {
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-principal);
    margin-bottom: 1rem;
}

.btn-vote {
    background-color: var(--color-principal);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: none;
    transition: all 0.3s;
}

.btn-vote:hover {
    background-color: var(--color-secundario);
    color: white;
    transform: translateY(-2px);
}

.btn-transparent {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.info-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.security-section {
    padding: 5rem 0;
}

.footer {
    background-color: #364C59;
    color: white;
    padding: 3rem 0;
}

.security-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.security-item i {
    color: var(--color-principal);
    margin-right: 1rem;
}

/* Navbar styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Video section styles */
.video-section {
    background-color: var(--color-principal);
    color: white;
    padding: 5rem 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.footer a, .footer a.text-white {
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s ease;
}

.footer a:hover, .footer a.text-white:hover {
    color: var(--color-secundario) !important;
    text-decoration: none !important;
}

/* Accesibilidad: botón flotante y menú */
.accessibility-button-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
}
.logo-accessibility {
  width: 36px;
  height: 36px;
}
.accessibility-menu {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 1051;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 24px 20px 16px 20px;
  min-width: 260px;
  max-width: 320px;
  font-size: 1rem;
}
.accessibility-menu.active {
  display: block;
}
.accessibility-menu h5 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #364C59;
}
.accessibility-option {
  margin-bottom: 1rem;
}
.font-size-controls button {
  margin-right: 8px;
  margin-bottom: 4px;
  border-radius: 6px;
  border: 1px solid #364C59;
  background: #f8f9fa;
  color: #364C59;
  padding: 4px 12px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.font-size-controls button.active,
.font-size-controls button:hover {
  background: #364C59;
  color: #fff;
}
/* Opcional: estilos para switches y checkboxes */
.form-check-input:checked {
  background-color: #364C59;
  border-color: #364C59;
}

/* Accesibilidad: estilos funcionales */
body.high-contrast {
  background: #000 !important;
  color: #fff !important;
}
body.high-contrast a, body.high-contrast .btn, body.high-contrast .nav-link, body.high-contrast h1, body.high-contrast h2, body.high-contrast h3, body.high-contrast h4, body.high-contrast h5, body.high-contrast h6 {
  color: #fff !important;
  background: #000 !important;
  border-color: #fff !important;
}
body.negative-contrast {
  filter: invert(1) hue-rotate(180deg);
}
body.grayscale {
  filter: grayscale(1);
}
body.big-cursor, body.big-cursor * {
  cursor: url('https://cdn.custom-cursor.com/db/cursor/32/arrow2428.png'), auto !important;
}
body.readable-font, body.readable-font * {
  font-family: Arial, Helvetica, Verdana, sans-serif !important;
  letter-spacing: 0.04em !important;
}

/* Tamaños de fuente para accesibilidad */
body.font-size-normal {
  font-size: 16px !important;
}

body.font-size-large {
  font-size: 20px !important;
}

body.font-size-large h1 {
  font-size: 2.5rem !important;
}

body.font-size-large h2 {
  font-size: 2rem !important;
}

body.font-size-large h3 {
  font-size: 1.75rem !important;
}

body.font-size-large h4 {
  font-size: 1.5rem !important;
}

body.font-size-large h5 {
  font-size: 1.25rem !important;
}

body.font-size-large h6 {
  font-size: 1.1rem !important;
}

body.font-size-x-large {
  font-size: 24px !important;
}

body.font-size-x-large h1 {
  font-size: 3rem !important;
}

body.font-size-x-large h2 {
  font-size: 2.5rem !important;
}

body.font-size-x-large h3 {
  font-size: 2rem !important;
}

body.font-size-x-large h4 {
  font-size: 1.75rem !important;
}

body.font-size-x-large h5 {
  font-size: 1.5rem !important;
}

body.font-size-x-large h6 {
  font-size: 1.25rem !important;
}

body.readable-font .fa,
body.readable-font .fas,
body.readable-font .far,
body.readable-font .fal,
body.readable-font .fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", Arial, Helvetica, Verdana, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.grayscale .accessibility-button-container,
body.grayscale .accessibility-menu {
  filter: none !important;
} 