﻿/* Loading Animation for Pages */

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #7ca1c7; /* Your blue shade */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: transparent;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.content {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.loaded .content {
    opacity: 1;
}

html {
  scroll-behavior: smooth;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* End of Section */

body {
	background-image: url('Images/woodtexture4.jpg');
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/*Navbar Styling*/
.navbar {
 	background-color: rgba(44, 28, 17, 0.8);
 	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.7);
	margin-top: 0;
    margin-left: 10px;
    margin-right: 10px;
	position: fixed;
	z-index: 1000;
    width: 100%;
    left: -100%;
}

/* Slide-in animation for the navbar */
@keyframes slideIn {
  0% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}

/* Apply animation when page loads */
.navbar {
  animation: slideIn 0.9s ease-out forwards; /* Slide in on page load */
}

.nav-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-top: 20px;
}
      
/*Logo Styling*/
.logo img {
	display: flex;
	height: 120px;
	width: 275px;
	margin-left: 100px;
	margin-bottom: 10px;
	margin-top: 15px;
}

.logo img:hover {
	transform: scale(1.1); /* Increase size on hover */
	transition: transform 0.3s ease;
}

.nav-links {
	list-style: none;
	display: flex;
	margin-right: 30px;
	white-space: nowrap; /* Keep Links from Wrapping Underneath */
	font-family: 'Open Sans', sans-serif; /* Font for links */
	text-shadow: 0px 5px 3.5px rgba(0, 0, 0, 0.3); /* Subtle depth */ 
	font-weight: 500;
}

.nav-links li {
    margin: 0 35px;
}

.nav-links a {
	text-decoration: none;
	display: inline-block;
    color: #d1b389;
    margin-top: 50px;
    font-size: 24px;
    letter-spacing: 0.7px;
    transition: 0.3s ease-in, color 0.3s ease-in, box-shadow 0.3s ease-in;    
}

.nav-links a:hover {
    color: #c19a6b; /* Changes color on hover */
    transition: 0.3s ease-in-out;
    transform: scale(1.1); /* Increases size on hover */
    transform-origin: center;
}
/* End of Header Section */

/* Back to Top Button Styling */
#backToTop {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
 	background: #3c2616;
	color: #d1b389;
	border: 1px solid #d1b389;
	padding: 10px 15px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	display: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 1000;
}

#backToTop:hover {
    transform: translateX(-50%) scale(1.1); /* Slightly enlarges the button */
}

/* End of Section */


/* Footer Styling */
.footer {
	display: flex;
	background-color: rgba(44, 28, 17, 0.8); 
    color: #d1b389;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.7);
    width: 98%;
}

.footer-logo1 img {
	width: 75px;
	height: 75px;
	margin-left: 20px;
}

.footer-logo2 img {
	width: 75px;
	height: 75px;
	margin-right: 20px;
	transform: scaleX(-1); /* Flips the image horizontally */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 15px;
    font-family: 'Open Sans', sans-serif;
}

.footer-links a {
    text-decoration: none;
    color: #d1b389;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #c19a6b;
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.socialmedia {
	display: flex;
	padding-bottom: 15px;
	justify-content: space-between;
	gap: 20px;
}

.facebook-icon i {
	font-size: 28px;
	color: #d1b389
}

.instagram-icon i {
	font-size: 28px;
	color: #d1b389;
}

.footer-bottom {
    font-size: 10px;
    margin-top: 5px;
    padding-bottom: 40px;
}
/* End of Footer Section */

.hero-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 120px;
}

.hero-overlay {
	font-family: Montserrat, sans-serif;
	text-align: left;
	width: 80%;
	display: flex;
	flex-direction: column;
	padding: 20px;
	color: #d1b389;
	text-shadow: 0px 5px 10px rgba(231, 215, 193, 0.75);
}

.hero-overlay h1 {
	font-size: 65px;
	letter-spacing: 5px;
}

.hero-overlay p {
	font-size: 30px;
	text-decoration: underline;
	font-style: italic;
	margin-top: -20px;
}

