@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: #ff69b4;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--primary-text);
    background-attachment: fixed;
}

#vanta-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure it's behind all content */
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    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;
}

.banner-logo {
    max-width: 200px; /* Adjust this value to set the desired size of your logo */
    height: auto;
    position: relative;
    z-index: 2;
}

.logo-image {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    background-image: url('../public/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: 80px 20px 20px;
}

section {
    margin-bottom: 60px;
}

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

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 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 80px 20px 40px;
}

.banner {
    width: 100%;
    padding: 60px 0;
    background-image: url('../public/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 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

#content-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-bottom: 60px; /* Adjust based on your footer height */
}

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

.cta-title span {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500; /* Keeping the thin weight */
    color: #ffffff;
    font-size: 3rem;
    font-style: italic; /* Added to make the text italic */
}

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

.cta-section h2 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.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);
}

.cta-title .highlight {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    color: #ffffff;
    font-style: italic;
}

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

.step {
    flex: 1;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.5);
    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;
    font-style: italic;
    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(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

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

.run-location {
    flex: 1;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.5);
    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 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    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: rgba(0, 0, 0, 0.5);
    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);
}

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) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.9);
      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);
    }
}