/*
Theme Name: Fortacre.
Theme URI: https://fullsphere.co.uk
Author: FullSphere.
Author URI: https://fullsphere.co.uk
Description: A custom built theme
Version: 1.0.2
Requires PHP: 7.5
Text Domain: Fortacre
*/

:root {
  --burgundy: #3E101D;
  --beige: #F3E8D7;
}

* {
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
	margin: 0;
	padding: 0;
}

body {
    overflow-x: hidden;
}

svg {
    overflow: unset;
}

.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--burgundy);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: top;
  animation: expandBg 1s forwards cubic-bezier(0.65, 0.05, 0.05, 1);
}

.hero strong {
    color: var(--beige)!important;
    font-weight: 600!important;
    display: block;
    margin-bottom: 3px;
}

@keyframes expandBg {
  to { transform: scaleY(1); }
}

.fade-in {
    opacity: 0;
    animation: fadeInAnimation 2.8s forwards;
    animation-delay: 1s;
}

@keyframes fadeInAnimation {
    from { opacity: 0; }
    to { opacity: 0.7; }
}

.quick-fade-in {
    opacity: 0;
    animation: fadeInAnimation 1.5s forwards;
}

@keyframes fadeInAnimation {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container-fluid {
    max-width: 1750px;
}

.navbar-brand img {
    width: 160px;
}

footer {
    background: var(--burgundy);
    padding-top: 7em;
    padding-bottom: 3.5em;
}

h1, h1 div, h2, h3, h4, h5, h6 {
    font-family: "Gloock", serif;
}

h1 {
    font-size: 6.5rem;
    line-height: 1.1;
    margin-bottom: 0.15em;
    color: var(--beige);
    clip-path: inset(0px 0px 0px 0px);
    visibility: hidden;
    &:last-of-type {
        margin-bottom: 0;
    }
}

strong {
    color: #000!important;
    font-weight: 600;
}

.hero p {
    font-size: 1.5rem;
    color: rgb(243 232 215 / 80%);
}

.default-page {
    background: var(--burgundy);
    padding-top: 200px;
    padding-bottom: 80px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 200px;
  padding: 20px 22px;
  background-color: #58303a;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

.text-wrapper {
    font-family: "Figtree", sans-serif;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.underline {
  position: absolute;
  bottom: 0; /* or -2px for a little gap */
  left: 0;
  height: 1px; /* Keep it thin for elegance */
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center; 
}

.mt-5 { 
    margin-top: 6.5em!important;
}

.mb-5 {
    margin-bottom: 6.5em!important;
}

.mt-6 {
    margin-top: 10em!important;
}

h2 {
  font-size: 3rem;
  line-height: 1.4;
  word-break: normal;
}

h5 {
    font-size: 2.5rem;
    font-family: "Figtree", sans-serif;
}

.highlight-text .word {
  display: inline-block;
  margin-right: 1;
  color: #c9c9c9;
  transition: color 0.2s;
}

.service-card {
    background-color: #FAFAFA;
}

.service-card p {
    margin-bottom: 0;
}

p, .o {
    font-family: "Figtree", sans-serif;
    color: #777777;
}

.line {
    width: 0;
    height: 1px;
    background: #CECECE;
}

.usp-list {
    margin: 40px 0;
}
.usp-list h3 {
    font-size: 4.5rem;
    font-family: "larken", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin-top: 50px;
}

.usp-list p {
    margin: 10px 0;
    color: #777777;
}

/* --- Menu navigation --- */

.navbar {
    margin-top: 65px;
}

.navbar-nav .menu-item a {
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 4px;
  overflow: hidden;
  color: #fff;
  font-family: "Figtree", sans-serif;
}

.navbar-nav .menu-item a .underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px; 
  width: 100%;
  background-color: currentColor; 
  transform: scaleX(0);
  transform-origin: left center;
}

/* 1. Container Setup */
.animated-hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

/* 2. Base Line Styles */
.animated-hamburger span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform-origin: center;
    z-index: 999;
}

.animated-hamburger span:nth-child(1) { 
    top: 0px; 
    transition: transform 0.2s ease-in-out, top 0.2s ease-in-out 0.2s; 
}

.animated-hamburger span:nth-child(2) { 
    top: 9px; 
    transition: opacity 0.2s ease-in-out 0.2s; 
}

.animated-hamburger span:nth-child(3) { 
    top: 18px; 
    transition: transform 0.2s ease-in-out, top 0.2s ease-in-out 0.2s;
}

.navbar-toggler:not(.collapsed) .animated-hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
    transition: top 0.2s ease-in-out, transform 0.2s ease-in-out 0.2s;
}

