/* Booni Martial Arts Fitness Hub Styles */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --accent-red: #842222;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--primary-black);
  color: var(--primary-white);
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}

/* Navigation */
header {
  background: var(--primary-black);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}
.navbar-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.navbar-menu {
  display: flex;
  gap: 2rem;
}
.navbar-menu a {
  color: var(--primary-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
}
.navbar-menu a:hover {
  color: var(--accent-red);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Menu */
@media (max-width: 900px) {
  .navbar {
    padding: 1rem;
  }
  .navbar-menu {
    gap: 1rem;
  }
}
@media (max-width: 700px) {
  .navbar-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--primary-black);
    flex-direction: column;
    width: 200px;
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: none;
  }
  .navbar-menu.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem 1.5rem;
  background: linear-gradient(rgba(255,255,255,0.60), rgba(255,255,255,0.60)), url('background-hero.webp') center center/cover no-repeat;
  background-blend-mode: lighten;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #222;
}
.hero span {
  color: #842222;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #333;
}

/* Hero Section CTA Button Styles */
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
}

.cta-btn {
  background: #842222;
  color: #fff;
  padding: 0.85em 2.2em;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(132,34,34,0.08);
  cursor: pointer;
  outline: none;
  display: inline-block;
}

.cta-btn:hover, .cta-btn:focus {
  background: #a63a3a;
  color: #fff;
  box-shadow: 0 4px 16px rgba(132,34,34,0.15);
}

@media (max-width: 700px) {
  .hero {
    padding: 2.5rem 0.5rem 2rem 0.5rem;
    min-height: 55vh;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
  }
  .cta-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* Services Section */
.services {
  background: var(--primary-white);
  color: var(--primary-black);
  padding: 4rem 1rem 2rem 1rem;
}
.services h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
  text-align: center;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2rem 1.2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(132,34,34,0.13);
}
.service-icon {
  font-size: 2.5rem;
  color: var(--accent-red);
  margin-bottom: 1rem;
}
.service-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 1rem;
  color: #333;
}

