/* ============================================
   The Boweress - Recreated Stylesheet
   Original: Custom WordPress theme by Malaparte Digital
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #888;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ============================================
   Header
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-nav ul {
    display: flex;
    gap: 30px;
}

.site-nav ul li a {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #555;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.site-nav ul li a:hover,
.site-nav ul li.current a {
    color: #000;
    border-bottom-color: #000;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* ============================================
   Home Slider
   ============================================ */
#home-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

.home-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

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

.home-caption {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
}

.home-caption p {
    font-size: 36px;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.readmore {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 30px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.readmore:hover {
    background: #fff;
    color: #333;
}

/* Slider navigation */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots .dot.active {
    background: #fff;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 48px;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
    font-family: serif;
}

.slider-arrow:hover {
    color: #fff;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* ============================================
   Site Banner (inner pages)
   ============================================ */
.site-banner {
    position: relative;
    margin-top: 80px;
    height: 400px;
    overflow: hidden;
}

.site-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
}

.banner-caption h1 {
    color: #fff;
    font-size: 42px;
    letter-spacing: 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
}

/* ============================================
   Main Content
   ============================================ */
.greybg {
    background: #f5f5f5;
}

.main-first {
    padding: 80px 0;
    margin-top: 80px; /* clear fixed header when no banner */
}

/* When a site-banner appears before #main, no extra margin needed */
.site-banner ~ #main .main-first,
.site-banner ~ * .main-first {
    margin-top: 0;
}

#content h3 {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    margin-bottom: 30px;
    color: #444;
}

#content h4 {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#content p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 15px;
    color: #555;
}

/* ============================================
   BowerBirds Listing
   ============================================ */
.bowerbirds h1 {
    font-size: 28px;
    letter-spacing: 6px;
    margin-bottom: 50px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #333;
}

.listing-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.listing-col {
    background: #fff;
    overflow: hidden;
}

.listing-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.listing-link:focus {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.listing-img {
    overflow: hidden;
}

.listing-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-col:hover .listing-img img {
    transform: scale(1.05);
}

.listing-body {
    padding: 25px;
}

.listing-body h3 {
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.listing-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 10px;
}

.listing-date {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Placeholder for missing images */
.placeholder-img {
    width: 100%;
    height: 250px;
    background: #d4cec5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a8279;
}

.placeholder-img::after {
    content: attr(data-label);
}

/* ============================================
   Recovered Post Pages (Wayback)
============================================ */
.post {
    max-width: 860px;
    margin: 0 auto;
}

.post-kicker {
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    color: #777;
    margin: 0 0 18px;
}

.post-date {
    text-align: center;
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    margin: 0 0 24px;
}

.post-content {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.post-content figure {
    margin: 24px 0;
}

.post-content blockquote {
    margin: 24px 0;
    padding: 0 0 0 18px;
    border-left: 3px solid #d4cec5;
    color: #555;
    font-style: italic;
}

/* ============================================
   Contact Page
============================================ */
.contact-methods {
    padding: 80px 0;
    background: #f5f5f5;
}

.contact-columns {
    display: flex;
    gap: 80px;
}

.contact-left,
.contact-right {
    flex: 1;
}

.contact-methods h2 {
    font-size: 16px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.contact-list li a {
    color: #555;
}

.contact-list li a:hover {
    color: #000;
}

.contact-list .fa {
    width: 30px;
    font-size: 16px;
    color: #888;
}

/* ============================================
   Footer
   ============================================ */
#footer {
    background: #1c1c1c;
    padding: 50px 0;
    color: #aaa;
}

.footer-detail {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

.footer-logo img {
    height: 30px;
    width: auto;
    margin-bottom: 10px;
}

.copyrights {
    font-size: 11px;
    letter-spacing: 1px;
    color: #666;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.site-credit {
    font-size: 11px;
    letter-spacing: 1px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.site-credit a {
    color: #666;
    transition: color 0.3s ease;
}

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

.footer-menu {
    display: flex;
    gap: 25px;
}

.footer-menu li a {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #444;
    border-radius: 50%;
    color: #888;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icons li a:hover {
    color: #fff;
    border-color: #fff;
}

/* ============================================
   Variable Slider (project/feature image galleries)
   ============================================ */
.variable_slider {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin: 24px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.variable_slider .slide {
    flex: 0 0 auto;
    width: 75%;
    max-width: 800px;
    scroll-snap-align: start;
}

.variable_slider .slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .variable_slider .slide { width: 90%; }
    .variable_slider .slide img { height: 260px; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
    .listing-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 20px;
    }

    .site-nav.open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .home-caption p {
        font-size: 22px;
        letter-spacing: 4px;
    }

    .banner-caption h1 {
        font-size: 28px;
    }

    .listing-row {
        grid-template-columns: 1fr;
    }

    .contact-columns {
        flex-direction: column;
        gap: 40px;
    }

    .footer-detail {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .site-banner {
        height: 250px;
    }

    #home-slider {
        height: 70vh;
    }
}

@media (max-width: 480px) {
    .home-caption p {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .readmore {
        font-size: 10px;
        padding: 8px 20px;
    }

    .main-first {
        padding: 50px 0;
    }
}

/* Archive Notice */
#archive-notice {
    background: #f7f5f2;
    border-top: 1px solid #e0dbd4;
    border-bottom: 1px solid #e0dbd4;
    padding: 52px 0;
    text-align: center;
}
#archive-notice .archive-heading {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 18px;
}
#archive-notice .archive-body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    max-width: 640px;
    margin: 0 auto;
}
