@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #E0F7FA;
}

.page,
.wrapper,
.header-container,
.hero-container,
.new-container,
.about-container,
.clubs-container,
.camps-container,
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  background: linear-gradient(135deg, #eaf8ff 0%, #ffffff 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.main.fade-in {
  opacity: 1;
}

.main.fade-out {
  opacity: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #003f6d;
}

.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  flex-wrap: nowrap;
}

.logo-image img {
  width: 60px;
  height: auto;
  object-fit: contain;
  display: block;
}

.menu ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 16px;
}

.menu a {
  text-decoration: none;
  color: #003f6d;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: #0077b6;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-image: url("../img/home.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 300px;
  min-height: 400px;
  padding-bottom: 20px;
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-container h1 {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  font-size: 2.2rem;
  margin: 0;
}

.heading {
  font-size: 2rem;
  color: #005b96;
}

.text {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer {
  flex-shrink: 0;
  background: #005b96;
  color: #fff;
  padding: 30px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.footer-logo {
  width: 120px;
  height: auto;
}

.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.social-icon {
  width: 42px;
  height: 42px;
  padding: 6px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.social-icon:hover {
  opacity: 1;
  background-color: #ffffff22;
}

.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: right;
}

.footer-right a {
  color: #fff;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

.contact {
  margin: 5px 0;
  word-break: break-word;
  font-size: 0.95rem;
}

.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #ffffff;
  z-index: 9999;
  padding-top: 60px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-direction: column;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #eee;
}

.mobile-menu li a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: #003f6d;
  font-weight: 500;
}

.mobile-menu li a:hover {
  background-color: #f5f5f5;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
  z-index: 10000;
}

@media (max-width: 768px) {
  .page,
  .wrapper,
  .main {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }

  .header-container,
  .hero-container,
  .new-container,
  .about-container,
  .clubs-container,
  .camps-container,
  .footer-container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    height: 160px;
    min-height: unset;
    background-size: cover;
    background-position: center;
    padding: 0;
    margin: 0;
  }

  .hero-container {
    padding: 0;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-container h1 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
    text-align: center;
  }

  .burger {
    display: block;
  }

  .menu {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    height: 260px;
    padding-bottom: 20px;
    background-size: cover;
    background-position: center center;
  }

  .hero-container {
    text-align: center;
  }

  .hero-container h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0;
    padding: 0 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  }

  .header-container {
    padding: 16px;
  }
}