@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900&display=swap');

/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  background-color: #000;
  color: #aaa;
  padding-top: 110px; /* header height */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Orbitron", serif;
}

/* =========================
   BUTTONS & ICONS
========================= */
button, .icon {
  padding: 0.85rem 2rem;
  font-size: 15px;
  line-height: 15px;
  font-weight: 500;
  color: #f1f1f1;
  border: 2px solid rgb(100, 8, 8);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 6px #222;
}

button:hover, .icon:hover {
  background-color: rgb(100, 8, 8);
}

button.btn-signup {
  border-color: rgb(100, 8, 8);
  background-color: rgb(100, 8, 8);
  color: #fff;
}

button.btn-signup:hover {
  border-color: #fff;
  background-color: #fff;
  color: rgb(100, 8, 8);
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 1000;
  background-color: #000a;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo-link {
  display: flex;
  font-size: 22px;
  font-weight: 500;
  color: #aaa;
}

.header .logo-link span {
  font-weight: 600;
  color: rgb(201, 3, 3);
}
/* logo  */




/* Desktop Navigation */
.navigation {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.navigation .link {
  font-family: "Noto Sans", serif;
  font-size: 16.5px;
  color: #aaa;
  text-transform: capitalize;
  position: relative;
}

.navigation .link:hover {
  color: #fff;
}

.navigation .link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #fff;
  transition: width 0.3s ease;
}

.navigation .link:hover::after {
  width: 95%;
}

.navigation .active {
  color: rgb(100, 8, 8);
}

/* Controls */
.controls {
  display: flex;
  gap: 1.1rem;
}

/* Hamburger Icons */
#close {
  display: none; /* JS will show when menu is open */
  position: fixed; /* fix it top-right */
  top: 1rem;
  right: 1rem;
  z-index: 230;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

/* =========================
   HOME SECTION
========================= */
.home {
  width: 100%;
  position: relative;
  overflow: visible;
  padding-bottom: 2rem;
}

.home:after, .home:before {
  position: absolute;
  content: '';
  width: 100vh;
  height: 100vh;
  z-index: 0;
}

.home:after {
  bottom: 0;
  right: -0%;
  background-color: #4444;
  transform: rotate(45deg) translateY(-25%);
}

.home:before {
  bottom: 0;
  right: -10rem;
  background-color: #3333;
  transform: rotate(45deg) translateY(-25%);
}

.home .container {
  padding-top: 40px;
  position: relative;
  z-index: 10;
}

.home .items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  gap: 3.2rem;
}

.home .item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.home .title {
  font-size: 34px;
  line-height: 40px;
  font-weight: 500;
  color: #aaa;
  text-align: center;
  padding-top: 2.4rem;
}

.home .title strong {
  color: rgb(100, 8, 8);
}



.home .buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: -2rem;
}

/* =========================
   MOBILE NAVIGATION
========================= */
@media (max-width: 780px) {
  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    background-color: #000;
    transition: right 0.4s ease;
    z-index: 200;
    padding: 2rem 0;
  }

  .navigation.active { right: 0; }

  .mobile-logo {
    display: block;
    margin-bottom: 2rem;
  }

  .navigation .link {
    font-size: 22px;
    color: #fff;
  }

  .mobile-socials {
    display: flex;
    gap: 1.5rem;
    position: absolute;
    bottom: 2rem;
  }

  .mobile-socials img {
    width: 36px;
    transition: transform 0.3s ease;
  }

  .mobile-socials img:hover {
    transform: scale(1.2);
  }

 

  #menu-toggle {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    color: #fff;
  }

  #close {
    display: none;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
  }

  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 1rem;
  }

  .controls { gap: 0.5rem; }

  button { padding: 0.4rem 0.8rem; font-size: 12px; }

  .icon {
    padding: 0.5rem;
    font-size: 24px;
  }
}

@media (min-width: 781px) {
  .navigation {
    position: static;
    height: auto;
    flex-direction: row;
    background: transparent;
    right: 0;
  }

  #menu-toggle { 
    display: none !important; 
  }
}

