/* ============================================================
   SiberTenis - Premium Custom Design Overrides
   Professional Tennis Club Management Software Landing Page
   ============================================================ */

/* ---------- CSS Variables Override ---------- */
:root {
  --st-primary: #0a6e5c;
  --st-primary-dark: #054d3f;
  --st-primary-light: #e6f5f1;
  --st-accent: #f7941d;
  --st-accent-hover: #e07f08;
  --st-dark: #1a1a2e;
  --st-gray: #6b7280;
  --st-gray-light: #f8f9fc;
  --st-white: #ffffff;
  --st-gradient: linear-gradient(135deg, #0a6e5c 0%, #054d3f 100%);
  --st-gradient-hero: linear-gradient(135deg, #0a6e5c 0%, #0d8a6f 40%, #054d3f 100%);
  --st-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --st-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --st-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --st-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --st-radius: 16px;
  --st-radius-lg: 24px;
  --st-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Global Overrides ---------- */
body {
  color: #2d3748;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--st-accent);
  color: #fff;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* ---------- Topbar Refinement ---------- */
.topbar {
  background: var(--st-dark);
  height: 42px;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar .contact-info i a,
.topbar .contact-info i span {
  font-weight: 500;
}

.topbar .social-links a {
  margin-left: 16px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--st-transition);
  color: rgba(255,255,255,0.7);
}

.topbar .social-links a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Header / Nav Premium ---------- */
.header {
  background: var(--st-white);
  box-shadow: var(--st-shadow-sm);
  height: 80px;
  transition: var(--st-transition);
}

.header.sticked {
  height: 64px;
  box-shadow: var(--st-shadow-md);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.97);
}

.header .logo h1 {
  color: var(--st-primary);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.header .logo h1 span {
  color: var(--st-accent);
}

@media (min-width: 1280px) {
  .navbar a,
  .navbar a:focus {
    color: #4a5568;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: var(--st-primary);
  }

  .navbar>ul>li>a:before {
    background-color: var(--st-accent);
    height: 3px;
    border-radius: 3px;
  }
}

/* Mobile nav */
@media (max-width: 1279px) {
  .navbar ul {
    background: rgba(10, 110, 92, 0.97);
    backdrop-filter: blur(20px);
  }

  .mobile-nav-show {
    color: var(--st-primary);
  }
}

/* ---------- Hero Section Premium ---------- */
.hero {
  background: var(--st-gradient-hero);
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247,148,29,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero h2 {
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  opacity: 0.9;
  margin-top: 0.75rem !important;
}

.hero h3 {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.8;
}

.hero .btn-get-started {
  background: var(--st-accent);
  border: none;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(247,148,29,0.4);
  transition: var(--st-transition);
}

.hero .btn-get-started:hover {
  background: var(--st-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(247,148,29,0.5);
  border-color: transparent;
}

.hero .btn-watch-video {
  font-weight: 600;
  font-size: 15px;
}

.hero .btn-watch-video i {
  font-size: 36px;
  color: rgba(255,255,255,0.8);
}

/* Hero icon boxes */
.hero .icon-boxes:before {
  background-color: var(--st-bg-light, #f5f5f5) !important;
}

.hero .icon-box {
  background: var(--st-primary);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--st-radius);
  padding: 40px 24px;
  transition: var(--st-transition);
  position: relative;
  z-index: 2;
}

.hero .icon-box:hover {
  background: var(--st-primary-dark, #085a4b);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.hero .icon-box .icon {
  font-size: 40px;
  color: var(--st-accent);
}

.hero .icon-box .title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.hero .icon-box .title a {
  color: #fff !important;
}

/* Hero feature tags */
.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px 0;
}

.hero-feature-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  transition: var(--st-transition);
  white-space: nowrap;
}

.hero-feature-tags .tag i {
  color: var(--st-accent);
  font-size: 12px;
}

.hero-feature-tags .tag:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0 0 0;
  }
  .hero h1 {
    font-size: 1.7rem !important;
  }
  .hero h2 {
    font-size: 1rem !important;
  }
  .hero h3 {
    font-size: 1.6rem !important;
  }
  .hero-feature-tags .tag {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* ---------- Section Headers Premium ---------- */
.section-header {
  padding-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--st-dark);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.section-header h2:after {
  width: 60px;
  height: 4px;
  background: var(--st-accent);
  border-radius: 4px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--st-gray);
}

/* ---------- About / Mobile Section Premium ---------- */
.about {
  padding: 80px 0;
}

.about h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--st-dark);
  line-height: 1.3;
  margin-bottom: 24px;
}

.about .content ul li {
  padding: 8px 0 8px 32px;
  font-size: 15px;
  line-height: 1.6;
}

.about .content ul i {
  color: var(--st-accent);
  font-size: 18px;
}

.about img.rounded-4 {
  border-radius: var(--st-radius) !important;
  box-shadow: var(--st-shadow-md);
}

/* App Download buttons */
.about .btn-outline-danger,
.about .btn-outline-dark,
.about .btn-outline-success {
  border-radius: 12px !important;
  border-width: 2px;
  font-size: 14px;
  transition: var(--st-transition);
}

.about .btn-outline-danger:hover,
.about .btn-outline-dark:hover,
.about .btn-outline-success:hover {
  transform: translateY(-2px);
  box-shadow: var(--st-shadow-md);
}

/* ---------- Clients / References Premium ---------- */
.clients {
  padding: 50px 0;
  background: var(--st-gray-light);
}

.clients .swiper-slide img {
  filter: grayscale(100%);
  opacity: 0.5;
  max-height: 60px;
  object-fit: contain;
  transition: var(--st-transition);
}

.clients .swiper-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ---------- Stats Counter Premium ---------- */
.stats-counter {
  padding: 60px 0;
  background: var(--st-white);
}

.stats-counter .stats-item {
  padding: 24px 0;
  border-bottom: 1px solid #edf2f7;
}

.stats-counter .stats-item span {
  font-size: 44px;
  font-weight: 800;
  color: var(--st-primary);
  background: linear-gradient(135deg, var(--st-primary), var(--st-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-counter .stats-item p strong {
  color: var(--st-dark);
}

/* ---------- Services / Modules Premium ---------- */
.services {
  padding: 80px 0;
  background: var(--st-gray-light);
}

.services .service-item {
  padding: 40px 32px;
  border-radius: var(--st-radius);
  border: 1px solid #edf2f7;
  background: var(--st-white);
  transition: var(--st-transition);
  height: 100%;
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--st-shadow-lg);
  border-color: transparent;
}

.services .service-item .icon {
  width: 64px;
  height: 64px;
  background: var(--st-primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.services .service-item .icon i {
  font-size: 32px;
  color: var(--st-primary);
  transition: var(--st-transition);
  z-index: 2;
  position: relative;
}

.services .service-item .icon:before {
  display: none;
}

.services .service-item:hover .icon {
  background: var(--st-primary);
}

.services .service-item:hover .icon i {
  color: #fff;
}

.services .service-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--st-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--st-primary-light);
}

.services .service-item:hover h3 {
  border-color: var(--st-accent);
}

.services .service-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--st-gray);
}

/* ---------- Pricing Section Premium ---------- */
.pricing {
  padding: 80px 0;
  background: var(--st-white);
}

.pricing .pricing-item {
  padding: 48px 36px;
  border-radius: var(--st-radius-lg);
  border: 2px solid #edf2f7;
  background: var(--st-white);
  transition: var(--st-transition);
}

.pricing .pricing-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--st-shadow-xl);
  border-color: var(--st-primary);
}

