/* styles.css — Matt black & matt red theme */
:root{
  --bg:#0b0b0b;
  --card:#111;
  --accent:#c21b1b;
  --accent-dark:#8f0f0f;
  --muted:#bdbdbd;
  --tef:#ff1b1b; /* "tef" colour requested for title text */
  --max-width:1100px;
  --radius:10px;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}


*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color: #eee;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

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

.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  background:linear-gradient(90deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
  position:sticky;
  top:0;
  z-index:30;
}

.brand h1{margin:0;font-size:20px;letter-spacing:0.6px}
.brand .tagline{margin:0;font-size:12px;color:var(--muted)}

.top-nav a{margin-left:12px;color:var(--muted);font-size:14px}

.hero{
  position:relative;
  min-height:80vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(0.45);
  z-index:0;
}

.hero-overlay{
  position:relative;
  z-index:2;
  text-align:center;
  padding:50px;
  max-width:var(--max-width);
}

.hero-title{
  margin:0;
  font-size:130px;
  letter-spacing:1px;
  color:#fff;
  font-weight:800;
}

.tef{color:var(--tef)}
.hero-sub{color:var(--muted);margin:10px 0 18px}

.btn{display:inline-block;padding:10px 18px;border-radius:8px;background:transparent;border:1px solid var(--tef);color:var(--tef);font-weight:600}
.btn.primary{background:linear-gradient(90deg,var(--accent),var(--accent-dark));border:none;color:#fff;box-shadow:0 6px 18px rgba(194,27,27,0.14)}

.section{padding:42px 18px}
.container{max-width:var(--max-width);margin:0 auto}

.about .features{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}
.about .features li{list-style:none;background:black;padding:10px 12px;border-radius:8px;color: rgb(0, 236, 28);font-size:20px}

.trainers .trainer-card{display:flex;gap:18px;align-items:center;background:var(--card);padding:16px;border-radius:12px;background-color: #d80000}
.trainer-card img{width:200px;height:200px;object-fit:cover;border-radius:100px}
.trainer-info h4{margin:0 0 60px}

/* -------------------------------------------------------------Exercises---------------------------------------------------------- */






.ai-guide-header {
  position: relative;
  text-align: center;
  color: #ff2b2b;
  margin-bottom: 40px;
}

.ai-guide-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.highlight {
  color: #ff2b2b;
}

#waveCanvas {
  width: 100%;
  height: 80px;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mic-btn {
  position: absolute;
  right: 10%;
  top: 40%;
  transform: translateY(-50%);
  background-color: #0f0;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mic-btn[aria-pressed="true"] {
  background-color: #ff4444;
  transform: scale(1.1);
}







/* ----------------------------------------------------------Animated heading------------------------------------------------------- */

.animated-heading {
  position: relative;
  display: inline-block;
  font-size: 2.0rem;
  color: #ff1a1a;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 34px; /* space for the wave */
  margin: 24px 0;
  overflow: visible; /* make sure canvas isn't clipped */
}

/* header text above canvas */
.animated-heading .heading-text {
  position: relative;
  z-index: 4;
  padding: 0 10px;
  background: transparent;
}

/* canvas sits under the text but above page bg */
.animated-heading canvas {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 34px;   /* visible band height */
  z-index: 2;
  pointer-events: none;
}

/* mic toggle button */
.mic-toggle {
  position: absolute;
  right: -56px;
  bottom: 0;
  z-index: 5;
  background: #ff1a1a;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(255,0,0,0.12);
}
.mic-toggle[aria-pressed="true"] {
  background: #00c853;
  color: #fff;
}


/* ----------------------------------------------------------Animated heading  END---------------------------------------------------- */


/* Exercise Guide Section */
.exercise-guide {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.exercise-guide h2 {
  color: #ff2a2a;
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.exercise-guide .day {
  background-color: #111;
  border: 1px solid #ff2a2a55;
  border-radius: 15px;
  margin: 20px auto;
  max-width: 800px;
  padding: 25px;
  box-shadow: 0 0 20px #ff2a2a15;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exercise-guide .day:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px #ff2a2a30;
}

.exercise-guide h3 {
  color: #ff2a2a;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.exercise-guide ul {
  list-style: none;
  padding: 0;
}

.exercise-guide li {
  margin: 8px 0;
  font-size: 1rem;
  color: #ddd;
}

.exercise-guide li strong {
  color: #fff;
}


/* -------------------------------------------------------------AI Exercise Guide Section-------------------------------------------- */
.exercise-guide {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.exercise-guide h2 {
  color: #ff2a2a;
  font-size: 2.3rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.exercise-guide .day {
  background-color: #111;
  border: 1px solid #ff2a2a55;
  border-radius: 15px;
  margin: 25px auto;
  max-width: 850px;
  padding: 25px;
  box-shadow: 0 0 20px #ff2a2a15;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exercise-guide .day:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px #ff2a2a40;
}

.exercise-guide h3 {
  color: #ff2a2a;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.exercise-guide ul {
  list-style: none;
  padding: 0;
}

.exercise-guide li {
  margin: 8px 0;
  font-size: 1rem;
  color: #ddd;
}

.exercise-guide li strong {
  color: #fff;
}

/* AI Tips Styling */
.ai-tip {
  background: #111;
  color: #bbb;
  border-left: 4px solid #ff2a2a;
  padding: 10px 15px;
  margin-top: 15px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.ai-tip span {
  color: #ff2a2a;
  font-weight: bold;
}

/*------------------------------------------------------------------Ai Tips Button---------------------------------------------------- */


.refresh-tip {
  margin-top: 10px;
  background-color: transparent;
  border: 1px solid #ff2a2a;
  color: #ff2a2a;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-tip:hover {
  background-color: #ff2a2a;
  color: #000;
  transform: scale(1.05);
}

/*------------------------------------------------------------------Blinking Curser------------------------------------------------ */


.ai-tip {
  position: relative;
  display: inline-block;
}

.ai-tip::after {
  content: "|";
  color: #ff2a2a;
  animation: blink 1s infinite;
  font-weight: bold;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}




/*---------------------------------------------------------------Dieting CSS--------------------------------------------------------- */




#diet-generator {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  overflow: hidden;
  color: #fff;
}

#diet-generator .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 11, 0.7); /* dark overlay for readability */
  z-index: 1;
}

.diet-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 90%;
  padding: 30px;
  background: rgba(17, 17, 17, 0.85);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  text-align: center;
}

.diet-container h1 {
  color: #c21b1b;
  margin-bottom: 20px;
  font-size: 2rem;
}

.selectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.selector {
  flex: 1 1 45%;
  min-width: 150px;
  text-align: left;
}

.selector select {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  margin-top: 5px;
}

#generateBtn {
  padding: 12px 25px;
  margin-top: 10px;
  background: #c21b1b;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

#generateBtn:hover {
  background: #8f0f0f;
}

#dietResult {
  margin-top: 20px;
  padding: 15px;
  background: rgba(11, 11, 11, 0.5);
  border: 1px solid #c21b1b;
  border-radius: 10px;
  line-height: 1.5;
  min-height: 150px;
}

/* Background image animation */
#diet-generator {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
}

/* Responsive */
@media (max-width: 600px) {
  .selectors {
    flex-direction: column;
  }
  .selector {
    flex: 1 1 100%;
  }
  .diet-container h1 {
    font-size: 1.5rem;
  }
}






/*--------------------------------------------------Workout Engine Section Section---------------------------------------------------- */



/* Workout Engine Section */
.workout-engine {
    background: #000;
    padding: 60px 20px;
    color: #fff;
    text-align: center;
    border-top: 2px solid red;
}

.we-title {
    font-size: 32px;
    font-weight: 700;
    color: red;
    margin-bottom: 5px;
}

.we-subtitle {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 25px;
}

/* Form */
.we-form {
    width: 90%;
    max-width: 420px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.we-form select,
.we-form button {
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    background: #111;
    color: #fff;
    border: 1px solid red;
    outline: none;
}

.we-form button {
    background: red;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    transition: 0.3s;
}

.we-form button:hover {
    background: #b30000;
}

/* Output Cards */
.we-result {
    margin-top: 40px;
    display: grid;
    gap: 20px;
    justify-content: center;
}

.workout-card {
    background: #0a0a0a;
    border: 2px solid red;
    border-radius: 15px;
    padding: 20px;
    width: 280px;
    color: #fff;
    text-align: left;
    box-shadow: 0 0 18px red;
    transition: 0.3s;
}

.workout-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px red;
}

.workout-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
    border-bottom: 1px solid red;
    padding-bottom: 5px;
}

