@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500&family=Nova+Square&display=swap');
.hero { 
    position:relative;
    height:100vh; 
    display:flex; 
    align-items:center; 
    overflow:hidden; 
}

.hero::before {
    content: "";
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.6));
    z-index:0;
    pointer-events: none;
}

.hero-container {
    display:flex; 
    justify-content:space-between;
    align-items:center; 
    width:100%; 
    max-width:1200px; 
    margin:0 auto; 
    padding:0 2rem; 
    z-index:2; 
}
.hero-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--accent-cyan) 2px, transparent 1px);
  background-size: 40px 40px; 
  opacity: 0.08;
  pointer-events: none;
  z-index: 0; 
}
.hero-text { 
    max-width:600px; 
    z-index:3; 
}
/* .hero-text h1 { font-size:3rem;  */
/* } */
.hero-head{
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0,240,255,0.12); 

}
.hero-head .gear_O{
    width: 40px;
    height: 40px;
    margin-right: 12px;
    animation: spin 5s linear infinite;
}
.h2workshop{
    display: flex;
    flex-direction: row;
    /* gap: 5px; */
    align-items: center;
    font-size: 32px;
    letter-spacing: 12px;
    margin-bottom: 20px;
}
@keyframes spin {
    0%{
        rotate: 0deg;
    }
    100%{
        rotate: 360deg;
    }
}
.hero-head p{
    font-family: "Nova Square", sans-serif;
    font-weight: 400;
    font-style: normal;

}
.hero-head h1{
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 0;
    font-size: 3rem;
    line-height: 0px;
    margin: 28px 0 10px 0;
}
.meta {
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    gap: 10px;
    align-items: center;
    display: flex
;
}

.btn { display:inline-block; cursor:pointer; }
.btn-primary {
    background:transparent;
    color:var(--accent-cyan);
    border:2px solid var(--accent-cyan);
    padding:0.7rem 1.6rem;
    border-radius:9999px;
    font-weight:600; 
    text-transform:uppercase;
    transition: all 220ms cubic-bezier(.2,.9,.2,1);
    box-shadow: 0 0 6px rgba(0,240,255,0.08);
}
.btn-primary:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(0,240,255,0.35);
  transform: translateY(-2px) scale(1.03);
}
.link_btn{
    color:var(--accent-cyan);
    font-weight:600; 
    text-transform:uppercase;
    transition: all 220ms cubic-bezier(.2,.9,.2,1);
}
.link_btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.model-wrap {
    width: 520px;
    height: 420px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden; 
    z-index: 1; 
    transition: opacity 300ms ease, transform 300ms ease;
}

model-viewer {
    display: block;
    width: 120%;                    
    height: 120%;
    transform: translate(-10%, -6%);
    transition: transform 300ms ease, opacity 300ms ease;
    will-change: transform,opacity;
    pointer-events: auto;
}

.css-zoom model-viewer { 
  transform: scale(1.45) translate(-10%, -6%);
}





.about-section {
  background: var(--bg-secondary);
  padding: 4rem 2rem;
  position: relative;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.12);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary, #c9c9c9);
  margin-bottom: 1rem;
}

.about-text .btn-primary {
  margin-top: 1rem;
}

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

.about-image img {
  width: 100%;
  max-width: 450px;
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

.schedule-section {
  background: var(--bg-primary);
  padding: 4rem 2rem;
  text-align: center;
}

.schedule-container {
  max-width: 700px;
  margin: 0 auto;
}

.schedule-container h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.12);
}

.schedule-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(0,240,255,0.05);
  margin-bottom: 2rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--text-secondary, #c9c9c9);
  margin-bottom: 1rem;
}

.schedule-item:last-child {
  margin-bottom: 0;
}

.schedule-item .icon {
  font-size: 1.4rem;
}

.schedule-item .label {
  font-weight: 600;
  color: var(--accent-cyan);
}

.schedule-item .value {
  font-weight: 500;
}

