/* Sheila Sullins' ART — rebuild styling, matched to the original Wix site */

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #000;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}

.page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* ---------------- Header ---------------- */

.site-header {
    background: #f5f5f5;
    height: 120px;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 0;
    overflow: hidden;
}

.header-decor {
    width: 94px;
    height: 120px;
    overflow: hidden;
    flex: 0 0 auto;
    margin-right: 24px;
}

.header-decor img {
    width: 146px;
    height: 195px;
    object-fit: cover;
    object-position: top left;
    display: block;
}

.site-title-block {
    flex: 1 1 auto;
    text-align: left;
    padding-top: 14px;
}

.site-title-block .site-subtitle {
    text-align: center;
}

.site-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: normal;
    color: #000;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
}

.site-subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #3c3a3a;
    margin: 0;
}

/* ---------------- Nav ---------------- */

.site-nav {
    background: #000;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.site-nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.2px;
    font-family: Arial, Helvetica, sans-serif;
}

.site-nav a:hover {
    color: #fff;
}

.site-nav a.current {
    color: #fff;
    text-decoration: underline;
}

.nav-strip {
    height: 4px;
    background: #000;
}

/* ---------------- Content ---------------- */

.site-content {
    padding: 20px;
    min-height: 300px;
}

/* ---------------- Slideshow ---------------- */

.slideshow {
    max-width: 1000px;
    margin: 0 auto 20px auto;
}

.slideshow-frame {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 560px;
    background: #eee;
    overflow: hidden;
    border: 1px solid #ddd;
}

.slideshow-frame .slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.slideshow-frame .slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slideshow-frame .slide img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    width: 36px;
    height: 48px;
    font-size: 22px;
    line-height: 48px;
    text-align: center;
    color: #333;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    z-index: 5;
}

.slide-arrow:hover { background: rgba(255,255,255,0.9); }
.slide-arrow.prev { left: 0; }
.slide-arrow.next { right: 0; }

.slideshow-caption {
    max-width: 900px;
    margin: 10px auto 0 auto;
    text-align: center;
}

.slideshow-caption .cap-title {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 0 0 2px 0;
}

.slideshow-caption .cap-dims,
.slideshow-caption .cap-desc {
    font-size: 11px;
    color: #67696c;
    margin: 0;
}

/* ---------------- Home 3-column layout ---------------- */

.home-columns {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-top: 20px;
}

.home-col {
    flex: 1 1 0;
    min-width: 0;
}

.home-col-history {
    flex: 0 0 285px;
}

.home-item {
    margin-bottom: 30px;
}

.home-item img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 3px;
    background: #fff;
}

.home-item .heading-above {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    margin: 0 0 8px 0;
}

.home-item .cap-title {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 8px 0 2px 0;
}

.home-item .cap-dims {
    font-size: 11px;
    color: #67696c;
    margin: 0 0 2px 0;
}

.home-item .cap-desc {
    font-size: 11px;
    color: #67696c;
    margin: 0;
}

.history-block h2 {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    margin: 0 0 10px 0;
}

.history-block p {
    font-size: 12px;
    line-height: 1.5;
    color: #3c3a3a;
    text-align: justify;
    margin: 0 0 12px 0;
}

/* ---------------- Gallery page ---------------- */

.gallery-intro {
    text-align: center;
    margin: 10px 0 30px 0;
}

.gallery-intro .g-title {
    font-size: 20px;
    color: #222;
    margin: 0 0 10px 0;
}

.gallery-intro .g-line {
    font-size: 13px;
    color: #3c3a3a;
    margin: 2px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 30px;
    align-items: start;
}

.gallery-row.gallery-row-wide {
    grid-column: 1 / -1;
}

.gallery-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.gallery-row .gallery-image {
    flex: 0 0 auto;
    max-width: 300px;
    border: 1px solid #ddd;
    padding: 3px;
    background: #fff;
}

.gallery-row .gallery-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.gallery-row .gallery-caption {
    flex: 1 1 auto;
}

.gallery-row .gallery-caption .cap-title {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
}

.gallery-row .gallery-caption .cap-dims,
.gallery-row .gallery-caption .cap-desc {
    font-size: 11px;
    color: #67696c;
    margin: 0 0 4px 0;
}

