/* Services Section */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-width: 500px;
    margin: 0 auto;
}

.service-item {
    cursor: pointer;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;

    /* Flexbox */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-item:active {
    opacity: 0.7;
    transform: scale(0.98);
}

@media(hover:hover) {
    .service-item:hover {
        background: var(--black-soft);
        padding-left: 2rem;
    }
}

.service-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
}

.service-price {
    font-size: 0.875rem;
    color: var(--white-muted);
    font-weight: 400;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.service-svg {
    color: var(--white-muted);
    height: 15px;
    width: 15px;
}

.service-duration {
    display: block;
    font-size: 0.65rem;
    color: var(--white-muted);
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
}

/* Gallery Section */
.gallery-grid {
    columns: 2;
    column-gap: 0.5rem;
    column-fill: balance;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.photo-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
                        
@media(hover:hover) {
    .photo-item:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        transform: translateY(-2px);
    }
}

/* The image plugin outputs a <picture> element, so target the img inside */
.photo-item img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .gallery-grid {
        columns: 3;
        column-gap: 0.75rem;
        padding: 0 2rem;
    }
    
    .photo-item {
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        columns: 4;
        column-gap: 1rem;
        padding: 0 3rem;
    }
    
    .photo-item {
        margin-bottom: 1rem;
    }
}

/* FAQs Section */
.faq-list {
    max-width: 500px;
    margin: 0 auto;

    /* Flexbox */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:not(:last-child) {
    border-bottom: 1px solid var(--gray);
}

.faq-item__question {
    color: var(--white);
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    padding: 0 1.5rem 2rem 1.5rem;
    transition: background-color 0.2s ease;
    user-select: none;
    
    /* Flexbox */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item__question::-webkit-details-marker,
.faq-item__question::marker {
    display: none;
}

.faq-item__question-text {
    flex: 1;
    margin: 0;
}

.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 1rem;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--white-muted);
    transition: transform 0.3s ease;
}

.faq-item__icon::before {
    width: 12px;
    height: 1px;
    transform: translate(-50%, -50%);
}

.faq-item__icon::after {
    width: 1px;
    height: 12px;
    transform: translate(-50%, -50%);
}

details[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item__answer {
    color: var(--white-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 0 1.5rem 2rem 1.5rem;
}

.faq-item--enhanced[open] .faq-item__answer {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--black);
    padding: 4rem 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--black-lighter);
}

.footer-logo {
    height: 50px;
    margin: 0 auto 2rem auto;
    width: 50px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: var(--white-muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-links a:active {
    opacity: 0.7;
    transform: scale(0.98);
}
            
@media(hover:hover) {
    .footer-links a:hover {
        color: var(--white);
    }

    .footer-links a:active {
        opacity: 0.8;
        transform: scale(0.97);
    }
}

.footer-contact {
    margin-bottom: 2.5rem;
}

.footer-contact p {
    font-size: 0.875rem;
    color: var(--white-muted);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
}

.footer-business-hours {
    border: solid 1px var(--gray);
    margin: 0 auto 2.5rem auto;
    max-width: 500px;
    padding: 5rem 2.5rem;
    text-transform: uppercase;
}

.business-hours-label {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.hours-row {
    display: flex;
    align-items: center;
    color: var(--white-muted);
    font-size: 0.875rem;
}

.hours-day {
    padding-right: 0.5rem;
    white-space: nowrap;
}

.hours-divider {
    flex-grow: 1;
    height: 1px;
    border-bottom: 1px dotted var(--white-muted);
    margin: 0 0.5rem;
}

.hours-time {
    color: var(--white);
    padding-left: 0.5rem;
    white-space: nowrap;
}

.hours-time--closed {
    color: var(--white-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black-lighter);
    transition: all 0.3s ease;
}

.social-links a:active {
    opacity: 0.7;
    transform: scale(0.98);
}
            
@media(hover:hover) {
    .social-links a:hover {
        border-color: var(--white);
        background: var(--white);
    }

    .social-links a:hover svg {
        color: var(--black);
    }

    .social-links a:active {
        opacity: 0.8;
        transform: scale(0.97);
    }
}

.social-links svg {
    width: 18px;
    height: 18px;
    color: var(--white-muted);
    transition: color 0.3s ease;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--black-lighter);
}

.footer-bottom p {
    font-size: 0.65rem;
    color: var(--white-muted);
    letter-spacing: 0.1em;
}