/*
 Theme Name:   CallShaper Child
 Theme URI:    https://yourwebsite.com/callshaper-child/
 Description:  Child theme for the Hello Elementor theme, designed for CallShaper.
 Author:       Your Name or Company Name
 Author URI:   https://yourwebsite.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  callshaper-child
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# General Styles (Handled by Elementor Theme Styles mostly)
# Header Styles (If customizing beyond Elementor)
# Footer Styles (If customizing beyond Elementor)
# Custom Elementor Widget Styles
# etc.
--------------------------------------------------------------*/

/* Add your custom CSS below this line */

/*
 CallShaper Child – Corporate polish
*/

/* CSS variables as fallback */
:root {
  --brand: #e84f37;
  --ink: #1b1d1d;
  --muted: #6b7280;
  --radius-xl: 14px;
}

/* Base type */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Helvetica, Arial, sans-serif;
  color: var(--ink);
}

/* Links */
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  opacity: 0.9;
}

/* Buttons quick polish (non-TW fallback) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
}
.btn--brand {
  background: var(--brand);
  color: #fff;
}
.btn--light {
  background: #fff;
  color: var(--ink);
}

/* Header menu active item */
#primary-menu .current-menu-item > a,
#primary-menu .current_page_item > a {
  color: var(--ink);
  position: relative;
}
#primary-menu .current-menu-item > a::after,
#primary-menu .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--brand);
}

/* Cards */
.card {
  background: #f9fafb;
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
}

/* Footer */
#site-footer a {
  color: #d1d5db;
}
#site-footer a:hover {
  color: #fff;
}

/* Elementor tidy-ups */
.elementor-widget-heading .elementor-heading-title {
  letter-spacing: -0.01em;
}
.elementor-button {
  border-radius: var(--radius-xl);
}
.elementor a.elementor-button-link {
  text-decoration: none;
}

/* ===== Modern Testimonials ===== */
.ts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  color: #1b1d1d;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ts-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}

/* Dots with progress */
.ts-dot {
  position: relative;
  width: 28px;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}
.ts-dot__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #e84f37;
  transition: width 0.15s linear;
}
.ts-dot--active {
  background: #ffd7d1;
}
.ts-dot--active .ts-dot__bar {
  background: #e84f37;
}

/* ===== Logo Marquee ===== */
.logo-marquee {
  position: relative;
  overflow: hidden;
  /*mask-image: linear-gradient(*/
  /*  to right,*/
  /*  transparent,*/
  /*  #000 8%,*/
  /*  #000 92%,*/
  /*  transparent*/
  /*);*/
}
.logo-marquee__track {
  display: flex;
  gap: 56px;
  align-items: center;
  justify-content: center;
  /*animation: marquee 24s linear infinite;*/
}
.logo-marquee__item {
  flex: 0 0 auto;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-marquee__item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  /*filter: grayscale(100%);*/
}
.logo-marquee__item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.logo-marquee__item img:hover {
  filter: none;
  mask-image: none;
}
/*.logo-marquee:hover .logo-marquee__track {*/
/*  animation-play-state: paused;*/
/*}*/

/*@keyframes marquee {*/
/*  from {*/
/*    transform: translateX(0);*/
/*  }*/
/*  to {*/
/*    transform: translateX(-50%);*/
  } /* karena kita duplikasi konten */
/*}*/

/* Responsive tweaks */
/*@media (min-width: 1024px) {*/
/*  .logo-marquee__track {*/
/*    gap: 72px;*/
/*  }*/
/*  .logo-marquee__item img {*/
/*    height: 42px;*/
/*  }*/
/*}*/

/* Link states subtle untuk area SEO footer */
.section-seo a {
  text-underline-offset: 2px;
}
.section-seo a:hover {
  text-decoration: underline;
}

/* Card CTA */
.section-seo .card-cta {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.section-seo .card-cta:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

/* Marquee refine */
.logo-marquee__item a {
  display: inline-flex;
  align-items: center;
}
.logo-marquee__item img {
  transform: translateZ(0);
}

/* Corporate SEO footer */
footer .brand-links a {
  text-decoration: none;
  font-weight: 600;
}
footer .brand-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.right-list {
  direction: rtl;
}
