:root {
    --primary-color: #00b1eb;
    --secondary-color: #2c3e50;
    --text-color: #fff;
    --background-color: #f9f9f9;
    --day-colors: #00b1eb, #4a96d2, #505398, #00b1eb, #3498db, #9b59b6, #34495e;
    --day-colors-activities: #95c11f, #008d8d, #006878, #95c11f, #008d8d, #006878, #95c11f;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    animation: fadeIn 1s ease-out;
}

a {
    color: #FFF;
    text-decoration: none;
}
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 20px;
}
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url(../img/bg_faro800.jpg) no-repeat center center;
        background-size: cover;
}
@media (min-width: 1200px) {
    .bg {
        background: url(../img/bg_faro2400.jpg) no-repeat center center;
        background-size: cover;
    }
}

@media (min-width: 768px) {
    .bg {
        background: url(../img/bg_faro1920.jpg) no-repeat center center;
        background-size: cover;
    }
}


/* .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

header {
    background-color: var(--secondary-color);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 768px) {
    header .content-wrapper {
        width: 100%;
        max-width: 100%;
        padding-right: 1rem;
    }
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-right: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #ecf0f1;
    transform: translateY(-2px);
}

.language-selector select {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.language-selector select option {
    background-color: var(--secondary-color);
}

.hero {
    /* background-image: url('../img/bg_faro800.jpg');
    background-size: cover;
    background-position: center; */
    color: white;
    text-align: center;
    padding: 8rem 1rem 4rem;
    margin-top: 60px;
    height: 50vh;
    align-items: center;
    display: flex;
    animation: fadeIn 1.5s ease-out;
}



.hero .content-wrapper {
    padding: 0;
}

#program {
    padding: 4rem 0;
}

#program .content-wrapper:first-child {
    margin-top: -100px; /* This negates the padding for normal flow */
}

.day {

    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.day h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
}

.day h2 i {
    margin-right: 0.5rem;
}

.schedule-item {
    padding: 1rem;
    border-radius: 4px;
    transition: background-color 0.1s ease;
}

.schedule-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.schedule-item p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.schedule-item i {
    width: 20px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.schedule-item .time {
    font-size: 0.9em;
    font-weight: bold;
}

.schedule-item .activity {
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.1;
}

.schedule-item .description {
    font-style: italic;
    font-weight: 300;
    line-height: 1.1;
}

.schedule-item .location {
    font-weight: 500;
}

.maps {
    padding: 4rem 0;
    margin-bottom: 100px;
    background-color: #FFF;
    width: calc (100vw - 70px);
    margin: 0 auto;
    padding: 0 70px 0 0;
}
.maps .content-wrapper {
    padding: 2rem;
}

@media (min-width: 768px) {
    .maps {
        margin-bottom: 150px;
        width: 80vw;
        border-radius: 10px;
        box-shadow: 2px 10px 20px rgba(0, 0, 0, 0.5);
    }
    .maps .content-wrapper {
        padding: 4rem;
    }
}

.maps h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 600; /* Using a semi-bold weight for section titles */
    animation: slideInFromBottom 1s ease-out;
}

.map {
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.map h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 500; /* Using a medium weight for map location titles */
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-icon:hover {
    animation: none;
    transform: scale(1.1);
}

.whatsapp-icon i {
    font-size: 30px;
    color: white;
}

.content-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
    padding-right: 70px; /* Add space for the day nav */
}

.hero h1 {
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: left;
}
.hero p {
    font-size: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: left;
    margin-top: 20px;
}
@media (min-width: 768px) {
    .hero {
        padding: 12rem 0 6rem;
    }

    .hero h1 {
        font-size: 4rem;
        line-height: 1.1;
    }

    #program {
        padding: 6rem 0;
    }

    .maps {
        padding: 6rem 0;
    }

    .map-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .map {
        width: 100%;
        max-width: 700px;
        margin-bottom: 2rem;
    }
}

.day-nav {
    position: fixed;
    right: -60px; /* Start off-screen */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    transition: right 0.5s ease-out;
}

.day-nav.visible {
    right: 20px; /* Final position */
}

.day-nav-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.day-nav .active {
    /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); */
    border: 2px solid;
}

.day-nav.visible .day-nav-item {
    opacity: 1;
    transform: translateX(0);
}

.day-nav-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Stagger the animation of nav items */
.day-nav.visible .day-nav-item:nth-child(1) { transition-delay: 0.1s; }
.day-nav.visible .day-nav-item:nth-child(2) { transition-delay: 0.2s; }
.day-nav.visible .day-nav-item:nth-child(3) { transition-delay: 0.3s; }
.day-nav.visible .day-nav-item:nth-child(4) { transition-delay: 0.4s; }
.day-nav.visible .day-nav-item:nth-child(5) { transition-delay: 0.5s; }
/* Add more if you have more days */

/* Add smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Hero section animations */
.hero {
    animation: fadeIn 1.5s ease-out;
}

.hero h1,
.hero p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero h1.animate,
.hero p.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Program section animations are now handled by AOS */

.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
    color: #000;
}
.modal-content h1 {
    color: #000;
}
.modal-content p {
    margin-top: 30px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 40px;
    position: absolute;
    top: -10px;
    right: -10px;
}
@media (max-width: 768px) {
    .close {
        position: fixed;
        top: 10px;
        right: 10px;
    }
}

.close:hover,
.close:focus {
    background-color: #555;
    text-decoration: none;
    cursor: pointer;
}

.info-icon {
    margin-left: 5px;
    cursor: pointer;
    color: #007bff;
}

.info-button {
    background-color: rgba(255, 255, 255, 0.8);
    color: #174583;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
    padding: 5px 10px;
    margin-top: 10px;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
}

.info-button:hover {
    background-color: #0056b3;
}

/* Live Stream Section */
#live-stream {
    width: 100vw;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0;
  margin-top: 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    #live-stream {
        width: 80vw;
        margin: 0 auto; 
    }
}
#live-stream .content-wrapper {
  text-align: center;
}

#live-stream h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

#live-stream p {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

#live-stream-form-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

#live-stream-form-button:hover {
  background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #live-stream {
    padding: 2rem 0;
  }

  #live-stream h2 {
    font-size: 1.5rem;
  }
}

#youtube-button {
    display: flex;
    width: fit-content;
    align-items: center;
    background-color: #FF0000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

#youtube-button:hover {
    background-color: #CC0000;
}

#youtube-button i {
    margin-right: 10px;
    font-size: 1.2em;
}
