﻿/* Loading Animation for Pages */

.loader {
    border: 6px solid #4d4d4d;
    border-top: 6px solid #1e2b39; /* 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;
}

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

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

html {
  scroll-behavior: smooth;
}

/* End of Section */

body {
	background-image: url('aluminum.jpg');
	background-size: cover;
	background-repeat: repeat;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	opacity: 0;
	animation: fadeInPage 1s ease-in forwards;
}

@keyframes fadeInPage {
  to {
    opacity: 1;
  }
}

/*Navbar Styling*/
.navbar {
	background: linear-gradient(to bottom, #4d4d4d, #b0b0b0, #dddddd);
 	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #a9a9a9;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	margin-top: auto;
    margin-left: 10px;
    margin-right: 10px;
	position: fixed;
	z-index: 1000;
    width: 100%;
    left: -100%;
    border-top: 1px solid #1e2b39;
}

/* 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: 100px;
	width: 250px;
	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: #3a3a3a;
    margin-top: 50px;
    font-size: 22px;
    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: #1e2b39; /* 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-color: #1e2b39;
	color: white;
	border: 1px solid black;
	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: linear-gradient(to top, #4d4d4d, #b0b0b0, #dddddd); 
    color: #1e2b39;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    border-top: 3px solid black;
    margin: 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: #3a3a3a;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #1e2b39;
    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: #1e2b39;
	transition: transform 0.3s ease-in;

}

.instagram-icon i {
	font-size: 28px;
	color: #1e2b39;
	transition: transform 0.3s ease-in;

}

.linkedin-icon i {
	font-size: 28px;
	color: #1e2b39;
	transition: transform 0.3s ease-in;

}

.youtube-icon i {
	font-size: 28px;
	color: #1e2b39;
	transition: transform 0.3s ease-in;
}

.facebook-icon i:hover,
.instagram-icon i:hover,
.linkedin-icon i:hover,
.youtube-icon i:hover {
	transform: translateY(-5px);
}

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

.fabrication-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #1e2b39;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.1) grayscale(0.2);
  z-index: 1;
}

.hero-text-box {
  position: relative;
  z-index: 2;
  width: 40%;
  max-width: 600px;
  margin-left: 5%;
  background: rgba(10, 20, 30, 0.75); /* dark translucent panel */
  padding: 40px;
  border-radius: 12px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-text-box h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text-box h2 {
  font-size: 25px;
  margin-bottom: 0.5rem;
}

.hero-text-box h3 {
  font-size: 22px;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero-text-box p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-text-box .tagline {
  font-size: 20px;
  font-style: italic;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.capability-header h1 {
	font-family: Montserrat, sans-serif;
	font-size: 36px;
	text-decoration: underline;
	color: #1e2b39;
	text-align: center;
	margin-top: 50px;
}

.scroll-gallery {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 40px;
  scroll-snap-type: x mandatory;
}

.scroll-card {
  position: relative;
  min-width: 500px;
  height: 525px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.scroll-card img {
  width: 500px;
  height: 525px;
  object-fit: cover;
  display: block;
}

.scroll-card:hover {
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(30, 43, 57, 0.75);
  color: #f0f0f0;
  padding: 20px;
  width: 100%;
  font-family: Open Sans, sans-serif;
}

.overlay h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-family: Montserrat, sans-serif;
}

.overlay p {
  margin: 0;
  font-size: 17px;
}

.whydivine-header h1 {
	font-family: Montserrat, sans-serif;
	font-size: 36px;
	text-decoration: underline;
	color: #1e2b39;
	text-align: center;
	margin-top: 70px;
}

.why-row {
	display: flex;
	background-color: #dddddd;
	width: 70%;
	height: 250px;
	margin: 50px auto;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
	border: 1px solid #1e2b39;
	justify-content: center;
	box-sizing: border-box;
	gap: 0;
	transition: transform 0.3s ease-in;
	will-change: transform;
	border-radius: 8px;
}

.why-row:hover {
	transform: scale(1.05);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
}

.bluedivider {
	display: flex;
	flex: 0 0 8%;
	background: rgba(30, 43, 57, 0.75);
}

.why-image {
	display: flex;
	flex: 1%;
	overflow: hidden;
}

.why-image img {
	width: 100%;
	height: 100%;
	display: block;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

.why-text {
	display: flex;
	flex: 2;
	flex-direction: column;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
}

.why-text h1 {
	font-family: Montserrat, sans-serif;
	font-size: 28px;
	color: #1e2b39;
	text-decoration: underline;
}

.why-text p {
	font-family: Open Sans, sans-serif;
	font-size: 22px;
	color: #1e2b39;
}

.ourprocess-header {
	text-align: center;
}

.ourprocess-header h1 {
	font-family: Montserrat, sans-serif;
	font-size: 36px;
	text-decoration: underline;
	color: #1e2b39;
	text-align: center;
}

.ourprocess {
	padding: 30px 20px;
	text-align: center;
	width: 90%;
	margin: 40px auto;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	background-color: #dddddd;
	border-radius: 8px;
	border: 1px solid #1e2b39;
}

.process-slider {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	gap: 20px;
	margin-top: 40px;
}

.process-arrow {
	font-size: 3rem;
	background: none;
	border: none;
	cursor: pointer;
	color: #1e2b39;
	transition: transform 0.2s;
	display: inline-block;
}

.process-arrow:hover {
	transform: scale(1.2);
}

.process-slide-container {
	position: relative;
	width: 90%;
	max-width: 1200px;
	overflow: hidden;
	margin-top: 40px;
	background: rgba(30, 43, 57, 0.05);
}

.process-slide {
	display: none;
	position: relative;
	width: 100%;
	height: 500px;
}

.process-slide.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

.process-slide img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
	display: block;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	aspect-ratio: 16 / 9;
}

.process-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(30, 43, 57, 0.70);
	color: white;
	padding: 20px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.process-overlay h1 {
	font-family: Montserrat, sans-serif;
	font-size: 26px;
}

.process-overlay p {
	font-family: Open sans, sans-serif;
	font-size: 20px;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}


.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;
  background-color: #f0f8ff;
}

*, *::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: #f0f8ff;
  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;
}

.fabrication-hero {
  position: relative;
  height: 500px;
  max-width: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #1e2b39;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  max-width: 500px;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.1) grayscale(0.2);
  z-index: 1;
}

.hero-text-box {
  position: relative;
  z-index: 2;
  width: 70%;
  max-width: 400px;
  margin-left: 5%;
  background: rgba(10, 20, 30, 0.75); /* dark translucent panel */
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-text-box h1 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text-box h2 {
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.hero-text-box h3 {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero-text-box p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-text-box .tagline {
  font-size: 14px;
  font-style: italic;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.capability-header h1 {
	font-family: Montserrat, sans-serif;
	font-size: 30px;
	text-decoration: underline;
	color: #1e2b39;
	text-align: center;
	margin-top: 50px;
}

.scroll-gallery {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 40px;
  scroll-snap-type: x mandatory;
}

.scroll-card {
  position: relative;
  min-width: 300px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.scroll-card img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(30, 43, 57, 0.75);
  color: #f0f0f0;
  padding: 20px;
  width: 100%;
  font-family: Open Sans, sans-serif;
}

.overlay h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: Montserrat, sans-serif;
}

.overlay p {
  margin: 0;
  font-size: 15px;
}

.whydivine-header h1 {
	font-family: Montserrat, sans-serif;
	font-size: 30px;
	text-decoration: underline;
	color: #1e2b39;
	text-align: center;
	margin-top: 40px;
}

.why-row {
	display: flex;
	flex-direction: column;
	background-color: #dddddd;
	width: 100%;
	height: 550px;
	margin: 50px auto;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
	border: 1px solid #1e2b39;
	justify-content: center;
	box-sizing: border-box;
	gap: 0;
	transition: transform 0.3s ease-in;
	will-change: transform;
	border-radius: 8px;
}

.why-row:hover {
	transform: scale(1.05);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
}

.bluedivider {
	display: flex;
	flex: 0 0 8%;
	background: rgba(30, 43, 57, 0.75);
}

.why-image {
	display: flex;
	flex: 1%;
	overflow: hidden;
}

.why-image img {
	width: 100%;
	height: 100%;
	display: block;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

.why-text {
	display: flex;
	flex: 2;
	flex-direction: column;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
}

.why-text h1 {
	font-family: Montserrat, sans-serif;
	font-size: 28px;
	color: #1e2b39;
	text-decoration: underline;
}

.why-text p {
	font-family: Open Sans, sans-serif;
	font-size: 22px;
	color: #1e2b39;
}

.ourprocess-header h1 {
	font-family: Montserrat, sans-serif;
	font-size: 36px;
	text-decoration: underline;
	color: #1e2b39;
	text-align: center;
}

.ourprocess {
	padding: 30px 20px;
	text-align: center;
	width: 100%;
	margin: 40px auto;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	background-color: #dddddd;
	border-radius: 8px;
	border: 1px solid #1e2b39;
}

.process-slider {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	gap: 20px;
	margin-top: 40px;
}

.process-arrow {
	font-size: 1rem;
	background: none;
	border: none;
	cursor: pointer;
	color: #1e2b39;
	display: inline-block;
}

.process-slide-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	overflow: hidden;
	margin-top: 40px;
	background: rgba(30, 43, 57, 0.05);
}

.process-slide {
	display: none;
	position: relative;
	width: 100%;
	height: 500px;
}

.process-slide.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

.process-slide img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	object-fit: cover;
	display: block;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	aspect-ratio: 4 / 5;
}

.process-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(30, 43, 57, 0.70);
	color: white;
	padding: 20px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.process-overlay h1 {
	font-family: Montserrat, sans-serif;
	font-size: 20px;
}

.process-overlay p {
	font-family: Open sans, sans-serif;
	font-size: 16px;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

