body{
    background-color: #fbf4f2;
    text-align: center;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}
header #imageholder{
    width: 200px;
    position: absolute;
    top: 0.5rem;
    left: 5rem;

}
header img {
    width: 100%;
    height: auto;
}
header {
    /*background-image: url("images/header-background.jpg");*/
    background-color: rgba(133, 109, 95);
   
    background-position: center;
    background-size: cover;
}

#banner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    height: 100px;
}

nav ul {
    list-style-type: none;
    padding: 0%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    margin: 0 auto;
    
}

nav ul li a{
    color: rgba(210, 197, 195);
    text-decoration: none;
    font-size: 1.7rem;
    margin: 0 1rem;
    font-family: "Public Sans", sans-serif;
}

h1, header p {
    margin: 0;
    padding-bottom: 2rem;
}
h1 {
    margin: 5rem 0 0 0;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 4rem;
    color: rgba(254, 253, 252);
}
header p {
    font-family: "Public Sans", sans-serif;
    font-size: 1.2rem;
    color: rgba(210, 197, 195);
    text-align: center;
}

button{
    width: 12rem;
    height: 2.5rem;
    background-color: #563f31;
    color: #faf9f7;
    border-radius: 20px;
    font-size: 1.2rem;
    margin: 2rem;
    transition: all 0.2s ease;
}

button:hover {
    background-color: rgba(86, 63, 49, 0.74);
    cursor: pointer;
}



.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 0.1fr 1fr 1fr;
    gap: 2rem;
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
    place-items: center;
    height: fit-content;
}

.about-section #studio-img {
    grid-area: camara;
    width: 100%;
    height: auto;
    grid-row: 1 / span 4;
    grid-column: 1 / span 1;
    border-radius: 20px;
}
.about-section .title {
    font-size: 2rem;
    font-weight: bold;
    grid-row: 1 / 1;
    grid-column: 2 / 2;
    margin: 0;
    align-self: self-end;
}
.about-section .line {
    width: 100%;
    height: 2px;
    background-color: #563f31;
    margin: 1rem 0;
    grid-row: 2 / 2;
    grid-column: 2 / 2;
    margin: 0;
    justify-self: start;
}
.about-section .text {
    font-size: 1.2rem;
    text-align: left;
    padding: 2rem;
}

.about-section a {
    justify-self: start;
    align-self: start;
    margin-left: 2rem;
}

.about-section a button {
    margin: 0;
}

.services a {
    text-decoration: none;
}

.services .title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services .title .st-line {
    width: 35%;
    height: 2px;
    background-color: #563f31;
    margin: 0 1rem;
}

.services .title h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    min-width: 20rem;
}

.services .service-list {
    display: grid;
    grid-template-columns: 0.4fr 1fr 0.5fr 1fr 0.5fr 1fr 0.5fr 1fr 0.4fr;
    gap: 2rem;
    margin-top: 2rem;
}

.services .service-list .divider {
    width: 2px;
    background-color: #563f31;
    margin: 0 auto;
}


.services .service-list .line {
    width: 100%;
    height: 2px;
    background-color: #563f31;
    margin: 2rem 0;
}

.services .service-list .service-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 15px;
}

.services .service-list .service-item h3 {
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem;
    text-decoration: none;
    color: #3b2f2f;
}

.services .service-list .service-item p {
    font-size: 1rem;
    color: #5b463b;
    margin: 0;
}

.services .service-list .service-item {
    height: 100%;
}

.line {
    width: 100%;
    height: 2px;
    background-color: #563f31;
    margin: 2rem 0 4% 0%;
}

.testimonials .title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials .title .st-line {
    width: 35%;
    height: 2px;
    background-color: #563f31;
    margin: 0 1rem;
}

.testimonial-list {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 80%;
    margin: 0 auto;
}

.testimonial-item {
    width: 30%;
    background-color: #faf3ee;
    padding: 1rem;
    border-radius: 10px;
    color: #3b2f2f;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
    margin: 1rem;
}

footer {
    background-color: #563f31;
    color: #faf9f7;
    padding: 1rem 0;
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer div {
    width: 30%;
}

footer .site-map ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
    padding-left: 46.5%;
}

footer .site-map ul ul {
    padding-left: 1rem;
    margin-top: 0.5rem;
}

footer .site-map ul li a {
    margin: 0.5rem 0;
    text-decoration: none;
    color: #faf9f7;
    display: block;
}

footer .site-map ul li a:hover {
    color: #d2c5c3;
}



a:visited {
    text-decoration: none;
}

