/* =========================================================================
   Waddell — Hero (Divi child)
   Header/menu is handled by Divi, so this file only styles the hero section
   and its buttons. Load a serif (e.g. Cormorant Garamond) + sans (e.g. Poppins)
   via Divi > Theme Options > Fonts, or swap the stacks in :root below.
   ========================================================================= */

:root {
	--hero-dark:      #17140f;
	--hero-teal:      #12594a;
	--hero-teal-dark: #0e4a3d;
	--hero-gold:      #d8b676;
	--hero-gold-dark: #c9a45f;
	--hero-serif:     "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
	--hero-sans:      "Josefin Sans", Helvetica, Arial, Lucida, sans-serif;
}

/* ----------------------------- Buttons ---------------------------------- */
.site-hero .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem 2.5rem;
	min-width: 240px;
	border: 0;
	cursor: pointer;
	font-family: var(--hero-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 6px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.site-hero .btn--teal { background: var(--hero-teal); color: #fff; }
.site-hero .btn--teal:hover { background: var(--hero-teal-dark); color: #fff; }
.site-hero .btn--gold { background: var(--hero-gold); color: var(--hero-dark); }
.site-hero .btn--gold:hover { background: var(--hero-gold-dark); color: var(--hero-dark); }

/* ------------------------------ Hero ------------------------------------ */
.site-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(560px, 90vh, 900px);
	text-align: center;
	background-color: var(--hero-dark); /* base colour while the image loads */
	overflow: hidden;
	height: 100vh;
}

/* Background is a real <img> (fetchpriority="high") for LCP, not a CSS image. */
.site-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.site-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, var(--hero-overlay, 0.45));
}

.site-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 1152px;
    padding: 4rem .5rem;
}

/* Scoped selectors so Divi's global heading styles don't override these. */
.site-hero .site-hero__heading {
	margin: 0 0 1.5rem;
    color: #fff;
    font-family: var(--hero-serif);
    font-weight: 300;
    font-size: 90px;
    letter-spacing: 18px;
    line-height: 0.68em;
    text-transform: uppercase;
}

.site-hero .site-hero__subheading {
	margin: 0 auto 2.5rem;
    color: var(--hero-gold);
    font-family: var(--hero-serif);
    font-size: 35px !important;
    line-height: 1.25;
    letter-spacing: .08em;
    text-transform: uppercase;
	font-weight: 300;
}

.site-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem;
}

/* --------------------------- Responsive --------------------------------- */
@media only screen and ( min-width: 992px ) and ( max-width: 1100px ){
	.site-hero .site-hero__heading{
		font-size: 50px;
		margin: 0 0 .5rem;
		line-height: 1em;
	}
	.site-hero .site-hero__subheading{
		font-size: 24px !important;
	}
}


@media only screen and ( min-width: 480px ) and ( max-width: 991px ) {
	.site-hero__inner { padding: 3rem 1.25rem; }
	.site-hero .btn { width: 100%; max-width: 320px; min-width: 0; }
	.site-header__cta { width: 100%; }
	.site-hero .site-hero__heading{
		font-size: 50px;
		margin: 0 0 .5rem;
	}
	.site-hero .site-hero__subheading{
		font-size: 24px !important;
	}
}


@media only screen and ( max-width: 479px ) {
	.site-hero .site-hero__heading{
		font-size: 28px !important;
        letter-spacing: 10px !important;
		margin: 0 0 .5rem !important;
		line-height: 1em !important;
		
	}
	.site-hero .site-hero__subheading{
		font-size: 16px !important;
	}

	.site-hero .btn {
        width: 72% !important;
        max-width: 320px;
        min-width: 0;
        padding: 14px !important;
    }
}
/* =========================================================================
   Waddell — Divi Theme Builder header
   Reproduces the dark bar: logo + Menu A on the left, Menu B + phone + a
   full-height teal Enquire button on the right.

   ADD THESE CSS CLASSES in the Divi builder (each module's Advanced → CSS ID
   & Classes → CSS Class):

     Section  ............................  wh-header
     Row  ................................  wh-bar
     Menu module 1 (logo + Menu A)  ......  wh-menu wh-menu--left
     Menu module 2 (Menu B, no logo)  ....  wh-menu wh-menu--right
     Text/Blurb module (phone)  ..........  wh-phone
     Button module (Enquire Now)  ........  wh-enquire
   ========================================================================= */
