/* Fix Header Layout */
#row-header {
    position: relative;
    width: 100%;
    padding: 15px;
}

/* === Hero Background Covers Header & Hero === */
#hero-container {
    position: relative;
    width: 100%;
    padding-top: 50px; /* Push content below the nav */
    background-color: var(--sky);
    min-height: 100px;
}

.page-home #hero-container{
    background: url('/images/mark-pole.jpg') no-repeat top center;
    background: url('/images/tidy-street-guards.jpg') no-repeat top center;
    background-size: cover;
    min-height: 600px;
}

.page-contact #hero-container,
.page-people #hero-container,
.page-review #hero-container,
.page-questions #hero-container{
    background-color: var(--stone);
}

.page-account #hero-container{
    background-color: var(--forest);
}

/* Dark Overlay on Hero Image */
/* Dark Overlay on Hero Image */
.page-home #hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 20% Darken Effect */
    z-index: 1; /* Lower than the header */
}

/* Ensure Logo is Not Hidden Behind Mask */
#header-logo {
    position: relative;
    z-index: 10; /* Ensures it's above the dark mask */
    margin-left: 20px; /* Adjust as needed */
}

/* Default: Left-aligned and 50% width */
#row-headline, #row-subheadline {
    text-align: left;
    max-width: 50%;
    margin-left: 5%;
    position: relative;
    z-index: 2;
}

/* Full Width on Screens Below 768px */
@media (max-width: 767px) {
    #row-headline, #row-subheadline {
        max-width: 100%;
        margin-left: 0;
        padding: 20px;
    }
}

/* Responsive Contract-Free Headline */
#row-headline {
    padding-top: min(170px, 10vw); /* Shrinks with viewport */
    padding-bottom: min(65px, 4vw); /* Shrinks with viewport */
}

#row-headline h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Shrinks from 3.2rem to ~2.2rem */
    font-weight: bold;
    line-height: 1.2;
    color: white;
}

/* Lime "Full fibre broadband" */
#row-headline h1 span {
    color: var(--lime);
    font-family:"Stratos Semilight";
}

/* Responsive Subheadline */
#row-subheadline h2 {
    color: var(--stone);
}

/* Responsive Row Padding */
@media (max-width: 768px) {
    #row-headline {
        padding-top: 120px; /* Reduces spacing */
        padding-bottom: 45px;
    }
}


/* Home/Work Buttons Left-Aligned, Lime Color */
#row-actions {
    text-align: left;
    margin-left: 5%;
    position: relative;
    z-index: 2;
    height:300px;
}

/* Push Hero Content Down to Avoid Overlap */
#row-headline {
    padding-top: 55px;
}


/* Ensure Broadband Boxes are Centered and Limited to ~60% of Page Width */
#row-broadband-options {
    margin: 0 auto; /* Centers the boxes */
    background-color: var(--stone);
    width: 100vw; /* Ensures full viewport width */
    margin-left: calc(-50vw + 50%); /* Extends background beyond container */
    padding-top: 100px; /* Add top spacing */
    padding-bottom: 100px; /* Add bottom spacing */
}

/* Hide on Small Screens */
@media (max-width: 767px) {
    #row-broadband-options {
        display: none;
    }
}

/* Broadband Box Titles */
.broadband-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px; /* Increase spacing from subtitle */
}

/* Broadband Box Subtitle */
.broadband-box p {
    font-family: 'Stratos Light', sans-serif;
    font-size: 18px;
    font-weight: 300; /* Thin text */
    margin-bottom: auto; /* Pushes button down */
}

/* Sky Sign Up Button */
.broadband-box .btn-signup {
    background-color: var(--sky);
    color: black;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: auto; /* Ensures button stays at bottom */
}

/* Lime Hover Effect */
.broadband-box .btn-signup:hover {
    background-color: var(--lime);
    color: black;
}

/** broadband **/

/* Ensure Boxes are Left-Aligned */
.broadband-box {
    text-align: left;
}

/* Icons: Block Display */
.icon {
    display: block;
    width: 50px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 10px; /* Adds spacing before title */
}

/* Individual Icons */
.icon-home {
    background-image: url('/images/icon-home.png');
}

.icon-work {
    background-image: url('/images/icon-work.png');
}

/* Make H3 Bolder */
.broadband-box h3 {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Broadband Box: Ensures Content Stays Aligned */
.broadband-box {
    padding: 50px 40px;
    background: white;
    border-radius: 8px;
    border: 3px solid transparent;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure Icons Are Consistently Positioned */
.broadband-icon {
    max-height: 80px; /* Forces uniform max height */
    width: auto;
    margin-bottom: 20px; /* Keeps space below consistent */
}

/* Broadband Box Titles */
.broadband-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px; /* Ensures proper spacing */
}

/* Broadband Box Subtitle */
.broadband-box p {
    font-family: 'Stratos Light', sans-serif;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: auto; /* Pushes button to bottom */
    margin-bottom:30px;
}

/* Increase Space Between Boxes */
.broadband-options {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* Creates space between the boxes */
    max-width: 90%; /* Ensures boxes don’t reach full screen width */
    margin: 0 auto; /* Centers the row */
}

/* Hover Effect */
.broadband-box:hover {
    border-color: var(--sky);
}

/* Custom Hover Colors */
.home-user:hover {
    border-color: var(--lime);
}

.business-user:hover {
    border-color: var(--sky);
}

/* Responsive: Stack Boxes on Mobile */
@media (max-width: 991px) {
    .broadband-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}


.notches-top::before,
.notches-bottom::after {
z-index:100;
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 20px;
	background: var(--stone);
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		transparent 10%,
		black 10%,
		black 15%,
		transparent 15%,
		transparent 25%,
		black 25%,
		black 35%,
		transparent 35%,
		transparent 50%,
		black 50%,
		black 55%,
		transparent 55%,
		transparent 70%,
		black 70%,
		black 80%,
		transparent 80%
	);
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		transparent 10%,
		black 10%,
		black 15%,
		transparent 15%,
		transparent 25%,
		black 25%,
		black 35%,
		transparent 35%,
		transparent 50%,
		black 50%,
		black 55%,
		transparent 55%,
		transparent 70%,
		black 70%,
		black 80%,
		transparent 80%
	);
	pointer-events: none;
}

.notches-top::before {
	top: 0;
}

.notches-bottom::after {
	bottom: 0;
}


/** Notches in colour **/
.bg-white.notches-top::before,
.bg-white.notches-bottom::after {
	background: #fff !important;
}

/** Notches in colour **/
.bg-lime.notches-top::before,
.bg-lime.notches-bottom::after {
	background: var(--lime);
}