footer .contact-info p a {
    text-decoration: none;
    color: #faf9f7;
}

footer .contact-info p a:hover {
    color: #d2c5c3;
}
/* styles for the about page */


.ap-about,
.our-mission,
.our-values {
    width: min(90%, 900px);
    margin: 2rem auto;
    padding: 2rem 2rem 2.5rem;
    background-color: rgba(250, 243, 238, 0.95);
    border-radius: 28px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
}

.ap-about {
    text-align: center;
}

.ap-about .title,
.our-mission .title,
.our-values .title {
    font-size: 2rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    margin: 0;
    color: #3b2f2f;
}

.ap-line {
    width: 4rem;
    height: 4px;
    background-color: #563f31;
    margin: 1rem auto 1.5rem;
    border-radius: 999px;
}

.ap-about .text,
.our-mission .text,
.our-values .text {
    font-size: 1.12rem;
    line-height: 1.9;
    color: #5b463b;
    max-width: 760px;
    margin: 0 auto;
}

.our-mission,
.our-values {
    padding: 1.8rem 1.8rem 2rem;
}

.our-mission .title,
.our-values .title {
    text-align: center;
}

.our-mission .text,
.our-values .text {
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 820px) {
    header #imageholder {
        left: 2rem;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    nav ul li a {
        font-size: 1.3rem;
    }

    .about-section,
    .testimonial-list {
        width: 100%;
        flex-direction: column;
    }

    .about-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 1.5rem 0;
    }

    .ap-about,
    .our-mission,
    .our-values {
        width: min(96%, 640px);
        margin: 1.5rem auto;
        padding: 1.5rem 1.5rem 2rem;
    }

    .ap-about .title,
    .our-mission .title,
    .our-values .title {
        font-size: 1.8rem;
    }
}


.our-mission p, .our-values p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.ap-line {
    width: 100%;
    height: 2px;
    background-color: #563f31;
    margin: 3rem 0;

}

/* styles for the contact page */

.contact-section {
    width: 50%;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-section .title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    width: 80%;
    margin: 1rem auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 75%;
    margin: 0 auto;
}

/* styles for the services page */
.sp-services {
    width: min(95%, 1180px);
    margin: 4rem auto 2rem;
    text-align: left;
}

.sp-services h1 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    font-weight: 700;
    color: #3b2f2f;
    margin: 0 0 0.75rem;
}

.sp-services .gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 320px;
    background-color: #f7ece7;
    box-shadow: 0 18px 38px rgba(34, 24, 20, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}


.gallery-item-info {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    color: #faf9f7;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    z-index: 1;
}

.gallery-item-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    line-height: 1.1;
}

.gallery-item-info p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #f2e8e4;
}

@media (max-width: 980px) {
    .sp-services {
        width: min(94%, 920px);
        margin: 3rem auto 2rem;
    }

    .sp-services .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .sp-services {
        margin: 2.5rem auto 1.5rem;
    }

    .sp-services h1 {
        font-size: 2.4rem;
    }

    .sp-services .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 260px;
    }

    header #imageholder {
        left: 2rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    nav ul li a {
        font-size: 1.3rem;
    }
}


@media (max-width: 768px) {
    .services-page {
        width: min(94%, 100%);
        margin: 3rem auto 2rem;
    }

    .services-page h1 {
        font-size: 2.4rem;
    }

    .services-page .service-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-page .service-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .sp-services h1 {
        font-size: 2rem;
    }

    .sp-services .service-item h3 {
        font-size: 1.3rem;
    }

    .sp-services .service-item p {
        font-size: 0.95rem;
    }
}

/* Animations for home page */
@keyframes fadeInUpMargin {
    from {
        opacity: 0;
        margin-top: 30px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in-up {
    opacity: 0;
    margin-top: 30px;
    animation: fadeInUpMargin 1s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1.2s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1.2s ease-out 0.3s both forwards;
}

.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }
.animate-delay-3 { animation-delay: 0.6s; }

a:hover button {
    background-color: rgba(86, 63, 49, 0.74);
    cursor: pointer;
    transform: translateY(0) scale(1.05);
}

.about-section #camara {
    transition: transform 0.3s ease;
}

.about-section #camara:hover {
    transform: scale(1.05);
}

.services .service-item img {
    transition: transform 0.3s ease;
}

.services .service-item img:hover {
    transform: scale(1.1);
}

