*{
    box-sizing: border-box;
}
body{
    margin: 0;
}
header{
    background-color: aquamarine;
    text-align: center;
    padding: 15px;
}

.navbar ul{
    list-style-type: none;
    background-color: blanchedalmond;
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;

}
.navbar a{
    font-weight: bold;
    color:black;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    text-align: center;
    border-radius: 10px;
}
.navbar a:hover{
    background-color: aquamarine;
}
.navbar li{
    margin: 8px 0;
}
.narration{
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    color: black;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 2s ease forwards;
}
.narration p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 3.5s ease forwards;
}
@keyframes fadeIn{
    to {opacity: 1;}
}
.button{
    background-color: blanchedalmond;
    padding: 12px 25px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.8s ease;
}
.button:hover{
    background-color: blanchedalmond;
    transform: scale(1.05);
}
.hero-button{
    display: inline-block;
}
img{
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}
.flipped{
    transform: scaleX(-1);
}
footer{
    display: block;
    clear: both;
    background-color: aquamarine;
    text-align: center;
    padding: 25px;
}
.footer-card{
    background-color: blanchedalmond;
    padding: 20px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    margin: auto;
}
.footer-card h3{
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}
.footer-card p{
    margin: 5px 0 15px;
    font-size: 1rem;
    font-weight: 500;
}
.footer-socials{
    display: flex;
    justify-content: center;
    gap: 12px;
}
.footer-socials img{
    width: auto;
    height: 40px;
    object-fit: contain;
    margin: 8px;
    transition: tranform 0.55s ease;
}
.footer-socials img.linkedin{
    width: auto;
    height: 40px;
    object-fit: contain;
}
.footer-socials img:hover{
    transform: scale(1.2);
}
.about p {
    font-size: 1.2rem;
    line-height: 1.6;
}
.headshot .initials {
    width: 160px;
    height: 160px;
    background-color: aquamarine;
    color: blanchedalmond;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}
.contact{
    text-align: center;
    margin-top: 40px;
}
.contact a{
    display: inline-block;
    background-color: blanchedalmond;
    color: black;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3 ease, background 0.3s ease;
}
.contact a:hover{
    transform:scale(1.05);
    background-color: blanchedalmond;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}
.gallery img{
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery img:hover{
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
}
.gallery figure{
    text-align: center;
    margin: 20px;
}
.gallery figcaption{
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: black;
}
.logo-title{
    text-align: center;
    margin-bottom: 20px;
}
.logo-gallery{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin: 40px 0;
}
.logo-gallery img{
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}
.ssw-hero img{
    display: block;
    margin: 40px auto;
    width: 100%;
    max-width: 900px;
}
.ssw-block{
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 60px auto;
}
.ssw-block:first-of-type{
    flex-direction: row-reverse;
}
.ssw-block.reverse{
    flex-direction: row-reverse;
}
.ssw-text{
    flex: 1.4;
    font-size: 1.3rem;
    line-height: 1.7;
    text-align: left;
}
.ssw-image{
    flex:1;
}
.ssw-image img{
    width:100%;
    max-width: 550px;
    border-radius: 8px;
}
.ssw-final{
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
}
.ssw-final p{
    font-size: 1.3rem;
    line-height: 1.7;
}
@media screen and (max-width:600px){
    .navbar ul{
        flex-direction: column;
        padding: 10px 0;
    }
    .navbar li{
        margin: 8px 0;
    }
    .navbar a{
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
    }
    .logo-gallery{
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100%;
    }
    .logo-gallery a{
        display: block;
        margin: 0 auto;
    }
    .logo-gallery img{
        margin: 0 auto;
        display: block;
    }
    .about{
        text-align: center;
    }
    .about h1{
        text-align: center;
    }
    .headshot{
        text-align: center;
    }
    .about p{
        text-align: left;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    .design-gallery{
        text-align: center;
    }
    .gallery{
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .gallery a{
        display: block;
        margin: 0 auto;
    }
    .gallery img{
        display: block;
        margin: auto;
    }
    .project-quote{
        text-align: center;
        margin: 0 20px;
    }
    main > h1{
        text-align: center;
    }
}