/* About Section */
.about {
  background: var(--primary-black);
  color: var(--primary-white);
  padding: 4rem 1rem 2rem 1rem;
}
.about h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
  text-align: center;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.about-photo {
  flex: 0 0 220px;
  max-width: 220px;
}
.about-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  object-fit: cover;
}
.about-text {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-gallery {
  flex: 1 1 320px;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.about-gallery img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
.trainers {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trainer-card {
  background: #181818;
  border-radius: 14px;
  padding: 1.2rem 1rem;
  text-align: center;
  color: var(--primary-white);
  min-width: 180px;
  max-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
.trainer-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.7rem;
}
.trainer-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.trainer-bio {
  font-size: 0.95rem;
  color: #ccc;
}

/* Testimonials */
.testimonials {
  background: var(--primary-white);
  color: var(--primary-black);
  padding: 4rem 1rem 2rem 1rem;
}
.testimonials h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
  text-align: center;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial-card {
  background: #f7f7f7;
  border-radius: 14px;
  padding: 1.5rem 1rem;
  min-width: 220px;
  max-width: 320px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-align: center;
}
.testimonial-quote {
  font-style: italic;
  color: #333;
  margin-bottom: 1rem;
}
.testimonial-client {
  font-weight: 700;
  color: var(--accent-red);
}

/* Schedule & Pricing */
.schedule {
  background: var(--primary-black);
  color: var(--primary-white);
  padding: 4rem 1rem 2rem 1rem;
}
.schedule h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
  text-align: center;
}
.timetable {
  overflow-x: auto;
  margin-bottom: 2rem;
}
.timetable table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.timetable th, .timetable td {
  border: 1px solid #333;
  padding: 0.7rem 0.5rem;
  text-align: center;
}
.timetable th {
  background: var(--accent-red);
  color: var(--primary-white);
}
.timetable td {
  background: #181818;
}
.pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.pricing-plan {
  background: #181818;
  border-radius: 14px;
  padding: 1.5rem 1rem;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  color: var(--primary-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
.pricing-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
}
.pricing-amount {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
  background: var(--primary-white);
  color: var(--primary-black);
  padding: 4rem 1rem 2rem 1rem;
}
.contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
  text-align: center;
}
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.contact-form label {
  font-weight: 600;
  color: #842222;
  margin-bottom: 0.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.7em 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #faf9f9;
  transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #842222;
  outline: none;
}

.contact-form button[type="submit"] {
  background: #842222;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.85em 2.2em;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(132,34,34,0.08);
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus {
  background: #a63a3a;
  box-shadow: 0 4px 16px rgba(132,34,34,0.15);
}

.contact-intro {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.business-card {
  background: #111;
  border: 1px solid rgba(132,34,34,0.25);
  padding: 1.8rem 2rem;
  border-radius: 18px;
  max-width: 900px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.business-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.business-card .business-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  color: #ddd;
  font-weight: 600;
}

.business-card p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  color: #ccc;
}

.section-card {
  background: #111;
  border: 1px solid rgba(132,34,34,0.18);
  border-radius: 18px;
  padding: 1.8rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 26px rgba(0,0,0,0.16);
}

.section-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.form-grid label,
.agreement-card label {
  font-weight: 700;
  color: #fff;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #333;
  background: #181818;
  color: #fff;
  padding: 0.9rem 1rem;
}

.form-grid select {
  appearance: none;
}

.form-grid textarea {
  min-height: 100px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #f4f4f4;
  background: #181818;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
  border-radius: 14px;
}

.checkbox-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.agreement-card {
  padding-bottom: 1rem;
}

.agreement-text {
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.agreement-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.agreement-checkbox input {
  width: 18px;
  height: 18px;
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

.contact-info {
  flex: 1 1 320px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 1.1rem;
}
.contact-info a {
  color: var(--accent-red);
  text-decoration: none;
  font-weight: 600;
}
.contact-info a:hover {
  text-decoration: underline;
}
.map {
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  margin-top: 1rem;
}

/* Gallery */
.gallery {
  background: var(--primary-black);
  color: var(--primary-white);
  padding: 4rem 1rem 2rem 1rem;
}
.gallery h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
  text-align: center;
}

/* Gallery Section Styles with Click-to-Enlarge */
.gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.gallery-list img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  object-fit: cover;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  z-index: 1;
}

.gallery-list img.enlarged {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.05);
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 1001;
  background: #fff;
  border-radius: 16px;
}

.gallery-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  display: none;
}

.gallery-overlay.active {
  display: block;
}

@media (max-width: 900px) {
  .gallery-list {
    gap: 1rem;
  }
  .gallery-list img {
    max-width: 98vw;
  }
}

/* Footer */
footer {
  background: #181818;
  color: var(--primary-white);
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  font-size: 1rem;
  position: relative;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.footer-social a {
  color: var(--primary-white);
  font-size: 1.7rem;
  transition: color var(--transition);
}
.footer-social a:hover {
  color: var(--accent-red);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  min-width: 220px;
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.whatsapp-float i {
  font-size: 1.5rem;
}
.whatsapp-float span {
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.whatsapp-float:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.25);
}
@media (max-width: 650px) {
  .whatsapp-float {
    min-width: unset;
    width: calc(100% - 32px);
    max-width: 420px;
    right: 16px;
    bottom: 16px;
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
  }
  .whatsapp-float i {
    font-size: 1.8rem;
  }
  .whatsapp-float span {
    display: inline-block;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dark Mode Toggle */
.dark-toggle {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 1200;
}
.dark-mode {
  background: var(--primary-white);
  color: var(--primary-black);
}
.dark-mode header,
.dark-mode .about,
.dark-mode .gallery {
  background: var(--primary-white);
  color: var(--primary-black);
}
.dark-mode .services,
.dark-mode .testimonials,
.dark-mode .contact {
  background: var(--primary-black);
  color: var(--primary-white);
}
.dark-mode .service-card,
.dark-mode .testimonial-card,
.dark-mode .contact-form {
  background: #222;
  color: var(--primary-white);
}
.dark-mode .pricing-plan {
  background: #fff;
  color: var(--primary-black);
}

/* Responsive Tweaks */
@media (max-width: 900px) {
  .about-content, .contact-content {
    flex-direction: column;
    align-items: stretch;
  }
  .about-gallery {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .services-list, .testimonial-list, .pricing, .trainers {
    flex-direction: column;
    gap: 1rem;
  }
  .gallery-list {
    grid-template-columns: 1fr;
  }
  .about-gallery img {
    width: 80px;
    height: 80px;
  }
}

/* Add styles for logo container */
.logo-container {
  text-align: center;
  margin-top: 24px;
}
.logo-container img {
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* Add styles for contact social icons */
.contact-social {
  margin-bottom: 16px;
  font-size: 2rem;
}
.contact-social a {
  margin-right: 16px;
  text-decoration: none;
}
.contact-social a:last-child {
  margin-right: 0;
}
.contact-social .fa-whatsapp {
  color: #25d366;
}
.contact-social .fa-facebook {
  color: #1877f3;
}
.contact-social .fa-tiktok {
  color: #000;
}

/* About Scan Image Styles */
.about-scan {
  text-align: center;
  margin-top: 2rem;
}

.about-scan .scan-img {
  width: 220px;
  max-width: 90vw;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  background: #fff;
  padding: 0.5rem;
}

.about-scan div {
  margin-top: 0.5rem;
  font-size: 1.05em;
  color: #842222;
  font-weight: 600;
}

@media (max-width: 600px) {
  .about-scan .scan-img {
    width: 98vw;
    max-width: 98vw;
  }
}

/* Timer Styles */
#cool-timer {
  position: fixed;
  top: 18px;
  right: 32px;
  z-index: 9999;
  background: rgba(20, 20, 30, 0.85);
  color: #fff;
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 2.1rem;
  letter-spacing: 0.12em;
  padding: 0.5em 1.2em;
  border-radius: 1.5em;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
  border: 2px solid #842222;
  text-shadow: 0 0 8px #842222, 0 0 2px #fff;
  transition: background 0.3s, color 0.3s, top 0.3s, right 0.3s, left 0.3s, font-size 0.3s, padding 0.3s;
  display: block !important;
}
#cool-timer .timer-hours { color: #ffb347; }
#cool-timer .timer-minutes { color: #7fffd4; }
#cool-timer .timer-seconds { color: #ff4f81; }
#cool-timer:hover {
  background: #842222;
  color: #fff;
  border-color: #fff;
}
@media (max-width: 900px) {
  #cool-timer {
    top: 10px;
    right: 10px;
    font-size: 1.3rem;
    padding: 0.4em 0.9em;
  }
}
@media (max-width: 600px) {
  #cool-timer {
    position: fixed;
    top: 60px;
    right: 10px;
    left: auto;
    font-size: 1rem;
    padding: 0.25em 0.7em;
    border-radius: 1em;
    display: block !important;
  }
}
@media (max-width: 400px) {
  #cool-timer {
    top: 90px;
    right: 5px;
    font-size: 0.85rem;
    padding: 0.18em 0.5em;
    display: block !important;
  }
}
