/*
Theme Name: Soccerteer Custom
Description: Custom theme for Soccerteer Pro and Soccerteer X websites
Version: 1.0
Author: HeyQTGlobal Ltd
*/

/* Import Bootstrap and other styles */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Custom CSS Variables */
:root {
  --primary-color: #d4af37;
  --secondary-color: #b8860b;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --success-color: #28a745;
  --danger-color: #dc3545;
}

/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  padding: 0 !important;
  margin: 0 !important;
  padding-top: 80px !important; /* Account for fixed header */
}

html {
  margin: 0 !important;
  padding: 0 !important;
}

main {
  position: relative;
  z-index: 2;
}

/* Header Styles */
.st-site-header {
  background: #000000 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 80px !important;
  display: block !important;
  z-index: 10000 !important;
}

/* Override any existing sticky/fixed positioning */
.st-site-header.st-style1 {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: #000000 !important;
  z-index: 9999 !important;
}

.st-main-header {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
}

.st-site-branding img {
  width: 45px;
  height: 45px;
}

/* Navigation */
.st-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.st-nav-list a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.st-nav-list a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: url('./assets/img/hero-bg-2.jpg') center center/cover no-repeat;
}

.hero-section {
  color: white;
  padding: 120px 0 100px 0;
  text-align: center;
  position: relative;
  background-attachment: scroll;
  z-index: 2;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}



/* Content Sections */
.content-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .st-nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    padding: 40px 0;
    text-align: center;
    min-height: auto;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-section .soccerteer-x-logo {
    max-height: 50px !important;
  }
  
  .hero-section .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  
  .hero-section .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Download Section Mobile */
  #download {
    min-height: 180px !important;
  }
  
  #download img {
    width: 150% !important;
    height: 150% !important;
    object-fit: cover;
  }
  
  #download .container {
    padding: 60px 0 40px 0 !important;
  }
  
  #download .d-flex.gap-3 {
    flex-direction: column !important;
    gap: 0.75rem !important;
    transform: none !important;
    align-items: center;
  }
  
  #download .btn {
    width: 100%;
    max-width: 250px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Content Sections Mobile */
  .content-section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-title img {
    max-width: 150px !important;
  }
  
  /* Mobile Menu Styles */
  .st-nav {
    display: none !important;
  }
  
  .st-mobile-menu-toggle {
    display: block !important;
  }
  
  .st-mobile-menu-toggle button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
  }
  
  .st-mobile-menu-toggle button:hover {
    color: var(--primary-color);
  }
  
  #mobileMenu {
    background: #000000;
    border-top: 1px solid #333;
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  #mobileMenu .st-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  #mobileMenu .st-nav-list li {
    margin: 0;
    padding: 0;
  }
  
  #mobileMenu .st-nav-list a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #333;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  #mobileMenu .st-nav-list a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
  }
  
  #mobileMenu .st-nav-list li:last-child a {
    border-bottom: none;
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 991px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section .soccerteer-x-logo {
    max-height: 65px !important;
  }
  
  #download {
    min-height: 220px !important;
  }
  
  #download .container {
    padding: 100px 0 60px 0 !important;
  }
  
  #download .d-flex.gap-3 {
    transform: translateX(-5%) !important;
  }
  
  .section-title img {
    max-width: 180px !important;
  }
}

@media (min-width: 769px) {
  .st-mobile-menu-toggle {
    display: none !important;
  }
  
  .st-nav {
    display: block !important;
  }
}

/* Additional mobile breakpoints */
@media (max-width: 991px) {
  .st-nav {
    display: none !important;
  }
  
  .st-mobile-menu-toggle {
    display: block !important;
  }
}

/* Soccerteer X Logo Styles */
.soccerteer-x-logo {
  transition: filter 0.3s ease;
}

.soccerteer-x-logo-small {
  transition: filter 0.3s ease;
}

/* Hero section logo - show original colors */
.hero-section .soccerteer-x-logo {
  filter: none; /* Keep original colors for hero section */
}

/* Adjust logo color for light backgrounds */
.bg-light .soccerteer-x-logo,
.bg-light .soccerteer-x-logo-small,
.content-section .soccerteer-x-logo,
.content-section .soccerteer-x-logo-small {
  filter: brightness(0) invert(1); /* Make logo white for light backgrounds */
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

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

/* Instructions Page Styles */
.instructions-hero {
  background: url('./assets/img/hero-bg-2.jpg') center center/cover no-repeat;
  background-attachment: scroll;
  padding: 120px 0 80px;
  color: white;
  text-align: center;
  position: relative;
  margin-top: 80px; /* Add margin to account for fixed header */
}

.instructions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.instructions-hero .container {
  position: relative;
  z-index: 2;
}

.search-container {
  background: white;
  padding: 40px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.instructions-content {
  padding: 60px 0;
}

.category-section {
  margin-bottom: 50px;
}

.category-title {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
}

.faq-accordion {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.faq-accordion:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.faq-question {
  background: #f8f9fa;
  padding: 20px 25px;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-question.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-answer.active {
  padding: 25px;
  max-height: 1000px;
}

.faq-answer p {
  margin: 0 0 15px 0;
  line-height: 1.6;
  color: #555;
}

.faq-answer ul {
  margin: 15px 0;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
  color: #555;
}

.highlight {
  background-color: #fff3cd;
  padding: 2px 4px;
  border-radius: 3px;
}

.no-results {
  padding: 60px 0;
  text-align: center;
  color: #666;
} 