/*
 Theme Name:   The Website Guy
 Theme URI:    https://www.thewebsiteguyni.co.uk
 Description:  The Website Guy
 Author:       Curtis
 Author URI:   https://www.thewebsiteguyni.co.uk
 Template:     blocksy
 Version:      1.0.0
 Text Domain:  the-website-guy
*/

/* =========================================================
   Global Variables
   ========================================================= */

:root {
  --twg-red: #ff5c5c;
  --twg-blue: #0276e5;
  --twg-blue-hover: #0276d6;
  --twg-transition: .18s ease;
}

/* =========================================================
   Global Polish
   ========================================================= */

html,
body {
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   Footer Credit ("Made with ♥")
   ========================================================= */

.ct-footer-website-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 14px 0;
  background: transparent !important;
  color: var(--theme-palette-color-5);
}

.ct-footer-website-credit .lbe-heart {
  margin: 0 .35em;
  color: var(--twg-red);
  display: inline-block;
  animation: lbx-heartbeat 1.6s infinite ease-in-out;
}

.ct-footer-website-credit a {
  color: var(--twg-blue) !important;
  font-weight: 800;
  text-decoration: none;
}

.ct-footer-website-credit a:hover,
.ct-footer-website-credit a:focus {
  color: var(--twg-blue-hover) !important;
}

@keyframes lbx-heartbeat {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.25);
  }

  35% {
    transform: scale(.95);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* =========================================================
   Hero Rotating Text
   ========================================================= */

.twg-rotator {
  display: inline-block;
  position: relative;
  color: var(--twg-blue);
  text-align: center;
}

.twg-rotator::after {
  content: "|";
  margin-left: 0px;
  animation: twgBlink .85s infinite;
  color: currentColor;
}

/* Mobile: Stackable Heading Rotator Font Size */
@media (max-width: 782px) {

  .stk-block-heading__text .twg-rotator,
  .stk-block-heading__text .twg-rotator * {
    font-size: 25px !important;
    line-height: 1.15 !important;
  }
}

.stk-block-heading__text .twg-rotator {
  display: block !important;
  margin-top: 6px;
}






@keyframes twgBlink {

  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

/* =========================================================
   Stackable Icons (Outline Only)
   ========================================================= */

.stk-block-icon svg,
.stk-block-icon svg * {
  stroke: var(--twg-blue) !important;
  fill: none !important;
}

/* =========================================================
   Fluent Forms - The Website Guy (Form #2 only)
   ========================================================= */

.fluentform_wrapper_2 {
  --ff-radius: 18px;
  --ff-border: rgba(0, 0, 0, 0.08);
  --ff-bg: rgba(255, 255, 255, 0.92);
  --ff-field-bg: #ffffff;
  --ff-text: #0f172a;
  --ff-muted: rgba(15, 23, 42, 0.65);
  --ff-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --ff-focus: rgba(2, 118, 229, 0.35);
}

/* Outer card */
.fluentform_wrapper_2 form.frm-fluent-form {
  background: var(--ff-bg);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow);
  padding: 34px 34px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Labels */
.fluentform_wrapper_2 .ff-el-input--label label {
  font-weight: 700;
  color: var(--ff-text);
  letter-spacing: 0.2px;
}

/* Required asterisk */
.fluentform_wrapper_2 .ff-el-is-required.asterisk-right label:after {
  color: var(--twg-red);
}

/* Input fields */
.fluentform_wrapper_2 .ff-el-form-control {
  background: var(--ff-field-bg) !important;
  border: 1px solid var(--ff-border) !important;
  border-radius: 14px !important;
  padding: 14px 14px !important;
  font-size: 16px !important;
  color: var(--ff-text) !important;
  box-shadow: none !important;
  transition: border-color var(--twg-transition), box-shadow var(--twg-transition), transform var(--twg-transition);
}

/* Placeholder */
.fluentform_wrapper_2 .ff-el-form-control::placeholder {
  color: rgba(15, 23, 42, 0.42);
}

/* Focus state */
.fluentform_wrapper_2 .ff-el-form-control:focus {
  border-color: var(--twg-blue) !important;
  box-shadow: 0 0 0 4px var(--ff-focus) !important;
  outline: none !important;
}

/* Textarea: slightly taller and nicer spacing */
.fluentform_wrapper_2 textarea.ff-el-form-control {
  min-height: 140px;
  resize: vertical;
}

/* Field spacing */
.fluentform_wrapper_2 .ff-el-group {
  margin-bottom: 18px;
}

/* Two-column name fields spacing */
.fluentform_wrapper_2 .ff-name-field-wrapper .ff-t-cell {
  padding-right: 12px;
}

.fluentform_wrapper_2 .ff-name-field-wrapper .ff-t-cell:last-child {
  padding-right: 0;
}

/* Submit button */
.fluentform_wrapper_2 .ff-btn.ff-btn-submit {
  background: var(--twg-blue) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: 5px !important;
  padding: 5px 28px !important;
  border: 0 !important;
  transition: transform var(--twg-transition), background var(--twg-transition), box-shadow var(--twg-transition);
  box-shadow: 0 12px 24px rgba(2, 118, 229, 0.26);
}

/* Submit hover */
.fluentform_wrapper_2 .ff-btn.ff-btn-submit:hover,
.fluentform_wrapper_2 .ff-btn.ff-btn-submit:focus {
  background: var(--twg-blue-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(2, 118, 229, 0.32);
}

/* Error messages */
.fluentform_wrapper_2 .ff-el-is-error .ff-el-form-control {
  border-color: rgba(255, 92, 92, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(255, 92, 92, 0.16) !important;
}

.fluentform_wrapper_2 .ff-message-errors,
.fluentform_wrapper_2 .error {
  color: var(--twg-red) !important;
  font-weight: 700;
}

/* Mobile improvements */
@media (max-width: 782px) {
  .fluentform_wrapper_2 form.frm-fluent-form {
    padding: 22px 18px 18px;
    border-radius: 16px;
  }

  .fluentform_wrapper_2 .ff-name-field-wrapper .ff-t-container {
    display: block;
  }

  .fluentform_wrapper_2 .ff-name-field-wrapper .ff-t-cell {
    padding-right: 0;
    margin-bottom: 14px;
  }

  .fluentform_wrapper_2 .ff-btn.ff-btn-submit {
    width: 100%;
    justify-content: center;
    display: inline-flex;
  }
}

/* Fluent success message */
.fluentform_wrapper_2 .ff-message-success {
  background: rgba(2, 118, 229, 0.08) !important;
  border: 1px solid rgba(2, 118, 229, 0.25) !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 16px;
  padding: 16px 18px;
}