/* General Styles */

.work-sans-<uniquifier> {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


.dm-sans-<uniquifier> {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.libre-franklin-<uniquifier> {
  font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

/* light */
@font-face {
    font-family: 'AletaNo10';
    src: url("../fonts/BwAletaNo10-Light.woff") format('woff');
    font-weight:lighter;
    font-style: normal;
}



/* Thin */
@font-face {
    font-family: 'AletaNo10';
    src: url("../fonts/BwAletaNo10-Thin.woff") format('woff');
    font-weight: 100;  /* Thin weight */
    font-style: normal;
}

/* Regular */
@font-face {
    font-family: 'AletaNo10';
    src: url("../fonts/BwAletaNo10-Regular.woff") format('woff');
    font-weight: normal;  /* Regular weight */
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: 'AletaNo10';
    src: url("../fonts/BwAletaNo10-Bold.woff") format('woff');
    font-weight: bold;  /* Bold weight */
    font-style: normal;
}

/* Black*/
@font-face {
    font-family: 'AletaNo10';
    src: url("../fonts/BwAletaNo10-Black.woff") format('woff');
    font-weight: bolder;  /* Black weight */
    font-style: normal;
}

html {
	scroll-padding-top: 10rem;
	
}
body {
    font-family: 'Libre Franklin', sans-serif;
/*	scroll-padding-top: 10rem;*/
    background-color: #2E2A24;  /* Dark warm grey background */
    color: #F1F1F1;  /* Light grey text */
    margin: 0;
    padding: 0;
}

/* Header */
header {
	position: sticky;
	top: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	z-index: 2;
	background-color: #B65F07;
	flex-wrap: wrap;

}

.header-logo {
	max-width: 20em;
	min-width: 15em;
}

.header-logo img {
	width: 100%;
	height: auto; /* Keep logo responsive */
}

nav ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}

nav ul li {
	margin: 0 1rem;
}

nav ul li a {
	text-decoration: none;
	color: #F9B444;
	font-weight: 500;
}

nav ul li a:hover {
	text-decoration: underline;
}



/* Hero Section */
#hero {
    background-color: #8A4300;  /* Dark burnt orange tone */
    text-align: right;
/*    padding: 50px 20px;*/
	display:flex;
}

#hero h1 {
    font-size: 2.5em;
    color: #F9A825;
	text-align: right;
	font-weight: 300;
	
}
.title {
	font-family: 'DM sans';
	font-weight:100;
	font-size: 6rem;
	color:#B65F07;
}

#hero p {
    font-size: 1.2rem;
	text-align: right;
	margin-bottom: 2rem;
	margin-left: 25%;
}

.hero-text {
	width:50%;
margin-right:2rem;
	margin-left:4rem;
	margin-top:auto;
	margin-bottom:auto;
	padding:0;
	
}

.hero-img {
	max-width:50%;
	height:100%;
	
}

.hero-img img {
	width:100%;
	display:block;
}

.cta-button {
    background-color: #F9A825;
    color: #2E2A24;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: .5em;
/*
	margin-left:70%;
	margin-right:20%;
*/

}

.cta-button:hover {
    background-color: #FFB74D;
}

/* Services Section */

#services {

    text-align: center;
	padding-bottom:2rem;
	max-width:70em;
	margin-left:auto;
	margin-right:auto;
}

.services {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem 0rem 2rem;
    background-color:  #2E2A24;
}

#services h2 {
	font-family: AletaNo10;
	font-weight:100;
    font-size: 4rem;
    color: #F9A825;
	margin-bottom:0;
}

.service-item {
    margin: 20px 0;
}

.service-item h3 {
    font-size: 1.8em;
    color: #F1F1F1;
}

.service-item p {
    font-size: 1.2em;
    color: #B0B0B0;
}




.card {
    width: 30%;
	border-style:solid;
	border-width: .4em;
	border-color:#B65F07;
    border-radius: 2em;
   /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
*/
    background-color: #F9A825;
    margin: 1rem;
}

