/* custom.css - overrides for Getso SEO site */

/* ===== LOGO SIZE ===== */
footer .footer-brand img {
  max-width: 110px;
}

/* ===== BORDER RADIUS OVERRIDES (keep low) ===== */
.btn {
  border-radius: 4px !important;
}

.chat-trigger-btn {
  border-radius: 6px !important;
}

.chat-widget {
  border-radius: 6px !important;
}

.article-card {
  border-radius: 5px;
}

.cta-banner {
  border-radius: 0;
}

/* ===== CATEGORY OVERLAY BADGE ===== */
/* A small article-count badge overlaid on the bottom-right of a category image */
.article-card-image {
  position: relative;
  overflow: hidden;
}

.cat-overlay-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(34, 38, 95, 0.82);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 3px;
  pointer-events: none;
}

/* ===== IMPROVED CTA BADGE ===== */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 161, 127, 0.18);
  border: 1px solid rgba(201, 161, 127, 0.35);
  color: var(--c-gold-l);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

/* ===== CATEGORIES PAGE HERO IMPROVEMENTS ===== */
.category-hero {
  padding: 5rem 0 20px;
  position: relative;
  padding-top: 300px;
}

.category-hero .section-label {
  display: inline-block;
  margin-bottom: .75rem;
}

.category-hero h1 {
  color: var(--c-white);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.category-hero .lead {
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ===== SECTION HEADER ===== */
.section-header .section-label {
  display: inline-block;
  margin-bottom: .5rem;
}

.section-header h2 {
  color: var(--c-navy);
  margin-bottom: .5rem;
}

/* ===== CAT GRID CARD IMAGE HEIGHT ===== */
.cat-grid-card .article-card-image img {
  height: 220px;
  object-fit: cover;
}

.cat-browse-card .article-card-image img {
  height: 180px;
  object-fit: cover;
}

/* ===== IMPROVED ARTICLE CARD ===== */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 286px !important;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(34, 38, 95, .14);
}

.article-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.03);
}

.article-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== IMPROVED CTA SECTION ===== */
.cta-banner {
  padding: 27px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 161, 127, .1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--c-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-inner>p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-contact-strip {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  padding: 8px 24px;
  display: inline-flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .75);
}

/* ===== FOOTER QUICK LINKS UPDATE ===== */
.footer-links a[href*="articles"] {
  /* highlight the articles link */
}

/* ===== FOOTER BOTTOM LINKS FIX ===== */
.footer-bottom-links {
  padding-right: 140px;
}

@media (max-width: 480px) {
  .footer-bottom-links {
    padding-right: 120px;
  }
}

/* ===== BUTTON HOVER IMPROVEMENTS ===== */
.btn-gold {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  padding: 1px 20px 3px;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) rotate(35deg) translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.btn-gold:hover {
  background: var(--c-gold-d) !important;
  color: #fff !important;
  transform: translateY(-3px) scale(1.02) !important;
  /* box-shadow: 0 10px 20px rgba(201, 161, 127, 0.4) !important; */
}

.btn-gold:hover::after {
  transform: translate(-50%, -50%) rotate(35deg) translateY(100%);
}

.btn-gold svg {
  transition: transform 0.3s ease;
}

.btn-gold:hover svg {
  transform: scale(1.1) rotate(-5deg);
}

/* ===== CHAT TRIGGER PULSE ANIMATION ===== */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===== BLINK TEXT ANIMATION ===== */
@keyframes blink-opacity {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.blink-text {
  animation: blink-opacity 1.5s ease-in-out infinite;
}

/* ===== FONT FAMILY RESTORATION ===== */
body {
  font-family: var(--font-sans) !important;
}

/* ===== NAVIGATION BREAKPOINT OVERRIDES (1150px) ===== */
@media (max-width: 1149px) {
  .site-nav {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 1150px) {
  .site-nav {
    display: flex !important;
  }

  .hamburger {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ===== MOBILE MENU BUTTONS ===== */
.mobile-btn-phone-1 {
  background-color: #221703 !important;
  color: #fff !important;
  border: 1px solid #221703 !important;
  transition: all 0.3s ease;
}

.mobile-btn-phone-1:hover {
  background-color: #1a1202 !important;
  border-color: #1a1202 !important;
}

.mobile-btn-phone-2 {
  background-color: transparent !important;
  color: #ef8616 !important;
  border: 1px solid #ef8616 !important;
  transition: all 0.3s ease;
}

.mobile-btn-phone-2:hover {
  background-color: #ef8616 !important;
  color: #fff !important;
}

.mobile-btn-whatsapp {
  background-color: #25D366 !important;
  color: #fff !important;
  border: 1px solid #25D366 !important;
  transition: all 0.3s ease;
}

.mobile-btn-whatsapp:hover {
  background-color: #128C7E !important;
  border-color: #128C7E !important;
}

.mobile-menu-contact-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}

.mobile-menu-contact-title {
  font-size: .875rem;
  color: #495057;
  margin-bottom: 1rem;
  font-weight: 600;
}

.mobile-menu-address {
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

.mobile-menu-address strong {
  color: #495057;
}

/* ===== CHAT TRIGGER & CALL BUTTON HOVER ===== */
.whatsapp-container:hover {
  background-color: #ef8616 !important;
}

.whatsapp-container:hover .whatsapp-text {
  color: #ffffff !important;
}

.whatsapp-container:hover svg {
  color: #ffffff !important;
}

.chat-btn-call:hover {
  background-color: #ef8616 !important;
  color: #ffffff !important;
}

.chat-btn-call:hover svg {
  color: #ffffff !important;
}