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

:root {
  --primary: #16a34a;
  --secondary: #16a34a;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-light: #f9fafb;
  --border: #e5e7eb;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

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

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

body {
  font-family: 'Anuphan', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Announcement Banner */
.announcement-banner {
  background: var(--primary);
  color: white;
  margin-top: 60px;
}

.announcement-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  max-width: 1200px;
  margin: 0 auto;
}

.announcement-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.announcement-text {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.announcement-text h3 {
  font-family: 'Knewave', cursive;
  font-size: 2.5rem;
  font-weight: 400;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
}

.announcement-text p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

/* Header */
header {
  background: var(--primary);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease;
}

header.scrolled {
  background: var(--bg);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  width: 100%;
  margin: auto 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  margin: 10px 0;
  width: auto;
}

.logo-text {
  margin-left: 12px;
  font-family: 'Knewave', cursive;
  font-size: 1.25rem;
  font-weight: 400;
  color: white;
  transition: color 0.15s ease;
}

header.scrolled .logo-text {
  color: var(--text);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: rgba(255, 255, 255, 0.8);
}

header.scrolled .nav-menu a {
  color: var(--text);
}

header.scrolled .nav-menu a:hover,
header.scrolled .nav-menu a.active {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  transition: color 0.15s ease;
}

header.scrolled .mobile-toggle {
  color: var(--primary);
}

/* Hero Section */
.hero {
  margin-top: 0;
  padding: 80px 0;
  background: var(--bg);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Knewave', cursive;
  font-size: 3rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #15803d;
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-light);
}

.hero-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Knewave', cursive;
  font-size: 2.25rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  padding: 32px;
  transition: box-shadow 0.15s ease;
}

.card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card h3 {
  font-family: 'Knewave', cursive;
  font-size: 1.25rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* About Section */
.about {
  background: var(--bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: 'Knewave', cursive;
  font-size: 2rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.about-text h3 {
  font-family: 'Knewave', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: white;
  padding: 40px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-info h3 {
  font-family: 'Knewave', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.contact-item-icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.social-link:hover {
  background: #15803d;
}

/* Squad/Roster Styles */
.hero-content-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content-center h1 {
  font-family: 'Knewave', cursive;
  font-size: 3rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content-center p {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
}

.squad-section {
  margin-bottom: 60px;
}

.position-header {
  font-family: 'Knewave', cursive;
  font-size: 1.75rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  text-align: center;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.player-card {
  background: white;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.15s ease;
}

.player-card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.player-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-light);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-card .player-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.player-info {
  padding: 20px;
  text-align: center;
}

.player-name {
  font-family: 'Knewave', cursive;
  font-size: 1.25rem;
  font-weight: 400;
  background: linear-gradient(to bottom, var(--primary), #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.player-position {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.player-contact {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}

.coach-credentials {
  margin-top: 16px;
  text-align: left;
  padding: 0 10px;
}

.coach-credentials p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.coach-grid {
  display: flex;
  justify-content: center;
}

.coach-card {
  width: 100%;
  max-width: 540px;
}

/* Footer */
footer {
  background: var(--text);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-family: 'Knewave', cursive;
  font-weight: 400;
  color: white;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.25);
  }
  
  header.scrolled .nav-menu {
    background: white;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    padding: 12px 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .announcement-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    flex-direction: column-reverse;
    display: flex;
  }
  
  .announcement-text h3 {
    font-size: 2rem;
  }
  
  .announcement-text p {
    font-size: 1rem;
  }
  
  .announcement-text {
    padding: 20px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
  }
  
  .announcement-banner {
    padding: 100px 0 0 0;
  }
  
  .announcement-image {
    height: 250px;
    position: relative;
  }
  
  .announcement-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, var(--primary), transparent);
    pointer-events: none;
  }
  
  .announcement-image img {
    object-position: top center;
  }

  .player-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content-center h1 {
    font-size: 2.5rem;
  }
}
