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

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Extralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Extrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

body {
  background: #f7f7f7;
  color: #333;
  font-family: 'Cabinet Grotesk', sans-serif;
}

.video-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

nav {
  background: transparent;
  padding: 18px 0;
  position: relative;
  z-index: 100;
}

.nav-container {
  width: 85%;
  max-width: 1800px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  padding-right: 10px;
}

.logo {
  color: white;
  margin: 0;
}

.logo-container a {
  text-decoration: none;
  color: inherit;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

nav a:hover {
  color: #333;
}

/* Tryouts page specific navbar styles */
.tryouts-page nav {
  border-bottom: 1px solid #ddd;
}

.tryouts-page nav .logo {
  color: #333;
}

.tryouts-page nav a {
  color: #333;
}

.tryouts-page nav a:hover {
  color: #0066cc;
}

/* Contact page specific navbar styles */
.contact-page nav {
  border-bottom: 1px solid #ddd;
}

.contact-page nav .logo {
  color: #333;
}

.contact-page nav a {
  color: #333;
}

.contact-page nav a:hover {
  color: #0066cc;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  background: transparent;
  padding: 40px 20px;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 40px;
  line-height: 1.2;
  max-width: 80%;
}

.tryouts-button {
  display: inline-block;
  padding: 18px 40px;
  background: transparent;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  border: 2px solid white;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.tryouts-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  transition: left 0.3s ease;
  z-index: -1;
}

.tryouts-button:hover {
  color: #333;
}

.tryouts-button:hover::before {
  left: 0;
}

.content {
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;
  position: relative;
  z-index: 10;
  background: rgba(247, 247, 247, 0.95);
  padding: 20px;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 20px;
  background: #ddd;
  margin-top: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 6px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.location {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
}

.tryouts-open-message {
  background: #d4edda;
  border: 1px solid #28a745;
  border-radius: 6px;
  padding: 15px;
  margin: 20px 0;
}

.tryouts-open-message p {
  margin: 0;
  color: #155724;
}

.safety-notice {
  background: #e7f3ff;
  border-left: 4px solid #0066cc;
  padding: 15px;
  margin: 20px 0 30px 0;
  border-radius: 4px;
}

.safety-notice p {
  margin: 5px 0;
  color: #333;
}

.safety-notice p:first-child {
  font-weight: bold;
}

.safety-notice a {
  color: #0066cc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.safety-notice a:hover {
  color: #0052a3;
  text-decoration: underline;
}

.tryout-form {
  margin-top: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
  font-size: 1rem;
}

.required {
  color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Cabinet Grotesk', sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Cabinet Grotesk', sans-serif;
  transition: border-color 0.3s ease;
  resize: vertical;
  min-height: 120px;
}

.form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.submit-button {
  background: #0066cc;
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Cabinet Grotesk', sans-serif;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.submit-button:hover {
  background: #0052a3;
}

.submit-button:active {
  transform: scale(0.98);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.contact-form {
  margin-bottom: 40px;
}

.contact-info {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-info p {
  margin: 15px 0;
  font-size: 1.1rem;
  color: #333;
}

.contact-info a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #0052a3;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    padding: 0 20px;
  }
  
  .tryouts-button {
    font-size: 1rem;
    padding: 15px 30px;
  }
  
  .form-container h2 {
    font-size: 1.5rem;
  }
  
  .form-group input[type="text"],
  .form-group input[type="email"] {
    font-size: 0.95rem;
  }
  
  .submit-button {
    width: 100%;
    padding: 16px;
  }
  
  .contact-container h2 {
    font-size: 1.5rem;
  }
  
  .contact-info h3 {
    font-size: 1.3rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 25px;
  }
  
  .form-group textarea {
    font-size: 0.95rem;
  }
}