/* =========================
   FOOTER
========================= */
footer {
  width: 100%;
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 30px 0;
  margin-top: auto;
}

.social-links img {
  width: 36px;
  margin: 0 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border-radius: 50%;
}

.social-links img:hover {
  transform: scale(1.2);
  background-color: #df1c46;
}

footer p {
  margin-top: 15px;
  font-size: 0.9rem;
}

.footer-sponsors {
  margin-bottom: 1rem;
  text-align: center;
}

.sponsor-title {
  font-size: 1rem;
  color: #777;
  margin-bottom: 0.5rem;
  font-weight: 500;
}



/* =========================
   CART ICON & MODAL
========================= */

/* Cart icon in header */
.cart-container {
  position: relative;
  margin-left: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgb(100, 8, 8);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: 600;
  text-align: center;
}

/* Cart Modal */
.cart-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 500;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.cart-content {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  color: #eee;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(100,8,8,0.7);
  animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cart-content h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  color: rgb(100, 8, 8);
  margin-bottom: 1.5rem;
}

.cart-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.cart-content .cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #333;
  font-size: 0.95rem;
}

.cart-content .cart-item button {
  background: rgb(100, 8, 8);
  color: #fff;
  border: none;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.cart-content .cart-item button:hover {
  background: #fff;
  color: rgb(100,8,8);
  transform: translateY(-2px);
}

.cart-close {
  position: absolute;
  top: 12px; right: 18px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s;
}

.cart-close:hover {
  color: rgb(100,8,8);
  transform: scale(1.1);
}

#cart-total {
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

#checkout-whatsapp {
  display: inline-block;
  margin-top: 1rem;
  background: rgb(100, 8, 8);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(100,8,8,0.5);
}

#checkout-whatsapp:hover {
  background: #fff;
  color: rgb(100,8,8);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(100,8,8,0.7);
}

/* Scrollbar styling for cart items */
.cart-content ul::-webkit-scrollbar {
  width: 6px;
}

.cart-content ul::-webkit-scrollbar-track {
  background: #222;
  border-radius: 10px;
}

.cart-content ul::-webkit-scrollbar-thumb {
  background: rgb(100,8,8);
  border-radius: 10px;
}


/* =========================
   GENERIC SECTIONS (NEWS, SHOP, COACHES, STATS, SIGNUP, ABOUT)
========================= */
section {
  padding: 1.2rem 1rem;
}

.news-grid, .shop-grid, .coach-grid, .about-grid, .location-grid, .review-cards, .stats-grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-card, .product-card, .coach-card, .about-card, .location-card, .review-card {
  position: relative;
  background-color: #111;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 10px #111;
  transition: all 0.4s ease;
  overflow: hidden;
}

.news-card:hover, .product-card:hover, .coach-card:hover, .about-card:hover, .location-card:hover, .review-card:hover {
  border-color: rgb(100, 8, 8);
  box-shadow: 0 0 18px rgba(100,8,8,0.6);
}

.news-card img, .product-card img, .coach-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-card h3, .about-card h3, .location-card h3, .coach-card h3, .product-card h3 {
  font-family: "Orbitron", serif;
  color: #aaa;
  font-size: large;
}

.news-card p, .about-card p, .location-card p, .coach-card p, .product-card p {
  color: #888;
}

.stats-section {
  background: #050505;
  padding: 1.2rem 2rem;
  text-align: center;
}

.stat h2 { font-size: 40px; color: rgb(100,8,8); }
.stat p { color: #888; }


.signup-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.signup-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 400px;
  width: 100%;
}

.signup-form input, .signup-form select {
  padding: 0.8rem 1rem;
  font-size: 14px;
  border: 2px solid #222;
  border-radius: 6px;
  background-color: #000;
  color: #aaa;
  transition: all 0.3s;
}

.signup-form input:focus, .signup-form select:focus {
  border-color: rgb(100,8,8);
  outline: none;
}

