*, *::before, *::after {
	box-sizing: border-box;
  }

:root {
	--color-accent: rgb(191 150 39);
	--color-copy: rgba(100, 100, 100, 0.8);
	--color-copy-darker: rgb(80, 80, 80);
	--font: Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}

h1, h2, h3 {
	line-height: 1.1;
	color: var(--color-copy-darker);
}

h2, h3 {
text-transform: uppercase;
font-weight: 600;
font-size: 2rem;
}


ul,li {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	font-size: 1.2rem;

}

input[type='text'],
input[type='email'],
textarea {
	width: 100%;
	padding: 1rem;
	border-radius: 10px;
}

textarea {
	font-family: var(--font);
}

.button {
	text-decoration: none;
	color: var(--color-copy);
	padding:  1em 2em;
	border: 1px solid var(--color-copy);
	border-radius: 10px;
	display: inline-block;
}

.alt-button {
	/* background-color: var(--color-accent); */
	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	border: 3px solid var(--color-accent);
	color: var(--color-copy-darker);
	padding: .5em 1em;
	border-radius: .25em;

	position: relative;
	isolation: isolate;
}

.button::after {
	content: '';
	position: absolute;
	z-index: -1;
	background-color: var(--color-accent);
	inset: 0;

	scale: 0 1;
	transform-origin: right;
	transition: scale 450ms;
}

.button:hover::after,
.button:focus-visible::after {
	transform-origin: left;
	scale: 1 1;
}

/* button {
    display: inline-block;
    border: none;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
} */


.margined-top {
	margin-top: 1em;
}

.margined-bottom {
	margin-bottom: 1em;
}

.align-left {
	text-align: left;
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: 1024px;
	margin-inline: auto;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.125;
	line-height: 1.6;
	color: var(--color-copy);
}

header {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	background-color: rgba(255, 255, 255, 0);
	padding: 1rem 4rem;
	background-color: white;
	box-shadow: 0 2px 6px rgb(0, 0, 0, .2);
}

nav {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: flex-end;
}


.call-button,
.call-button:visited {
	text-decoration: none;
	color: var(--color-copy);
	font-size: 1.5rem;
}


.logo img {
	width: 240px;
}

.nav-toggle {
	background: none;
	font-size: 2rem;
	display: none;
	color: var(--color-copy);
}

.main-navigation,
.footer-navigation {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	text-transform: uppercase;
}

.main-navigation a {
	text-decoration: none;
	color: var(--color-copy);
	position: relative;
}

.footer-navigation a:hover {
	text-decoration: underline;
}

.main-navigation .active::after,
.nav-link:hover::after {
	content: '';
	display: block;
	height: 4px;
	width: 100%;
	background-color: var(--color-accent);
	position: absolute;
	bottom: -6px;
	left: 0;
}

