/* Base Styles */
:root {
  --primary-color: #00a7e1;
  --secondary-color: #00b4aa;
  --accent-color: #0095ca;
  --dark-color: #37363b;
  --light-color: #f9f9f9;
  --text-color: #37363b;
  --text-light: #5a5960;
  --white: #fff;
  --border-radius: 8px;
  --box-shadow: 0 3px 9px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* Event Colors */
  --cooking-color: #00b4aa;
  --gaming-color: #00a7e1;
  --talk-color: #0095ca;
  --art-color: #00c2b8;
  --special-color: #37363b;
  --changes-color: #70bacc;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.primary {
  background-color: #00a7e1;
  color: var(--white);
}

.primary:hover {
  background-color: #0095ca;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 167, 225, 0.2);
}

.secondary {
  background-color: transparent;
  color: #00a7e1;
  border: 2px solid #00a7e1;
}

.secondary:hover {
  background-color: #00a7e1;
  color: var(--white);
  transform: translateY(-3px);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 4px;
  background: linear-gradient(to right, #00a7e1, #00b4aa);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #00a7e1;
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, #f5f7fa 0%, #00a7e1 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* About Section */
.about {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, rgba(0, 167, 225, 0.15) 100%);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.about-text ul {
  margin-left: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.about-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Schedule Section */
.schedule {
  padding: 100px 0;
  background-color: var(--white);
}

.calendar-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #00a7e1 #f1f1f1;
  position: relative;
}

.calendar-wrapper::-webkit-scrollbar {
  height: 8px;
}

.calendar-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.calendar-wrapper::-webkit-scrollbar-thumb {
  background: #00a7e1;
  border-radius: 4px;
}

.calendar-wrapper::-webkit-scrollbar-thumb:hover {
  background: #0095ca;
}

/* Update calendar styles */
.calendar {
  min-width: 800px;
  /* Ensure minimum width for scrolling */
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 30px;
}

.calendar-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-header h3 {
  font-size: 1.5rem;
}

.month-nav {
  display: flex;
  align-items: center;
}

.current-month {
  font-size: 1.2rem;
  font-weight: 500;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: #f1f1f1;
  padding: 10px 0;
  text-align: center;
  font-weight: 600;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 1px;
  background-color: #eee;
}

.day {
  background-color: var(--white);
  min-height: 100px;
  padding: 10px;
  position: relative;
}

.day.empty {
  background-color: #f9f9f9;
}

.date {
  display: inline-block;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  border-radius: 50%;
  margin-bottom: 5px;
}

.event {
  font-size: 0.8rem;
  padding: 5px;
  border-radius: 3px;
  margin-bottom: 5px;
  color: var(--white);
  font-weight: 500;
}

.event.cooking {
  background-color: var(--cooking-color);
}

.event.gaming {
  background-color: var(--gaming-color);
}

.event.talk {
  background-color: var(--talk-color);
}

.event.art {
  background-color: var(--art-color);
}

.event.special {
  background-color: var(--special-color);
}

.event.changes {
     background-color: var(--changes-color);
}

.schedule-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-color {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  display: inline-block;
}

.legend-color.cooking {
  background-color: var(--cooking-color);
}

.legend-color.gaming {
  background-color: var(--gaming-color);
}

.legend-color.talk {
  background-color: var(--talk-color);
}

.legend-color.art {
  background-color: var(--art-color);
}

.legend-color.special {
  background-color: var(--special-color);
}

.legend-color.changes {
    background-color: var(--changes-color);
}

/* Join Section */
.join {
  padding: 100px 0;
  background-color: #00a7e1;
  color: var(--white);
}

.join-content {
  text-align: center;
}

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

.join-content p {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.platforms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  color: var(--white);
}

.platform:hover {
  transform: translateY(-5px);
}

.platform-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.platform-icon.youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

.platform-icon.tiktok {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E");
}

.platform-icon.instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E");
}

.platform span {
  font-weight: 500;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-logo span {
  color: #00a7e1;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #00a7e1;
  bottom: -10px;
  left: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
}

.footer-links ul li a:hover {
  color: #00a7e1;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */

@media (max-width: 320px) {
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .calendar-header {
    flex-direction: column;
    gap: 10px;
  }

  .weekdays div,
  .day {
    font-size: 0.8rem;
  }

  .day {
    min-height: 60px;
  }

  .event {
    font-size: 0.6rem;
    padding: 2px;
  }

  .calendar-wrapper {
    margin: 0 -20px;
    padding: 0 20px;
    width: calc(100% + 40px);
  }

  .calendar {
    min-width: 600px;
  }
}

@media (max-width: 420px) {
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .calendar-header {
    flex-direction: column;
    gap: 10px;
  }

  .weekdays div,
  .day {
    font-size: 0.8rem;
  }

  .day {
    min-height: 60px;
  }

  .event {
    font-size: 0.6rem;
    padding: 2px;
  }

  .calendar-wrapper {
    margin: 0 -20px;
    padding: 0 20px;
    width: calc(100% + 40px);
  }

  .calendar {
    min-width: 600px;
  }
}

@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .calendar-header {
    flex-direction: column;
    gap: 10px;
  }

  .weekdays div,
  .day {
    font-size: 0.8rem;
  }

  .day {
    min-height: 60px;
  }

  .event {
    font-size: 0.6rem;
    padding: 2px;
  }

  .calendar-wrapper {
    margin: 0 -20px;
    padding: 0 20px;
    width: calc(100% + 40px);
  }

  .calendar {
    min-width: 600px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 0 15px 10px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .day {
    min-height: 90px;
    padding: 8px;
  }

  .event {
    font-size: 0.75rem;
    padding: 4px;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .cta-buttons {
    justify-content: center;
  }

  .about-content,
  .ramadhan-content {
    flex-direction: column;
  }

  .about-image,
  .ramadhan-image {
    margin-bottom: 30px;
  }
}

