/*
Theme Name: KarateKick Academy
Theme URI: https://yourwebsite.com
Author: Your Name
Description: A responsive one-page WordPress theme for Karate & Kickboxing Academies using Bootstrap 5.3 and AOS animations.
Version: 1.0
License: GPLv2 or later
Text Domain: karatekicktheme
*/
/* Carousel full height */
.carousel-item {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Background slides in from right */
.carousel-bg {
  position: absolute;
  top: 0;
  right: -20%; /* start outside right */
  width: 120%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: bgSlideIn 2s ease forwards;
  z-index: 0;
}

/* Text slides in from left */
.caption-text {
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  max-width: 500px;
  color: #fff;
  opacity: 0; /* will fade in */
}

/* Text “join in” animation */
@keyframes textJoin {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Background slide-in keyframes */
@keyframes bgSlideIn {
  0% { right: -20%; opacity: 0; }
  50% { opacity: 0.7; }
  100% { right: 0; opacity: 1; }
}

/* Apply animation with JS delay */
.animate__textJoin {
  animation-name: textJoin;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

.navbar-contact a {
  font-size: 1rem;
  color: #fff;
}

.navbar-contact i {
  font-size: 1.1rem;
}

.navbar-contact a:hover {
  color: #ffc107;
}

.navbar-contact i.text-success {
  color: #25D366; /* WhatsApp green */
}

.navbar-contact i.text-warning {
  color: #ffc107;
}
/* Ensure uploaded logo fits neatly inside header */
.custom-logo,
.default-logo {
  height: 55px;           /* fits neatly inside navbar */
  width: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

/* Keep logo vertically aligned with menu */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Navbar overall height */
header.navbar {
  height: 70px;
  display: flex;
  align-items: center;
}

/* On smaller screens */
@media (max-width: 768px) {
  .custom-logo,
  .default-logo {
    height: 45px;
  }
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
}