.card-header {
    background-color: #B65F07;
/*  color: white;*/
    padding: 1rem;
    text-align: center;
	font-family:Libre Franklin;
	font-size: 1.8em;
	font-weight:700;
    color: #F1F1F1;
    border-top-left-radius: 0.6em;
    border-top-right-radius: 0.6em;
}

.card-description {
    padding: 1rem;
    text-align: left;
	color:black;
	line-height:1.5;
}




/* About Section */
#about {
    padding: 40px 20px;
    background-color: #2E2A24;  /* Matches the dark warm grey theme */
    text-align: center;
}
.about-text {
	width:60%;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}
#about h2 {
	font-family:AletaNo10;
	font-weight:100;
    font-size: 5em;
    color: #F9A825;  /* Orange color for headers */
	margin-bottom:1rem;
}

#about p {
    font-size: 1.2em;
    color: #B0B0B0;
    line-height: 1.8;
    max-width: 100%;
/*    margin: 0 auto;*/
}

/* Add some slight margin to separate the About section from others */
#about p:first-of-type {
    margin-top: 0;
}

/* Contact Form */

.contact-form {
  background-color: #121212;
  color: #fff;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 4em;
	margin-top:3em;
}

.contact-form h2 {
  text-align: center;
  color: #f57c00; /* Muted Orange */
  margin-bottom: 30px;
}

#contactForm {
	display:flex;
	flex-direction: column;
	justify-content:space-around;
	gap:1rem;
}

#contactForm .input{
  	font-family: 'Libre Franklin', sans-serif;	
	height: 1rem;
	border-radius: 0.5rem;
	padding: 1rem;
	font-size:1rem;	
	border: 1px solid #555;
	background-color:#333;
	color:white;
	
}

#contactForm textarea {
	font-family: 'Libre Franklin', sans-serif;	
	height: 10rem;
	border-radius: 0.5rem;
	padding: 1rem;
	font-size:1rem;
	border: 1px solid #555;
	background-color:#333;
	color:white;
	
}

.form-button {
	
	background-color:#f57c00;
	color:white;
	border-radius:1.2rem;
	cursor: pointer;
	border:none;
	padding:0.8rem;
	width: 30%;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	margin-top:2rem;
}

#formMessage {
    margin-top: 10px;
    font-weight: bold;
    padding: 1rem;
    border-radius: 1rem;
    text-align: center;
/*    background-color: #222;*/
    color: white; /* Ensure visibility */
}


/* slider */

.slider {
	width:100%;
	max-height:8em;
}

.logo-carousel-container {
    width: 100%; /* Adjust as needed */
    overflow: hidden; /* Hide overflowing logos */
    position: relative;
    background-color: #B65F07; /* Optional background color */
}

.logo-carousel-track {
    display: flex;
    animation: scroll 30s linear infinite; /* Adjust animation duration */
    width: calc(4400px); /*  Number of logos * logo width (example)  */
}

.logo {
    max-width:14em;  /* Adjust as needed */
	max-height:8rem;
	flex-shrink: 0; /* Prevent logos from shrinking */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 80%; /* Adjust logo image size */
    max-height: 80%;
    display: block; /* Remove default inline spacing */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%)); /*  Half the total width so it loops */
    }
}


.portfolio-box {

    text-align: center;
	padding-bottom:2rem;
	max-width:70em;
	margin-left:auto;
	margin-right:auto;
}
.portfolio-box h2 {
	font-family: AletaNo10;
	font-weight:100;
    font-size: 4rem;
    color: #F9A825;
	margin-bottom:1rem;
}
.portfolio-box p {
	margin-bottom:2rem;
}
 /* Gallery */

/* Portfolio gallery layout */
.portfolio-gallery {
    column-count: 4; /* Number of columns */
    column-gap: 1.5rem; /* 2rem gap between images */
    width: 100%;
}

/* Gallery item styling */
.gallery-item {
    display: inline-block; /* Make sure images are inline in the column */
    margin-bottom: 1.5rem; /* Bottom margin to maintain equal gap */
    width: 100%;
    break-inside: avoid; /* Prevent items from breaking into a new column */
}

