/* latin-ext */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/nunito-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/nunito-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/nunito-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('../fonts/nunito-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}




:root{
	--cream:#FFF8EF;
	--cream2:#FAF4EA;
	--red:#B85042;
	--gold:#D9A441;
	--blue:#51789D;
	--green:#789262;
	--brown:#5E4634;
	--text:#423630;
}

*{
	margin:0;
	padding:0;
	box-sizing:border-box;
}

body{
	font-family:'Nunito',sans-serif;
	background:var(--cream);
	color:var(--text);
	line-height:1.6;
}

/***************************
HEADER
****************************/

header{
	position:sticky;
	top:0;
	z-index:100;
	background:white;
	box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.container{
	width:min(1100px,92%);
	margin:auto;
}

nav{
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding:18px 0;
}

.logo{
	font-size:1.7rem;
	font-weight:900;
	color:var(--red);
}

.logo span{
	color:var(--gold);
}

.menu{
	display:flex;
	list-style:none;
	gap:30px;
}

.menu a{
	text-decoration:none;
	font-weight:700;
	color:var(--brown);
	transition:.25s;
}

.menu a:hover{
	color:var(--red);
}

/***************************
HERO
****************************/

.hero{
	min-height:70vh;
	display:flex;
	align-items:center;

	background:

		linear-gradient(135deg,
		rgba(255,248,239,.93),
		rgba(250,244,234,.94)
		),

		repeating-linear-gradient(
		45deg,
		var(--cream2) 0px,
		var(--cream2) 70px,
		#f5e7d4 70px,
		#f5e7d4 140px
		),

		repeating-linear-gradient(
		-45deg,
		transparent 0,
		transparent 70px,
		rgba(184,80,66,.10) 70px,
		rgba(184,80,66,.10) 140px
		);
}

.hero-grid{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:60px;
	align-items:center;
}

.hero h1{
	font-size:3.4rem;
	line-height:1.1;
	margin-bottom:20px;
	color:var(--brown);
}

.hero p{
	font-size:1.15rem;
	margin-bottom:25px;
	max-width:500px;
}

.browse-button{
	display:inline-block;
	padding:15px 34px;
	background:var(--red);
	color:white;
	text-decoration:none;
	font-weight:700;
	border-radius:40px;
	transition:.25s;
}


.browse-button:hover{
	background:var(--gold);
}


.contact-button{
	display:flex;
	align-self: flex-start;
	width: max-content;
	padding: 8px 16px;
	background:var(--red);
	color:white;
	text-decoration:none;
	font-weight:700;
	border-radius:40px;
	transition:.25s;
}


.contact-button:hover{
	background:var(--gold);
}



.patchworkimg{
	/* patchwork hero image */
	width: 300px;
	height: 300px;
	border-radius: 15px; /* Adjust this value to change the roundness */
	object-fit: cover;   /* Ensures the image doesn't stretch or distort */
	/* Shadow */
	box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.30); 
}


/*************************************
contactForm
**************************************/

/* Center the container on the page */
.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 100vh; */
}

/* Make the form box size to its contents, and center it */
.contact-form {
  display: inline-block;
  text-align: left; /* Left justifies the form elements inside */
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%; 
}

/* Optional: Make labels display on their own line for a cleaner left-justified look */
.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 8px;
  box-sizing: border-box;
}

.formmessage {
  width: 100%;
 }

.button-row {
  display: flex;
  /* ADJUST THIS: Spacing (gap) horizontally between the buttons */
  gap: 20px; 
  /* ADJUST THIS: Margin space added ABOVE the button row */
  margin-top: 25px; 
  /* ADJUST THIS: Margin space added BELOW the button row */
  margin-bottom: 10px; 
}

/* Single class rule for both buttons */
.btn-contact {
	display:inline-block;
	padding:10px 15px;
	background:var(--red);
	color:white;
	text-decoration:none;
	font-weight:700;
	border-radius:40px;
	transition:.25s;
  
  /* Browser reset properties */
  border: none;
  cursor: pointer;
}

/* Hover state applies identically to both */
.btn-contact:hover {
	background:var(--gold);
}

/***************************
BACK TO TOP LINK
****************************/

.backtotop{
	color: var(--brown); /* unvisited  link color */
	text-decoration: none; /* Removes the underline */
	padding:40px 40px;
	text-align:right;
}

.backtotop:visited  {
	color: var(--brown); /* visited  link color */
	text-decoration: none; /* Removes the underline */
}

.backtotop:hover  {
	color: var(--red); /* hover  link color */
	text-decoration: none; /* Removes the underline */
}

.backtotop:active  {
	color: var(--brown); /* active  link color */
	text-decoration: none; /* Removes the underline */
}

/***************************
SECTION
****************************/

.section-nav {
	text-align:center;
	margin-bottom:20px;
	color:#666;

}

section{
	padding-top: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
	padding-right: 0px;
}


.section-title{

	font-size:2.3rem;
	text-align:center;
	margin-bottom:15px;
	margin-top:45px;
	color:var(--brown);

}

.section-title::before {
	content: '- - - ✂ - - -';
	display: block;
	font-size: 1rem;
	color: var(--primary);
	letter-spacing: 2px;
	margin-top: 2px;
}

.section-title::after {
	content: '- - - ✂ - - -';
	display: block;
	font-size: 1rem;
	color: var(--primary);
	letter-spacing: 2px;
	margin-top: 2px;
}


.subtitle{

	text-align:center;
	margin-bottom:45px;
	margin-left:45px;
	margin-right:45px;
	color:#666;

}

.cards{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
	gap:30px;
}

.card{
	background:white;
	padding:30px;
	border-radius:18px;
	box-shadow:0 8px 20px rgba(0,0,0,.08);
	transition:.25s;
}

.card:hover{
	transform:translateY(-6px);
}

.card h3{
	margin-bottom:15px;
	color:var(--red);
}

/***************************
FOOTER
****************************/

footer{
	background:var(--brown);
	color:white;
	padding:40px 0;
	text-align:center;
}

	/* HOME LINK ONLY */
	.home_link {
        color: #dddddd; /* unvisited  link color */
        text-decoration: none; /* Removes the underline */
    }
    .home_link:visited  {
        color: #dddddd; /* visited  link color */
    }

    .home_link:hover  {
        color: #ffffff; /* hover  link color */
    }

    .home_link:active  {
        color: #dddddd; /* active  link color */
    }


/***************************
MOBILE
****************************/

@media(max-width:800px){
	nav{
		flex-direction:column;
		gap:18px;
	}

	.menu{
		flex-wrap:wrap;
		justify-content:center;
		gap:15px;
	}

	.hero{
		padding:20px 0;
	}

	.hero-grid{
		grid-template-columns:1fr;
		text-align:center;
	}

	.hero h1{
		font-size:2.5rem;
	}

	.hero p{
		margin:auto auto 30px;
	}
}