.workout-card ul {
    margin: 0;
    padding-left: 20px;
}

.workout-card li {
    margin: 6px 0;
}








/*----------------------------------------------------------Owners Section--------------------------------------------------------- */


.owners-grid{display:flex;gap:16px;flex-wrap:wrap}
.owner{background:var(--card);padding:10px;border-radius:10px;text-align:center;flex:1;min-width:180px}
.owner img{width:100%;height:500px;object-fit:cover;border-radius:8px}
.owner-name{margin-top:8px;color:var(--muted)}

.timings p{margin:6px 0}

.admission .form{display:grid;gap:10px;max-width:520px}
.form label{display:block;font-size:14px;color:var(--muted)}
.form input,.form select{width:100%;padding:10px;border-radius:8px;border:1px solid #222;background:#0b0b0b;color:#fff}

.note{font-size:13px;color:var(--muted);margin-top:8px}

/* Gallery slider */
.center {
  display: flex;
  justify-content: center;
}

.typewriter {
  font-size: 4.5rem;
  font-weight: bold;
  color: #ff1313;
  border-right: 2px solid #ff1616; /* cursor */
  white-space: nowrap;
  overflow: hidden;
  width: 15ch;   /* FIXED width for alignment */
  text-align: center;
  animation: typing 4s steps(15) 1s infinite,
                       blink 0.7s infinite;
}

@keyframes typing {
  0% { width: 0ch; }
  50% { width: 15ch; }  
  60% { width: 0ch; }    
  100% { width: 15ch; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.split-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 equal columns */
  grid-template-rows: repeat(3, auto);     /* 3 rows */
  grid-gap: 30px;                          /* space between */
  margin-bottom: 20px;
}

.side {
  position: relative;
  height: 330px;
  width: 500px;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer; 
  transition: transform 0.5s ease; /* smooth zoom effect */
}

.side:hover {
  transform: scale(1.5); /* zoom the whole slide */
  z-index: 10; /* bring to front */
}

.side img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 12s infinite;
}

.side img:nth-child(1) {
  animation-delay: 0s;
}
.side img:nth-child(2) {
  animation-delay: 4s;
}
.side img:nth-child(3) {
  animation-delay: 8s;
}

/* Fade effect keyframes */
@keyframes fade {
  0%, 100% { opacity: 0; }
  10%, 30% { opacity: 1; }
  40% { opacity: 0; }
}

@media (max-width: 800px) {
  .split-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}




/*----------------------------------------------------------ADDMISSION Section--------------------------------------------------------- */






#admission-form {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background: #0b0b0b;
  color: #fff;
}

