/*
 Theme Name:   Automotive Centre Child
 Theme URI:    https://moparclubeparana.com.br/
 Description:  Tema filho customizado para o Mopar Clube Paraná - Identidade Visual com detalhes em Azul Tiffany.
 Author:       Mopar Clube Paraná
 Author URI:   https://moparclubeparana.com.br/
 Template:     automotive-centre
 Version:      1.3.0
 Text Domain:  automotive-centre-child
*/

/* ==========================================================================
   VARIÁVEIS DE COR: AZUL TIFFANY (#0ABAB5)
   ========================================================================== */
:root {
  --mopar-tiffany: #0ABAB5;
  --mopar-tiffany-hover: #089e9a;
  --mopar-tiffany-light: #81D8D0;
  --mopar-tiffany-rgb: 10, 186, 181;
  --mopar-tiffany-shadow: rgba(10, 186, 181, 0.25);
  --mopar-dark-card: #1c1f24;
  --mopar-darker-bg: #121417;
  --mopar-border-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   LINKS E TEXTOS GERAIS
   ========================================================================== */
a {
  color: var(--mopar-tiffany);
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--mopar-tiffany-hover);
}

.entry-content a,
.sidebar .textwidget p a,
.textwidget p a,
#comments p a,
.slider .inner_carousel p a,
.entry-summary a {
  color: var(--mopar-tiffany) !important;
}

/* ==========================================================================
   TOPO / CABEÇALHO / CONTATOS
   ========================================================================== */
.info-box i,
.top-header i,
.header-box i,
.contact-details i {
  color: var(--mopar-tiffany) !important;
}

.info-box p a:hover {
  color: var(--mopar-tiffany) !important;
}

/* Logotipo Redonda no Cabeçalho */
.mopar-header-round-logo {
  max-height: 75px !important;
  width: auto !important;
  border-radius: 50% !important;
  border: 2px solid var(--mopar-tiffany) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px var(--mopar-tiffany-shadow) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.mopar-header-round-logo:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 18px var(--mopar-tiffany-shadow) !important;
}

/* Correção Definitiva do Botão "NOSSA LOJA" */
.top-btn {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 15px 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.top-btn a {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background: transparent !important;
  border: 2px solid var(--mopar-tiffany) !important;
  border-radius: 30px !important;
  padding: 10px 24px !important;
  line-height: 1.2 !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.top-btn a:hover {
  background: var(--mopar-tiffany) !important;
  color: #ffffff !important;
  border-color: var(--mopar-tiffany) !important;
  box-shadow: 0 4px 16px var(--mopar-tiffany-shadow) !important;
  transform: translateY(-2px) !important;
}

.header-fixed {
  border-bottom: 2px solid var(--mopar-tiffany) !important;
}

/* ==========================================================================
   NAVEGAÇÃO E MENUS
   ========================================================================== */
.main-navigation a:hover,
.main-navigation a:focus {
  border-bottom: solid 2px var(--mopar-tiffany) !important;
  color: var(--mopar-tiffany) !important;
}

.main-navigation ul.sub-menu {
  border-top: 4px solid var(--mopar-tiffany) !important;
  border-bottom: 4px solid var(--mopar-tiffany) !important;
}

.main-navigation ul.sub-menu a:hover,
.main-navigation ul.sub-menu a:focus {
  color: var(--mopar-tiffany) !important;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
  color: var(--mopar-tiffany) !important;
  border-bottom: solid 2px var(--mopar-tiffany) !important;
}

.search-box i,
.search_icon i {
  color: var(--mopar-tiffany);
}

/* ==========================================================================
   SLIDER E BANNERS
   ========================================================================== */
#slider .carousel-control-prev-icon:hover, 
#slider .carousel-control-next-icon:hover {
  background: var(--mopar-tiffany) !important;
  border-color: var(--mopar-tiffany) !important;
}

#slider .inner_carousel h1 a:hover {
  color: var(--mopar-tiffany) !important;
}