.schedule-section .btn-primary {
  margin-top: 1rem;
}


.timeline-section {
  background: var(--bg-secondary); 
  padding: 4rem 2rem;
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.12);
  text-transform: uppercase;
}

.timeline {
  position: relative;
  margin-left: 40px;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--accent-cyan), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-icon {
  position: absolute;
  left: -40px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0,240,255,0.5);
}

.timeline-content {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 0 20px rgba(0,240,255,0.05);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--accent-cyan);
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--text-secondary, #c9c9c9);
}


/* whatsapp part */
.whatsapp-section {
  background: var(--bg-primary);
  padding: 1rem 2rem;
  /* border-radius: 1rem; */
  overflow: hidden;
  max-width: 100%;
  transition: background 0.6s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* active state green gradient */
.whatsapp-section.active {
  background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.text-area {
  flex: 1 1 300px;
  color: #fff;
  transition: transform 0.4s ease;
}

.text-area h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.6rem;
}

.text-area p {
  color: #e0f7ec;
  margin: 0 0 0.6rem 0;
  font-size: 1rem;
}

.join-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}
.join-btn:hover {
  background: #1ebc5f;
  transform: translateY(-2px);
}
.qrContainer{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
/* QR toggle button */
.qr-btn {
  background: #25D366;
  color: #fff;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.qr-btn:hover {
  background: #1ebc5f;
  transform: translateY(-2px);
}

/* QR initially hidden */
.qr-area {
  flex: 0 0 auto;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.5s ease, opacity 0.5s ease;
}
.qr-area img {
  width: 150px;
  height: 150px;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* show QR when active */
.whatsapp-section.active .qr-area {
  max-width: 180px;
  opacity: 1;
}

/* responsive */
@media (max-width: 768px) {
  .whatsapp-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .qr-area {
    max-width: 100% ;
    margin-top: 1rem;
  }
  .qr-area img {
    width: 200px;
    height: 200px;
  }
  .qrContainer{
    flex-direction: column-reverse;
  }
  .text-area {
    flex: 1 1;
  }
  .whatsapp-section .qr-area {
    display: none;
  }

  .whatsapp-section.active .qr-area {
    display: block;
    max-width: 200px;
  }
}


/* Responsive */
@media (max-width: 768px) {
    .timeline {
        margin-left: 0;
        padding-left: 0;
    }
    /* .timeline::before { */
        /* left: 0; */
    /* } */
    .timeline-icon {
        left: 2px;
    }
    .timeline-content {
        margin-left: 50px;
    }
    .timeline-container h2{
        font-size: 2rem;
    }
    .about-text p {
        text-align: justify;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
  .schedule-item {
    flex-direction: column;
    text-align: center;
  }
  .timeline-container h2{
    font-size: 1.8rem;
  }
  .about-text h2{ 
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  .about-text p{
    font-size: 0.95rem;
  }
}


@media (max-width: 880px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
        gap: 1.25rem;
    }

    .hero-text h1 { font-size: 3rem; }
    .h2workshop{
        font-size: 31px;
        margin-top: 15px;
    }
    .hero-head .gear_O {
        width: 55px;
        height: 55px;
    }
  .model-wrap {
    position: absolute;
    inset: 0;
    width: 50%;
    top: 50%;
    margin: 0;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    transform: translate(-50%, -50%);
    left: 50%;
  }

  .hero::before { z-index: 1; }
    model-viewer {
        width: 100%;
        height: 100%;
        transform: none;
        opacity: 1;             
        pointer-events: none;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-container p{
        text-align: justify;
    }
    .about-image {
        display: none;
    }

}

@media (max-width: 420px) {
    .hero-text h1 { font-size: 2rem; }
    .meta { font-size: 0.95rem; }
    .btn-primary { padding: 0.6rem 1.2rem; font-size: 0.88rem; }
    .timeline-container h2{
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .timeline-section{
        padding: 2rem 1rem;
    }
    .h2workshop{
        font-size: 1.4rem;
    }
}