.navbar-toggler:not(.collapsed) .animated-hamburger span:nth-child(2) {
    opacity: 0;
    transition: opacity 0.1s ease-in-out; 
}

.navbar-toggler:not(.collapsed) .animated-hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
    transition: top 0.2s ease-in-out, transform 0.2s ease-in-out 0.2s;
}

.asset-box {
    background: #FAFAFA;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-top: 4em;
    margin-bottom: 4em;
}
.asset-box-2 {
    border-top-left-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 0;
}
.asset-box img {
    border-radius: 20px;
    object-fit: cover;
}
.asset-box .text-row > div div:last-child p {
    margin-bottom: 0;
}
.asset-box h3 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.asset-box h4, .team-title {
    font-family: "Figtree", sans-serif;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 600;
}
.asset-box h4.short-line::after {
    display: block;
    content: '';
    width: 50px;
    height: 1px;
    background: #000;
    margin-top: 18px;
    margin-bottom: 13px;
}
.asset-box .number {
    font-size: 2rem;
    font-family: "larken", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.asset-box .text-row {
    padding: 0.5em 1.5em;
}
.asset-box p {
    color: #000;
}
.team-title {
    color: #000;
    margin-bottom: 6px;
}

.team-image {
    width: 85%;
    border-radius: 50%;
    background: #FAFAFA;
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    clip-path: circle(50% at 50% 50%);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
    position: absolute;
}

.team-image img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.team-image:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.team-image .plus {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: 0.25s ease;
}

.team-image .plus:before {
    width: 2px;
    height: 45px;
    background: #000;
    content: '';
    position: absolute;
}

.team-image .plus:after {
    width: 2px;
    height: 45px;
    background: #000;
    content: '';
    rotate: 90deg;
    position: absolute;
}

.enquire-box, .contact-box {
    background-color: #FAFAFA;
    padding: 3em;
    height: 100%;
}
.enquire-box .bg {
    background-color: #F4F3F3;
}
.enquire-box img {
    max-width: 65px;
    margin-right: 5px;
}
.enquire-box h5 {
    font-size: 1.2rem;
    line-height: 1;
    margin-bottom: 5px;
    margin-top: 10px;
}
.enquire-box a {
    text-decoration: none;
    color: inherit;
}

.split-background {
    background: linear-gradient(0deg,rgba(62, 16, 29, 1) 30%, rgba(255, 255, 255, 0) 0%);
}
.split-background .grey-background {
    background: #FAFAFA;
}

/* WP Form */
.contact-form label {
    font-family: "Figtree", sans-serif;
    margin-bottom: 4px;
    font-weight: 400;
}

.contact-form input {
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    color: #000;
    background: unset;
    min-width: unset;
    max-width: unset!important;
    width: 100%;
    border: 0;
    padding: 10px 0;
    outline: 0;
    border-bottom: 1px solid #CECECE!important
}

.wpforms-field-email input:focus {
    outline: 0;
}

.contact-form  input.wpforms-error {
    border: unset!important;   
    border-bottom: 1px solid #CECECE!important;
}

.contact-form .wpforms-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 200px;
    padding: 20px 22px;
    background-color: var(--burgundy);
    color: #fff;
    text-decoration: none;
    border: none;
}

.contact-form .wpforms-layout-row {
    gap: 50px;
}

.contact-form select {
    padding: 12px 7px;
    border-color: #CECECE;
    border-radius: 4px!important;
}

.contact-form textarea {
    border-color: #CECECE;
    background: transparent;
    padding: 10px;
    height: 100px;
    margin-top: 15px!important;
}