#slider .carousel-caption span::before,
#slider .carousel-caption span::after,
.carousel-caption span.small-title::before,
.carousel-caption span.small-title::after {
  background-color: var(--mopar-tiffany) !important;
}

/* ==========================================================================
   TÍTULOS, BORDAS DE SEÇÃO E LINHAS DECORATIVAS
   ========================================================================== */
#about-section hr,
.section-title hr,
.about-section hr {
  border-top: solid 3px var(--mopar-tiffany) !important;
}

.section-title::before,
.section-title::after,
.title-head::before,
.title-head::after,
.title-border {
  background-color: var(--mopar-tiffany) !important;
  border-color: var(--mopar-tiffany) !important;
}

/* ==========================================================================
   BOTÕES E CHAMADAS DE AÇÃO (CTA)
   ========================================================================== */
.post-main-box .more-btn a,
.grid-post-main-box .more-btn a,
.about-btn a,
#about-section a.button,
a.custom_read_more,
#footer .custom-about-us a.custom_read_more,
#sidebar .custom-about-us a.custom_read_more,
.more-btn a {
  background: var(--mopar-tiffany) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.post-main-box .more-btn a:hover,
.grid-post-main-box .more-btn a:hover,
.about-btn a:hover,
#about-section a.button:hover,
a.custom_read_more:hover,
#footer .custom-about-us a.custom_read_more:hover,
#sidebar .custom-about-us a.custom_read_more:hover,
.more-btn a:hover {
  background: var(--mopar-tiffany-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px var(--mopar-tiffany-shadow) !important;
}

#comments input[type="submit"],
input[type="submit"],
button[type="submit"],
.wp-block-search__button {
  background: var(--mopar-tiffany) !important;
  color: #ffffff !important;
  border: none !important;
}

#comments input[type="submit"]:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.wp-block-search__button:hover {
  background: var(--mopar-tiffany-hover) !important;
}

#comments a.comment-reply-link {
  background: var(--mopar-tiffany) !important;
  color: #ffffff !important;
}

#comments a.comment-reply-link:hover {
  background: var(--mopar-tiffany-hover) !important;
}

/* ==========================================================================
   SEÇÕES CUSTOMIZADAS: CABEÇALHOS E LINHAS
   ========================================================================== */
.mopar-section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mopar-tiffany);
  background: rgba(10, 186, 181, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.mopar-section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mopar-tiffany-line {
  width: 60px;
  height: 3px;
  background: var(--mopar-tiffany);
  margin: 0 auto 15px auto;
  border-radius: 3px;
}

.mopar-section-subtitle {
  font-size: 15px;
  color: #b1b6b9;
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   CARROSSEL DA LOJA (PRODUTOS DO CLUBE)
   ========================================================================== */
.mopar-store-section {
  background: #141619;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mopar-product-card {
  position: relative;
  background: var(--mopar-dark-card);
  border: 1px solid var(--mopar-border-color);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mopar-product-card:hover {
  transform: translateY(-6px);
  border-color: var(--mopar-tiffany);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px var(--mopar-tiffany-shadow);
}

.mopar-product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--mopar-tiffany);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
}

.mopar-product-icon-wrap {
  margin: 20px 0 15px 0;
  display: flex;
  justify-content: center;
}

.mopar-product-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10, 186, 181, 0.2), rgba(20, 22, 25, 0.9));
  border: 2px solid var(--mopar-tiffany);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--mopar-tiffany);
  transition: all 0.3s ease;
}

.mopar-product-card:hover .mopar-product-avatar {
  transform: scale(1.08);
  background: var(--mopar-tiffany);
  color: #ffffff;
}

.mopar-product-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888888;
  display: block;
  margin-bottom: 6px;
}

.mopar-product-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mopar-product-pricing {
  margin-bottom: 16px;
}

.mopar-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--mopar-tiffany);
  margin-right: 8px;
}

.mopar-old-price {
  font-size: 13px;
  color: #777777;
  text-decoration: line-through;
}

