
:root {
  --primary: #AB7442;
  --light: #F5F5F5;
  --dark: #353535;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Schibsted Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}



html {
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  background-color: #F5F5F5;
  background-size: cover;
  background-position: center;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.light-mode {
  background-color: var(--light);
  color: #111;
}
p{
  font-size: 0.82em;
  font-family: "Schibsted Grotesk", sans-serif;
}

body.light-mode .links a {
color: var(--primary);
}

body.light-mode .links a:hover {
color: var(--dark);
}

body.light-mode a {
  color: var(--primary);
}

body.light-mode .navbar,
body.light-mode .links.active {
  background-color: #fff;
}

body.light-mode .action_btn {
  background-color: #111;
  color: #fff;
}

body.loaded {
  overflow-y: auto;
}

a {
  text-decoration: none;
  color: var(--primary);
  font-size: 1rem;
  text-transform: uppercase;
}

a:hover {
  color: var(--dark);
  transition: transform 0.3s ease, opacity 0.3s ease;

}

ul {
  list-style: none;
}

header {
  padding: 0 2rem;
}

.navbar {
  width: 100%;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;

  top: 0;
  z-index: 999;
  background-color: var(--dark); /* Add background to prevent transparency */
  
  position: fixed;
left: 0;
right: 0;

}

.navbar.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.navbar .logo a {
  font-size: 1.5rem;
  font-weight: bold;
}

.links {
  display: flex;
  gap: 1rem;
  color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.links a.active {
  border-bottom: 2px solid var(--primary);
  color: #fff;
}

.action_btn {
  background-color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  transition: background 0.3s ease;
}

.action_btn:hover {
  background-color: #8c5e33;
  color: #000000;
}

.toggle_btn {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#darkToggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

#darkToggle:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .links {
	display: none;
	flex-direction: column;
	position: absolute;
	background-color: var(--light);
	top: 60px;
	right: 0;
	padding: 1rem;
	z-index: 999;
  }
  

  .links.active {
	display: flex;
	transform: translateX(0);
	opacity: 1;
  }
}

/* Overlay Loader */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000000;
  background-color: #111;
}

.overlayDoor::before,
.overlayDoor::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 100%;
  background: #111;
  transition: 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  transition-delay: 0.8s;
}

.overlayDoor::before {
  left: 0;
}

.overlayDoor::after {
  right: 0;
}

.overlay.loaded .overlayDoor::before {
  left: -50%;
}

.overlay.loaded .overlayDoor::after {
  right: -50%;
}

.overlayContent {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: 0.5s ease;
}

.overlay.loaded .overlayContent {
  opacity: 0;
  margin-top: -15px;
}

.loader {
  width: 128px;
  height: 128px;
  border: 3px solid #fff;
  border-bottom: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader .inner {
  width: 64px;
  height: 64px;
  border: 3px solid transparent;
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spinInner 1s linear infinite;
}

.skip {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #fff;
  font-family: 'Nunito', sans-serif;
}

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

@keyframes spinInner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-720deg); }
}



/*ABOUT*/
.about{
margin: 15px auto;
text-align: center;
background-color: #ffffff;
}
/* BUTTUON*/

/* From Uiverse.io by vinodjangid07 */ 
.container{
margin: 10px auto;
}

.Btn-Container {
display: flex;
width: 170px;
height: fit-content;
background-color: #1d2129;
border-radius: 40px;
box-shadow: 0px 5px 10px #bebebe;
justify-content: space-between;
align-items: center;
border: none;
cursor: pointer;
}
.icon-Container {
width: 45px;
height: 45px;
background-color: var(--primary);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
border: 3px solid #1d2129;
}
.text {
width: calc(170px - 45px);
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.1em;
letter-spacing: 1.2px;
}
.icon-Container svg {
transition-duration: 1.5s;
}
.Btn-Container:hover .icon-Container svg {
transition-duration: 1.5s;
animation: arrow 1s linear infinite;
}
@keyframes arrow {
0% {
opacity: 0;
margin-left: 0px;
}
100% {
opacity: 1;
margin-left: 10px;
}
}


/*CARD */
/* From Uiverse.io by Praashoo7 */ 
.card {
width: 75%;
height: 22.5em;
background:var(--primary);
transition: 1s ease-in-out;
clip-path: polygon(30px 0%, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0% 30px);
border-top-right-radius: 20px;
border-bottom-left-radius: 20px;
display: flex;
flex-direction: column;
margin: 40px auto;
}

.card span {
font-weight: bold;
color: white;
text-align: center;
display: block;
font-size: 1em;
}

.card .info {
font-weight: 400;
color: white;
display: block;
text-align: center;
font-size: 0.72em;
margin: 1em;

}