.gallery-row.gallery-row-wide {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery-row.gallery-row-wide .gallery-image {
    max-width: 470px;
}

.gallery-row.gallery-row-wide .gallery-caption {
    margin-top: 10px;
}

/* ---------------- About page ---------------- */

.about-top {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.about-portrait {
    flex: 0 0 auto;
    width: 340px;
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
}

.about-portrait img {
    display: block;
    width: 100%;
    height: auto;
}

.about-statement {
    flex: 1 1 auto;
}

.about-statement h2 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #222;
}

.about-statement p {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}

.about-bio p {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 12px 0;
}

/* ---------------- Contact page ---------------- */

.contact-heading {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 8px 0;
}

.contact-intro {
    font-family: 'Bradley Hand', 'Segoe Print', 'Comic Sans MS', cursive;
    font-size: 14px;
    text-align: center;
    color: #444;
    margin: 0 0 30px 0;
}

.contact-columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-col {
    flex: 1 1 0;
}

.contact-info-col {
    flex: 0 0 260px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin: 14px 0 4px 0;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    background: #fff;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    margin-top: 18px;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.contact-form button:hover {
    background: #222;
}

.contact-form .hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.contact-info-col h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 12px 0;
}

.contact-org {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 6px 0;
}

.contact-email {
    font-size: 12px;
    margin: 0 0 16px 0;
}

.contact-hours-heading {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 4px 0;
}

.contact-hours p {
    font-size: 12px;
    color: #67696c;
    margin: 0 0 2px 0;
}

.contact-notice {
    max-width: 500px;
    margin: 0 auto 20px auto;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
}

.contact-notice.success {
    background: #eef8ee;
    border: 1px solid #b6ddb6;
    color: #2a5c2a;
}

.contact-notice.error {
    background: #fbeaea;
    border: 1px solid #e3b6b6;
    color: #7a2626;
}

/* ---------------- Footer strip ---------------- */

.site-footer {
    border-top: 4px solid #000;
    padding: 20px;
    background: #fff;
}

.footer-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

.footer-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.footer-thumb {
    flex: 0 0 auto;
    width: 280px;
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
}

.footer-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-caption {
    flex: 1 1 auto;
    min-width: 0;
}

.footer-caption .cap-title {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
}

.footer-caption .cap-dims,
.footer-caption .cap-desc {
    font-size: 11px;
    color: #67696c;
    margin: 0 0 4px 0;
}

.footer-item-imageonly {
    grid-column: 1 / -1;
    justify-content: center;
}

.footer-item-imageonly .footer-thumb {
    width: 400px;
}

.copyright {
    text-align: center;
    font-size: 10px;
    color: #999;
    margin: 20px 0 0 0;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 700px) {
    .site-header {
        height: auto;
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }
    .header-decor { margin: 0 0 10px 0; }
    .site-title { font-size: 26px; }
    .site-subtitle { font-size: 15px; }
    .home-columns { flex-direction: column; }
    .home-col-history { flex: 1 1 auto; }
    .about-top { flex-direction: column; }
    .about-portrait { width: 100%; max-width: 340px; }
    .contact-columns { flex-direction: column; }
    .gallery-row { flex-direction: column; }
    .footer-strip { grid-template-columns: 1fr; }
    .footer-thumb, .footer-item-imageonly .footer-thumb { width: 100%; max-width: 320px; }
    .slideshow-frame { height: 320px; }
}

/* ---------------- Admin ---------------- */

body.admin-body {
    background: #f4f4f4;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    font-size: 16px;
}

.admin-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-header h1 {
    font-size: 24px;
    margin: 0;
}

.admin-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 24px;
}

.admin-box h2 {
    font-size: 18px;
    margin: 0 0 16px 0;
}

.admin-form label {
    display: block;
    font-size: 15px;
    font-weight: bold;
    margin: 12px 0 4px 0;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="file"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    font-size: 15px;
    padding: 8px;
    border: 1px solid #bbb;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
}

.admin-form textarea { min-height: 90px; }

.admin-form button, .btn {
    display: inline-block;
    background: #2a6fdb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 14px;
}

.admin-form button:hover, .btn:hover { background: #1d56ad; }

.btn-danger { background: #c0392b; }
.btn-danger:hover { background: #962d22; }
.btn-small { padding: 5px 10px; font-size: 13px; margin-top: 0; }

.admin-section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 28px 0 10px 0;
    border-bottom: 2px solid #333;
    padding-bottom: 6px;
}

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table.admin-table th, table.admin-table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    vertical-align: middle;
}

table.admin-table th { background: #fafafa; font-size: 13px; }

table.admin-table img.thumb { width: 70px; height: auto; display: block; border: 1px solid #ddd; padding: 2px; background: #fff; }

.row-actions { white-space: nowrap; }
.row-actions form { display: inline-block; margin: 0 2px; }

.flash {
    padding: 12px 16px;
    border-radius: 3px;
    margin-bottom: 16px;
    font-size: 15px;
}
.flash.success { background: #eef8ee; border: 1px solid #b6ddb6; color: #2a5c2a; }
.flash.error { background: #fbeaea; border: 1px solid #e3b6b6; color: #7a2626; }

.login-box {
    max-width: 380px;
    margin: 80px auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
}

.login-box h1 { font-size: 22px; margin: 0 0 20px 0; text-align: center; }

.visible-toggle { font-size: 13px; }