.mopar-btn-tiffany {
  display: inline-block;
  background: var(--mopar-tiffany);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 1px solid var(--mopar-tiffany);
}

.mopar-btn-tiffany:hover {
  background: var(--mopar-tiffany-hover);
  border-color: var(--mopar-tiffany-hover);
  box-shadow: 0 4px 12px var(--mopar-tiffany-shadow);
  transform: translateY(-2px);
}

.mopar-btn-outline-tiffany {
  display: inline-block;
  background: transparent;
  color: var(--mopar-tiffany) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: 30px;
  border: 2px solid var(--mopar-tiffany);
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.mopar-btn-outline-tiffany:hover {
  background: var(--mopar-tiffany);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--mopar-tiffany-shadow);
  transform: translateY(-2px);
}

/* Indicadores e Controles do Carrossel */
.mopar-carousel-indicators {
  position: relative;
  margin-top: 15px;
  margin-bottom: 0;
}

.mopar-carousel-indicators button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: #555555 !important;
  opacity: 0.5 !important;
  margin: 0 5px !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.mopar-carousel-indicators button.active {
  background-color: var(--mopar-tiffany) !important;
  opacity: 1 !important;
  transform: scale(1.3);
}

.mopar-carousel-control {
  width: 45px;
  height: 45px;
  background: rgba(20, 22, 25, 0.8) !important;
  border: 1px solid var(--mopar-tiffany) !important;
  border-radius: 50% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 0.8 !important;
  transition: all 0.3s ease !important;
}

.mopar-carousel-control:hover {
  background: var(--mopar-tiffany) !important;
  opacity: 1 !important;
}

.mopar-control-icon {
  font-size: 16px;
  color: var(--mopar-tiffany);
}

.mopar-carousel-control:hover .mopar-control-icon {
  color: #ffffff;
}

/* ==========================================================================
   SEÇÃO DO INSTAGRAM (@MOPARCLUBEPARANA)
   ========================================================================== */
.mopar-instagram-section {
  background: #0d0e10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mopar-insta-card {
  display: block;
  text-decoration: none !important;
  background: var(--mopar-dark-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--mopar-border-color);
  transition: all 0.35s ease;
}

.mopar-insta-card:hover {
  transform: translateY(-5px);
  border-color: var(--mopar-tiffany);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.mopar-insta-thumb {
  position: relative;
  width: 100%;
  padding-top: 85%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.mopar-insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 186, 181, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  color: #ffffff;
}

.mopar-insta-card:hover .mopar-insta-overlay {
  opacity: 1;
}

.mopar-insta-glyph {
  font-size: 32px;
  margin-top: 8px;
}

.mopar-insta-meta {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  gap: 14px;
}

.mopar-insta-caption {
  padding: 14px 16px;
}

.mopar-insta-caption p {
  font-size: 13px;
  color: #dddddd;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   SEÇÃO METAS & OBJETIVOS
   ========================================================================== */
.mopar-goals-section {
  background: #111316;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mopar-goals-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #cfd4d8;
  max-width: 820px;
  margin: 0 auto;
}

.mopar-goal-card {
  background: var(--mopar-dark-card);
  border: 1px solid var(--mopar-border-color);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.mopar-goal-card:hover {
  transform: translateY(-6px);
  border-color: var(--mopar-tiffany);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px var(--mopar-tiffany-shadow);
}

.mopar-goal-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 186, 181, 0.15), rgba(20, 22, 25, 0.9));
  border: 1px solid var(--mopar-tiffany);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--mopar-tiffany);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.mopar-goal-card:hover .mopar-goal-icon-wrap {
  background: var(--mopar-tiffany);
  color: #ffffff;
  transform: rotate(4deg) scale(1.05);
}

.mopar-goal-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.mopar-goal-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #a0a6ab;
  margin: 0;
}

/* ==========================================================================
   PÁGINA DE SÓCIOS (GALERIA)
   ========================================================================== */
.mopar-socios-page {
  background: var(--mopar-darker-bg);
  min-height: 60vh;
}