.card .img {
width: 4.8em;
height: 4.8em;
background: white;
border-radius: 15px;
margin: auto;
}

.card .share {
margin-top: 1em;
display: flex;
justify-content: center;
gap: 1em;
}

.card a {
color: white;
transition: .4s ease-in-out;
}

.card a:hover {
color: var(--primary);
}

.card button {
padding: 0.8em 1.7em;
display: block;
margin: auto;
border-radius: 25px;
border: none;
font-weight: bold;
background: #ffffff;
color: rgb(0, 0, 0);
transition: .4s ease-in-out;
}

.card button:hover {
background: var(--dark);
color: white;
cursor: pointer;
}



/*ABOUT*/


/* CONTACT  */
.contactus{
background-color: var(--primary);
padding: 20px auto;
padding-top: 20px;
padding-bottom: 20px;
}


#contactForm {
width: 60%;
margin: 0px auto;
border-radius: 15px;
padding: 20px 40px;
border: 1px solid var(--primary);
font-size: 0.72em;
background-color: var(--light);
}

/*EXPERTISE*/
.expertise
{
padding: 10px 15px;
margin: 2px #000000;

background-color: var(--light);
border-top-right-radius: 20px;
border-bottom-left-radius: 20px;
transition: 1s ease-in-out;
clip-path: polygon(30px 0%, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0% 30px);


--range-start: contain 0;
--range-end: contain 100%;

animation: fade-in ease;
animation-timeline: view(block);
animation-range: var(--range-start) var(--range-end);
}
.expertise:hover
{
transform: scale();
opacity: 1;
}
.expertise .img{
border-top-right-radius: 20px;
border-bottom-left-radius: 20px;
}

.imgexpertise{
margin: 30px auto;

}

/*FOOTER*/

.footer {
  background: #10182F;
  color: #fff;
  border-top: 1px solid #333;
  
}

.footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-row .footer-col h4 {
  font-size: 1.2rem;
  font-weight: 400;
}

.footer-col .links {
  margin-top: 20px;
  display:inline-block;
}

.footer-col .links li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-col .links li a {
  text-decoration: none;
  color: #bfbfbf;
}

.footer-col .links li a:hover {
  color: #fff;
}

.footer-col p {
  margin: 20px 0;
  color: #bfbfbf;
  max-width: 300px;
}

.footer-col form {
  display: flex;
  gap: 5px;
}

.footer-col input {
  height: 40px;
  border-radius: 6px;
  background: none;
  width: 100%;
  outline: none;
  border: 1px solid #7489C6;
  caret-color: #fff;
  color: #fff;
  padding-left: 10px;
}

.footer-col input::placeholder {
  color: #ccc;
}

.footer-col form button {
  background: #fff;
  outline: none;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}

.footer-col form button:hover {
  background: #cecccc;
}

.footer-col .icons {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  cursor: pointer;
}

.footer-col .icons i {
  color: #afb6c7;
}

.footer-col .icons i:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer .footer-row {
	padding: 20px;
	gap: 1rem;
  }

  .footer-col form {
	display: block;
  }

  .footer-col form :where(input, button) {
	width: 100%;
  }

  .footer-col form button {
	margin-top: 10px;
  }
}

/*PRODUCTS CAROUSEL*/


.scroll-container {
margin: 0PX;
height: 100svh;
display: flex;
justify-content: center;
align-items: center;
background: var(--light);
}

.scroll-container .infinite-scroll-wrapper {
overflow: hidden;
width: 100%;
position: relative;
}

.infinite-scroll-wrapper .infinite-scroll-content {
display: flex;
flex-direction: row;
white-space: nowrap;
animation: scroll 100s linear infinite;
width: 100%;
gap: 16px;
}

.infinite-scroll-wrapper .infinite-scroll-items {
display: flex;
flex-direction: row;
flex-shrink: 0;
gap: 16px;
}

.infinite-scroll-items .item-wrap {
position: relative;
min-width: 238px;
height: 315px;
flex-shrink: 0;
overflow: hidden;
}

.item-wrap img {
width: 100%;
height: 100%;
object-fit: contain;
transition: transform 0.3s ease;
}

.item-wrap .text {
position: absolute;
top: 16px;
left: 16px;
z-index: 10;
color: var(--primary);
font-weight: 800;
}

.item-wrap:hover img {
transform: scale(1.05);
}

@media (min-width: 1024px) {
.infinite-scroll-wrapper:hover .infinite-scroll-content {
	animation-play-state: paused;
}
}

@keyframes scroll {
0% {
	transform: translateX(0);
}
100% {
	transform: translateX(-50%);
}
}


/* STYLED SECTIONS */
#repairs .card {
border: 1px solid #444;
transition: transform 0.2s ease;
}

#repairs .card:hover {
transform: scale(1.02);
}



