:root {
    --color-purple: #872F6E;
}

body {
    background-image: url("/images/backdrop-marble.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 48px;

    @media only screen and (max-width: 800px) {
		& {
            padding: 16px;
		}
	}
}

nav a.logo--desktop {
    display: block;

    @media only screen and (max-width: 640px) {
		& {
            display: none;
		}
	}
}

nav a.logo--mobile {
    display: none;

    @media only screen and (max-width: 640px) {
		& {
            display: block;
		}
	}
}

nav a.logo img {
    display: block;
    height: 96px;
}

nav .menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav .menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;

    &:hover {
        color: var(--color-purple);
        text-decoration: underline;
    }
}

nav .menu a.call {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-purple);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 999px;

    @media only screen and (max-width: 800px) {
		& {
            display: none;
		}
	}
}

/* Hero */

main {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

section.hero {
    display: flex;
    align-items: center;
    padding: 24px 48px;
    max-width: 1440px;
    margin: 0 auto;

    @media only screen and (max-width: 960px) {
		& {
            flex-direction: column;
            gap: 48px;
		}
	}

    @media only screen and (max-width: 800px) {
		& {
			padding: 16px 24px;
		}
	}
}

.hero__content,
.hero__image {
    width: 50%;

    @media only screen and (max-width: 960px) {
		& {
			width: 100%;
		}
	}
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-right: 48px;

    @media only screen and (max-width: 960px) {
		& {
			padding-right: 0;
		}
	}

    @media only screen and (max-width: 640px) {
		& {
            gap: 16px;
		}
	}
}

.hero h1 {
    max-width: 16ch;
    font-size: 84px;
    font-weight: 500;
    line-height: 1.0;

    @media only screen and (max-width: 1280px) {
		& {
			font-size: 72px;
		}
	}

    @media only screen and (max-width: 640px) {
		& {
            font-size: 56px;
		}
	}

    em {
        font-style: italic;
    }
}

.hero p.subtitle {
    font-size: 27px;
    font-weight: 400;
    line-height: 1.5;

    @media only screen and (max-width: 1280px) {
		& {
			font-size: 24px;
            margin-bottom: 16px;
		}
	}

    @media only screen and (max-width: 640px) {
		& {
            font-size: 21px;
		}
	}
}

.hero .contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero .info-line {
    display: flex;
    align-items: center;
    gap: 12px;

    svg * {
        color: var(--color-purple);
    }

    span {
        font-size: 21px;
        font-weight: 500;

        @media only screen and (max-width: 640px) {
            & {
                font-size: 18px;
                font-weight: 400;
            }
        }
    }
}

.hero .cta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-purple);
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin-top: 24px;
    padding: 12px 32px;
    border-radius: 999px;
}

.hero__image img {
    border-radius: 180px;
    box-shadow: 0 64px 160px rgba(135, 47, 110, 0.2);

    @media only screen and (max-width: 960px) {
		& {
            border-radius: 96px;
			border-top-left-radius: 0;
		}
	}
}

/* Services */

section.services {
    display: flex;
    flex-direction: column;
    gap: 64px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 48px;

    @media only screen and (max-width: 800px) {
		& {
			padding: 16px 24px;
		}
	}
}

.services__header {
    display: flex;
    flex-direction: column;

    h2 {
        font-size: 64px;
        font-weight: 500;
        line-height: 1;

        @media only screen and (max-width: 1280px) {
            & {
                font-size: 56px;
            }
        }
    
        @media only screen and (max-width: 640px) {
            & {
                font-size: 48px;
            }
        }
    }

    p {
        font-size: 24px;
        font-weight: 400;

        @media only screen and (max-width: 1280px) {
            & {
                font-size: 21px;
            }
        }
    
        @media only screen and (max-width: 640px) {
            & {
                font-size: 18px;
            }
        }
    }
}

.services__list {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.services__category {
    display: flex;
    gap: 24px;
    align-items: flex-start;

    @media only screen and (max-width: 720px) {
		& {
            flex-direction: column;
            align-items: stretch;
		}
	}
}

h3.services__title {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 40%;
    font-size: 44px;
    font-weight: 300;
    font-style: italic;
    color: #c09000;

    @media only screen and (max-width: 1280px) {
        & {
            font-size: 40px;
        }
    }

    @media only screen and (max-width: 640px) {
        & {
            width: 100%;
            font-size: 36px;
        }
    }

    &:before {
        content: '';
        height: 1px;
        width: 200px;
        background: #c09000;
        display: block;

        @media only screen and (max-width: 1280px) {
            width: 80px;
        }

        @media only screen and (max-width: 960px) {
            display: none;
        }
    }
}

.services__items {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 24px;
}

.services__item {
    display: flex;
    justify-content: space-between;
    gap: 8px;

    span {
        font-size: 24px;
    
        @media only screen and (max-width: 640px) {
            & {
                font-size: 21px;
            }
        }
    }

    span.dot {
        flex-grow: 1;
        border-bottom: 3px dotted #c09000;
        position: relative;
        bottom: 8px;

        @media only screen and (max-width: 640px) {
            & {
                border-bottom-width: 2px;
            }
        }
    }
}

/* Gallery */

.gallery {
    overflow: hidden;
}

.gallery__content {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 48px 0;

    @media only screen and (max-width: 720px) {
        & {
            gap: 8px;
            padding: 24px 0;
        }
    }
}

.gallery__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 320px;
    flex-shrink: 0;

    @media only screen and (max-width: 720px) {
		& {
            width: 120px;
            gap: 8px;
		}
	}

    &:nth-child(even) {
        position: relative;
        top: 48px;

        @media only screen and (max-width: 720px) {
            & {
                top: 24px;
            }
        }
    }

    &:nth-child(odd) {
        position: relative;
        top: -48px;

        @media only screen and (max-width: 720px) {
            & {
                top: -24px;
            }
        }
    }

    img {
        display: block;
        width: 100%;
        border-radius: 64px;

        @media only screen and (max-width: 720px) {
            & {
                border-radius: 32px;
            }
        }
    }

}

/* Footer */

section.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 120px 0;

    @media only screen and (max-width: 720px) {
        & {
            padding: 64px 0;
        }
    }
}

.footer__logo {
    width: 240px;

    img {
        display: block;
        width: 100%;
    }
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;

    &:hover {
        color: var(--color-purple);
        text-decoration: underline;
    }
}