/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  background: #fdfdfd;
  color: #333;
}

/* Hero Section - Enhanced with Banner */
.hero {
  height: 70vh; /* shorter than full screen for better UX */
  background: url('../images/banner.jpg') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.5); /* slightly lighter to show banner */
  padding: 2rem 1rem;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  max-width: 90%;
}

.hero h1 {
  font-size: 3rem; /* keep old size for style */
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
}

/* Links Section */
.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px;
  background: #f8f8f8;
}

.link-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
  color: inherit;
}

.link-card:hover {
  transform: translateY(-5px);
}

.link-card i {
  font-size: 40px;
  color: #a52a2a; /* red icons */
  margin-bottom: 10px;
}

/* Subpages - keep old styling */
.subpage-header {
  background: #a52a2a;
  color: white;
  padding: 20px;
  text-align: center;
}

.content {
  padding: 20px;
}

/* Member Form */
.member-form {
  max-width: 400px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-form input, 
.member-form button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.member-form button {
  background: #a52a2a;
  color: white;
  cursor: pointer;
  border: none;
}

.field {
  width: 300px;
  height: 200px;
  background: #28a745; /* green field */
  margin: 20px auto;
  border-radius: 12px;
  position: relative;
}

.position {
  width: 60px;
  height: 30px;
  background: #0077b6;
  color: #fff;
  font-size: 12px;
  border-radius: 8px;
  text-align: center;
  line-height: 30px;
  position: absolute;
  cursor: pointer;
}

#pos-GK { top: 10px; left: 120px; }
#pos-DEF1 { top: 60px; left: 50px; }
#pos-DEF2 { top: 60px; left: 190px; }
#pos-MID { top: 110px; left: 120px; }
#pos-STR { top: 160px; left: 120px; }
.position.circle { top: 80px; left: 260px; width: 30px; height: 30px; line-height: 30px; border-radius: 50%; }


.member-form button:hover {
  background: #7a1f1f;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

/* Responsive Hero Adjustments */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}


