/* Importing Google + Local fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

@font-face {
  font-family: 'Playful Rocket';
  src: url('fonts/PlayfullRocket.ttf') format('truetype');
}
@font-face {
  font-family: 'GoodDog Cool';
  src: url('fonts/Playful.otf') format('opentype');
}
@font-face {
  font-family: 'Trajanus Bricks';
  src: url('fonts/TrajanusBricks.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* === SLIDER === */
.slider-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.slider-wrapper .slider-item {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* align left for content */
}

.slider-wrapper .slider-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(20%);
}
.slider-wrapper .slider-item:nth-child(1)::before { background-image: url("images/img-1.png"); }
.slider-wrapper .slider-item:nth-child(2)::before { background-image: url("images/img-2.png"); }
.slider-wrapper .slider-item:nth-child(3)::before { background-image: url("images/img-3.png"); }
.slider-wrapper .slider-item:nth-child(4)::before { background-image: url("images/img-4.jpg"); }
.slider-wrapper .slider-item:nth-child(5)::before { background-image: url("images/img-5.png"); }


.slide-content {
  position: relative;
  z-index: 10;
  width: 50%; /* take only half the screen */
  padding: 40px 30px 40px 60px; /* more left padding for visual spacing */
  text-align: left;
  top: -40px;
  opacity: 0;
  animation: fadeIn 0.8s 0.6s forwards;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* === TEXT STYLES === */
.slide-logo {
  max-width: 300px; /* bigger logo */
  margin-bottom: 15px;
  margin-left: -80px;
}

.slide-title {
  font-family: 'Playful Rocket', sans-serif;
  font-size: 2.9rem;
  color: #4d0693;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.slide-subtitle {
  font-family: 'Trajanus Bricks', serif;
  font-size: 0.7rem;
  color: #106e00;
}

.slide-description {
  margin-top: -1px;
  font-size: 1rem;
  line-height: 1.6;
  color: #141414;
}

/* === PLAY BUTTON === */
.slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}
.slide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
  color: #fff;
  background-color: #07a207;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.4s ease;
}
.slide-button:hover {
  background: #6b00b7;
}
.coming-soon {
  font-size: 1rem;
  font-weight: 600;
  color: #07a207;
  opacity: 0;
  transition: 0.4s ease;
}
.slide-actions:hover .coming-soon {
  opacity: 1;
}

/* === CAROUSEL TABS === */
.slider-controls {
  position: absolute;
  bottom: 40px;
  width: 100%;
  z-index: 20;
}
.slider-pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 10px;
}
.slider-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 0 0 18px 18px;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: 'GoodDog Cool', cursive;
  font-size: large;
}
.slider-tab img {
  width: 26px;
  height: 26px;
}
.slider-tab:hover {
  transform: translateY(-3px);
}

/* playful colors */
.slider-tab:nth-child(1) { background:#FF6B6B; color:#fff; }
.slider-tab:nth-child(2) { background:#FFD93D; color:#9b0000; }
.slider-tab:nth-child(3) { background:#6BCB77; color:#11058f; }
.slider-tab:nth-child(4) { background:#4D96FF; color:#aaff9d; }
.slider-tab:nth-child(5) { background:#dd2222; color:#fffc10; }
.slider-tab:nth-child(6) { background:#3f22dd; color:#fff; }

.slider-tab.current {
  box-shadow: 0 0 12px rgba(99, 0, 255, 0.8);
}

/* === NAVIGATION BUTTONS === */
.slider-navigations button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.13);
  color: #f10000;
  cursor: pointer;
}
#slide-prev { left: 20px; }
#slide-next { right: 20px; }
.slider-navigations button:hover { background:#323235; }

/* MOBILE FIXES */
@media (max-width: 1024px) {
  .slide-content { width: 60%; padding-left: 40px; }
}

@media (max-width: 768px) {
  .slide-title { font-size: 2rem; text-align:center; }
  .slide-subtitle { font-size: 0.85rem; text-align:center; }
  .slide-description { font-size: 0.95rem; text-align:center; }
  .slide-logo { max-width: 120px; margin: 0 auto 10px; display:block; }
  .slide-content { width: 90%; padding-left: 20px; margin: 0 auto; }
}
/* === MOBILE FIXES <480px ONLY === */
@media (max-width: 480px) {

  /* Overlay + blur for slides */
  .slider-wrapper .slider-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1;
  }

  /* Fix the first slide logo to top */
  .slider-item:first-child .slide-logo {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 120px;
    z-index: 50;
  }

  /* Slide content stacking */
  .slide-content {
    position: relative;
    width: 95%;
    margin: 140px auto 0; /* push below fixed logo */
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
  }

  /* Slide header (subtitle under fixed logo) */
  .slide-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .slide-subtitle {
    font-size: 0.9rem;
    margin: 5px 0 10px;
  }

  .slide-title {
    font-size: 1.8rem;
    margin: 5px 0 10px;
  }

  .slide-description {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .slide-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
  }

  .slide-button {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  /* Hide bottom slider controls */
  .slider-controls {
    display: none;
  }

  /* Navigation arrows adjustments */
  .slider-navigations button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    top: 50%;
    margin: 0 10px;
    visibility: hidden;
  }

  /* Top-right info (date/time + social) */
  .top-right-info {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    z-index: 50;
  }

  .top-right-info .date-time {
    font-size: 0.76rem;
    margin-top:10px;
  }

  .top-right-info .social-icons a {
    font-size: 11px;
    margin-left: 4px;
  }

  /* Navbar logo adjustments */
  .main-navbar .logo img {
    max-width: 120px;
    margin: 0 auto 10px;
    display: block;
  }
   /* Fixed logo at top (works for all slides) */
  .slide-logo {
    position: fixed;
    top: 10px;
    margin:-15px -80px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 120px;
    z-index: 50;
  }
}