.contact-form .wpforms-layout-row {
    margin-top: 15px;
}
.button-arrow-right {
    background: var(--burgundy);
    padding: 20px;
    margin-top: 20px;
    display: inline-block;
}
.city-list li:not(:last-child) p {
    border-right: 1px solid #7777778a!important;
    padding-right: 21px;
    margin-right: 20px;
}

footer .title {
    color: #fff!important;
    margin-bottom: 4px;
}

footer .li-links li {

}

.footer-breaker {
    margin: 3.75em 0 2em 0;
}

.subscribe-p {
    margin-top: 1.2em;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0;
}

footer .logo {
    max-width: 130px;
}

.li-links a {
    color: #777777;
    transition: 0.4s ease-in;
    transition: 0.7s ease-out;
    margin-bottom: 10px;
    text-decoration: none;
}

.li-links a:hover {
    color: #fff;
}

footer, footer a:hover {
    color: #F3E8D7;
}

footer .footer-breaker {
    background: #F3E8D7;
    height: 1px;
    width: 100%;
    opacity: 24%;
}

.subscribe-info {
    font-size: 0.9rem;
}

/* Subscribe Form */
.subscribe-form .wpforms-form {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
    max-width: 600px;
}

.subscribe-form .wpforms-field-container {
    flex-grow: 1;
    width: auto !important;
    margin-bottom: 0 !important;
}

.subscribe-form input[type="email"] {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: #fff !important;
    height: 60px !important;
    padding-left: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    max-width: unset!important;
}

.subscribe-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-form .wpforms-submit-container {
    width: auto !important;
    margin: 0 !important;
    padding: 15px 0 !important;
}

.subscribe-form button[type="submit"] {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    height: 60px !important;
    width: 80px !important;
    padding: 0 !important;
    position: relative;
    border-radius: 0 !important;
    cursor: pointer;
    color: transparent !important;
    transition: background 0.3s ease;
}

.subscribe-form button[type="submit"]:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Arrow Line */
.subscribe-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 1px;
    background-color: white;
}

/* Arrow Head */
.subscribe-form button[type="submit"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 33px;
    width: 20px;
    height: 20px;
    border-top: 1px solid white;
    border-right: 1px solid white;
    transform: translate(2px, -50%) rotate(45deg);
}

/* 7. Hide the extra "Text" field if it still exists */
/* This ensures only the Email field and Button are visible */
.subscribe-form .wpforms-field-text {
    display: none !important;
}

/* Responsive */

@media screen and (max-width: 1800px) {
    .site-content section:NOT(.asset-box), footer, header {
        padding-left: 30px;
        padding-right: 30px;
    }
    .enquire-box {
        padding: 2.5em;
    }
}

@media (min-width: 768px) and (max-width: 1137px) {
    h1 {
        font-size: 4.5rem;
    }
    .navbar {
        margin-top: 35px;
    }
    .hero {
        padding-top: 10em!important;
    }
    .enquire-box {
        padding: 2em;
    }
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .hero {
        padding-top: 10em!important;
    }
    .navbar {
        margin-top: 25px;
        text-align: center;
    }
    .navbar a {
        font-size: 2.8rem!important;
    }
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000;
        z-index: 1050;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        height: 100vh !important;
    }
    .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh !important;
        background-color: #000;
        z-index: 1050;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        visibility: visible;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .navbar-toggler {
        z-index: 1060;
        position: relative;
    }
    .team-image {
        max-width: 170px;
    }
    .service-card {
        text-align: center;
    }
    .service-card .spacer {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .asset-box-2 {
    border-top-left-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 20px;
    }
    .enquire-box, .contact-box {
        padding: 1.2em;
    }
    .hide-mobile {
        display: none;
        content: '';
    }
    .navbar-brand img {
        width: 140px;
    }
    footer, footer p, footer li {
        text-align: center;
        text-align: -webkit-center;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .site-content section:NOT(.asset-box), footer, header {
        padding-left: 15px;
        padding-right: 15px;
    }
}