.signup-form button {
  padding: 0.9rem;
  font-size: 15px;
  border: 2px solid rgb(100,8,8);
  background-color: rgb(100,8,8);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.signup-form button:hover {
  background-color: #000;
  color: rgb(100,8,8);
}
/* =========================
   VIDEO HERO RESPONSIVE
========================= */

.video-hero {
  width: 100%;           /* fill parent container */
  max-width: 1000px;     /* desktop max width */
  margin: 2rem auto;     /* center horizontally & vertical spacing */
  display: block;
  border-radius: 12px;   /* optional, soft edges */
  overflow: hidden;
  box-shadow: 0 0 20px rgba(100,8,8,0.4);
}

.video-hero video {
  width: 100%;
  height: auto;          /* maintain aspect ratio */
  display: block;
  object-fit: cover;     /* keeps video filling container */
}
/* Medium screens */
@media (max-width: 1024px) {
  .video-hero {
    max-width: 720px;
    margin: 1.5rem auto;
  }
}

/* Small screens */
@media (max-width: 780px) {
  .video-hero {
    max-width: 90%;      /* almost full width */
    margin: 1rem auto;
    border-radius: 8px;
  }

  .video-hero video {
    object-fit: contain;  /* avoids cropping on small screens */
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .video-hero {
    max-width: 100%;
    margin: 0.8rem auto;
  }
}
/* =========================
   REVIEW BUTTON
========================= */
.review-section {
  min-height: calc(100vh - 110px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
}

.review-content {
  text-align: center;
  max-width: 500px;
  padding: 3rem 2rem;
  background-color: #111;
  border-radius: 16px;
  border: 1px solid #222;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.review-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 40px;
  background-color: rgb(100, 8, 8);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(100, 8, 8, 0.4);
}

.review-btn:hover {
  background-color: #fff;
  color: rgb(100, 8, 8);
  box-shadow: 0 0 15px rgba(100, 8, 8, 0.8);
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .review-btn {
    font-size: 1rem;
    padding: 14px;
    width: 100%;
  }
  .review-content {
    padding: 2rem 1.5rem;
  }
}
/* =========================
   HOME PAGE CLEANUP (SAFE POLISH)
   No structure changes
========================= */

/* Reduce visual noise from background shapes */
.home:before,
.home:after {
  opacity: 0.55;
}

/* Better vertical breathing room */
.home .container {
  padding-top: 40px;
  padding-bottom: 3rem;
}

/* Keep hero grid balanced */
.home .items {
  align-items: center;
}

/* Title readability */
.home .title {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

/* Hero image control (prevents overpowering text) */

/* Button spacing consistency */
.home .buttons {
  margin-top: 1rem;
}

/* Mobile polish */
@media (max-width: 780px) {
  .home .container {
    padding-top: 60px;
  }

  .home .title {
    font-size: 28px;
    line-height: 34px;
  }

 
}
/* =========================
   ITEM IMAGE – RESPONSIVE CONTROL
========================= */

.item-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.item-image img,
.item-image video {
  width: 100%;
  max-width: 420px;     /* desktop default */
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}
@media (max-width: 1024px) {
  .item-image img,
  .item-image video {
    max-width: 360px;
  }
}

@media (max-width: 780px) {
  .item-image {
    margin: 1.5rem 0;
  }

  .item-image img,
  .item-image video {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .item-image img,
  .item-image video {
    max-width: 220px;
  }
}
/* =========================
   HERO SUBTEXT CENTERING
========================= */

.hero-subtext {
  max-width: 720px;
  margin: 1.2rem auto 0 auto; /* centers horizontally */
  text-align: center;
  line-height: 1.6;
  font-size: 1rem;
  color: #888;
}

/* Mobile fine-tuning */
@media (max-width: 780px) {
  .hero-subtext {
    max-width: 90%;
    font-size: 0.95rem;
  }
}

/* =========================
   WHY COMRO FC – CENTERING
========================= */

.section {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers everything horizontally */
  text-align: center;
}

/* Keep title centered */
.section .title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Center the cards grid */
.about-grid {
  width: 100%;
  max-width: 900px;      /* prevents it from stretching too wide */
  margin: 0 auto;        /* hard center */
  justify-items: center; /* centers cards inside grid */
}

/* Ensure cards themselves are centered */
.about-card {
  text-align: center;
}
