/* KARATE ELITE PORTAL - SIMPLE & WORKING */

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

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

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

/* HEADER */
.header {
  background: #5e72e4;
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 15px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

/* HAMBURGER MENU BUTTON */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
  position: relative;
}

/* NAVIGATION */
.nav {
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  z-index: 50;
}

.nav-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-link {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background: #5e72e4;
  color: white;
}

/* MAIN CONTENT */
.main {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

.page-header {
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.text-muted {
  color: #8898aa;
  font-size: 16px;
}

/* CARDS */
.card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #32325d;
}

.card p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.card ul {
  margin-left: 20px;
  margin-top: 10px;
}

.card ul li {
  margin-bottom: 8px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #5e72e4;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  min-height: 48px;
}

.btn:hover {
  background: #4c63d2;
}

.btn-secondary {
  background: #6c757d;
}

.btn-secondary:hover {
  background: #545b62;
}

.footer {
  background: #32325d;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* ========================================
   MOBILE STYLES (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  /* Show hamburger button */
  .menu-btn {
    display: block;
  }
  
  /* Hide desktop logo on mobile */
  .header-content .logo {
    font-size: 20px;
  }
  
  /* Navigation becomes vertical menu */
  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    box-shadow: none;
  }
  
  .nav.active {
    left: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
  }
  
  .nav-content {
    flex-direction: column;
    padding: 20px 0;
  }
  
  .nav-link {
    padding: 18px 25px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
  }
  
  /* Mobile overlay */
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
  }
  
  .overlay.active {
    display: block;
  }
  
  /* Adjust content spacing */
  .main {
    padding: 20px 0;
  }
  
  .page-header h1 {
    font-size: 24px;
  }
  
  .card {
    padding: 20px;
  }
  
  .card h2 {
    font-size: 20px;
  }
  
  /* Full width buttons on mobile */
  .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* ========================================
   TABLET STYLES (768px - 1024px)
   ======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .nav-content {
    padding: 0 30px;
  }
}

/* ========================================
   DESKTOP STYLES (min-width: 1025px)
   ======================================== */
@media (min-width: 1025px) {
  .nav-link {
    padding: 15px 25px;
  }
}
