/*
Theme Name: OnconutSimposio
Text Domain: OnconutSimposio
Version: 1.0
Description: Onconut - Primer Simposio Nacional Nutrición Oncológica
Tags: Landing page
Author: Pablo Méndez
Author URI: mainto:pablodraw@gmail.com
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  margin-top: 80px;
}

/* COLUMNS */

.row {
  display: flex;
  flex-wrap: wrap;
}
[class*="col-"] {
  padding: 20px;
  box-sizing: border-box;
}
.col-1  {
  flex: 0 0 8.3333%;  max-width: 8.3333%;
}
.col-2  {
  flex: 0 0 16.6667%;
  max-width: 16.6667%;
}
.col-3  {
  flex: 0 0 25%;
  max-width: 25%;
}
.col-4  {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}
.col-5  {
  flex: 0 0 41.6667%;
  max-width: 41.6667%;
}
.col-6  {
  flex: 0 0 50%;
  max-width: 50%;
}
.col-7  {
  flex: 0 0 58.3333%;
  max-width: 58.3333%;
}
.col-8  {
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
}
.col-9  {
  flex: 0 0 75%;
  max-width: 75%;
}
.col-10 {
  flex: 0 0 83.3333%;
  max-width: 83.3333%;
}
.col-11 {
  flex: 0 0 91.6667%;
  max-width: 91.6667%;
}
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}
.col-centered {
  margin: 0 auto;
}

/*TEXT*/

