/* styles.css */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}
.logo a{
    text-decoration: none;
    color: #333;
}

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

nav a {
    text-decoration: inherit;
    color: inherit;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #e63946;
}

.hero {
    height: 100vh;
    background-image: url(foggyforest.jpg);
    /*background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.jpg') center/cover; -->*/
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;


}
.hero-content a {
    text-decoration: none;
    color: #fff;
}

@keyframes scaleProgress {
  from { transform: translateY(0); }
  to { transform: translateY(50%); }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.hero-content h2 {
    font-size: 2rem;
    padding: 0 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    padding: 0 20px;
}

.banner {
    background: #839783;
    width: 100%;
    display: flex;
}
.banners {
    width: 100%;
}

.portfolio-heading {
    height: 100vh;
    background-image: url(cameraCarMirror.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.portfolio-text {
    padding: 0 20%;
}

.portfolio-thumbnails {
    max-width: 100%;
    /* Default solid background color when nothing is hovered */
    background-color: #839783; /* Matches the sage green in your video */
    
    /* Smoothly fades the image and color in and out */
    transition: background-image 0.5s ease-in-out, background-color 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    min-height: 100vh;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    
    /* Flexbox layout to easily center the links */
    display: flex;
    flex-direction: column;
}
.portfolio-thumbnails h2 {
    max-width: 100%;
    text-align: center;
    margin: 20px 0;
    transition: transform 0.3s ease-in-out;
}
.portfolio-nav h2:hover {
    color: white;
    transform: scale(1.05);
}
.portfolio-nav{
    padding: 0 5%;
    width: 100vh;
    display: flex;
}
.portfolio-nav h2 {
    flex: 1;
    text-align: center;
    margin: 20px 0;
    transition: transform 0.3s ease-in-out;
}
.portfolio-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
    padding: 0px 20px;
}
.portfolio-nav a:hover {
    color: #fff;
}
.flex-break {
    flex-basis: 100%;
    height: 0;
}
.portfolio-thumbnails:hover h2:not(:hover) {
    opacity: 0.6; 
    transition: transform 0.3s ease-in-out;
}
.portfolio-thumbnails:has(.real-estate-link:hover) {
    /* When any thumbnail is hovered, change the background to the corresponding image */
    background-image: url('images/realestate-thumb.jpg');
}
.portfolio-thumbnails:has(.people-link:hover) {
    background-image: url('images/people-thumb.jpg');
}
.portfolio-thumbnails:has(.animals-link:hover) {
    background-image: url('images/animals-thumb.jpg');
}
.portfolio-thumbnails:has(.landscapes-link:hover) {
    background-image: url('images/landscapes-thumb.jpg');
}
.portfolio-thumbnails:has(.video-link:hover) {
    background-image: url('images/video-thumb.jpg');
}
.portfolio-thumbnails:has(.engineering-link:hover) {
    background-image: url('images/engineering-thumb.jpg');
}
.whoAmI {
    height: 60vh;
    background-image: url(huntertetons.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.whoAmI-content h1 {
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-size: 3rem;

}

.cta-button {
    padding: 12px 24px;
    background: #e63946;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #d62828;
}

.services, .contact {
    padding: 60px 20px;
    text-align: center;
    background: #fafafa;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.portfolio-content {
    text-align: center;
    align-items: center;
}
.portfolio-content iframe {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.align-top-photo img {
    object-position: top center;
}
.align-mid-photo img {
    object-position: 0px 30%;
}

#contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 30px auto 0;
    gap: 15px;
}

#contact-form input, #contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form button {
    padding: 12px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

#contact-form button:hover {
    background: #555;
}

footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: #fff;
    font-size: 0.9rem;
}