/*
 Theme Name: Astra Child
 Description: A child theme for the Astra theme.
 Author: Adrian Beal
 Template: astra
 Version: 1.0.0
*/


/* Your modification to import style sheets goes here
@import url("/wp-content/themes/graphene/STYLE SHEET NAME 1.css");
@import url("/wp-content/themes/graphene/STYLE SHEET NAME 2.css");
*/



/* Your modification to your Theme layout goes here

.header_desc {font-size: 16px;color: #000000;    padding: 0px 10px;}
.header_title {color: #000000;padding: 0px 10px;}
.page .post-title {display: none;}

.navbar {
    min-height: 0px;
}

.searchform{
	display: none;
}

*/



/* Your font families go here */

@font-face {
	src: url(/wp-content/themes/astra-child/MyFonts/Barlow/Barlow-Regular.ttf);
	font-family: Barlow;
}

@font-face {
	src: url(/wp-content/themes/astra-child/MyFonts/Gochi_Hand/GochiHand-Regular.ttf);
	font-family: Gochi_Hand;
}



/* Calling your font faces */

.FontBarlow {
	font-family: Barlow;
}

.Gochi_Hand {
	font-family: Gochi_Hand;
}


/* Main Site Changes */

body {
	color:black;
	font-family: Arial, sans-serif;
	background-image: url('uploads/BgLightGrayLeather.jpg')!important;
	background-repeat: repeat; /* This makes the image repeat both horizontally and vertically */
	background-position: top left; /* Optional: sets the starting point */

}

.BodyContainer {
	font-size:0;
}

a {
	text-decoration:none !important;
	color:inherit;
}


/* §§§§§§§§§§§§§§§§§§§§§§§§ ADRIAN'S AREA §§§§§§§§§§§§§§§§§§§§§§§§ */


html {
    scroll-behavior: smooth;
}

.SpecialText {
	positon: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%,-50%);
	text-transform: uppercase;
	font-family: verdana;
	font-size: 12em;
	font-weight: 700;
	color: #f5f5f5;
	text-shadow: 1px 1px 1px #919191,
		1px 2px 1px #919191,
		1px 3px 1px #919191,
		1px 4px 1px #919191,
		1px 5px 1px #919191,
		1px 6px 1px #919191,
		1px 7px 1px #919191,
		1px 8px 1px #919191,
		1px 9px 1px #919191;
		1px 10px 1px #919191,
	1px 18px 18px rgba(16,16,15,0.4),
	1px 18px 22px rgba(16,16,15,0.2),
	1px 18px 25px rgba(16,16,15,0.2),
	1px 18px 30px rgba(16,16,15,0.4);
}



.IntroVideoWrapper {
  max-width: 800px;        /* or whatever max width you want */
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.IntroVideo {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block;
  border: 2px solid #333;
  border-radius: 8px;
  background-color: #000;
  object-fit: contain;
}






#Question {
	text-align:left;
	font-size: 1.2em;
	font-weight:bold;
	color: green;
}


.BlueBg {
	font-size: 0; border: 1px solid black;
	width:100%;
	padding:1em;
	background-image: url('/wp-content/themes/astra-child/uploads/Bg03-Fade.jpg');
	background-repeat: repeat;
	font-size: clamp(0.5rem, 2.5vw, 1.4rem);
}

