:root{
	--bg-website:#FA5000;
}
	
* {
	margin: 0;	
	padding: 0;
	box-sizing: border-box;
}

h1 {
  font-size: 1rem;
}

body {
	font-family: 'Segoe UI', sans-serif;
	line-height: 1.6;
	background: #f0fdf4;
	color: black;	
	user-select: none;
    padding-top: 80px;

}
html {
	scroll-behavior: smooth;	
}
/*
header {
	background: var(--bg-website);
	color: white;
	text-align: center;
	position: sticky;
	top: 0;
		display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 2;
}*/
	/*
#logo{
	width:300px;
}*/
.logo{
  width:300px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.logo svg{
  width:300px;
  height:auto;
  display:block;
}

.scroll-target {
	scroll-margin-top: 72px; 
}

nav a {
	color: black;
	margin: 0 1rem;
	text-decoration: none;
}
/*
header.scrolled > nav > a {
	font-size:0.8rem;
}
	*/
.content {
	padding: 1rem;
	margin: auto;
}
	
.content-we {
	position: relative;
	display: grid;
	place-items: center; 
	height: 50vh;
	text-align: center;
}	
	
.content-we::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.8;  
	background-image: url("/images/bg-we.avif");
	background-size: cover;     
	background-position: center;  
	background-repeat: no-repeat; 
}

.content-we h1{
	position: relative;
	color: white;	
	font-size:2rem;
}

.content-we p {
	position: relative;
	color: white;	  
}
	
.content-we p {
	background-color:black;
	opacity:0.6	  ;
	padding:1rem;
	border-radius: 5px;
	margin: 0.5rem;
}	

.content-we-detail {
	margin: auto;
	padding: 40px 0px 40px 0px;
	background: var(--bg-website);
}	
	
.content-we-detail h1{
	color: black;
	text-align:center;
	font-size:1.3rem;
}

.content-we-detail p {
	color: black;
	text-align:center;
	font-size:0.9rem;
}
/*
.filters{
    display:flex;
    gap:2rem;
    flex-wrap:wrap;
    align-items:flex-start;
}

.filters > .col{
    flex:1 1 300px;
    min-width:300px;

    background:white;
    border-radius:10px;
    padding:1rem;
    border:1px solid #9997971f;
}
.adv:hover{ cursor: pointer; }

.filters > .col.advertising img {
	width: 100%;
	border-radius: 5px;
	max-height: 200px;
	object-fit: cover;
}

#categories-day {
	text-align: left;
}
*/
.section__advertising {
	background: var(--bg-website);
	color:black;
	text-align:center;
	border-radius: 5px;
	margin-bottom:5px;
	gap:5px;
}

.section__calendar {
	background: var(--bg-website);
	color:black;
	text-align:center;
	border-radius: 5px;
	margin-bottom:5px;
}

.categories-day-selected {
	background: var(--bg-website);
	color:black;
	text-align:center;
	border-radius: 5px;
	margin-bottom:5px;
}

.section__calendar_notevents{
	background:rgba(6,182,212,.25);
	color:black;
	text-align:center;
	border-radius: 5px;
	margin-top:5px;
}

.section__calendar_category_title{
	background:rgba(6,182,212,.25);
	color:black;
	text-align:left;
	border-radius: 5px;
	margin-top:5px;
	padding-left:5px;
}

.section__calendar_category_title a {
	color:black;
	text-decoration: none;
}

.categories-day-info {
	background: whitesmoke;
	color:black;
	text-align:center;
	border-radius: 5px;
	margin-top:5px;
	font-size: 11px;
}

.section__weather-title {
	background: var(--bg-website);
	color:black;
	text-align:center;
	border-radius: 5px;
	margin-top:20px;
	margin-bottom:20px;
}

.section__event-image,
.section__event-title {
	background: var(--bg-website);
	color:black;
	text-align:center;
	border-radius: 5px;
	margin-top:20px;
	margin-bottom:20px;
}

.section__event-title h1 {
	font-size:1rem;
}
  
hr {
  color: var(--bg-website);
}

.agenda-title h1{
	font-size:1.5rem;
}

#agenda_all > div {		
	padding:1rem 0;
	background: #e8e8e8;
	border-radius: 5px;
	padding:0.5rem;
	text-align:center;
}

.events-category {		
	padding:1rem 0;
}
	
.events-category > div {
	background: var(--bg-website);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	border-radius: 5px;
	width: 100%;
	height: 100%;
	padding:0.5rem;		
}	
	
.events-category > div h2 {
	font-size:1rem;
}	
	
.events-category-number > div span {
	font-size:1rem;
}		
	
.events {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 2rem;
	grid-auto-rows: minmax(100px, auto);
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-around;	  
}

.events > .event {
	background: white;
	border-radius: 10px;
	padding: 1rem;
	box-shadow: 0px 0px 0px 0px #333;
	text-align: center;
	border: 1px solid #9997971f;
}

