/* styles.css for Cherry Valorant Club */

:root {
  --main-blue: #4ba3b2;
  --main-dark: #10151a;
  --main-light: #a7c6ed;
  --main-yellow: #fff800;
  --main-white: #fff;
  --main-gray: #5c6a7a;
  --main-accent: #4173c6;
  --font-title: 'Orbitron', 'Arial Black', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--main-white);
  color: var(--main-dark);
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--main-white);
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--main-gray);
  font-size: 1.1rem;
}
.logo-dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--main-yellow);
  border-radius: 50%;
  margin-right: 0.5rem;
}
nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--main-accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--main-dark);
}

/* Hamburger for mobile */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle-label span {
  display: block;
  width: 28px;
  height: 4px;
  background: var(--main-gray);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: var(--main-blue);
  color: var(--main-white);
  text-align: center;
  padding: 6rem 1rem 3rem 1rem;
}
.hero h1 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  margin: 0 0 1rem 0;
  letter-spacing: 2px;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.scroll-down {
  font-size: 2rem;
  color: var(--main-white);
  margin-top: 2rem;
}

/* Welcome Section (Home) */
.welcome {
  background: var(--main-white);
  padding: 2.5rem 1rem 1.5rem 1rem;
  text-align: left;
}
.welcome h2 {
  color: var(--main-accent);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.welcome-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.welcome-text {
  flex: 1;
  color: var(--main-accent);
  font-size: 1.1rem;
}
.welcome-img {
  flex: 1;
  min-width: 220px;
}
.welcome-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.welcome-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}
.join-link {
  color: var(--main-accent);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}
.join-link:hover {
  color: var(--main-blue);
}
.img-caption {
  color: var(--main-gray);
  font-size: 0.95rem;
}

/* Info Section (Home) */
.info {
  background: var(--main-light);
  padding: 2rem 1rem;
  color: var(--main-white);
}
.info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.info p {
  font-size: 1.05rem;
  margin: 0;
}

