/*
Theme Name: Estraperlo
Author: Miquel
Version: 1.0
Description: Tema custom estraperlo
*/



@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeueLight.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeueBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeueLTStd-Lt';
    src: url('fonts/HelveticaNeueLTStd-Lt.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NHaasGroteskDSPro';
    src: url('fonts/NHaasGroteskDSPro-55Rg.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NHaasGroteskDSPro';
    src: url('fonts/NHaasGroteskDSPro-75Bd.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
  --breakpoint: 1600px;
  --radius: 6px;
  --color-text: #ffffff;
}

html, body {
  margin: 0;
  font-family: 'Helvetica Neue';
  background-color: var(--color-page);
  overflow-x: clip;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.g-wrapper {
  max-width: var(--breakpoint);
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.g-mini-wrapper {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.g-title {
  text-align: center;
  font-size: 65px;
}

@media (max-width: 1000px) {
.g-title {
  font-size: 40px;
}

.page-blog .g-title,
.area-profesionales-wrapper .g-title,
.contacto-wrapper .g-title,
.pagina-texto-wrapper .g-title {
  margin-top: 70px;
}
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'NHaasGroteskDSPro';
}

.btn {
    transition: all 0.3s ease;
    padding: 11px 20px 9px;
    border: 1px solid black;
    background-color: black;
    color: white;
    border-radius: 100px;
    cursor: pointer;
}

.btn.big {
  padding: 20px 40px 18px;
  font-size: 20px;
}

.btn.wide {
  padding-left: 50px;
  padding-right: 50px;
}

.btn.secondary {
    background-color: white;
    color: black;
}

.btn.secondary:hover {
  background-color: black;
  border-color: black;
  color: white;
}


.btn.transparent {
  transition: .3s ease;
  background-color: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn.transparent:hover {
  background-color: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-page);
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

.g-entradas-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 25px;
  border-radius: 5px;
  width: fit-content;
  background-color: #cbcbcb;
  color: black;
  min-height: 45px;
  font-size: 18px;
  line-height: 0;
  transition: all 0.3s ease;
}

.g-entradas-btn:hover {
  background-color: white;
  color: black;
}

/* Tag Styles Shared */
.tipo, .tag, .tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px 8px;
    width: fit-content;
    font-size: 14px;
    line-height: normal;
    white-space: nowrap;
    font-weight: 500;
}

.tipo {
    border-radius: 100px;
    background-color: #8018ff;
    color: white;
    border: 2px solid transparent;
}

.tag, .tag-pill {
    border-radius: 4px;
    background-color: black;
    color: white;
}

.tag-pill.tag-concert {
    border-radius: 100px;
    background-color: #8018ff;
    border: 2px solid transparent;
}

/* Event Modal Global Styles */
.event-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-modal.is-active {
  display: flex !important;
  opacity: 1;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  width: 90%;
  max-width: 1000px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: fit-content;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 34px;
  font-weight: 200;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 0;
  transition: 0.2s ease;
  box-sizing: border-box;
}

.close-modal:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-body-content {
  max-height: 85vh;
  overflow-y: auto;
}

.modal-loader {
  padding: 100px;
  text-align: center;
  width: 100%;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid #000;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 1000px) {
  .modal-content {
    width: 95%;
    margin: 20px auto;
  }
}