.event img {
	width: 100%;
	border-radius: 5px;
	height: 250px;
	object-fit: cover;
}

.eventdetail {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 2rem;
	grid-auto-rows: minmax(100px, auto);
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-around;	  
}

.eventdetail img {
	width: 100%;
	border-radius: 5px;
	object-fit: cover;
}

.eventdetail div.detail div.info{
	background: white;
	border-radius: 10px;
	padding: 1rem;
	box-shadow: 0px 0px 0px 0px #333;
	text-align: left;
	border: 1px solid #9997971f;
}



#gotoup {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none; 
	background-color: #ccc;
	color: black;
	border: none;
	padding: 12px 16px;
	border-radius: 50%;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
	border: 1px solid #9997971f;
}

#gotoup:hover {
	background-color: #eee;
	border: 1px solid #9997971f;
}
	
.section__weather {
	width: 100%;
	max-width: 1400px;
	padding-top: 0px;
	margin: 0;
}

.weather__block {
	width: 100%;	
	float: left;
}

.wi, 
.weather_temperature {
	font-size: 5rem;
	width: 100%;
	text-align: center;
}

.weather_name {
	font-weight: bold;
	font-size: 0.8rem;
}

.calendar-controls{
	display:flex; 
	gap:12px; 
	align-items:center; 
	margin-bottom:20px;
	justify-content: space-around;
}

.calendar-controls > button{
	background:transparent; 
	border:1px solid rgba(255,255,255,.15); 
	padding:6px 10px; 
	border-radius:6px; 
	cursor:pointer;
}

.calendar-label{
	font-weight:700;
	font-size:1.25rem;
	text-transform:capitalize;
}

.calendar-month{
	padding:12px;
	width:100%;
	max-width:600px;
	text-transform:capitalize;
}

.calendar-month-name{
	text-align:center;
	margin-bottom:8px;
	font-size:1.1rem;
	font-weight:600;
}

.calendar-weekdays, 
.calendar-weekdays, 
.calendar-days{
	display:grid;
	grid-template-columns:repeat(7,1fr);
	font-size:.85rem;
	text-align:center;
	gap:10px;
}

.calendar-day {
	position: relative;
	background:#ccc;  
	min-height: 50px;
	padding: 6px;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;	
}

.calendar-day-number {
  font-size: 0.9rem;
  font-weight: 600;
}

.calendar-badge {
	position: absolute;
	top: 1px;
	right: 1px;
	z-index: 1;
	background: var(--bg-website);
	color: black;
	font-size: 0.65rem;
	font-weight: 600;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;	
	border-top-right-radius: 2px;
	border-top-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 5px;
}

.calendar-weekdays div{
	color:var(--calendar-muted);
	padding:4px 0;
	font-weight:600;
}

.calendar-days div{
	padding:6px 0;
	border-radius:6px;
}

.calendar-today{
	background:rgba(6,182,212,.25);
}

.loader {
    border: 8px solid var(--bg-website);
    border-top: 8px solid #ccc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#map-container {
  position: relative;
  width: 100%;
  height: 350px;
  margin: 0 auto;
  box-shadow: 0px 5px 20px #ccc;
}

#map {
  width: 100%;
  height: 100%;
}

#mapinfo{
	font-size:10px;
	text-align:center;
	padding:5px;
	color:#999;
}

.pageError_title,
.pageBlock_title,
.cookies_aviso_title {
	background: var(--bg-website);
	color:black;
	text-align:center;
	border-radius: 5px;
	margin-top:20px;
	margin-bottom:20px;
}

.pageError_title h1,
.pageBlock_title h1,
.cookies_aviso_title h1 {
	font-size:1.5rem;
}

.pageError,
.pageBlock,
.cookies_aviso{
	background: white;
	border-radius: 10px;
	padding: 1rem;
	box-shadow: 0px 0px 0px 0px #333;
	border: 1px solid #9997971f;
	margin-bottom:20px;
}

.cookies_aviso p {
	margin-bottom:10px;
}

  .cookie-card {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #eaf7e6;
    font-family: Arial, sans-serif;
  }

  .cookie-card h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
  }

  .cookie-detail {
    margin: 5px 0;
    font-size: 14px;
  }

  .cookie-label {
    font-weight: bold;
    display: inline-block;
    width: 90px;
  }

  .cookie-section-title {
    font-weight: bold;
    background-color: #fcf3de;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
  }

@media only screen and (min-width: 600px)  and (max-width: 1080px) {
	.events {
		grid-template-columns: repeat(2, 1fr);
	}
	.filters {
		grid-template-columns: repeat(2, 1fr);
	}
	.filters > .col.advertising {
		grid-column: span 2;
	}
	.section__advertising_mobile{
		display: grid;
		grid-template-columns: repeat(2, 1fr);		
	}
}

@media only screen and (max-width: 600px) {  
	.logo svg{
		width:200px;
	}
	.filters,
	.events {
		grid-template-columns: 1fr;
	}	
	.eventdetail {
		grid-template-columns: 1fr;
	}
	.content-we {
		padding: 3.5rem !important;
	}
}