.mopar-socio-card {
  background: var(--mopar-dark-card);
  border: 1px solid var(--mopar-border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mopar-socio-card:hover {
  transform: translateY(-8px);
  border-color: var(--mopar-tiffany);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 22px var(--mopar-tiffany-shadow);
}

.mopar-socio-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}

.mopar-socio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.mopar-socio-card:hover .mopar-socio-img {
  transform: scale(1.06);
}

.mopar-socio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mopar-socio-club-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mopar-tiffany);
  background: rgba(10, 186, 181, 0.15);
  backdrop-filter: blur(4px);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(10, 186, 181, 0.3);
}

.mopar-socio-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mopar-socio-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.mopar-socio-badge {
  font-size: 12px;
  color: var(--mopar-tiffany);
  font-weight: 600;
}

/* ==========================================================================
   PÁGINA DE CONTATO (3 BOTÕES DE AÇÃO)
   ========================================================================== */
.mopar-contact-container {
  padding: 60px 0;
  text-align: center;
}

.mopar-contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.mopar-contact-btn-card {
  background: var(--mopar-dark-card);
  border: 1px solid var(--mopar-border-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-decoration: none !important;
  color: #ffffff !important;
  flex: 1 1 300px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mopar-contact-btn-card:hover {
  transform: translateY(-8px);
  border-color: var(--mopar-tiffany);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px var(--mopar-tiffany-shadow);
}

.mopar-contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10, 186, 181, 0.15), rgba(20, 22, 25, 0.9));
  border: 2px solid var(--mopar-tiffany);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--mopar-tiffany);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.mopar-contact-btn-card:hover .mopar-contact-icon {
  background: var(--mopar-tiffany);
  color: #ffffff;
  transform: scale(1.1);
}

.mopar-contact-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.mopar-contact-info {
  font-size: 15px;
  color: #b1b6b9;
  margin-bottom: 24px;
}

.mopar-contact-cta {
  display: inline-block;
  background: var(--mopar-tiffany);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s ease;
  width: 100%;
}

.mopar-contact-btn-card:hover .mopar-contact-cta {
  background: var(--mopar-tiffany-hover);
  box-shadow: 0 4px 14px var(--mopar-tiffany-shadow);
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
#footer {
  background: #101214;
}

#footer h3,
#footer .widget-title {
  color: var(--mopar-tiffany) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 15px !important;
  position: relative;
}

#footer h3:after,
#footer .widget-title:after {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  background: var(--mopar-tiffany);
  margin-top: 8px;
  border-radius: 2px;
  border: none !important;
}

#footer-2 {
  background: var(--mopar-tiffany) !important;
  padding: 16px 0 !important;
}

#footer-2 .copyright p {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

/* Crédito do Desenvolvedor no Rodapé */
.mopar-developer-credit {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  transition: color 0.3s ease !important;
}

.mopar-developer-credit:hover {
  color: #121417 !important;
  text-decoration: none !important;
}

#footer li a:hover,
#footer a:hover {
  color: var(--mopar-tiffany) !important;
}

#footer .search-form .search-field {
  background: #1c1f24;
  border: 1px solid #333333;
  color: #ffffff;
  border-radius: 20px;
  padding: 8px 16px;
}

#footer .search-form .search-field:focus {
  border-color: var(--mopar-tiffany);
  outline: none;
}

#footer .search-form .search-submit {
  background: var(--mopar-tiffany) !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  padding: 8px 20px !important;
  margin-top: 8px;
  font-weight: 700;
}

/* ==========================================================================
   BOTÃO VOLTAR AO TOPO (SCROLL TO TOP)
   ========================================================================== */
.scrollup,
.scrollup i,
#return-to-top,
.scroll-to-top {
  background: var(--mopar-tiffany) !important;
  color: #ffffff !important;
}

.scrollup:hover,
.scrollup i:hover,
#return-to-top:hover,
.scroll-to-top:hover {
  background: var(--mopar-tiffany-hover) !important;
}