.hero {
	background-image: url(/Images/hero.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	aspect-ratio: 32/9;
	display: flex;
}

.fancy{
	background-image: linear-gradient(90deg, rgb(22, 20, 20), rgb(168, 168, 216));
	background-size: 0% 3px;
	background-repeat: no-repeat;
	background-position: left bottom;
	transition: background-size 300ms ease;
}

.fancy:hover{
	background-size: 100% 3px;
}

.coloredtext{
	background-image: linear-gradient(50deg, rgb(0, 0, 0), rgb(129, 129, 122));
	background-clip: text;
	color: transparent;
}

.hero h1 {
	font-size: 2rem;
	height: 100%;
	background-color: rgb(255, 255, 255, .8);
	padding-inline: 1.2em;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 4em;
}


.hero h1 span {
	font-size: 1.8em;
	color: var(--color-accent);
	display: block;
}

.hero h1 em {
	text-transform: uppercase;
	font-style: normal;
	font-weight: 900;
	color: black;
}


.hero-small {
	aspect-ratio: 65/9;
	background-attachment: scroll;
}

.hero-sevices {
	background-image: url(/Images/Green\ door\ Hero.jpg);
}





.hero-testimonials {
	background-image: url(/Images/happy-customers.webp);
}



.hero-about {
	background-image: url(/Images/Beach-hero.jpg);
}


.hero-contact {
	background-image: url(/Images/Man-Calling.jpg);
}

section h1, section h2, section h3 {
	text-align: center;
}

.copy-block p {
	max-width: 80ch;
	margin-inline: auto; 
}

section {
	padding: 4rem 8rem;
	text-align: center;
}

section:nth-child(even) {
	background-color: rgb(236, 236, 236);
}

.dark {
	color: white;
	background-color: #000000;
	background-image: linear-gradient(270deg, #000000 0%, #5e5e5e 100%);
}

.dark h2 {
	color: var(--color-accent);
}

.margin-flow * + * {
	margin-top: 1em;
}

.credit-box {
	color: white;
	text-align: center;
	/* background-color: rgb(7, 7, 7); */


}

.copy-block img {
	border-radius: 30px;
	float: right;
	margin: 0 0 .5rem 2rem;
}


.services-section .button {
	margin-inline: auto;

}



.services-section {
	background-color: white;
	padding: 2rem 4rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.services-section .info-boxes {
	color: #5e5e5e;
}

.services-section .info-boxes span,
.info-box i {
	font-size: 4rem;
	text-align: center;
}

.secret-text {
	color: rgb(236, 236, 236);
}

/* portfolio */



/* About */

.info-box {
	display: flex;
	flex-direction: column;
	font-size: 30px;
	padding: 2rem;
	border-radius: 50px;
	align-items: center;
	text-align: center;

}

.info-box img {
	border-radius: 5rem;
}


.info-boxes {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	max-width: 1024px;
	margin-inline: auto;
	padding: 2rem 4rem;
	color: white;
}




.info-boxes.halves {
	width: 100%;
	display: grid;
	align-items: baseline;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: none;
}

.info-boxes.halves .info-box {
	
	grid-template-columns: 60px 1fr;
	gap: 3rem;
	text-align: left;
	align-items: start;
}

.info-boxes.halves .info-box i {
	font-size: 3rem;
}

.info-boxes.halves p:first-child{
	font-weight: 900;
	font-size: 1.2em;
}

.mapbox {
	display: flex;
	justify-content: center;
	margin-top: 50px;
	margin-bottom: 50px;
}


/*.info-box span:hover {
	color: rgb(0, 0, 2);
	transition-duration: .5s;
	cursor: pointer;
}

/* Contact */


.contact-container {
	display: flex;
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 30px;
	padding-top: 5em;
	padding-right: 50px;
	padding-left: 50px;
	align-items: center;
	gap: 2rem
		/* flex-direction: column-reverse; */
}


.google-maps {
    position: relative;
    padding-bottom: 75%; 
    height: 0;
    overflow: hidden;
  }
  .google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }


.contact-container img {
	border-radius: 25px;
	justify-content: right;
}

.contact-phone {
	font-size: 2rem;
}

form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: .2rem;
}

.form-group label {
	font-size: .8rem;
	font-weight: bold;
	text-align: left;
}

form .button {
	width: 100%;
	cursor: pointer;
	border-radius: 100vh;
}

form .button:hover {
	background-color: #000000;
	color: white;
}

form .button:active {
	background-color: #555555;
	color: white;
}

/* form {
    display: flex;
    background-image: linear-gradient(270deg, #b1b1b1 0%, #5e5e5e 100%);
    align-items: center;
    margin: 29px 35rem 30px 35rem;
    border-radius: 10px;
    justify-content: space-between;
    flex-direction: row;
}


.inputwrapper {
	margin-top:20px ;
	margin-bottom: 20px;
	padding-left: 10px;

}


.inputwrapper textarea {
	font-family: Arial, Helvetica, sans-serif;
} */



footer {
	background-color: #000000;
	min-height: 200px;
	padding: 2em 4em;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4rem;
}


footer nav {
	align-items: center;
}


.footer-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 4rem;
	width: 100%;
}

.footer-container a,
.footer-container .call-button {
	text-decoration: none;
	color: white;
}


.footer-container .call-button {
	font-size: 1.5rem;
}


.footer-container .contact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}


.footer-container .social h4 {
	text-transform: uppercase;
	text-align: center;
	font-size: 1.5rem;
}


.footer-container .social-list{
	font-size: 3rem;
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 2rem;
}

.footer-navigation {
	flex-direction: column;
	gap: .5rem
}



@media (max-width: 1220px) {

	.hero h1 {
		height: auto;
		margin: auto;
		padding-block: 1em ;
	}

	.two-col {
		display: grid;
		grid-template-columns: 1fr;
	}


}

@media (max-width: 846px) {

	header {
		flex-direction: column;
	}

	nav{
		align-items: center;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}

	.info-boxes {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
	}

	.info-boxes.halves {
		grid-template-columns: 1fr;
	}

	.info-box article :first-child {
		text-align: center;
	}

	.info-box .fa-solid {
		margin-inline: auto;
	}

}






@media (max-width: 620px) {


	header {

	}

	.main-navigation {
		flex-direction: column;
		height: 0;
		overflow: hidden;
		transition: 300ms all;
	}

	.main-navigation.active {
		height: 250px;
	}

	.nav-toggle {
		display: block;

	}

	section {
		padding: 1rem 2rem;
	}


}