@media (max-width: 480px) {
	.calendar-days{
		gap:5px;
	}	
	.calendar-days div{
		padding:5px 0;
	}
	.calendar-day {
		min-height: 30px;
		padding: 4px;
	}
	.calendar-badge {
		width: 14px;
		height: 14px;
		font-size: 0.55rem;
		line-height: 14px;
		top: 2px;
		right: 2px;
	}
}

@media only screen and (min-width: 300px) {
	.weather__block {
		width: 45%;
		margin: 1%;	
	} 
}

/* NAV */

nav {
   position:fixed;
   top:0;
   left:0;
   width:100%;
   display:flex;
   padding:0 8% 0 0;
   justify-content:space-between;
   align-items:center;
   background: var(--bg-website);
   backdrop-filter:blur(14px);
   border-bottom:1px solid rgba(255,255,255,.08);
   z-index:1000;
}
nav ul {
   flex-wrap:wrap;
   justify-content:center;
}
.menu-toggle {
   display:none;
   font-size:2rem;
   cursor:pointer;
   color:white;
}
.logo {

   font-size:1.2rem;
   font-weight:700;
   color:var(--accent);
}
nav ul {
   display:flex;
   gap:30px;
   list-style:none;
}
nav a {
   color:white;
   text-decoration:none;
   transition:.3s;
   font-weight:500;
   position:relative;
   padding-bottom:4px;
}
nav a::after {
   content:"";
   position:absolute;
   left:0;
   bottom:0;
   width:0%;
   height:2px;
   background:var(--accent);
   transition:.3s;
}
nav a:hover::after {
   width:100%;
}
nav a:hover {
   color:var(--accent);
}


@media (max-width: 1024px){
   nav {
      flex-direction:row;
   }
   nav ul li {
      width:100%;
   }
   nav ul a {
      display:block;
      width:100%;
      font-size:1.05rem;
   }
   .menu-toggle {
      display:block;
   }
   nav ul {
      position:absolute;
      top:100%;
      left:0;
      width:100%;
      background:#111;
      flex-direction:column;
      align-items:flex-start;
      gap:22px;
      padding:30px 35px;
      display:none;
      border-top:1px solid rgba(255,255,255,.08);
   }
   nav ul.active {
      display:flex;
   }
   
}


/* DASBOARD */
.dashboard{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:2rem;
    align-items:start;
}

.dashboard-calendar,
.dashboard-info,
.dashboard-sidebar{
    background:#fff;
    border-radius:10px;
    padding:1rem;
    border:1px solid #9997971f;
	gap:5x;
}

.dashboard-ad-calendar{
    margin-top:20px;
}

.dashboard-ad-calendar img,
.dashboard-sidebar img{
    width:100%;
    display:block;
    border-radius:5px;	
}
@media (max-width:1080px){

    .dashboard{
        grid-template-columns:1fr 1fr;
    }

    .dashboard-sidebar{
        grid-column:1 / -1;
    }

}
@media (max-width:768px){
    .dashboard{
        grid-template-columns:1fr;
    }
}

/* ABOUT */
.about{
    position: relative;
    padding: 80px 8%;
    background-image: url("/images/bg-we.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.about-container{
    position: relative;
    z-index: 1;
}
.about-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.about-text h2{
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.about-text .lead{
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.about-text p{
    margin-bottom: 15px;
    line-height: 1.6;
    color: white;
}
.about-text h2,
.about-text p,
.about-text .lead{
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
}

.about-image img{
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}


@media (max-width: 768px){
    .about-container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text{
        order: 2;
    }

    .about-image{
        order: 1;
    }
}

/* CONTACTO */

.contacto{
    padding: 80px 8%;
    background: #111;
}

.contacto-container{
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contacto h2{
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.contacto p{
    color: rgba(255,255,255,.8);
    margin-bottom: 30px;
}

.contacto form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto input,
.contacto textarea{
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
	font-family: inherit;
    font-size: 1rem;
}

.contacto input:focus,
.contacto textarea:focus{
    outline: none;
    border-color: var(--bg-website);
}


/* BOTONES */
.btn-about,
.contacto button{
    display:inline-block;
    padding:14px 26px;
    background:var(--bg-website);
    color:#fff;
    text-decoration:none;
    border:none;
    border-radius:8px;
    font-size:0.95rem;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    cursor:pointer;
    transition:all .25s ease;
    box-shadow:0 4px 15px rgba(250,80,0,.25);
}

.btn-about:hover,
.contacto button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 25px rgba(250,80,0,.4);
    background: var(--bg-website);
}

.btn-about:active,
.contacto button:active{
    transform:translateY(0);
}

/* FOOTER */
footer{
    background: #0f0f0f;
    color: rgba(255,255,255,.8);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
}
footer a {
    color: var(--bg-website);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #fff;
}