/*
Theme Name: Divi Child
Theme URL: https://smartofficesandsmarthomes.com
Version: 1.2
Description: This is a custom child theme created by Edward Grubb for Divi Theme by Elegant Themes.
Author: Edward Grubb III
Author URL: www.edwardgrubb.com
Template: Divi
*/

/*FOOTER CSS*/
#footer-info {
    width: 100%;
    margin: 0 auto;
	text-align: center !important;
	font-family: Viga !important;
	font-size:12pt;
}

/*FOOTER CSS*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */
/* General Styles */
body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #4E342E; /* Dark brown */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #F5F5F5; /* Light beige background */
}

h1, h2, h3, h4, h5, h6 {
    color: #3E2723; /* Darker brown */
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #6D4C41; /* Medium brown */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: url('hero-image.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background-blend-mode: multiply;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero .cta-button {
    background-color: #6D4C41; /* Medium brown */
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #5D4037; /* Slightly darker brown */
}

/* Navigation */
nav {
    background-color: #3E2723; /* Dark brown */
    border-bottom: 1px solid #6D4C41; /* Medium brown */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    padding: 15px 20px;
}

nav ul li a {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

nav ul li a:hover {
    color: #BCAAA4; /* Light beige */
}

/* About Page */
.team-section {
    display: grid;
   
    gap: 20px;
    padding: 50px 0;
    background-color: #EFEBE9; /* Light brown */
}

.team-member {
    text-align: center;
}

.team-member img {
    border-radius: 50%;
    max-width: 100px;
    margin-bottom: 10px;
}

.team-member h3 {
    margin-bottom: 5px;
    color: #4E342E; /* Dark brown */
}

.team-member p {
    font-size: 0.9em;
    color: #6D4C41; /* Medium brown */
}

/* Services Page */
.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px 0;
    background-color: #EFEBE9; /* Light brown */
}

.service {
    flex: 1;
    min-width: 300px;
    background-color: #D7CCC8; /* Medium-light brown */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service h3 {
    margin-bottom: 15px;
    color: #4E342E; /* Dark brown */
}

.service p {
    margin-bottom: 20px;
}

.service .cta-button {
    display: inline-block;
    background-color: #6D4C41; /* Medium brown */
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.service .cta-button:hover {
    background-color: #5D4037; /* Slightly darker brown */
}

/* Portfolio Page */
.portfolio {
    display: grid;
  
    gap: 20px;
    padding: 50px 0;
    background-color: #EFEBE9; /* Light brown */
}

.portfolio-item {
    position: relative;
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 39, 35, 0.5); /* Dark brown with transparency */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/* Contact Page */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 50px 0;
    background-color: #EFEBE9; /* Light brown */
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #6D4C41; /* Medium brown */
    border-radius: 4px;
    width: 100%;
    font-size: 1em;
}

.contact-form button {
    background-color: #6D4C41; /* Medium brown */
    border: none;
    padding: 15px;
    font-size: 1.2em;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #5D4037; /* Slightly darker brown */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero .cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .services,
    .portfolio,
    .team-section {
    
    }
}
