@charset "utf-8";
/* CSS Document */

/* General reset */
body, h1, h2, p, a {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #ffffff;
    text-decoration: none;
}

/* Background */
body.services-page {
    background-color: #000000;
    margin: 0;
    padding: 0;
	overflow-x: hidden;
}

/* Menu */
.menu {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.menu-button {
    width: 35.5px;
    height: 35.5px;
    cursor: pointer;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border: 1px solid #B3892B;
}

.nav-menu a {
    display: block;
    margin: 10px 0;
    font-size: 14px;
    color: #B3892B;
}
.nav-menu.visible {
    display: block; /* Makes the menu visible when the 'visible' class is added */
}

/* Page Heading */
header {
	position: relative;
    text-align: center;
	width: auto;
	margin: 0;
	padding:0;
	z-index: 10;
	margin-bottom: 200px;
}

header, .services-gallery {
    margin: 0;
    padding: 0;
}

.page-heading {
	position: relative;
	margin: 0;
	top: 200px;
    font-size: 36px;
    font-weight: bold;
    color: #B3892B;
    width: 197.9px;
    line-height: 1.2;
	white-space: pre-line; /* Allows line breaks within the text */
	left:40px;
	transform: translateX(0);
	z-index: 5;
}

/* Added styling for the 'Click on image to view gallery' text */
.cta-text {
    font-size: 14px;
    color: white;
    font-weight: normal;
    margin-top: 210px; /* Adds some space between heading and text */
    line-height: 1.4;
    text-align: left;
	margin-left: 75px;
	z-index:5;
}
/* Services Gallery */
.services-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: calc(100% - 383px);
    margin: 0;
	padding-left: 362px;
	padding-right: 21px;
    gap: 41px;
	position: absolute;
	top: 0;
}

.service {
    flex: 1 1 auto;
    max-width: calc((100% -383px - 62px)/3);
    text-align: center;
	
	
}

.service img {
    width: 300px;
    height: 564px;
    object-fit: cover;
	display: block;
}

.services-gallery {
	margin-top: 0;
	padding-top: 0;
}

.service h2 {
    font-style: italic;
    color: #B3892B;
    font-size: 20px;
    margin-bottom: 10px;
}
.service a {
	position: relative;
	display: block;
	z-index: 10;
}

.service p {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    max-width: 299.8px;
	min-width: 200px;
    margin: 0 auto;
	text-align: left;
	/* Prevent single-word wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* Ensure text wraps normally */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    
	
	.page-heading{
		font-size: 24px;
		right: 10px;
		top: 10px;
		text-align: right;
	}
	
	/* New styling for the 'Click on image to view gallery' text in mobile view */
    .cta-text {
        font-size: 12px;
        color: white;
        text-align: center;
        margin-top: 10px; /* Adjust spacing for mobile */
    }
	
	.menu {
		top: 10px;
		left: 10px;
		z-index: 100;
	}

    .services-gallery {
		display: flex;
		flex-direction: column;
        align-items: center;
		justify-content: center;
		gap: 20px;
		width:100%;
		margin-top: 160px;
		padding: 10px 20px;
    }

    .service {
        flex: 1 1 90%;
        max-width:100%;
    }
	.service img {
        width: 250px; /* Make images responsive to container width */
        height: auto; /* Preserve aspect ratio */
		max-width: 300px;
    }
	.service h2 {
    font-size: 18px;
}

    .service p {
    font-size: 12px;
	line-height: 1.4;
	max-width: 250px;
	min-width: 200px;
    text-align: left;
	white-space: normal;
}
	
}
