/* wwwroot/css/site.css */

/* Typography styling for headings */
.mud-typography-h1, .mud-typography-h2, .mud-typography-h3, .mud-typography-h4, .mud-typography-h5, .mud-typography-h6 {
    color: #c9aa6d !important;
    font-family: 'Cinzel', serif !important;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 6px #2e2111;
}

/* MudBlazor Button labels */
.mud-button-label {
    color: #2e2111 !important;
    font-weight: 700 !important;
    font-family: 'Cinzel', serif !important;
    letter-spacing: 0.08em;
}

/* App background and main content font */
body, .mud-main-content {
    background: linear-gradient(135deg, #2e2111 0%, #3c2913 100%);
    color: #e5c890;
    font-family: 'Cinzel', serif;
}

/* --- HERO STRIP with logo and text (unchanged) --- */
.logo-bg-texture {
    width: 100%;
    height: 380px;
    background-image: url(/images/Reihax-Icon-transparent.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reihax-hero-strip {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
            linear-gradient(rgba(46,33,17,0.48), rgba(46,33,17,0.48)),
            url(/images/BackgroundTexture4.png);
    background-repeat: repeat;
    background-size: 600px;
    position: relative;
    box-shadow: 0 8px 8px rgba(46,33,17,0.18);
    overflow: hidden;
}
.reihax-logo {
    max-width: 170px;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
}
.reihax-title {
    color: #b6933c;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 3.4rem;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 2px 6px #2e2111;
    margin-bottom: 0.5rem;
}
.reihax-subtitle {
    color: #b6933c;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: 0.09em;
    text-align: center;
    text-shadow: 0 1px 3px #2e2111;
    margin-top: 0.2rem;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .reihax-hero-strip { height: 220px; }
    .reihax-logo { max-width: 80px; }
    .reihax-title { font-size: 1.65rem; }
    .reihax-subtitle { font-size: 1rem; }
}

/* 2. GALLERY STRIP: vanilla background */
.reihax-gallery-outer {
    background: #f5e6c4 !important;
    box-shadow: none !important;
    padding: 1px 0 1px 0;
    border-radius: 0 !important;
}

.mud-card.reihax-gallery-card {
    background: #f6ecd2 !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 18px rgba(201,170,109,0.09) !important;
    border: 1.5px solid #e1bb62 !important;
    padding: 16px 12px 18px 12px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mud-card-media.gallery-card-image {
    width: 100%;
    aspect-ratio: 4/3;          /* keep the 4∶3 frame */
    border-radius: 8px;
    margin-bottom: 16px;

    /* —— NEW: let the whole photo show —— */
    background-size: contain !important;   /* override MudBlazor’s “cover” */
    background-position: center;           /* keep it centred */
    background-repeat: no-repeat;          /* stop tiling */

    /* remove: object-fit – it only works on <img>, not on this <div> */
}


/* Card title/desc styling */
.reihax-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.23rem;
    font-weight: 700;
    color: #b6933c;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.06em;
}

.reihax-card-desc {
    font-size: 1rem;
    color: #7e6a41;
    margin-bottom: 10px;
    text-align: center;
}

/* 3. CONTACT STRIP: brown background */
.reihax-contact-strip {
    background: #2e2111 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 24px 0 40px 0 !important;
    margin: 0 !important;
}

.reihax-contact-content {
    text-align: center;
}
.reihax-contact-title {
    color: #b6933c;
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    /*margin-bottom: 0.8rem;*/
}
.reihax-contact-details,
.reihax-contact-email {
    color: #e5c890;
    font-family: 'Cinzel', serif;
    font-size: 1.13rem;
    /*margin-top: 0.4rem;*/
    margin-bottom: 0.4rem;
}
.reihax-contact-email {
    text-decoration: underline;
}

.artwork-dialog .mud-dialog { background:#f6ecd2; }
.artwork-meta       { padding:18px 12px; }

.gallery-tab-panel {
    padding-top: 0;
    background: none;
}
.gallery-tab-content {
    padding: 0;
}

.reihax-appbar-thin {
    min-height: 40px !important;   /* or 36px, adjust as you like */
    height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 1.05rem;
}
.reihax-appbar-thin .mud-appbar-title,
.reihax-appbar-thin .mud-typography {
    line-height: 40px !important;  /* vertically center text in AppBar */
    font-size: 1.12rem;            /* optional: tweak font size */
}