.testimonial-item {
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

/* Global responsive design for all screen sizes */
@media (max-width: 768px) {
    /* Header adjustments */
    header #imageholder {
        left: 1rem;
        width: 150px;
        top: 0.75rem;
    }

    #banner {
        height: 120px;
    }

    nav ul {
        flex-direction: column;
        gap: 0.75rem;
        justify-content: center;
    }

    nav ul li a {
        font-size: 1.4rem;
        margin: 0.25rem 0;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
        margin: 3rem 0 0 0;
    }

    header p {
        font-size: 1rem;
    }

    /* Main sections */
    .about-section {
        width: 95%;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 1.5rem 0;
        gap: 1rem;
    }

    .about-section .title {
        font-size: 1.8rem;
        align-self: center;
    }

    .about-section .text {
        padding: 1rem;
        text-align: center;
    }

    .about-section #camara {
        grid-row: 1 / 1;
        grid-column: 1 / 1;
        margin-bottom: 1rem;
    }

    .services .title h2 {
        font-size: 1.8rem;
        min-width: auto;
    }

    .services .title .st-line {
        width: 25%;
    }

    .services .service-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services .service-list .service-item img {
        height: 10rem;
    }

    .testimonial-list {
        flex-direction: column;
        width: 95%;
    }

    .testimonial-item {
        width: 100%;
        margin: 0.5rem 0;
    }

    /* Buttons */
    button {
        width: 10rem;
        height: 2.2rem;
        font-size: 1rem;
        margin: 1.5rem;
    }

    /* Footer */
    footer {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0;
    }

    footer div {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    /* About page */
    .ap-about,
    .our-mission,
    .our-values {
        width: min(96%, 640px);
        margin: 1.5rem auto;
        padding: 1.5rem 1.5rem 2rem;
    }

    .ap-about .title,
    .our-mission .title,
    .our-values .title {
        font-size: 1.8rem;
    }

    /* Contact page */
    .contact-section {
        width: 90%;
    }

    .contact-section .title {
        font-size: 2rem;
    }

    .contact-form {
        width: 90%;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    header #imageholder {
        width: 120px;
        left: 0.5rem;
    }

    #banner {
        height: 140px;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2rem;
        margin: 2rem 0 0 0;
    }

    .about-section {
        width: 98%;
        padding: 1rem 0;
    }

    .about-section .title {
        font-size: 1.6rem;
    }

    .about-section .text {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .services .title h2 {
        font-size: 1.6rem;
    }

    .testimonial-item {
        padding: 0.75rem;
    }

    button {
        width: 9rem;
        height: 2rem;
        font-size: 0.95rem;
    }

    .portfolio h1 {
        font-size: 2rem;
    }

    .gallery-item {
        min-height: 240px;
    }

    .gallery-item-info h3 {
        font-size: 1.2rem;
    }

    .gallery-item-info p {
        font-size: 0.9rem;
    }

    .ap-about .title,
    .our-mission .title,
    .our-values .title {
        font-size: 1.6rem;
    }

    .contact-section .title {
        font-size: 1.8rem;
    }
}

/* styles for the contact page */

.contact-section {
    width: 50%;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-section .title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    width: 80%;
    margin: 1rem auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 75%;
    margin: 0 auto;
}

/* styles for the contact page */

.contact-form input, .contact-form textarea {
    width: 65%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}

.contact-form button {
    margin-top: 1rem;
}

.contact-form  label {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    align-self: flex-start;
    width: 65%;
    margin-left: 17.5%;
}

/* styles for the thanks page */

.thank-you-card {
    width: 50%;
    margin: 20vh auto;
    padding: 2rem;
    background-color: #faf3ee;
    border-radius: 10px;
    color: #3b2f2f;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
}

.thank-you-card h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #563f31;
}

.thank-you-card p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* styles for the on location page */
.hero {
    width: min(95%, 1180px);
    margin: 4rem auto 4rem;
    text-align: center;
    position: relative;
}

.on-location, .milestone, .newborn, .studio {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.75rem;
    align-items: center;
}


.on-location img, .newborn img , .milestone img, .studio img {
    height: 100%;
    width: 100%;
}

.hero img {
    object-fit: cover;
    transition: transform 0.45s ease;
    align-self: center;
    margin: auto;
}

.hero img:hover {
    transform: scale(1.03);
}

.sl-gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-top: 1.75rem;
    overflow-x: auto;
    margin-top: 5rem;
}

.sl-gallery img {
    height: 200px;
    width: auto;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.sampleP-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b2f2f;
    margin: 0 0 0.75rem;
}

display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.75rem;
    align-items: center;

.hero-container {
    position: relative;
}

#phone-num {
    font-size:4.5rem;
}