.IntroFlexContainer {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.video-container {
  position: relative;
  width: 100%;
}

.video-thumbnail {
  width: 100%;
  height: auto;
  cursor: pointer;
  display: block;
}







.Text3D {
	positon: absolute;
	text-transform: uppercase;
	font-family: verdana;
	font-size: 1em;
	font-weight: 700;
	color: purple;
	text-shadow: 0.0833px 0.0833px 0.0833px #FFF,
        0.0833px 0.1667px 0.0833px #FFF,
        0.0833px 0.25px 0.0833px #FFF,
        0.0833px 0.3333px 0.0833px #FFF,
        0.0833px 0.4167px 0.0833px #FFF,
        0.0833px 0.5px 0.0833px #FFF,
        0.0833px 0.5833px 0.0833px #FFF,
        0.0833px 0.6667px 0.0833px #FFF,
        0.0833px 0.75px 0.0833px #FFF,
        0.0833px 0.8333px 0.0833px #FFF,
             /* White shadow shifted to the 5 o'clock position */
             0.5px 1px 1px rgba(16,16,15,0.4),   /* Adjusted for 5 o'clock direction */
             0.5px 1px 1.25px rgba(16,16,15,0.2),  /* Slightly increased for depth */
             0.5px 1px 1.5px rgba(16,16,15,0.2),    /* Further increase for more spread */
             0.5px 1px 1.75px rgba(16,16,15,0.4);  /* Further increased for stronger effect */
}

.GeneralText {
	font-size: clamp(0.8rem, 2vw, 1em);
	color: #000000;
	text-align: justify;
	font-weight: normal;
}


.MyMasterContainer {
	max-width: 100%;
	font-size: clamp(0.7rem, 1.8vw, 1.3rem);
	background-image:url("/wp-content/themes/astra-child/uploads/BgWhiteParchment.gif");
	border-width: 1px;
	border-style: solid;
	font-family: Barlow;
	text-align:justify;
	padding: 1em;
	color:black;
}



/* Style the main menu container */
.MainMenuItems {
    display: flex;
    justify-content: space-between; /* Distributes items evenly */
    font-family: Barlow;
    font-size: clamp(0.5rem, 1vw, 1.1rem);
    font-weight: normal;
    color: black;
    background:white;
    width: 100%;
    border-color: black;
    border-width: 1px;
    border-style: solid;
    border-bottom: none;            /* Remove bottom border */
    margin: 0;
    padding:0;
    list-style: none;
}

h1.ServicesMainTitle {
	float: left;
	width:100%;
	font-size: clamp(0.8rem, 3vw, 2rem);
	color: #467606;
	font-weight:bold;
	text-align:center;
	line-height:1em;
}


.MainMenuItems a {
    text-decoration: none;
    flex-grow: 1; /* Makes sure items take up equal space */
    text-align: center; /* Centers text within the links */
}


/* Style the menu links */
.MainMenuItems a, .dropdown > a {
    text-decoration: none;
    font-weitght:bold;
    font-size: 1em;
    text-align: center;
    flex: 1;
    display: flex;
    justify-content: center;
    transition: color 0.2s ease-in-out, font-size 0.2s ease-in-out;
}

/* Hover effect - grow size and change color to green */
.MainMenuItems a:hover, .dropdown:hover > a {
    color: green;
    font-size: 1em;
    font-weight:bold;
}


/* Ensure each menu item has equal spacing */
.MainMenuItems a, .dropdown {
    text-decoration: none;
    color: black;
    text-align: center;
    flex: 1; /* Makes each item take up equal space */
    display: flex;
    justify-content: center;
}


/* Ensure the dropdown behaves like the other items */
.dropdown {
    position: relative;
}


/* Style the dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    color:black;
    background-color: white;
    min-width: 120px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Style dropdown links */
.dropdown-content a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
    white-space: nowrap;
    text-align: left;
}


/* Dropdown hover effect */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}


/* Style the dropdown icon */
.dropdown-icon {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.2s ease-in-out;
}

/* Rotate the chevron when hovering */
.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}


.current-menu-item {
    background-color: #007cba !important;;  /* Light blue color for highlighting */
    color: white !important;  /* White text for better visibility */
}



.grid-container-services {
    display: grid;
    grid-template-rows: repeat(auto-fit, 1fr);
    grid-template-columns: repeat(6, 1fr); /* Columns */
    gap: 0.5em;
    
    background: coral;
    border-width: 1px;
    border-color: #aabcfe;
    border-style: solid;
    padding: 1em;
    overflow-x: auto; /* Enable horizontal scrolling if necessary */
}

 .GetQuote {
	display: inline-block;
	width:100%;
	text-align:center;
	font-weight: bold;
	border-radius: 0.4em;
	border-width: 4px;
	border-color: black;
	border-style: solid;    
	padding:0.2em;
 }
 
 
 .GetQuote:hover {
  text-decoration: none;
  font-size:1.3em;
  text-align: center;
 }
 
 
 
 .ContactMe {
	display: inline-block;
	width:100%;
	text-align:center;
	font-weight: bold;
	border-radius: 0.4em;
	border-width: 4px;
	border-color: black;
	border-style: solid;    
	padding:0.2em;
 }
 
 
 .ContactMe:hover {
  text-decoration: none;
  font-size:1.3em;
  text-align: center;
 }
 


/* Grid items remain unchanged */
.grid-item-services {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.5rem, 1.5vw, 1rem);
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 0.4em;
    border-width: 4px;
    border-color: black;
    border-style: solid;
	line-height:1.3em;
}