.service-boxes {
	display: flex;
	gap: 50px;
}

.service {
	display: flex;
	flex-direction: column;
	width: 400px;
	height: 450px;
	background-color: #d1b389;
	text-align: center;
	color: #2c1c11;
	font-family: Montserrat, sans-serif;
	box-shadow: 0px 0px 10px rgba(209, 179, 137, 1);
	border: 1px solid #2c1c11;
	transition: transform 0.3s ease-in;
}

.service:hover {
	transform: translateY(-8px);
}

.service img {
	width: 100%;
	height: 300px;
	object-fit: contain;
}

.divider {
	height: 20px;
	background: #3D2616;
}

.service-overlay {
	padding: 20px;
}

.gallery {
	background-color: #d1b389;
	margin: 100px auto;
	font-family: Montserrat, sans-serif;
	color: #2c1c11;
	justify-content: center;
}

.galleryheader {
	display: flex;
	margin-top: 60px;
	justify-content: center;
	align-items: center;

}

.galleryheader h1 {
	font-size: 36px;
	color: #2c1c11;
}

.picture-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px auto 30px;
	gap: 150px;
}

.leftside {
	display: flex;
	flex-direction: column;
	margin-bottom: 40px;
}

.leftside img {
	width: 650px;
	height: 300px;
	background-color: yellow;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);

}

.leftside-split {
	display: flex;
	gap: 50px;
	margin-top: 50px;
}