.form-container {
  max-width: 500px;
  width: 100%;
  background: #111;
  padding: 35px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.form-container h2 {
  color: #fff7f7;
  margin-bottom: 25px;
  font-size: 2rem;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  background: #222;
  color: #fff;
}

#applyBtn {
  margin-top: 15px;
  padding: 14px 28px;
  background: #c21b1b;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
  box-shadow: 0 0 10px #c21b1b, 0 0 20px #c21b1b, 0 0 30px #c21b1b;
}

#applyBtn:hover {
  background: #8f0f0f;
  box-shadow: 0 0 15px #c21b1b, 0 0 25px #c21b1b, 0 0 35px #c21b1b;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
  .form-container h2 {
    font-size: 1.6rem;
  }
  #applyBtn {
    width: 100%;
    font-size: 17px;
  }
}










/*--------------------------------------------------------- Footer -----------------------------------------------------------------*/



.site-footer{padding:26px 18px;background:linear-gradient(0deg,#070707,transparent);margin-top:30px;color:var(--muted)}
.site-footer a{color:var(--tef)}

/* Responsive tweaks */
@media (max-width:720px){
  .hero-title{font-size:34px}
  .trainer-card{flex-direction:column}
  .flowing-images{display:none}
}




/* -------------------------------------------------Developer Advertisement Section--------------------------------------------------- */



/* STRIP BASE */
.kx-strip {
    width: 100%;
    padding: 30px 0;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.7)),
        url('assets/kyrangoX Lbs.jpg') left center/260px no-repeat;

    filter: brightness(4.3) contrast(1.3);
    animation: fadeInStrip 1.2s ease forwards;
    background-attachment: fixed;
    padding-top: 80px;
    background-position: left 40px top -60px;
}

/* FADE-IN ANIMATION */
@keyframes fadeInStrip {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0px); }
}

/* SHINE EFFECT */
.kx-strip::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.12), transparent);
    animation: shineSweep 4s infinite;
}

@keyframes shineSweep {
    0% { left: -120%; }
    55% { left: 140%; }
    100% { left: 140%; }
}

/* 3-COLUMN LAYOUT */
.kx-row {
    width: 100%;
    display: flex;
    align-items: center;
}

/* LEFT area (logo background sits here visually) */
.kx-left {
    flex: 1;
}

/* CENTER TEXT */
.kx-center {
    flex: 1;
    text-align: center;
}

.kx-text {
    color: #e8e8e8;
    font-size: 14px;
    letter-spacing: 0.6px;
}

/* RIGHT ICONS */
.kx-icons {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ICON BUTTONS */
.kx-btn svg {
    border-radius: 10px;
    transition: 0.25s ease;
    filter: brightness(0.3);
}

.kx-btn svg:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 0 8px rgba(255, 0, 140, 0.4));
}

/* RESPONSIVE */
@media(max-width: 768px){
    .kx-strip { background-size: 180px; }
    .kx-text  { font-size: 13px; }
}

@media(max-width: 480px){
    .kx-strip { background-size: 150px; }
}
  





.footer-copy {
    margin-top: 25px;
    text-align: center;
    width: 100%;
    font-size: 13px;
    opacity: 0.7;
    color: #ccc;
    letter-spacing: 0.5px;
}
