/* Christchurch Auctions - Style Sheet */

:root {
    --black: #1a1a1a;
    --gold: #c9a84c;
    --gold-light: #d4b96e;
    --cream: #f2ece3;
    --cream-dark: #e8e0d4;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background-color: var(--cream);
    color: var(--black);
    line-height: 1.6;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: var(--gold-light);
}

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

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #26211a 0%, var(--black) 60%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    transition: height 0.4s ease;
}

#site-header.shrink {
    height: 70px;
}

#site-header > a {
    height: 80%;
    display: flex;
    align-items: center;
    transition: height 0.4s ease;
}

#header-logo {
    height: 100%;
    width: auto;
}

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

#header-slogan {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-align: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}

#site-header.shrink #header-slogan {
    opacity: 0;
}

@media (max-width: 768px) {
    #header-slogan {
        display: none;
    }
}

/* ---- Header Contact Icons ---- */

#header-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

#header-contact a {
    color: var(--gold);
    display: flex;
    align-items: center;
    padding: 8px;
}

#header-contact a:hover {
    color: var(--gold-light);
}

/* ---- Typography ---- */

#page-title {
    padding-top: 40px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5em;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.4em;
    letter-spacing: 0.01em;
}

p {
    font-size: 1rem;
    margin-bottom: 1em;
}

strong {
    font-weight: 700;
    color: var(--black);
}

ul {
    list-style: none;
    margin-bottom: 1em;
    padding-left: 15px;
}

ul li {
    padding: 0.2em 0 0.2em 1.4em;
    position: relative;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background-color: var(--black);
    border-radius: 50%;
}

/* ---- Button Row ---- */

.button-row {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
    margin: 1.5em 0;
}

.button-row a {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.btn-image {
    background-color: var(--white);
    border-color: var(--cream-dark);
    transition: border-color 0.2s ease;
}

.btn-image:hover {
    border-color: var(--gold);
}

.btn-image img {
    max-height: 27px;
    width: auto;
    display: block;
}

.btn-catalogue {
    gap: 8px;
    background-color: var(--black);
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-catalogue:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* ---- Photo Grid ---- */

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
    margin: 2em 0;
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-image {
        justify-content: center;
    }

    .btn-catalogue {
        justify-content: center;
    }
}

.photo-grid img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

/* Push page content below the fixed header */
main {
    position: relative;
    z-index: 1;
    padding-top: 150px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    max-width: 1240px;
    margin: 0 auto;
}

/* ---- Watermark ---- */

#watermark {
    position: fixed;
    bottom: -60px;
    right: -60px;
    color: var(--black);
    opacity: 0.09;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    display: none
}

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

footer {
    background-color: var(--black);
    color: var(--gold);
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

footer p {
    font-size: 0.65rem;
}
