@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

:root {
    --primary-bg: #000000;
    --secondary-bg: #1a1a1a;
    --primary-text: #ffffff;
    --accent-color: #E319B4;
    
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--primary-text);
    background-attachment: fixed;
    background-color: var(--primary-bg);
    width: 100%;
    max-width: 100vw;
    max-width: 100vw;
    position: relative;
    height: 100vh;

}

#vanta-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    z-index: 1000;
}
  
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
}
  
.logo {
    display: flex;
    align-items: center;
}
  
.logo-text {
    color: var(--primary-text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 700;   
    letter-spacing: 1px;
}
  
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
  
.nav-links li {
    margin-left: 30px;
}
  
.nav-links a {
    color: var(--primary-text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 700;   
    letter-spacing: 1px;
}
  
.nav-links a:hover {
    color: var(--accent-color);
}
  
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
  
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.logo-image {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    background-image: url('/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 15px;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--primary-text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 700;   
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: var(--accent-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px; /* Remove top padding */
}

h1, h2 {
    color: var(--primary-text);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

h1 {
    font-weight: 700; /* This makes the font thinner */
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

#hero-carousel {
    width: 100vw;
    max-width: 100vw;
    height: 100vh; /* Changed from 80vh to 100vh for full viewport height */
    overflow: hidden;
    position: relative;
    margin: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    border-bottom: 2px solid white;
}

.carousel-container {
    display: flex;
    width: 300%; /* 100% times number of slides */
    height: 100%;
    transition: transform 0.5s ease;
    height: 100vh;
}

/* Make sure carousel slides and images fill the new height */
.carousel-slide {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure slides take full height */
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.carousel-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-text);
    text-align: center;
    padding: 2rem;
    z-index: 1;
}

.carousel-content h2 {
    color: var(--accent-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: -0.5rem;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.carousel-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust the gap value as needed for spacing */
    margin-top: 10px; /* Reduced from 25px to account for new label */
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px; /* Increased padding for larger button */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-text);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem; /* Increased font size */
}

.icon-buttons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-bg), var(--accent-color) 50%, var(--primary-text));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.icon-button:hover {
    background-color: #555;
}

.icon-button i {
    font-size: 18px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; background: var(--accent-color); }
    100% { transform: translate(-50%, 20px); opacity: 0; background: var(--accent-color);}
}

.banner {
    width: 100%;
    padding: 60px 0;
    background-image: url('/images/zenith-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px 30px 30px 30px;
    margin-bottom: 40px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    border-radius: 0 0 30px 30px;
}

.hero-content {
    width: 100%;
}

.hero-content h2 {
    color: var(--primary-text);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    padding-top: 90px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

#content-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.cta-title {
    color: var(--accent-color);
}

.cta-section:hover::before {
    opacity: 0.2;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.cta-title {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.2);
}

.step-content {
    padding: 30px;
    text-align: center;
}

.step-icon {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.step p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.step-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.step:hover .step-image {
    transform: scale(1.05);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px; /* Increased padding for larger button */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-text);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem; /* Increased font size */
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-bg), var(--accent-color) 50%, var(--primary-text));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

.cta-button:hover::before {
    opacity: 0.8;
}

.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

#next-run {
    text-align: center;
    position: relative;
    overflow: hidden;
}

#necessary-links {
    text-align: center;
    padding: 80px 20px;
    margin-top: 60px;
}


#next-run h2 {
    color: var(--primary-text);
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    padding-top: 90px;
}

.run-locations {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.run-location {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(255, 255, 255, 0.1),
                0 0 10px rgba(255, 255, 255, 0.2);
    position: relative;
}

.run-location h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.location-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.location-wrapper p {
    margin: 0;
    display: inline;
}

.location-wrapper i {
    color: var(--accent-color);
}


.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.dial-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 10;
}

.dial-ring {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.5s;
}

.days-ring, .hours-ring, .minutes-ring {
    stroke: #ff69b4;
}

#countdown-miami .days-ring, 
#countdown-miami .hours-ring, 
#countdown-miami .minutes-ring {
    stroke: #ffffff;
}

