/*
 Theme Name:  Divi Child Theme
 Theme URL:    https://akoca-seo.co.uk
 Description:  Child Theme for Divi
 Author:       Akoca SEO
 Author URI:   https://akoca-seo.co.uk
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

/* ==============================
   Poppins Font Setup
   ============================== */

/* Regular - Body */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.woff2') format('woff2'),
       url('fonts/Poppins-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* SemiBold - Headings */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.woff2') format('woff2'),
       url('fonts/Poppins-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Global Typography
   ============================== */

/* Body Text */
body,
p,
ul,
ol,
li {
  font-family: 'Poppins', sans-serif!important;
  font-weight: 400;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif!important;
  font-weight: 600;
  line-height: 1.2;
}

/* ==============================
   Responsive Typography
   ============================== */

h1 { font-size: clamp(30px, 3vw, 54px); }
h2 { font-size: clamp(26px, 2.5vw, 46px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: clamp(20px, 1.8vw, 24px); }
h5 { font-size: clamp(18px, 1.6vw, 22px); }
h6 { font-size: clamp(16px, 1.4vw, 18px); }

body,
p,
ul,
ol {
  font-size: clamp(14px, 1.2vw, 16px);
}


/*======================== GLOBAL BUTTON STYLES ===========================*/
:root{
  /* Replace these with your real brand hex values */
  --robin-green: #00A88F;
  --robin-white: #ffffff;

  /* Icon you provided */
  --robin-icon: url("https://robin.akoca-seo.co.uk/wp-content/uploads/2026/02/Red-ROBIN.png");
}

/* Button container */
.robin-hero-ctas{
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start; /* default = left */
}

/* Base button */
.robin-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  border: 2px solid transparent;

  padding: 12px 18px;
  min-height: 44px;

  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;

  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

/* ==============================
   Alignment Utilities
   Add to the container:
   robin-align-left
   robin-align-center
   robin-align-right
   ============================== */

.robin-align-left{
  justify-content: flex-start;
}

.robin-align-center{
  justify-content: center;
}

.robin-align-right{
  justify-content: flex-end;
}

/* Label */
.robin-btn__label{
  position: relative;
  z-index: 2;

  /* Makes room so the icon can appear at the left of the text */
  padding-left: 18px;
}

/* The hover icon (hidden by default) */
.robin-btn::before{
  content: "";
  position: absolute;

  /* Position icon to sit at the top-left of the label area */
  left: 14px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);

  width: 16px;
  height: 16px;

  background-image: var(--robin-icon);
  background-size: contain;
  background-repeat: no-repeat;

  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

/* Show icon on hover for BOTH buttons */
.robin-btn:hover::before,
.robin-btn:focus-visible::before{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Primary button (left) */
.robin-btn--primary{
  background: var(--robin-green);
  color: var(--robin-white);
  border-color: var(--robin-green);
}

/* Primary hover: white background + green border */
.robin-btn--primary:hover,
.robin-btn--primary:focus-visible{
  background: var(--robin-white);
  color: var(--robin-green);
  border-color: var(--robin-green);
}

/* Secondary button (right) */
.robin-btn--secondary{
  background: var(--robin-white);
  color: var(--robin-green);
  border-color: var(--robin-green);
}

/* Secondary hover: no change (icon still appears) */
.robin-btn--secondary:hover,
.robin-btn--secondary:focus-visible{
  background: var(--robin-white);
  color: var(--robin-green);
  border-color: var(--robin-green);
}

/* Accessible focus ring without changing design much */
.robin-btn:focus-visible{
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 2px;
}

/* Optional: tone down motion for those who prefer it */
@media (prefers-reduced-motion: reduce){
  .robin-btn,
  .robin-btn::before{
    transition: none;
  }
}


/* ================ FORM STYLES =================*/
/* ===========================
   FLUENT FORMS: GLOBAL STYLES (FIELDS + SUBMIT BUTTON)
   Applies to ALL Fluent Forms across the site (FF1, FF3, etc.)
   Drop-in replacement for your current Fluent Forms CSS
   =========================== */

:root{
  --robin-green: #00A88F;
  --robin-white: #ffffff;
  --robin-icon: url("https://robin.akoca-seo.co.uk/wp-content/uploads/2026/02/Red-ROBIN.png");

  /* Field styling tokens */
  --ff-field-bg: #f6f7f9;
  --ff-field-border: #e4e8ee;
  --ff-field-border-focus: var(--robin-green);
  --ff-field-radius: 10px;
  --ff-field-text: #1f2937;
  --ff-field-placeholder: #8a97a8;
  --ff-focus-ring: rgba(0,168,143,0.18);
}

/* ---------------------------
   FORM CONTAINER NORMALISATION
   --------------------------- */
.fluentform,
.fluentform_wrapper{
  --ff-local-radius: var(--ff-field-radius);
}

/* Make spacing consistent across different form templates */
.fluentform .ff-el-group,
.fluentform_wrapper .ff-el-group{
  margin-bottom: 18px;
}

/* Labels: consistent weight and spacing */
.fluentform .ff-el-input--label label,
.fluentform_wrapper .ff-el-input--label label{
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---------------------------
   FIELD STYLES (INPUTS, SELECTS, TEXTAREAS)
   --------------------------- */

/* Target Fluent Forms controls reliably */
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="url"],
.fluentform input[type="number"],
.fluentform input[type="password"],
.fluentform input[type="search"],
.fluentform select,
.fluentform textarea,
.fluentform .ff-el-form-control,
.fluentform_wrapper input[type="text"],
.fluentform_wrapper input[type="email"],
.fluentform_wrapper input[type="tel"],
.fluentform_wrapper input[type="url"],
.fluentform_wrapper input[type="number"],
.fluentform_wrapper input[type="password"],
.fluentform_wrapper input[type="search"],
.fluentform_wrapper select,
.fluentform_wrapper textarea,
.fluentform_wrapper .ff-el-form-control{
  background: var(--ff-field-bg) !important;
  border: 1px solid var(--ff-field-border) !important;
  border-radius: var(--ff-local-radius) !important;

  color: var(--ff-field-text) !important;
  box-shadow: none !important;

  padding: 14px 16px !important;
  min-height: 48px;

  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

/* Textarea sizing */
.fluentform textarea,
.fluentform_wrapper textarea{
  min-height: 160px;
  resize: vertical;
}

/* Placeholder colour */
.fluentform ::placeholder,
.fluentform_wrapper ::placeholder{
  color: var(--ff-field-placeholder) !important;
  opacity: 1;
}

/* Focus behaviour consistent everywhere */
.fluentform input:focus,
.fluentform select:focus,
.fluentform textarea:focus,
.fluentform .ff-el-form-control:focus,
.fluentform_wrapper input:focus,
.fluentform_wrapper select:focus,
.fluentform_wrapper textarea:focus,
.fluentform_wrapper .ff-el-form-control:focus{
  outline: none !important;
  border-color: var(--ff-field-border-focus) !important;
  box-shadow: 0 0 0 3px var(--ff-focus-ring) !important;
  background: #ffffff !important;
}

/* Some Fluent Forms themes add their own wrapper shadows on focus */
.fluentform .ff-el-group:focus-within,
.fluentform_wrapper .ff-el-group:focus-within{
  box-shadow: none !important;
}

/* ---------------------------
   PHONE FIELD (intl-tel-input) NORMALISATION
   --------------------------- */
/* Ensures the tel input matches other fields even with flags */
.fluentform .iti input,
.fluentform_wrapper .iti input{
  width: 100% !important;
  padding-left: 52px !important; /* room for flag dropdown */
}

/* Keep the flag dropdown from visually breaking the radius */
.fluentform .iti__flag-container,
.fluentform_wrapper .iti__flag-container{
  border-top-left-radius: var(--ff-local-radius);
  border-bottom-left-radius: var(--ff-local-radius);
}

/* ---------------------------
   CHECKBOXES / RADIOS (light touch)
   --------------------------- */
.fluentform input[type="checkbox"],
.fluentform input[type="radio"],
.fluentform_wrapper input[type="checkbox"],
.fluentform_wrapper input[type="radio"]{
  transform: translateY(1px);
}

/* ---------------------------
   SUBMIT BUTTON (your working version, hardened)
   --------------------------- */

/* Wrapper alignment */
.fluentform .ff_submit_btn_wrapper,
.fluentform_wrapper .ff_submit_btn_wrapper{
  text-align: center;
}

/* Hard override any remaining FF theme button styles */
.fluentform .ff-btn.ff-btn-submit,
.fluentform_wrapper .ff-btn.ff-btn-submit,
.fluentform_wrapper .ff-btn-submit{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  max-width: 100% !important;
  min-height: 52px !important;

  padding: 14px 18px !important;
  border-radius: 10px !important;

  background-color: var(--robin-green) !important;
  border: 2px solid var(--robin-green) !important;
  color: var(--robin-white) !important;

  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;

  box-shadow: none !important;
  outline: none !important;

  cursor: pointer !important;

  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease !important;
}

/* Larger hover icon (hidden by default) */
.fluentform .ff-btn.ff-btn-submit::before,
.fluentform_wrapper .ff-btn.ff-btn-submit::before,
.fluentform_wrapper .ff-btn-submit::before{
  content: "" !important;
  position: absolute !important;

  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(-6px) !important;

  width: 22px !important;
  height: 22px !important;

  background-image: var(--robin-icon) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;

  opacity: 0 !important;

  transition: opacity 200ms ease, transform 200ms ease !important;
}

/* Show icon on hover/focus */
.fluentform .ff-btn.ff-btn-submit:hover::before,
.fluentform .ff-btn.ff-btn-submit:focus-visible::before,
.fluentform_wrapper .ff-btn.ff-btn-submit:hover::before,
.fluentform_wrapper .ff-btn.ff-btn-submit:focus-visible::before,
.fluentform_wrapper .ff-btn-submit:hover::before,
.fluentform_wrapper .ff-btn-submit:focus-visible::before{
  opacity: 1 !important;
  transform: translateY(-50%) translateX(0) !important;
}

/* Hover state: invert */
.fluentform .ff-btn.ff-btn-submit:hover,
.fluentform .ff-btn.ff-btn-submit:focus-visible,
.fluentform_wrapper .ff-btn.ff-btn-submit:hover,
.fluentform_wrapper .ff-btn.ff-btn-submit:focus-visible,
.fluentform_wrapper .ff-btn-submit:hover,
.fluentform_wrapper .ff-btn-submit:focus-visible{
  background-color: var(--robin-white) !important;
  color: var(--robin-green) !important;
  border-color: var(--robin-green) !important;
}

/* Accessible focus ring */
.fluentform .ff-btn.ff-btn-submit:focus-visible,
.fluentform_wrapper .ff-btn.ff-btn-submit:focus-visible,
.fluentform_wrapper .ff-btn-submit:focus-visible{
  outline: 2px solid rgba(0,0,0,0.25) !important;
  outline-offset: 2px !important;
}

/* ---------------------------
   REDUCE MOTION
   --------------------------- */
@media (prefers-reduced-motion: reduce){
  .fluentform * ,
  .fluentform_wrapper *{
    transition: none !important;
  }
}


/* ====== BOOKING PLATFORM STYLES ====== */

/* pop up container match border */
.amelia-v2-booking.am-dialog-el.am-dialog-popup .el-dialog #amelia-container {
    
    border-radius: 25px;
}

/* round edges for gallery images */
/* Amelia popup gallery: make the image fill the frame, then round it */
.amelia-v2-booking #amelia-container .am-eli__image{
  border-radius: 10px;
  overflow: hidden;
}

/* Force the gallery slide background to behave like a proper cover image */
.amelia-v2-booking #amelia-container .am-gc__display{
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  /* This part makes the rounding actually visible */
  border-radius: 10px !important;
  overflow: hidden !important;
}

/*================= FOOTER STYLES ==================*/
/* Site Credit Styling */
.site-credit {
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center; /* <- Change this from center to flex-start */
    text-align: left;            /* <- Optional fallback for inner text */
}

.site-credit img {
    max-width: 20px!important;
    height: auto;
}

.site-credit a {
    color: #152a43;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.site-credit a:hover {
    color: #c93939;
	text-decoration: none !important;
}