.pricing .pricing-item.featured {
  border-color: var(--st-accent);
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item.featured::before {
  content: "POPULAR";
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--st-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 40px;
  transform: rotate(45deg);
  z-index: 2;
}

html[lang="tr"] .pricing .pricing-item.featured::before {
  content: "POPÜLER";
}

.pricing h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--st-dark);
}

.pricing .icon {
  background: var(--st-gradient);
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.pricing .icon::before,
.pricing .icon::after {
  display: none;
}

.pricing .icon i {
  color: #fff;
  font-size: 30px;
}

.pricing ul li {
  font-size: 14px;
  padding: 8px 0;
}

.pricing .buy-btn {
  background: var(--st-primary);
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--st-transition);
}

.pricing .buy-btn:hover {
  background: var(--st-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247,148,29,0.35);
}

/* ---------- Contact Section Premium ---------- */
.contact {
  padding: 80px 0;
}

.contact .info-container {
  background: var(--st-gradient);
  border-radius: var(--st-radius-lg) 0 0 var(--st-radius-lg);
  padding: 40px 30px;
}

.contact .info-item {
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--st-transition);
}

.contact .info-item:hover {
  background: rgba(255,255,255,0.18);
  transform: translateX(4px);
}

.contact .info-item i {
  background: rgba(255,255,255,0.15);
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.contact .info-item h4 {
  font-size: 17px;
  font-weight: 700;
}

/* Contact form styling */
.contact .col-lg-8 {
  background: var(--st-white);
  border-radius: 0 var(--st-radius-lg) var(--st-radius-lg) 0;
  box-shadow: var(--st-shadow-lg);
  padding: 40px 36px !important;
}

.contact .form-control {
  border: 2px solid #edf2f7;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 14px;
  transition: var(--st-transition);
  margin: 4px 0 !important;
}

.contact .form-control:focus {
  border-color: var(--st-primary);
  box-shadow: 0 0 0 3px rgba(10,110,92,0.1);
}

.contact textarea.form-control {
  min-height: 120px;
}

.contact .btn-success {
  background: var(--st-accent) !important;
  border: none !important;
  padding: 14px 48px !important;
  border-radius: 50px !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--st-transition);
  box-shadow: 0 4px 15px rgba(247,148,29,0.3);
}

.contact .btn-success:hover {
  background: var(--st-accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247,148,29,0.4);
}

@media (max-width: 991px) {
  .contact .info-container {
    border-radius: var(--st-radius-lg) var(--st-radius-lg) 0 0;
  }
  .contact .col-lg-8 {
    border-radius: 0 0 var(--st-radius-lg) var(--st-radius-lg);
  }
}

