@font-face {
  font-family: Nunito;
  src: url(/Nunito/Nunito-VariableFont_wght.ttf)
}
@font-face {
  font-family: Quicksand;
  src: url(/Quicksand/Quicksand-VariableFont_wght.ttf)
}
* {
  font-size: 100%;
  font-family: Nunito;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.page-wrapper {
    flex: 1; /* takes up all available space above footer */
}
header {
    display: flex;
    align-items: center;
    background-color: white;
    color: black;
    padding: 20px 20px;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}
header a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none; /* removes underline */
    color: inherit;         /* keeps text color consistent */
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}
.sticky{
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    width: 80px;
    height: 99px;
}
.title-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.club-name {
    margin: 0px;
    font-size: 24px;
}   
.club-slogan {
    margin: 0px;
    font-size: 14px;
    color: #555;
}
.menu {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 0;
}
.menu > li > a {
    font-weight: bold;
}
.menu li {
    position: relative;
}
.menu a {
    text-decoration: none;
    color: #000000;
    background-color: #ffffff;
    padding: 8px 12px;
    display: block;
    transition: background-color 0.2s;
}
.menu a:hover {
    background-color: #f0f0f0;
}
.menu a.selected {
    background-color: #f0f0f0;
}
.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.16)
}
.dropdown-menu li a {
    padding: 8px 16px;
    white-space: nowrap;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.nav-box {
    display: flex;
    margin-left: auto;
}
nav {
    background-color: #ffffff;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}
nav ul li {
    display: inline;
}
nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.section1 {
    align-items: center;
    background-color: #f0f0f0;
}
.section1text {
    max-width: 100%;
    margin: 0px;
    padding: 10px;
    text-align: center;
}
.title-section {
    width: 100%;
    margin: 0 auto;

    height: 400px; /* adjust as needed */
    background-image: url('/banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.title-section h1 {
    font-size: 60px;
    margin: 0;
    margin-left: 5px;
    margin-right: 5px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.title-section p {
    font-size: 20px;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.wrapper {
  width: 90%;
  max-width: 1536px;
  margin-inline: auto;
  position: relative;
  height: 250px;
  margin-top: 40px;
}

@keyframes scrollLeft {
  to {
     transform: translateX(-1800px);
  }
}

.item {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  position: absolute;
  transform: translateX(max(calc(250px * 10), 100%));
  animation-name: scrollLeft;
  animation-duration: 224s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.item1 {
  animation-delay: calc(224s / 10 * (10 - 1) * -1);
}

.item2 {
  animation-delay: calc(224s / 10 * (10 - 2) * -1);
}

.item3 {
  animation-delay: calc(224s / 10 * (10 - 3) * -1);
}

.item4 {
  animation-delay: calc(224s / 10 * (10 - 4) * -1);
}

.item5 {
  animation-delay: calc(224s / 10 * (10 - 5) * -1);
}

.item6 {
  animation-delay: calc(224s / 10 * (10 - 6) * -1);
}

.item7 {
  animation-delay: calc(224s / 10 * (10 - 7) * -1);
}

.item8 {
  animation-delay: calc(224s / 10 * (10 - 8) * -1);
}

.item9 {
  animation-delay: calc(224s / 10 * (10 - 9) * -1);
}

.item10 {
  animation-delay: calc(224s / 10 * (10 - 10) * -1);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}
.card-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    gap: 40px;
}

.card-text {
    flex: 1;
    text-align: left;
}

.card-text h1 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 12px;
}

.card-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.card-image {
    flex: 1;
    text-align: right;
}

.card-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    width: 400px;
    height: 250px;
    object-fit: cover;
}
footer {
    margin-top: 0;
    padding: 20px;
    background-color: #003366;
    color: white;
    text-align: center;
}

@media (max-width: 768px) {
.card-section {
    flex-direction: column;
    text-align: center;
}
.card-text {
    text-align: center;
}
.card-image {
    text-align: center;
}
}

/* Hamburger button hidden by default */
.hamburger {
    display: none;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000000
}

/* Responsive menu for small screens */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        margin-left: auto;
    }

    .menu {
        display: none;           /* Hide menu initially */
        flex-direction: column;
        gap: 0;
        background-color: #ffffff;
        position: absolute;
        top: 80px;              /* Adjust to header height */
        right: 0;
        width: 200px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        padding: 10px 0;
        z-index: 1000;
    }

    .menu.show {
        display: flex;          /* Show menu when toggled */
    }

    .menu li {
        padding: 5px 10px;
    }

    .menu li a {
        display: block;
    }

    /* Make dropdowns work in mobile */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
    }

    .menu li a,
    .dropdown-menu li a {
        padding: 3px 10px; /* smaller top/bottom padding */
        font-size: 16px;   /* optional: reduce font size */
    }

    .dropdown:hover .dropdown-menu {
        display: none; /* disable hover on mobile */
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/*
@media (max-width: 768px) {
  .item {
    width: 250px;
    height: 180px;
  }

  .wrapper {
    height: 200px;
  }
}
@media (max-width: 480px) {
  .wrapper {
    display: none;
  }
}
*/