/* skeleton overrides and custom styles */


/* global */

.desktop-sidebar {max-width: 1100px; padding: 15px; position: relative; margin: 0 auto;}
.title {float: left;}
#nav {float: right;}
.social-icon {width: 20px; position: relative; top: 5px; border-radius: 5px;}

.mobile-menu-container {display: none; padding: 15px 50px;}
.menu {float: left;}
.mobile-menu-content-container {display: none; width: 100%; text-align: center; position: relative;}
.mobile-menu-content-container .mobile-navbar-item {display: block; text-transform: uppercase;}
/*.mobile-menu-content-container .mobile-navbar-item a {color: black;}*/
.mobile-navbar-list {padding: 20px 0 0 0; display: none;}

html {scroll-behavior: smooth;}
p {margin-bottom: .5rem; font-family: 'Libre Caslon Display'; color: #454d46; font-size: 20px;}
a {text-decoration: none; color: #0C400A;}
a h1 {color: #000;}
hr {margin-top: 1.5rem; margin-bottom: 1.5rem; }
ul {list-style: none};
.navbar-list {list-style: none; position: relative;}
.content-container {margin-bottom: 100px; }
.content-container h1 {margin: 1rem 0; }
.centered {text-align: center; }
.header-row {margin-bottom: 5rem; }

.grayed-out {opacity: .6;}
.header h1 {font-family: "Eagle Lake"; position: relative;}
.bg-image {position: absolute; opacity: 1; top: 0; left: 0; width: 100%;}
.bg-image2 {position: absolute; opacity: .3; top: 0; left: 0; width: 100%;
    -webkit-mask-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));}
#nav hr {position: relative;}

.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 160px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-align: left;
    display: none;
    z-index: 1000;
    font-size: 14px;
    font-family: 'Noto Serif', serif;
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.submenu a:hover {
    background: #eee;
}

.mobile-submenu {
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0 0 0;
    display: none;
    font-size: 14px;
    font-family: 'Noto Serif', serif;
}

.mobile-submenu li a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.95em;
}

.footer {
/*    position: absolute; */
/*    height: 75px; */
/*    bottom: 0;*/
    width: 100%;
}
.footer-text {text-align: center;}
.footer-link {color: black;}



/* home page */


.column-container {max-width: 20%; flex-basis: 20%;}

.active-category {border-bottom: 1px solid #3F7939; color: #3F7939;}

.latest-map {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    width: 100%;
}

/* Grid container */
.latest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* always 2 columns on desktop */
    gap: 2rem; /* space between items */
    justify-items: center; /* center items in each column */
    align-items: start;
    padding: 1rem; /* optional: some padding around grid */
}

/* Each item */
.latest-item {
    max-width: 300px; /* controls overall size of column + image */
    text-align: center; /* center text under image */
}

/* Image styling */
.latest-item img {
    width: 100%;      /* fills column */
    height: auto;     /* keep aspect ratio */
    display: block;
    border-radius: 8px;
    border: 10px solid white;
    box-shadow: rgba(0,0,0,0.16) 0px 3px 6px,
                rgba(0,0,0,0.23) 0px 3px 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* smooth hover effect */
}

/* Hover effect only on image */
.latest-item img:hover,
.gallery-img:hover {
    transform: scale(1.01);
    box-shadow: rgba(0,0,0,0.3) 0px 6px 12px,
                rgba(0,0,0,0.25) 0px 6px 12px;
}

/* Series name under image */
.series-name {
    margin-top: 1rem;
    text-align: center;
}

/* Mobile / small screens: stack vertically */
@media (max-width: 768px) {
    .latest-grid {
        grid-template-columns: 1fr; /* single column */
        gap: 1.5rem;
    }
}


/* gallery */


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* max 3 columns */
    gap: 2rem;
    justify-items: center;
    padding: 1rem;
}

/* Each item */
.gallery-item {
    text-align: center;
    width: 100%;
    max-width: 220px; /* optional: prevent items from being too wide */
}

/* Image styling */
.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 5px solid white;
    box-shadow: rgba(0,0,0,0.16) 0px 3px 6px,
                rgba(0,0,0,0.23) 0px 3px 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Image title */
.gallery-title {
    margin-top: 1rem;
    text-align: center;
}

/* 2 columns for medium screens */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 column for small/mobile screens */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gallery-item {
        max-width: 100%;
    }
}

/* art detail page */

/* Grid container for centering */
.art-detail-grid {
    display: grid;
    place-items: center; /* centers both horizontally and vertically if needed */
    padding: 2rem;       /* space around the container */
}

/* Wrapper for the image to control width */
.image-wrapper {
    width: 100%;          /* image/container takes 80% of page width */
    max-width: 1000px;   /* optional: prevent it from getting too huge on very wide screens */
}

/* Image styling */
.image-detail {
    width: 100%;         /* fills the wrapper */
    height: auto;        /* maintain aspect ratio */
    display: block;
    border-radius: 8px;
    box-shadow: rgba(0,0,0,0.16) 0px 3px 6px,
                rgba(0,0,0,0.23) 0px 3px 6px;
    border: 10px solid white;
    box-sizing: border-box; /* optional */
}


.art-title {font-family: 'Libre Caslon Display'; color: black; line-height: 24px; text-align: center; }


input[type="text"],
textarea {color: black;}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-row {
    display: flex;
    justify-content: space-between;
    gap: 50px; /* Adjust spacing between images */
}

.image-container {
    width: 48%; /* Make sure two images fit per row with some space */
    text-align: center;
}

.image-container img {
    border: 10px solid white;
}

.image-container p {
    text-align: left;
}

.image-container .image-thumbnail {
    width: 100%;
    height: auto;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.map-container {
    width: 100%;
}


.dimension {
    list-style-type: square;
    margin-left: 20px;
}

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

/* upload form */

#id_dimensions {
    height: 150px;
}

/* footer */
footer {position: fixed; bottom: 0; width: 100%; background: white; }
footer .container {margin-left: 0; border-top: 1px solid #eee; }
footer .footer-list {list-style: none; }
footer .footer-item {padding-top: 15px; }
footer .footer-icon {width: 25px; }
footer .footer-name {position: relative; bottom: 7px; font-weight: 500; }

/* media queries */


@media (max-width: 753px) {

    .desktop-sidebar {display: none;}
    .content {margin-left: 0;}
    .container {width: 100%; padding: 0 50px;}
    .mobile-menu-container {display: block; position: relative;}
    .mobile-navbar-list {display: block; text-align: left; padding-left: 50px;}
    #title {margin-bottom: 0; float: left;}
    .header h1 {font-size: 1.5em; padding-top: 20px;}


    .navbar .container {width: 100%; padding: 20px 0 0; }
    .navbar-list li {display: inline; padding-right: 10px; }
    .content-container {margin-bottom: 20px; }

    .navbar-spacer {height: 6.5rem;}
    .navbar {position: fixed; width: 100%; background: white; top: 0; height: 6.5rem; z-index: 1;}

    .navbar .container {width: 100%; padding: 20px 0 0; }
    .navbar-list li {display: inline; padding-right: 10px;}
    .content-container {margin-bottom: 20px; }
    footer {position: static; }
    footer .container {padding: 0; }
    footer .footer-list {margin-top: 1em; }

    .grid .grid-item {width: 160px; height: 190px;}

    .art-detail {width: 100%; border-radius: 0; border: 0; box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;}

    .gallery h5 {text-align: center;}
    .gallery h4.page-text {text-align: center;}

    ul.mobile-dimensions {
        text-align: left;
    }

}


