﻿.page-hero {
    padding: 3rem 0 2rem;
    text-align: center;
}

.page-hero--photography {
    background: linear-gradient(135deg, #e3f2fd, #fff3e0);
}

.page-hero__subtitle {
    max-width: 700px;
    margin: 0.5rem auto 0;
    font-size: 1.1rem;
    opacity: 0.85;
}

.page-section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-section--contact {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

    .page-section--contact .btn-primary {
        display: inline-block;
        padding: 0.6rem 1.4rem;
        border-radius: 999px;
        text-decoration: none;
        font-weight: 600;
    }


.nav-pills .nav-link {
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

    .nav-pills .nav-link.active {
        background-color: #ffb74d;
        color: #000;
        font-weight: 600;
    }


.photo-viewer-frame {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 1.5rem auto;
    border-radius: 24px;
    border: 6px solid #ffb74d; 
    overflow: hidden;
    background-color: #000;
}

.photo-viewer {
    position: relative;
    height: 60vh; 
}

.photo-viewer-item {
    position: absolute;
    inset: 0; 
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .photo-viewer-item.is-active {
        opacity: 1;
    }

.photo-viewer-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.photo-viewer-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5rem;
    margin: 0 auto;
    max-width: 90%;
    background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.photo-viewer-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

    .photo-viewer-control span {
        font-size: 1.5rem;
        line-height: 1;
    }

.photo-viewer-control-prev {
    left: 12px;
}

.photo-viewer-control-next {
    right: 12px;
}

.photo-viewer-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.photo-viewer-control-fullscreen {
    top: 16px;
    right: 16px;
    left: auto;
    transform: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.1rem;
}
.photo-fs-overlay {
    display: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

    .photo-fs-overlay.is-active {
        display: block;
    }

.photo-fs-btn {
    pointer-events: auto;
    position: absolute;
    border: 0;
    padding: 0;
    background: rgba(0,0,0,.45);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 34px;
    line-height: 54px;
    text-align: center;
    cursor: pointer;
}

    .photo-fs-btn:hover {
        background: rgba(0,0,0,.65);
    }

.photo-fs-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-fs-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-fs-exit {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 22px;
    line-height: 44px;
}

.photo-viewer-frame {
    position: relative;
}

:fullscreen .photo-viewer-frame,
:fullscreen .photo-viewer {
    width: 100%;
    height: 100%;
}

:fullscreen .photo-viewer-image {
    max-height: 100vh;
    max-width: 100vw;
    object-fit: contain;
}