h1,h2,h3,h3,h4,h5 {
  font-weight: bold;
}
h2 {
  margin: 0;
  padding: 0 0 10px 0;
  line-height: 1.2em;
}
p {
  margin: 0;
  padding: 0 0 10px 0;
  line-height: 1.5em;
}
b {
  font-weight: bold;
}
ul, ol {
  margin-left: 20px;
  list-style-type: circle;
}
ul li, ol li {
  padding-left: 10px;
  margin-bottom: 10px;
}
::marker {
  color: #2BA1BA;
}
.title-xl {
  font-size: 80px;
  margin-bottom: 20px;
  padding: 0;
}
.title-l {
  font-size: 60px;
  margin-bottom: 20px;
  padding: 0;
}
.title-m {
  font-size: 45px;
  margin-bottom: 20px;
  padding: 0;
}
.title-s {
  font-size: 35px;
  margin-bottom: 20px;
  padding: 0;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-justify {
  text-align: justify;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-light {
  font-weight: 300;
}
.text-regular {
  font-weight: 400;
}
.text-bold {
  font-weight: 700;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Navbar */

.navbar {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #FFFFFF;
  color: #2BA1BA;
  position: fixed; /* Fijo en la parte superior */
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 1000; /* Para que quede encima del contenido */
}
.nav-left, .nav-right, .menu {
  display: flex;
  gap: 15px;
  justify-self: flex-start;
}
.menu, .menu .menu-item {
  list-style-type: none;
}
.nav-left a, .nav-right a, .menu .menu-item a {
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  color: #2BA1BA;
  border-radius: 5px;
  border: 1px solid #2BA1BA;
  font-size: 10pt;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  list-style-type: none;
  text-decoration: none;
}
a.btn-social {
  display: block;
  color: #2BA1BA;
  width: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0;
  font-size: 14pt;
  border: 1px solid #2BA1BA;
  border-radius: 5px;
}
.nav-left a:hover, .nav-right a:hover, a.btn-social:hover, .menu .menu-item a:hover {
  background-color: #2BA1BA;
  color: #FFFFFF;
}
.nav-logo {
  width: 200px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.nav-logo img {
  width: auto;
  height: 50px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #000000;
  transition: transform 0.3s, opacity 0.3s;
}
/* Menú móvil oculto por defecto */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #2BA1BA;
  position: fixed;
  top: 80px;
  right: 0;
  left: 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 10;
}
.mobile-menu a {
  width: 100%;
  height: auto;
  color: #FFFFFF;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.mobile-social {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}
.mobile-menu a.btn-social {
  width: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0;
  text-align: center;
  border: 1px solid #FFFFFF;
  border-radius: 5px;
}
.mobile-menu a:hover {
  background-color: rgba(255,255,255,0.2);
}
/* Estado visible del menú */
.mobile-menu.show {
  display: flex;
  justify-content: center;
  transform: translateY(0);
  opacity: 1;
}
/* Animación hamburguesa abierta */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
#bg-video {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
}
.main-wrapper {
  padding: 0;
  margin: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.content-limit {
  width: 1200px;
}

/* HERO */

.hero {
  width: 100%;
  height: 100vh;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
}
.hero h2 {
  font-size: 3rem;
  text-transform: uppercase;
}
.hero p {
  margin-top: 10px;
  font-size: 1.2rem;
  text-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.main-title {
  background-color: rgba(0,0,0,0.4);
  width: 100%;
  height: auto;
  padding: 30px 20px 20px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.main-title-icon {
  width: 25%;
  height: auto;
  position: absolute;
  top: -35%;
  right: 0;
}
.full-image {
  width: 100%;
  height: auto;
}

/* SECTIONS */

section {
  padding: 60px 20px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.card {
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.card-title {
  width: 100%;
  padding: 20px;
  text-transform: uppercase;
  text-align: center;
}
.card-content {
  padding: 20px;
}
iframe.map {
  width: 100%;
  height: 195px;
  border: none;
}
#simposio::before {
  content: '';
  background: radial-gradient(ellipse at center,  rgba(43,161,186,0.3) 0%,rgba(255,255,255,1) 74%);
  width: 600px;
  height: 600px;
  position: absolute;
  top: 0;
  left: -20%;
  border-radius: 50%;
  z-index: -1;
}
#simposio::after {
  content: '';
  background: radial-gradient(ellipse at center,  rgba(227,225,253,1) 0%,rgba(255,255,255,1) 74%);
  width: 600px;
  height: 600px;
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  z-index: -1;
}

/*CALENDAR*/

.calendar {
  height: 200px;
}
.month {
  color: white;
  width: 100%;
  text-align: center;
  padding: 5px;
  font-weight: normal;
}
.weekdays {
  margin: 0;
  padding: 0;
  background: rgba(0,0,0,0.1);
  font-weight: 400;
}
.weekdays li {
  display: inline-block;
  width: 13.6%;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 10px;
  text-transform: uppercase;
}
.days {
  padding: 5px 0;
  background: rgba(0,0,0,0.03);
  margin: 0;
}
.days li {
  list-style-type: none;
  display: inline-block;
  width: 13.6%;
  text-align: center;
  margin-bottom: 5px;
  font-size:12px;
  margin: 0;
  padding: 0;
}
.active {
  padding: 5px;
  background: #FF2F23;
  color: white !important;
  font-weight: bold;
}
.other-days {
  color: rgba(0,0,0,0.3);
}

/* Add media queries for smaller screens */
@media screen and (max-width:720px) {
  .weekdays li, .days li {width: 13.1%;}
}

@media screen and (max-width: 420px) {
  .weekdays li, .days li {
    width: 12.5%;
  }
  .days li .active {
    padding: 2px;
  }
}

@media screen and (max-width: 290px) {
  .weekdays li, .days li {
    width: 12.2%;
  }
}

/* FORMS */

.form-box {
  background-image: url('assets/images/bg-event.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  width: 100%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.form-box-overlay {
  background: linear-gradient(to right,  rgba(0,0,0,0.4) 0%,rgba(43,161,186,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
}
.form-content {
  background-color: rgba(255,255,255,0.4);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
.form-box .row {
  position: relative;
  z-index: 1;
}
.form-box .col-5 {
  padding: 80px 20px;
}
form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
input, select {
  font-family: 'Roboto', sans-serif;
  padding: 10px;
  border: none;
  border-radius: 4px;
  width: 100%;
}
form button {
  grid-column: 1 / -1;
}
button, .btn {
  display: inline-block;
  background: #3C70B7;
  color: #FFFFFF;
  padding: 15px 30px;
  margin-top: 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}
button:hover, .btn:hover {
  background-color: #275BA3;
}
button.bg-red:hover, .btn.bg-red:hover {
  background-color: #FF574D;
}
button.bg-aqua:hover, .btn.bg-aqua:hover {
  background-color: #4FB5CB;
}
.btn-full {
  width: 100%;
}

/* Footer */
footer {
  position: relative;
  text-align: center;
  font-size: 12px;
  padding: 20px;
  z-index: 1;
}
.footer-social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-gap: 10px;
}

/* Colors */

.bg-white {
  background-color: #FFFFFF;
}
.bg-blue {
  background-color: #3C70B7;
  color: #FFFFFF;
}
.bg-red {
  background-color: #FF2F23;
  color: #FFFFFF;
}
.bg-aqua {
  background-color: #2BA1BA;
  color: #FFFFFF;
}
.text-blue {
  color: #3C70B7;
}
.text-red {
  color: #FF2F23;
}
.text-aqua {
  color: #2BA1BA;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    height: auto;
    text-align: center;
    display: block;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .title-xl {
    font-size: 60px;
    margin-bottom: 20px;
    padding: 0;
  }
  .title-l {
    font-size: 40px;
    margin-bottom: 20px;
    padding: 0;
  }
  .title-m {
    font-size: 35px;
    margin-bottom: 20px;
    padding: 0;
  }
  .title-s {
    font-size: 25px;
    margin-bottom: 20px;
    padding: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  #bg-video {
    left: -100%;
  }
  .hero p {
    font-size: 1rem;
  }
  #simposio::before {
    width: 500px;
    height: 500px;
    left: -50%;
  }
  #simposio::after {
    width: 500px;
    height: 500px;
    right: -50%;
  }
  [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .navbar {
    justify-content: flex-end;
  }
  .nav-left, .nav-right {
    display: none;
  }
  .menu {
    width: 100%;
    display: block;
  }
  .menu .menu-item a {
    color: #FFFFFF;
  }
  .hamburger {
    display: flex;
  }
  section {
    padding: 60px 0;
  }
}