.dial-text {
    fill: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.dial-value {
    font-size: 24px;
    font-weight: 700;
}

.dial-label {
    font-size: 12px;
    font-weight: 400;
}

.run-map {
    height: 200px;
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.leaflet-control-zoom a {
    background-color: var(--secondary-bg);
    color: var(--primary-text);
    border: 1px solid var(--accent-color);
}

.leaflet-control-zoom a:hover {
    background-color: var(--accent-color);
}

.leaflet-control-attribution {
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: var(--primary-text) !important;
}

#events {
    padding: 80px 20px;
    color: var(--primary-text);
    text-align: center; /* Center the content */
}
  
#events .section-container {
    max-width: 1200px;
    margin: 0 auto;
}
  
#events .cta-title {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center; /* Ensure the title is centered */
}
  
#events .highlight {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    color: #ffffff;
    font-style: italic;
}
  
#events .section-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}
  
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
  
.event-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2),
              0 0 0 2px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  text-align: left; /* Align text to the left within the card */
}
  
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}
  
.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}
  
.event-card h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}
  
.event-card .event-date {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 20px;
    display: block;
}
  
.event-card .event-details {
    margin-bottom: 20px;
}
  
  .event-card .event-details p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
  }
  
.event-card .register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 250px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-text);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card .register-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-bg), var(--accent-color) 50%, var(--primary-text));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
  
.event-card .register-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

.event-card .register-button:hover::before {
    opacity: 0.8;
}

#necessary-links {
    text-align: center;
    padding: 80px 0;
    margin-top: 60px;
}

#necessary-links .section-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

#necessary-links h2 {
    color: var(--primary-text);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

#necessary-links h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

#necessary-links .section-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--primary-text);
    opacity: 0.8;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.waiver-links, .social-links {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.waiver-links:hover, .social-links:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 250px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-text);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-bg), var(--accent-color) 50%, var(--primary-text));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

.social-button:hover::before {
    opacity: 0.8;
}

.social-button i {
    margin-right: 10px;
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.social-button:hover i {
    transform: rotate(360deg);
}

.media-release, .waiver {
    background: rgba(255, 105, 180, 0.2);
}

.instagram-miami, .instagram-gainesville {
    background: rgba(255, 105, 180, 0.15);
}

.calendar-section {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 0 auto 40px auto;
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.calendar-container {
    width: 100%;
    padding: 10px;
    margin: 0 auto;
    box-sizing: border-box;
}

.calendar-header {
    text-align: center;
    margin-bottom: 15px;
}

#calendar-month {
    color: var(--primary-text);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

.calendar-grid {
    width: 100%;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
    text-align: center;
}

.calendar-weekdays div {
    padding: 4px;
    font-weight: bold;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    position: relative;
}

.calendar-day span {
    display: block;
    margin-bottom: 2px;
}

.calendar-day.inactive {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
}

.event-link {
    font-size: 0.7rem;
    color: var(--accent-color);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
    padding: 2px 4px;
    border-radius: 4px;
    background: rgba(255, 105, 180, 0.1);
}


footer {
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    color: var(--primary-text);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    font-weight: 300;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at bottom left, var(--accent-color) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    /* Calendar Mobile Optimizations */
    .calendar-section {
        padding: 6px;
        width: calc(100% - 1rem);
        margin: 0.25rem 0.5rem;
        border-radius: 6px;
    }

    .calendar-container {
        padding: 0;
    }

    #calendar-month {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .calendar-header {
        margin-bottom: 3px;
    }

    .calendar-weekdays {
        gap: 1px;
        padding: 0;
        margin-bottom: 1px;
    }

    .calendar-weekdays div {
        font-size: 0.6rem;
        padding: 1px 0;
    }

    .calendar-days {
        gap: 1px;
        padding: 0;
    }

    .calendar-day {
        min-height: 22px;
        font-size: 0.6rem;
        padding: 1px;
        border-radius: 2px;
        gap: 0;
    }

    .calendar-day span {
        margin: 0;
    }

    .event-link {
        font-size: 0.5rem;
        padding: 0;
        width: 94%;
        margin-top: 1px;
        border-radius: 1px;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right 0.3s ease;
    }
  
    .nav-links.active {
      right: 0;
    }
  
    .nav-links li {
      margin: 20px 0;
    }
  
    .hamburger {
      display: block;
    }
  
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
  
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }
    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
    }
}