.leftside-split img {
	width: 300px;
	height: 300px;
	background-color: yellow;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.rightside {
	display: flex;
	gap: 50px;
	margin-bottom: 40px;
}

.rightside-column {
	display: flex;
	flex-direction: column;
	gap: 50px;

}

.rightside-column img {
	width: 300px;
	height: 300px;
	background-color: yellow;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.rightside-split {
	display: flex;
	height: 650px;
	width: 500px;
}

.rightside-split img {
	width: 100%;
	height: 100%;
	background-color: yellow;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.aboutus {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 600px;
	margin-bottom: 20px;
	background: rgba(44, 28, 17, 0.7);
	border-radius: 8px;
}

.aboutleft {
	display: flex;
	flex-direction: column;
	flex: 1;
	position: relative;
	justify-content: center;
	align-items: center;
}

.aboutleft img {
	width: 100%;
	height: 600px;
	border-radius: 8px;
}

.aboutright {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	max-width: 40%;
	z-index: 1;
	position: relative;
}

.aboutright::before {
	content: "";
	position: absolute;
	background-image: url('dovefooterlogowhite.png');
	background-size: 300px;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.2;
	z-index: 0;
	width: 300px;
	height: 300px;
	filter: blur(1px);
}


.abouttext {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgba(44, 28, 17, 0.8);
	font-family: Montserrat, sans-serif;
	color: #d1b389;
	position: absolute;
	max-width: 60%;
	padding: 20px;
}

.abouttext h1 {
	font-size: 40px;
}

.abouttext p {
	font-size: 20px;
}

.aboutright h1 {
	font-family: Montserrat, sans-serif;
	font-size: 50px;
	color: #d1b389;
	text-decoration: underline;
	font-weight: 700px;
	text-shadow: 0px 5px 10px rgba(231, 215, 193, 0.7);
}

.woodgallery {
	display: flex;
	justify-content: center;
	align-items: center;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gridtemplaterows: repeat;
	gap: 50px;
	margin: 170px auto;
}

.gallery-grid img {
	width: 400px;
	height: 400px;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8);
}




.hamburger {
  display: none; /* Hidden on desktop */
  font-size: 32px;
  cursor: pointer;
  color: black;
  margin-right: 40px;
  z-index: 1100;
}




/* === MOBILE MODE === */
@media screen and (max-width: 768px) {
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  line-height: 1.5;
  flex: 1 0 auto;
}

/* HEADER & NAV */
.hamburger {
  display: block;
  font-size: 32px;
  cursor: pointer;
  color: black;
  margin-right: 40px;
  z-index: 1100;
}

.navbar {
  position: static;
  top: auto;
  left: auto;
  height: auto;
  margin: 0;
  padding: 0;
  box-shadow: none;
  animation: none;
}

.nav-links {
  display: none;
  flex-direction: column;
  background-color: #2B1A0F;
  position: absolute;
  z-index: 1000;
  top: 50px;
  right: 0;
  width: 80%;
  padding: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.nav-links.open {
  display: flex;
  z-index: 9999;
}

.logo img {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  height: auto;
}


/* FOOTER MOBILE FIX */
.footer {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
  width: 100%;
  padding: 20px 10px;
  margin: 0;
  border-top: 3px solid black;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
  background-image: url('websiteimages/aluminumtexture.jpg');
  background-size: cover;
  background-repeat: repeat;
}

.footer-logo1 img,
.footer-logo2 img {
  max-width: 60px;
  max-height: 60px;
  margin: 0 auto;
}

.footer-logo2 img {
  transform: scaleX(-1);
}

.footer-content,
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: black;
  font-size: 16px;
}

.linkedin-icon i,
.facebook-icon i,
.instagram-icon i {
  font-size: 20px;
}

.hero-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 20px;
}

.hero-overlay {
	font-family: Montserrat, sans-serif;
	text-align: left;
	width: 80%;
	display: flex;
	flex-direction: column;
	padding: 10px;
	color: #d1b389;
	text-shadow: 0px 5px 10px rgba(231, 215, 193, 0.75);
}

.hero-overlay h1 {
	font-size: 30px;
	letter-spacing: 3px;
}

.hero-overlay p {
	font-size: 18px;
	text-decoration: underline;
	font-style: italic;
	margin-top: -20px;
}
.service-boxes {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.service {
	display: flex;
	flex-direction: column;
	width: 300px;
	height: 450px;
	background-color: #d1b389;
	text-align: center;
	color: #2c1c11;
	font-family: Montserrat, sans-serif;
	box-shadow: 0px 0px 10px rgba(209, 179, 137, 1);
	border: 1px solid #2c1c11;
}

.service img {
	width: 100%;
	height: 300px;
	object-fit: contain;
}

.divider {
	height: 20px;
	background: #3D2616;
}

.service-overlay {
	padding: 20px;
}
.gallery {
	background-color: #d1b389;
	margin: 100px auto;
	font-family: Montserrat, sans-serif;
	color: #2c1c11;
	justify-content: center;
}

.galleryheader {
	display: flex;
	margin-top: 60px;
	justify-content: center;
	align-items: center;

}

.galleryheader h1 {
	font-size: 36px;
	color: #2c1c11;
}

.picture-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 30px auto 30px;
	gap: 150px;
}

.leftside {
	display: flex;
	flex-direction: column;
	margin-bottom: 40px;
}

.leftside img {
	width: 500px;
	height: 300px;
	background-color: yellow;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);

}

.leftside-split {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 50px;
}

.leftside-split img {
	width: 100%;
	height: 300px;
	background-color: yellow;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.rightside {
	display: flex;
	flex-direction: column;
	gap: 50px;
	margin-bottom: 40px;
}

.rightside-column {
	display: flex;
	flex-direction: column;
	gap: 50px;

}

.rightside-column img {
	width: 100%;
	height: 300px;
	background-color: yellow;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.rightside-split {
	display: flex;
	flex-direction: column;
	height: 500px;
	width: 500px;
}

.rightside-split img {
	width: 100%;
	height: 100%;
	background-color: yellow;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.aboutus {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: auto;
	margin-bottom: 20px;
	background: rgba(44, 28, 17, 0.7);
	border-radius: 8px;
}

.abouttext h1 {
	font-size: 24px;
}

.abouttext p {
	font-size: 16px;
}

.aboutright h1 {
	font-family: Montserrat, sans-serif;
	font-size: 18px;
	color: #d1b389;
	text-decoration: underline;
	font-weight: 700px;
	text-shadow: 0px 5px 10px rgba(231, 215, 193, 0.7);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gridtemplaterows: repeat;
	gap: 30px;
	margin: 20px auto;
}


}
