/* =========================================
   CTA BUTTONS - Samlet styling for hele sitet
   ========================================= */

/* Generic CTA Button Base Styles */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #d2ab2b 0%, #b89a1f 50%, #d2ab2b 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow:
    0 8px 32px rgba(210, 171, 43, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

.cta-btn *,
.cta-btn span,
.cta-btn div {
  position: relative;
  z-index: 2;
  color: #ffffff;
  background-color: transparent;
  background: none;
  border: none;
  fill: #ffffff;
  stroke: #ffffff;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 15px 40px rgba(210, 171, 43, 0.6),
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #b89a1f 0%, #d2ab2b 50%, #b89a1f 100%);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 8px 20px rgba(210, 171, 43, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

/* =========================================
   SEKTION 1: HERO CTA BUTTONS
   ========================================= */

/* ---------- 1A. HOME HERO (.hero-cta) ----------
   Bruges på: front-page.php (.home-hero)
   Square button like header, guld farve
   ========================================= */
.hero-cta {
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d2ab2b;
  border: 2px solid #d2ab2b;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: linear-gradient(135deg, #b89a1f 0%, #d2ab2b 50%, #b89a1f 100%);
  color: #ffffff;
  box-shadow:
    0 15px 40px rgba(210, 171, 43, 0.6),
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.05);
}

/* ---------- 1B. SERVICES HERO (.hero-cta) ----------
   Bruges på: page-bilservice.php (.services-hero)
   Reference: assets/css/components/hero.css (SERVICES sektion)
   ========================================= */
.services-hero .hero-cta {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 28px !important;
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    #d2ab2b 0%,
    #b89a1f 50%,
    #d2ab2b 100%
  ) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  box-shadow:
    0 8px 32px rgba(210, 171, 43, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  cursor: pointer !important;
}

.services-hero .hero-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 15px 40px rgba(210, 171, 43, 0.6),
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(
    135deg,
    #b89a1f 0%,
    #d2ab2b 50%,
    #b89a1f 100%
  ) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ---------- 1C. SERVICEPAGE HERO (.hero-cta) ----------
   Bruges på: page-serviceeftersyn.php, page-bilreparationer.php osv (.servicepage-hero)
   Reference: assets/css/components/hero.css (SERVICEPAGE sektion)
   ========================================= */
.servicepage-hero .hero-cta {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 28px !important;
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    #d2ab2b 0%,
    #b89a1f 50%,
    #d2ab2b 100%
  ) !important;
  border: 2px solid #d2ab2b !important;
  text-decoration: none !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  box-shadow:
    0 8px 32px rgba(210, 171, 43, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  cursor: pointer !important;
}

.servicepage-hero .hero-cta:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow:
    0 15px 40px rgba(210, 171, 43, 0.6),
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(
    135deg,
    #b89a1f 0%,
    #d2ab2b 50%,
    #b89a1f 100%
  ) !important;
  border-color: #d2ab2b !important;
}

/* ---------- 1D. ABOUT HERO (.hero-cta) ----------
   Bruges på: page-om-os.php (.about-hero)
   Reference: assets/css/components/hero.css (OM OS sektion)
   ========================================= */
.about-hero .hero-cta {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 28px !important;
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    #d2ab2b 0%,
    #b89a1f 50%,
    #d2ab2b 100%
  ) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  box-shadow:
    0 8px 32px rgba(210, 171, 43, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  cursor: pointer !important;
}

.about-hero .hero-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 15px 40px rgba(210, 171, 43, 0.6),
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(
    135deg,
    #b89a1f 0%,
    #d2ab2b 50%,
    #b89a1f 100%
  ) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* =========================================
   SEKTION 2: CONTENT CTA BUTTONS
   ========================================= */

/* ---------- 2B. BOOKING BUTTON (.booking-button) ----------
   Bruges på: Booking sektioner, Call-to-action områder
   Reference: front-page.php, page-kontakt.php
   ========================================= */
.booking-button {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 8px;
  background: #b00017;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  border: 1px solid #8b0012;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.booking-button:hover {
  background: #8b0012;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* ---------- 2C. SERVICE CTA LINK (.services-cta) ----------
   Bruges på: Service cards på forsiden
   Reference: front-page.php (.services-box)
   ========================================= */
.services-cta {
  display: inline-block;
  margin-top: 8px;
  color: #b00017;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 0, 23, 0.3);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.services-cta:focus {
  outline: 3px solid rgba(176, 0, 23, 0.4);
  outline-offset: 4px;
}