/* ---------- FAQ Section Premium ---------- */
.faq {
  padding: 80px 0;
}

.faq .accordion-item {
  border: 2px solid #edf2f7;
  border-radius: var(--st-radius) !important;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--st-transition);
}

.faq .accordion-item:hover {
  border-color: rgba(10,110,92,0.2);
}

.faq .accordion-button {
  border-radius: var(--st-radius) !important;
  font-size: 16px;
  font-weight: 700;
  padding: 20px 24px;
  color: var(--st-dark);
}

.faq .accordion-button:not(.collapsed) {
  color: var(--st-primary);
  background: var(--st-primary-light);
  box-shadow: none;
}

.faq .accordion-body {
  padding: 8px 24px 24px 24px;
}

.faq .accordion-body p {
  line-height: 1.8;
  color: var(--st-gray);
}

.faq h3.accordion-header {
  margin: 0;
}

/* ---------- Footer Premium ---------- */
.footer {
  background: var(--st-dark);
  padding: 70px 0 30px 0;
}

.footer h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.7;
}

.footer .footer-links ul li {
  padding: 6px 0;
}

.footer .footer-links ul a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer .footer-links ul a:hover {
  color: var(--st-accent);
  padding-left: 4px;
}

.footer .social-links a {
  border: 2px solid rgba(255,255,255,0.15);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  transition: var(--st-transition);
}

.footer .social-links a:hover {
  background: var(--st-accent);
  border-color: var(--st-accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer .footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: var(--st-transition);
}

.footer .footer-contact a:hover {
  color: var(--st-accent);
}

/* Footer bottom */
.footer .container .text-center p {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

/* ---------- Scroll to Top Premium ---------- */
.scroll-top {
  background: var(--st-accent);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(247,148,29,0.35);
  transition: var(--st-transition);
}

.scroll-top:hover {
  background: var(--st-accent-hover);
  transform: translateY(-3px);
}

/* ---------- Modal Premium ---------- */
.modal-content {
  border-radius: var(--st-radius);
  border: none;
  box-shadow: var(--st-shadow-xl);
}

.modal-header {
  border-bottom: 1px solid #edf2f7;
  padding: 20px 24px;
}

.modal-footer {
  border-top: 1px solid #edf2f7;
  padding: 16px 24px;
}

.modal-footer .btn-secondary {
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 600;
}

/* ---------- Trust Badges (new section) ---------- */
.trust-badges {
  padding: 30px 0;
  background: var(--st-white);
}

.trust-badge-item {
  text-align: center;
  padding: 20px 16px;
}

.trust-badge-item i {
  font-size: 36px;
  color: var(--st-primary);
  margin-bottom: 12px;
  display: block;
}

.trust-badge-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--st-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.trust-badge-item p {
  font-size: 12px;
  color: var(--st-gray);
  margin: 0;
}

/* ---------- Sections bg alternate ---------- */
.sections-bg {
  background-color: var(--st-gray-light);
}

/* ---------- Global Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero .col-lg-6.order-1 img {
  animation: float 6s ease-in-out infinite;
}

/* ---------- Enhanced Cards Hover ---------- */
.pricing-item, .service-item, .info-item, .accordion-item {
  will-change: transform;
}

/* ---------- Button Global Styles ---------- */
.btn-get-started,
.buy-btn,
.contact .btn-success {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* ---------- Responsive Fine-tuning ---------- */
@media (max-width: 576px) {
  .section-header h2 {
    font-size: 26px;
  }
  .section-header p {
    font-size: 14px;
  }
  .services .service-item {
    padding: 28px 20px;
  }
  .pricing .pricing-item {
    padding: 36px 24px;
  }
  .contact .col-lg-8 {
    padding: 24px 20px !important;
  }
  .footer {
    padding: 50px 0 24px 0;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 50px 0;
  }
  .services, .pricing, .faq, .contact {
    padding: 50px 0;
  }
  .hero .icon-box {
    padding: 28px 20px;
  }
}

/* ---------- Captcha section in contact ---------- */
.contact small {
  font-weight: 600;
  color: var(--st-dark) !important;
  font-size: 13px;
}

.contact .btn-light {
  border-radius: 12px;
  border: 2px solid #edf2f7;
  transition: var(--st-transition);
}

.contact .btn-light:hover {
  border-color: var(--st-primary);
}

/* ---------- Preloader override ---------- */
#preloader:before {
  border-color: var(--st-accent) transparent var(--st-accent) transparent;
}

/* ---------- Floating Audio Toggle ---------- */
#audioToggle {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--st-primary);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
  opacity: 0;
  transform: scale(0);
}

#audioToggle.visible {
  opacity: 1;
  transform: scale(1);
}

#audioToggle:hover {
  background: var(--st-accent);
  transform: scale(1.1);
}

#audioToggle.visible:hover {
  transform: scale(1.1);
}

#audioToggle .bi-volume-mute-fill {
  font-size: 22px;
}

#audioToggle .bi-volume-up-fill {
  font-size: 22px;
}
