/* General Colors */
:root {
    --background: rgb(247 243 228);
    --light-bg:#f5f4f3;
    --text: #303030;
    --light-text:#5c5c5c;
    --primary: #303030;/*#276289;*/
    --secondary: #3b3b3b;/*#226D9F;*/
    --accent-light: #FFE6D6;
    --footer-bg: #303030;
    --link-hover: #575757;
    --link-active:#3b3b3b;
}

h1 {
    margin-bottom: 0px;
    font-size: 58px;
}

/* Global Styles */
body {
    margin: 0;
    font-family: "Source Serif 4", sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth; /* Enables smooth scrolling */
}

header {
    background-size: cover;
    text-align: center;
    font-family: "DM Serif Text", serif;
    top: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    position: sticky;
    background-color: var(--background);
    padding-bottom: 0px;
    /*
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);  Safari support */
}

nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    font-family: "DM Serif Text", serif;
    gap: 10px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    line-height: 19px;  
    color: var(--link-hover);
}

nav a:hover {
    background: var(--link-hover);
    color: #fff;
}
nav a.active {
    background-color: var(--link-active);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

main {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section {
    text-align: center;
    width: 800px;
    text-align: left;
    scroll-margin-top: 260px;
    margin-bottom: 80px;
}


h2 {
    color: var(--text);
    font-family: "DM Serif Text", serif;
    font-size: 38px;
    margin: 0px;
    font-weight: bold;
}

p {
    color: var(--text);
}

form {
    margin-top: 20px;
}

form input, form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid var(--light-bg);
    border-radius: 5px;
    font-family: "Source Serif 4", sans-serif;
}

form button {
    background: var(--link-hover);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background: var(--link-active);
}

footer {
    text-align: center;
    padding: 20px;
    background: var(--footer-bg);
    color: #FFFFFF;
    font-family: "Source Serif 4", sans-serif;
}
.welcome-message {
    text-align: center;
    font-family: "DM Serif Text", serif;
    font-size: 18px;
    color: var(--light-text);
    margin: 0px;
}
.bottom-pad{
	padding-bottom: 80px;
}
.quicksand-body{
    font-family: "DM Serif Text", serif;
	line-height: 20px;
}
.serif-body{
  font-family: "Source Serif 4", serif;    
  line-height: 35px;
    font-size: 20px;
}
.source-serif-4-<uniquifier> {
  font-family: "Source Serif 4", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}








.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.portfolio-item {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Aspect ratio 16:9 */
    background-color: var(--primary);   
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay */
    color: #fff;
    text-align: center;
    padding: 10px;
    font-family: "DM Serif Text", serif;
    font-size: 16px;
}

.portfolio-title {
    margin: 0;
    font-size: 18px;
    text-align: left;
    color: #fff;
    margin-left: 8px;
    font-size: 16px;
    font-family: "Source Serif 4", serif;  
}
.portfolio-subtitle{
    font-size: 14px;
    text-align: left;
    margin: 0px;
    color: #fff;
    margin-left: 8px;
    font-family: "Source Serif 4", serif;
    color: #d0d0d0;
}



.pricing-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.pricing-card {
    background-color: #f8f8f8;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.pricing-title {
    font-family: "DM Serif Text", serif;
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 0px;
    margin-top: 0px;
    line-height: 36px;
}

.pricing-description {
    font-family: "Source Serif 4", serif;  
    font-size: 26px;
    color: var(--text);
    margin-bottom: 5px;
    margin-top: 0px;
}

.pricing-price {
    font-family: "DM Serif Text", serif;
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 5px;
    margin-top: 0px;
}




.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.testimonial-item {
    background: #f8f8f8;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-family: "Source Serif 4", serif;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.6;
}

.testimonial-author {
    font-family: "Source Serif 4", sans-serif;
    font-size: 14px;
    color: var(--secondary);
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
}
.cta-button{	
    font-family: "Source Serif 4", sans-serif;
    font-size: 14px;
}




.intro-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
    justify-content: center;
}

.headshot {
    max-height: 200px;
    margin-right: 15px;
    flex-shrink: 0;
}

.intro-text {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
}
.footer-link{
    color: #a6a6a6;
    text-decoration: none;
}
.footer-link:hover{
    color: #fff;
    text-decoration:underline;
}






@media (max-width: 980px) {
	.section {
	    max-width: 90%;
	}
}


@media (max-width: 768px) {
	h1{
        width: 95%;
        line-height: 32px;
        margin-bottom: 5px;
        margin-top: 10px;
        font-size: 28px;
	}
    header {
        font-size: 20px;
    }

    nav {
        gap: 3px;
        flex-wrap: wrap;
        width: 90%;
        margin-top: 10px;
        border-top: 1px solid rgb(48 48 48 / 10%);
    }

    nav a {
        font-size: 16px;
        margin: 1px;
        padding: 5px 8px;
    }

    .section {
        padding: 20px 10px;
        max-width: 90%;
    	scroll-margin-top: 165px;
    }

    .section h2 {
		font-size: 38px;
        line-height: 40px;
        width: 300px;
        font-weight: bold;
    }

    form {
        max-width: 330px;
    }

    form input, form textarea {
        padding: 8px;
        font-size: 14px;
    }

    form button {
        padding: 8px 15px;
        font-size: 14px;
    }

    footer {
        font-size: 14px;
        padding: 15px;
    }
    .welcome-message {
        display: none;
	}
    .intro-text {
        font-size: 16px;
        line-height: 18px;
    }
    .headshot{
        max-height: 180px;
    }
}
