/* Base Layout */
body {
  margin: 0;
  display: flex;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e1220;
  background-image: url('images/background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  color: #f1f1f1;
  min-height: 100vh;
  position: relative;
}

/* Sidebar */
.sidebar {
  width: 220px;
  background: linear-gradient(to bottom, #141b2d, #0a0f1c);
  padding: 20px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.4);
}

.logo img {
  width: 100%;
  max-width: 160px;
  margin-bottom: 30px;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sidebar-menu a {
  width: 90%;
  max-width: 180px;
  text-align: center;
  padding: 12px;
  margin: 6px 0;
  background-color: #1e2b40;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.sidebar-menu a:hover {
  background-color: #ffa94d;
  color: #141b2d;
  transform: translateX(5px);
}

/* Content Area */
.content {
  flex: 1;
  padding: 40px 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* Typography */
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  color: #ffa94d;
}

h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  color: #ffd166;
}

p, ul {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Magazine-Style Feature Blocks */
.feature {
  background-color: #1a1f33;
  padding: 40px 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.feature.visible {
  opacity: 1;
  transform: none;
}

.feature h2 {
  color: #ffd166;
  margin-bottom: 15px;
}

.feature.split {
  display: flex;
  flex-direction: column;
}

.alt-bg {
  background-color: #222941;
}

.dark-card {
  background-color: #151a2b;
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, #ffa94d, #ff7b00);
  color: #141b2d;
  padding: 50px 30px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.cta.visible {
  opacity: 1;
  transform: none;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 15px 25px;
  background-color: #141b2d;
  color: #ffa94d;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #1e2b40;
}

/* Card Images */
.card-image {
  max-width: 400px;
  width: 100%;
  border-radius: 6px;
  margin: 0 0 10px 20px;
  float: right;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid #2b334d;
}

.left-image .card-image {
  float: left;
  margin: 0 20px 10px 0;
}

.feature::after {
  content: "";
  display: table;
  clear: both;
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.tab-button {
  background-color: #1a2338;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
  background-color: #ffa94d;
  color: #141b2d;
}

.week-results,
.week-fixtures {
  display: none;
}

.week-results.active,
.week-fixtures.active {
  display: block;
}

/* Fixtures & Results */
.fixture {
  background-color: rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.team {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.team.left {
  justify-content: flex-start;
}

.team.right {
  justify-content: flex-end;
  text-align: right;
}

.team img {
  height: 80px;
  width: 80px;
  object-fit: contain;
}

.team-name {
  font-size: 1.6rem;
  font-weight: bold;
}

.versus {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ccc;
  margin: 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.v {
  font-size: 1.2rem;
}

.score {
  font-weight: bold;
  color: #ffa94d;
  font-size: 1.1rem;
}

.score.winner {
  color: #ffd166;
}

/* Contact Page */
a.email {
  color: #ffd166;
  font-weight: bold;
  text-decoration: none;
}

a.email:hover {
  text-decoration: underline;
}

.social-icons {
  margin: 20px 0;
}

.social-icons a {
  color: #ffd166;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffa94d;
}

.map-link {
  display: inline-block;
  margin-top: 20px;
  background-color: #1e2b40;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.map-link:hover {
  background-color: #ffa94d;
  color: #141b2d;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #1a1f33;
  color: #f1f1f1;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 12px;
  background-color: #ffa94d;
  color: #141b2d;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #ffd166;
}

/* Placeholder */
.placeholder {
  text-align: center;
  font-style: italic;
  color: #aaa;
  padding: 40px 0;
}

/* Responsive Layout */
@media (max-width: 800px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .logo {
    display: none;
  }

  .sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .sidebar-menu a {
    padding: 10px 12px;
    margin: 5px;
    font-size: 0.9rem;
    width: auto;
  }

  .content {
    padding: 20px 15px;
  }

  h1, h2 {
    text-align: center;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .card-image,
  .left-image .card-image {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
  }

  .fixture {
    flex-direction: column;
    text-align: center;
  }

  .team {
    justify-content: center !important;
    text-align: center !important;
  }

  .team-name {
    font-size: 1.4rem;
  }

  .team img {
    height: 70px;
    width: 70px;
  }

  .versus {
    margin: 10px 0;
  }
}

.team-profile {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 40px;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
}

.team-profile img {
  max-width: 140px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
  background-color: #0e1220;
  padding: 6px;
  box-shadow: 0 0 8px rgba(255, 169, 77, 0.1);
}

.team-info {
  flex: 1;
  min-width: 250px;
}

.team-info h2 {
  color: #ffa94d;
  margin-top: 0;
}

.download-link {
  display: inline-block;
  margin-top: 10px;
  background-color: #ffa94d;
  color: #141b2d;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.download-link:hover {
  background-color: #ffd166;
}

/* Responsive stack on mobile */
@media (max-width: 600px) {
  .team-profile {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .team-profile img {
    margin-bottom: 15px;
  }
}

.table-badge {
  height: 30px;
  vertical-align: middle;
  margin-right: 10px;
}
.week-results {
  display: none;
}
.week-results.active {
  display: block;
}
.week-results td.arrow {
  font-size: 20px;
  text-align: center;
  color: #ffa94d;
  font-weight: bold;
}

.arrow.up {
  color: #3cff78;
  animation: pop-up 0.6s ease;
}
.arrow.down {
  color: #ff5757;
  animation: pop-down 0.6s ease;
}
.arrow.same {
  color: #ffa94d;
  opacity: 0.6;
}

@keyframes pop-up {
  0% { transform: translateY(4px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes pop-down {
  0% { transform: translateY(-4px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.week-results table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #1c2333;
  border-radius: 8px;
  overflow: hidden;
}

.week-results th,
.week-results td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #2e384d;
  font-size: 15px;
}

.week-results thead th {
  background-color: #2a3247;
  color: #ffa94d;
  font-weight: bold;
}

.week-results tbody tr:hover {
  background-color: #2a3247;
}

.table-badge {
  height: 28px;
  vertical-align: middle;
  margin-right: 10px;
}
.week-results table {
  font-size: 16px; /* Larger font */
}

.week-results td:nth-child(2) {
  font-weight: 600; /* Make team name column bold */
}

.week-results th {
  font-size: 15px;
  text-transform: uppercase;
}.table-badge {
  height: 32px;
  margin-right: 8px;
  vertical-align: middle;
}
.map-container {
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 320px;
  border: none;
  filter: grayscale(50%) brightness(0.9) contrast(1.2);
  transition: 0.3s ease;
}

.map-container iframe:hover {
  filter: grayscale(0%) brightness(1) contrast(1);
}

.map-link {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 8px 14px;
  background-color: #1c273a;
  color: #ffa94d;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.map-link:hover {
  background-color: #263143;
}
.contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background-color: #1c273a;
  border: none;
  padding: 12px;
  border-radius: 6px;
  color: white;
  width: 100%;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
}

.social-icons {
  margin-top: 15px;
  margin-bottom: 20px;
}

.social-icons a {
  margin-right: 15px;
  font-size: 20px;
  color: #ffa94d;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: white;
}