/* About Sections */
.about-section {
  padding: 2.5rem 1rem 1.5rem 1rem;
}
.about-section.dark {
  background: var(--main-dark);
  color: var(--main-white);
}
.about-section.light {
  background: var(--main-light);
  color: var(--main-white);
}
.about-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.about-text {
  flex: 1.2;
}
.about-text h2 {
  color: var(--main-accent);
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}
.about-text p {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.calendar-btn {
  display: inline-block;
  background: none;
  color: var(--main-accent);
  border: 1px solid var(--main-accent);
  border-radius: 20px;
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.calendar-btn:hover {
  background: var(--main-accent);
  color: var(--main-white);
}
.about-imgs {
  flex: 1;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.about-imgs img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.img-caption {
  margin-top: 0.5rem;
  color: var(--main-gray);
  font-size: 0.95rem;
}

/* Staffs Section */
.staffs {
  background: var(--main-dark);
  color: var(--main-white);
  padding: 2rem 1rem 2.5rem 1rem;
}
.staffs h2 {
  color: var(--main-accent);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}
.staff {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}
.staff img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  background: #eee;
}
.staff-placeholder {
  width: 120px;
  height: 120px;
  background: var(--main-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.staff-placeholder:after {
  content: "\1F5BC";
  font-size: 2.5rem;
  color: #b0b0b0;
}
.staff-info {
  text-align: center;
}
.staff-name {
  color: var(--main-accent);
  font-weight: 700;
  font-size: 1.05rem;
}
.staff-role {
  color: var(--main-white);
  font-size: 0.95rem;
}

/* Sponsers Section */
.sponsers-section {
  background: var(--main-white);
  padding: 2.5rem 1rem 2rem 1rem;
}
.sponsers-section h2 {
  color: var(--main-accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.sponsers-section p {
  color: var(--main-accent);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.sponsers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}
.sponser {
  width: 220px;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sponser img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #eee;
}
.sponser-placeholder {
  width: 56px;
  height: 56px;
  background: var(--main-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponser-placeholder:after {
  content: "\1F5BC";
  font-size: 1.8rem;
  color: #b0b0b0;
}
.sponser-name {
  color: var(--main-accent);
  font-weight: 700;
  font-size: 1.05rem;
}
.sponser-type {
  color: var(--main-gray);
  font-size: 0.95rem;
}

/* Roster Section */
.roster-section {
  padding: 2.5rem 1rem 2rem 1rem;
}
.roster-section.dark {
  background: var(--main-light);
  color: var(--main-white);
}
.roster-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.roster-member {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.roster-info {
  flex: 2;
}
.roster-name {
  color: var(--main-accent);
  font-weight: 700;
  font-size: 1.2rem;
}
.roster-country {
  display: inline-block;
  margin-top: 0.5rem;
  background: #fff2;
  color: var(--main-accent);
  border-radius: 12px;
  padding: 0.2rem 0.8rem;
  font-size: 0.95rem;
}
.roster-img {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roster-placeholder {
  width: 120px;
  height: 120px;
  background: var(--main-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roster-placeholder:after {
  content: "\1F5BC";
  font-size: 2.5rem;
  color: #b0b0b0;
}

/* Calendar Section */
.calendar-section {
  padding: 2.5rem 1rem 2rem 1rem;
}
.calendar-section.dark {
  background: var(--main-dark);
  color: var(--main-white);
}
.calendar-section.light {
  background: var(--main-light);
  color: var(--main-white);
}
.calendar-section h2 {
  color: var(--main-accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.calendar-table-wrapper {
  overflow-x: auto;
}
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  background: #222;
  color: var(--main-white);
  font-size: 0.98rem;
}
.calendar-table th,
.calendar-table td {
  border: 1px solid #444;
  padding: 0.7rem 0.5rem;
  text-align: left;
}
.calendar-table th {
  background: #333;
  color: var(--main-accent);
}
.calendar-table tbody tr:nth-child(even) {
  background: #181d22;
}

/* Location Section */
.location-section {
  background: var(--main-white);
  padding: 2.5rem 1rem 2rem 1rem;
}
.location-section h2 {
  color: var(--main-accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.location-section p {
  color: var(--main-accent);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.location-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.location-item {
  flex: 1;
  min-width: 220px;
  margin-bottom: 1.5rem;
}
.location-title {
  color: var(--main-accent);
  font-weight: 700;
  font-size: 1.05rem;
}
.location-address {
  color: var(--main-gray);
  font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .about-content,
  .welcome-content,
  .staff-list,
  .sponsers-list,
  .location-list,
  .roster-member {
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
  }
  .about-imgs img,
  .welcome-img img {
    width: 100%;
    height: auto;
    max-width: 350px;
  }
  .staff {
    width: 100%;
    align-items: flex-start;
  }
  .sponser {
    width: 100%;
    align-items: flex-start;
  }
  .location-item {
    min-width: 100%;
  }
  .roster-img {
    min-width: 100px;
  }
}
@media (max-width: 700px) {
  .navbar {
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    background: var(--main-white);
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: none;
  }
  .nav-toggle:checked + nav ul {
    display: flex;
  }
  .nav-toggle-label {
    display: flex;
  }
  nav {
    flex: 1;
  }
}
@media (max-width: 500px) {
  .hero {
    padding: 3rem 0.5rem 2rem 0.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .welcome h2,
  .about-section h2,
  .sponsers-section h2,
  .calendar-section h2,
  .location-section h2 {
    font-size: 1.3rem;
  }
  .info h3 {
    font-size: 1.1rem;
  }
  .about-imgs img,
  .welcome-img img {
    max-width: 220px;
  }
  .staff img,
  .staff-placeholder,
  .roster-placeholder {
    width: 80px;
    height: 80px;
  }
  .sponser img,
  .sponser-placeholder {
    width: 40px;
    height: 40px;
  }
  .calendar-table th,
  .calendar-table td {
    font-size: 0.85rem;
    padding: 0.4rem 0.2rem;
  }
}
