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

body {
  font-family: 'Urbanist', Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #e6f2e6;
  color: #0a0a0a;
  background-image: url("../Images/tennis-balls.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

a {
  text-decoration: none;
  color: #006600;
}

a:hover {
  color: #003300;
}

header {
  background-color: rgba(51,153,51,0.85);
  color: #fff;
  padding: 40px 0;
  text-align: center;
  background-image: url("../Images/tennis-balls.jpg");
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
  backdrop-filter: brightness(0.5);
}

header h1 {
  margin-bottom: 25px;
  font-size: 2.7em;
  text-shadow: 8px 8px 12px rgba(0,0,0,1);
}

header p {
  font-size: 1.2em;
  text-shadow: 4px 4px 8px rgba(0,0,0,1);
}

nav {
  margin-top: 15px;
}

nav ul {
  list-style: none;
  margin: 15px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

nav li {
  display: inline;
}

nav a {
  color: #ffffff;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.7);
  transition: 0.3s;
  backdrop-filter: brightness(1.2);
}

nav a:hover {
  background-color: rgba(255,255,255,0.2);
  transform: scale(1.09);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

main {
  padding: 20px;
}

section {
  background-color: #f0fff0;
  margin-bottom: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section h2 {
  color: #267326;
}

article h3 {
  color: #339933;
  margin-top: 10px;
}

article p {
  margin: 5px 0 15px;
}

footer {
  background-color: #267326;
  color: #e6ffe6;
  text-align: center;
  padding: 15px 0;
}

footer a {
  color: #e6ffe6;
  font-weight: bold;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

.section-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 10px auto 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.email-form input,
.email-form textarea {
  width: 100%;
  max-width: 350px;
  padding: 10px;
  border: 2px solid #339933;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 1em;
}

.email-form textarea {
  resize: vertical;
}

.email-form button {
  background-color: #339933;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
}

.email-form button:hover {
  background-color: #267326;
}

#schedule {
  text-align: center;
}

#schedule table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 80%;
  max-width: 600px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#schedule caption {
  font-weight: bold;
  margin-bottom: 10px;
  color: #267326;
}

#schedule th,
#schedule td {
  padding: 12px;
  border-bottom: 1px solid #ccc;
}

#schedule th {
  background-color: #339933;
  color: white;
  font-size: 1.1em;
}

#schedule tr:last-child td {
  border-bottom: none;
}


.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 80%;
  margin: 20px auto;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

#video h3 {
  color: #339933;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
}


h1, h2, h3 {
  margin: 10px 0;
  padding: 5px 0;
}

p {
  padding: 5px 0;
}

article {
  margin-bottom: 20px;
}

main {
  padding: 30px;
}

footer {
  margin-top: 30px;
  padding: 20px 0;
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1em;
  }

  main {
    padding: 15px;
  }

  section {
    padding: 10px 15px;
  }

  nav a {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}