/* Preview image styling */
.gallery-img {
    width: 100%;
    height: auto;
    display: block;
/*    border-radius: 8px;*/
    transition: transform 0.3s ease;
}

/* Lightbox modal - initially hidden */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
	bottom:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    display: none; 
/*
    overflow:hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
*/
}

/* Show the modal when the input chackbox is checked */
input[type="checkbox"]:checked + .lightbox-link + .lightbox-modal {display:flex;}

/* Show lightbox when checkbox is checked */
.lightbox-trigger:checked ~ .lightbox-modal {
    opacity: 1;
    visibility: visible;
/*    display: flex;    */
}

/* Background clickable area */
.lightbox-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
	z-index:-1;
}

/* Lightbox image styling */
.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain; /* Ensure the image scales properly */
	margin:0 auto;
}

/* The content container to hold image and caption */
.lightbox-content-container {
    text-align: center; /* Center the text inside */
    position: relative; /* Allows better positioning of the caption */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Caption styling */
.lightbox-caption {
    color:#FD9A36;
    font-size: 0.8rem;
    margin-top: 10px; /* Space between the image and caption */
    text-align: center;
    max-width: 80%; /* Limit the caption width */
	word-wrap:break-word;
	padding: 0 10px;
}

/* Close button styling */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 2;
}


/* Hover effect for images */
.gallery-img:hover {
    transform: scale(1.05);
}

/* Hide the checkbox input */
.lightbox-trigger {
    display: none;
}


/* Optional: add a smooth transition effect for the modal */
.lightbox-modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-trigger:checked ~ .lightbox-modal {
    opacity: 1;
}


/* Gallery */



/* Footer */
footer {
    background-color: #1C1610;
    color: #F1F1F1;
    padding: 20px 0;
    text-align: center;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

footer ul li {
    margin: 0 15px;
}

footer ul li a {
    text-decoration: none;
    color: #F9A825;
}

footer ul li a:hover {
    text-decoration: underline;
}





/* Example: For screens smaller than 768px */
@media (max-width: 768px) {
    .logo {
        width: 33.33%; /* Display 3 logos per row on smaller screens */
    }
}

/* Example: For even smaller screens (e.g., mobile phones) */
@media (max-width: 480px) {
    .logo {
        width: 50%; /* Display 2 logos per row on very small screens */
    }
}

@media (max-width: 768px) {
	
	
@media (max-width: 768px) {

	
	header {
		flex-direction: column;
		align-items: center;
		padding: 1rem;
	}

	.header-logo {
		width: 100%;
		max-width: 60%;
		padding: 1rem 0;
		text-align: center;
	}

	.header-logo img {
		width: 100%;
		height: auto;
	}

	nav {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	nav ul {
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
		width: auto;
		gap: .5rem;
	}
	
	nav ul li {
	margin: 0 .5rem;
}

	
#hero {
 text-align: center;
	display:flex;
	flex-direction:column;
	margin-bottom:2em;
}
	
#hero h1 {
    font-size: 2em;
    color: #F9A825;
	text-align: center;
	
}
.title {
	font-family: Libre Franklin;
	font-size:3rem;
	font-weight:200;
/*	line-height:1;*/
	margin-bottom:1rem;
}

#hero p {
    font-size: 1.2rem;
	text-align: center;
	margin-bottom: 2rem;
	margin-left:0;
	
}

.hero-text {
	width:80%;
margin-right:auto;
	margin-left:auto;
	margin-top:auto;
	margin-bottom:auto;
	padding:0;
	
}

.hero-img {
	max-width:100%;
	height:100%;
	margin-top:2em;
	
}
.cta-button {

	margin-left:auto;
	margin-right:auto;

}

.about-text {
	width:80%;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}
	
#about h2 {
    font-size: 3em;
}

#about p {
    font-size: 1em;
}

	#services h2 {
    font-size: 3rem;
	}

    .services {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%; /* Or another suitable value */
    }
	
.form-button {
	

	width: 50%;

}
	
.portfolio-gallery {
    column-count: 2; /* Number of columns */
    column-gap: 1.5rem; /* 2rem gap between images */
    width: 100%;
}
	
}

}