/* ==========================================================================
   sdn-portfolio.css
   Styling for the dynamic portfolio hub, category grids, and single
   picture pages - matched to the look and feel of San's existing fine
   art site (sandnathart.com): same palette, same dark full-bleed
   gallery banner, and the same "item / thumb / top-content /
   hover-effect" gallery card mechanic (title badge up top that fades
   on hover, a details panel that slides up from the bottom on hover).
   ========================================================================== */

@import url("https://fonts.googleapis.com/css?family=Open+Sans:100,200,300,400,500,600,700,800,900");

:root {
    /* Palette lifted straight from sandnathart.com */
    --art-brand: #6f5d44;   /* taupe/brown - links, prices, accents */
    --art-accent: #e5bb89;  /* warm gold - highlighted word in headings */
    --art-dark: #2a2a2a;    /* near-black - banners, dark backgrounds */
    --art-grey: #afafaf;    /* muted grey - secondary text */
    --pf-gap: 10px;
}

/* ---- Dark full-bleed "gallery banner" (reuses the theme's existing
   .breadcrumb / .breadcrumb_iner_item markup, restyled) --------------- */
.breadcrumb.breadcrumb_bg {
    background: var(--art-dark);
    background-image: none;
    padding: 90px 0 50px;
}

.breadcrumb .breadcrumb_iner_item h2 {
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
}

.breadcrumb .breadcrumb_iner_item h2 span {
    font-style: normal;
    color: var(--art-accent);
}

.breadcrumb_menu {
    margin-top: 18px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(250, 250, 250, 0.2);
    list-style: none;
}

.breadcrumb_menu li {
    display: inline-block;
    margin: 0 8px;
    color: var(--art-grey);
    font-size: 14px;
}

.breadcrumb_menu li a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb_menu li a:hover {
    color: var(--art-accent);
}

.breadcrumb_menu li.active {
    color: var(--art-accent);
}

/* ---- Nav dropdown (portfolio -> places -> Yellowstone...), restyled
   to match the dark dropdown / gold-hover look of sandnathart.com ---- */
.main_menu .dropdown-menu {
    background-color: #343a40;
    border: none;
    border-radius: 6px;
    padding: 6px 0;
}

.main_menu .dropdown-item {
    color: #fff;
    font-size: 13px;
    text-transform: capitalize;
    padding: 8px 20px;
}

.main_menu .dropdown-item:hover,
.main_menu .dropdown-item.active {
    background-color: #495057;
    color: var(--art-accent);
}

/* ---- Portfolio hub (the 4 category tiles) ------------------------------ */
.pf-hub {
    row-gap: 24px;
}

.pf-hub-tile {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    text-decoration: none;
    background: var(--art-dark);
}

.pf-hub-tile-img {
    width: 100%;
    padding-top: 125%; /* 4:5 portrait tile */
    position: relative;
    overflow: hidden;
}

.pf-hub-tile-img img,
.pf-hub-tile-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #2c343a;
    transition: transform 0.6s ease;
}

.pf-hub-tile:hover .pf-hub-tile-img img {
    transform: scale(1.06);
}

.pf-hub-tile-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    text-align: center;
}

.pf-hub-tile-caption h3 {
    color: #fff;
    margin: 0 0 4px;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pf-hub-tile-caption span {
    color: var(--art-accent);
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ---- Sub-category filter pills (e.g. under "places") -------------------- */
.pf-filter {
    margin-bottom: 40px;
}

.pf-filter-item {
    display: inline-block;
    margin: 0 6px 10px;
    padding: 9px 22px;
    border: 1px solid var(--art-brand);
    border-radius: 10px;
    color: var(--art-brand);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pf-filter-item:hover,
.pf-filter-item.active {
    background: var(--art-brand);
    border-color: var(--art-brand);
    color: #fff;
}

/* ---- Gallery grid - mirrors sandnathart.com's .photos-videos item ------- */
.pf-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.pf-item-col {
    width: 33.3333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .pf-item-col { width: 50%; }
}

@media (max-width: 575px) {
    .pf-item-col { width: 100%; }
}

.pf-item {
    display: block;
    text-decoration: none;
}

.pf-item .thumb {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #101314;
}

.pf-item .thumb::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.pf-item .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.pf-item:hover .thumb img {
    transform: scale(1.05);
}

/* title badge, top of card - fades out on hover just like the reference */
.pf-item .thumb .top-content {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 10px;
    right: 10px;
    background-color: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    transition: opacity 0.2s;
}

.pf-item:hover .thumb .top-content {
    opacity: 0;
}

.pf-item .thumb .top-content h4 {
    display: inline;
    font-size: 15px;
    font-weight: 700;
    color: var(--art-dark);
}

/* details panel that slides up from the bottom on hover */
.pf-item .thumb .hover-effect {
    position: absolute;
    right: 10px;
    left: 10px;
    bottom: -100%;
    transition: all 0.4s ease;
}

.pf-item:hover .thumb .hover-effect {
    bottom: 10px;
}

.pf-item .thumb .hover-effect .content {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 15px;
}

.pf-item .thumb .hover-effect .content .info {
    display: flex;
    width: 100%;
    align-items: center;
}

.pf-item .thumb .hover-effect .content span.participants {
    font-size: 13px;
    font-weight: 500;
    color: var(--art-grey);
    flex-basis: 100%;
}

.pf-item .thumb .hover-effect .content span.price {
    font-size: 16px;
    font-weight: 700;
    color: var(--art-brand);
    white-space: nowrap;
}

.pf-empty {
    color: #888;
    padding: 40px 0;
}

/* ---- Single picture detail page (pPic) ----------------------------------- */
.pic-detail-image {
    display: block;
    background: #101314;
    border-radius: 15px;
    overflow: hidden;
}

.pic-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pic-detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
}

.pic-detail-nav a {
    color: var(--art-dark);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.pic-detail-nav a:hover {
    color: var(--art-brand);
}

.pic-detail-meta {
    padding: 10px 0 0 0;
}

.pic-detail-meta h2 {
    margin-top: 0;
    font-size: 28px;
    font-weight: 700;
}

.pic-detail-facts {
    list-style: none;
    margin: 18px 0;
    padding: 0;
    border-top: 1px solid #ececec;
}

.pic-detail-facts li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    color: #555;
}

.pic-detail-facts li strong {
    color: var(--art-dark);
    font-weight: 600;
}

.pic-detail-details {
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Buttons on the picture page and elsewhere - reuse the reference's
   "big border button" look for a consistent call to action style. */
.pic-detail-meta .btn_2,
.big-border-button a {
    font-size: 15px;
    color: var(--art-brand);
    background-color: transparent;
    border: 1px solid var(--art-brand);
    padding: 10px 26px;
    display: inline-block;
    border-radius: 10px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.pic-detail-meta .btn_2:hover,
.big-border-button a:hover {
    background-color: var(--art-brand);
    color: #fff;
}

/* ---- dropdown sub-menu (places -> Yellowstone, Bryce...) ----------------- */
.dropdown-submenu-wrap {
    position: relative;
}

.dropdown-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 190px;
}

.dropdown-submenu-wrap:hover .dropdown-submenu {
    display: block;
}

@media (max-width: 991px) {
    .dropdown-submenu {
        position: static;
        display: block;
        padding-left: 16px;
    }
}