/* Box Colors */
.box1 { background: red; grid-area: 1/1/4/3; } /* Boiler Service */
.box2 { background: cyan; color: black; grid-area: 1/3/4/4; } /* Call Me */
.box3 { background: green; grid-area: 1/4/8/5; } /* Boiler Repair */
.box4 { background: blue; grid-area: 1/5/4/7; } /* Boiler Replacement */
.box5 { background: yellow; color: black; grid-area: 4/1/8/4; } /* Landlord Certificate */
.box6 { background: #66ff33; color: black; grid-area: 4/5/8/6; } /* General Plumbing */
.box7 { background: purple; grid-area: 4/6/8/7; } /* Central Heating */
.box8 { background: #ff00ff; grid-area: 8/1/11/3; } /* Gas Work */
.box9 { background: orange; color: black; width:136%; grid-area: 8/3/11/6; } /* Plumbing Tips */


.box1:hover a, .box2:hover a, .box3:hover a, .box4:hover a, .box7:hover a, .box8:hover a {
  color: yellow;
  text-decoration: none;
  font-size:1.3em;
}

.box5:hover a{
  color: coral;
  text-decoration: none;
  font-size:1.3em;
}

.box2:hover a, .box6:hover a, .box9:hover a {
  color: red;
  text-decoration: none;
  font-size:1.3em;
}


/* Portrait Mode Grid */
@media screen and (orientation: portrait) {
    .grid-container-services {
        grid-template-columns: repeat(2, auto); /* Change to 2 columns */
		grid-template-rows: repeat(6, auto);
        gap: 10px;
    }
.box1 { width:90%; max-height:3em; background: red; grid-area: 1/1/2/2; }
.box2 { width:90%; max-height:3em; background: cyan; color: black; grid-area: 1/2/2/3; }
.box3 { width:90%; max-height:3em; background: green; grid-area: 2/1/2/2; }
.box4 { width:90%; max-height:3em; background: blue; grid-area: 2/2/3/3; }
.box5 { width:90%; max-height:3em; background: yellow; color: black; grid-area: 3/1/4/2; }
.box6 { width:90%; max-height:3em; background: #66ff33; color: black; grid-area: 3/2/4/3; }
.box7 { width:90%; max-height:3em; background: purple; grid-area: 4/1/5/2; }
.box8 { width:90%; max-height:3em; background: #ff00ff; grid-area: 4/2/5/3; }
.box9 { width:95%; max-height:3em; background: orange; color: black; grid-area: 5/1/6/3; }
}


 
 
.ServicesImagesLeft {
	float:left;
	max-width:15vw;
	max-height:140px;
	padding-right:3%;
	padding-bottom: 1em;
}

.BlueButton { 
	text-align:center;
	line-height:2em;
	color: #f2f2f2;
	width:100%;
	border:3px solid lightgray;
	vertical-align: middle;
	background: linear-gradient(#00B9F9,#0041A2);
	padding: 4px 25px 4px 25px;
	text-transform:capitalize;
    font-variant:small-caps;
    font-weight:bold;
    font-size: clamp(0.9rem, 2.5vw, 2.5rem);
	border-radius: 10px;
	box-shadow:  inset 1px 2px 0px 0px #888888; /* inset left,top,fuzz Center,fuzz Outside, color */
	box-shadow:  2px 3px #888888;
	letter-spacing: 2px;
}

div.ContainerCenter {
	font-size: clamp(0.7rem, 1.8vw, 1.3rem);
	height:auto;
	padding:1em;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:1em;
	text-align:center;
	border-style: groove;
	border-color: red;
	border-width: 10px 6px 15px 6px;
	border-radius: 10px;
	background-image: url('/wp-content/themes/astra-child/uploads/Bg03-Fade.jpg');
	background-repeat: repeat;
}

div.ServiceHeadingText {
	font-size: clamp(0.8rem, 3vw, 2.5rem);
	color:black;
	margin-bottom:0em;
	padding-top:1em;
	padding-bottom:1em;
	line-height:1.2em;
	text-align:center;
	-webkit-text-stroke: 1px black;
}

.ServicesButton {
	margin-bottom:1em;
	margin-left:auto;
	margin-right:auto;
	font-size: clamp(0.875rem, 0.478rem + 1.765vw, 3.125rem);
	width:80%;
	line-height:1.2em;
	text-align:center;
	color: white;
	border:3px solid lightgray;
	vertical-align: middle;
	background: linear-gradient(#00B9F9,#0041A2);
	padding: 4px 0px 4px 0px;
    font-variant:small-caps;
    font-weight:bold;
	border-radius: 10px;
	box-shadow:  inset 1px 2px 0px 0px #888888; /* inset left,top,fuzz Center,fuzz Outside, color */
	box-shadow:  2px 3px #888888;
	letter-spacing: 3px;
}

div.ContainerLeft {
	font-size: clamp(0.7rem, 1.8vw, 1.3rem);
	margin-right:1vw;
	width:50%;
	min-height:250px;
	float:left;
	margin-bottom:5%;
	text-align:center;
	border-style: groove;
	border-color: black;
	border-width: 10px 6px 15px 6px;
	border-radius: 10px;
	background-image: url('/wp-content/themes/astra-child/uploads/Bg03-Fade.jpg');
	background-repeat: repeat;
}

.clearfix {
	overflow: auto;
	clear:all;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

div.ServicePrices {
	font-family: Arial, Helvetica, sans-serif;
	color:black; margin-bottom:0em;
	font-size: clamp(0.7rem, 8vw, 4rem);
	color:red; 
	-webkit-text-stroke: 1px black;
}

div.ServiceHeadingText {
	font-size: clamp(0.8rem, 3vw, 2.5rem);
	color:black;
	margin-bottom:0em;
	padding-top:1em;
	padding-bottom:1em;
	line-height:1.2em;
	text-align:center;
	-webkit-text-stroke: 1px black;
}

.SmallCaps {
    font-variant:small-caps;
}

div.ContainerRight {
	margin-left:1vw;
	width:50%;
	min-height:250px;
	float:right;
	margin-bottom:5%;
	text-align:center;
	border-style: groove;
	border-color: black;
	border-width: 10px 6px 15px 6px;
	border-radius: 10px;
	background-image: url('/wp-content/themes/astra-child/uploads/Bg03-Fade.jpg');
	background-repeat: repeat;
}

.underline-gap {
  display: inline-block;
  box-shadow: inset 0 -0.2em 0 #FF5733; /* Same hex color */
  padding-bottom: 0.2em;
  font-variant:small-caps;
}


h3.FAQ_Question {
	font-size: clamp(0.7rem, 1.8vw, 1.4rem);
	font-weight: bold;
	color:darkblue;
}

.FAQ_Answer {
	font-size: clamp(1rem, 2vw, 2.4rem);
	font: italic small-caps 1em/1em Georgia, serif;
}







.IntroBox {
	width: 100%; 
	height: auto; 
	position: relative; 
	overflow: hidden; 
	border:5px solid coral; 
	padding:1em 1em 0em 1em; 
	background:#FFF; 
	font-size: clamp(0.5rem, 2vw, 1.4rem);
}

h1.IntroHeading{
	line-height:1em; 
	text-align: center; 
	font-size: clamp(1rem, 3vw, 2.5rem);
}

.Signature {
	width:38%; 
	text-align:left; 
	border:none; 
	font-family: Gochi_Hand; 
	font-size: clamp(0.6rem, 3vw, 2rem);
}

.ContactRingingTelephone {
    width: clamp(50px, 10vw, 100px);
    height: auto;
    padding-left: 1em;
}




.ServiceBox {
	width: 100%; 
	height: auto; 
	position: relative; 
	overflow: hidden; 
	padding:1em; 
	background:#FFF; 
	font-size: clamp(0.5rem, 2vw, 1.4rem);
}

 .BoxHeading {
	width: 100%; 
	display: inline-block;
	font-size: clamp(1rem, 3vw, 2.5rem);
	text-align:center;
	font-weight: bold;
	border-radius: 0.4em;
	border-width: 4px;
	border-color: black;
	border-style: solid;    
	padding:0.2em;	
 }

.ServicesImagesLeft {
  min-width: 20vw;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

 .ReadMore {
	color:darkorange;
	font-weight:bold;
	font-size: 1.4em;
 }
  
 .TopTip {
	width: clamp(2.5rem, 8vw, 100px); 
	height:auto; 
	padding-right:0.5em;
 }


.grid-container-video-wrapper {
  max-width: 100%;
  box-sizing: border-box;
  background: white;
  border: 4px solid coral;
  padding: 1em;
  overflow: hidden; /* Prevent collapsing margins */
}

.full-width-row {
	width: 100%;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	font-size: clamp(1rem, 3vw, 2.5rem);
	text-align: center;
	font-weight: bold;
	margin: 0;
}

.responsive-video-container {
  position: relative;
  width: 80%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  margin-left:auto;
  margin-right:auto;
}

.responsive-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

}

.ServicesTitle,
h2.ServicesTitle {
	font-size: clamp(1rem, 3vw, 2.5rem);
	color: black;
	text-align: left;
}

.Question,
h2.Question,
h3.Question {
	font-size: clamp(1em, 2vw, 1em);
	color: black;
	font-weight: bold;
	text-align: left;
}

.Answer {
	font-size: clamp(1em, 2vw, 1em);
	color: darkgreen;
	text-align: justify;
	font-weight: normal;
}


img.InfoVideoIcon {
	width: clamp(2.5rem, 8vw, 100px); 
}