/*
Theme Name: Twenty Twenty-Five Zoey
Theme URI: https://zoeyvalentine.com
Description: Custom child theme for Zoey Valentine — gold emblem branding on Twenty Twenty-Five.
Author: Zoey Valentine
Template: twentytwentyfive
Version: 1.0.1
*/

/* ============================================
   Twenty Twenty-Five Zoey — Custom Branding
   Gold emblem aesthetic for zoeyvalentine.com
   ============================================ */

:root {
    --zoey-gold: #C9A227;
    --zoey-gold-light: #E8D07A;
    --zoey-gold-dark: #9A7D1A;
    --zoey-cream: #FBF8F0;
    --zoey-charcoal: #1A1A1A;
    --zoey-dark: #0D0D0D;
    --zoey-serif: "Cormorant Garamond", serif;
    --zoey-sans: "Inter", sans-serif;
}

/* ---- Base Typography ---- */
body {
    font-family: var(--zoey-sans);
    background-color: var(--zoey-cream);
    color: var(--zoey-charcoal);
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    font-family: var(--zoey-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ---- Site Header / Logo ---- */
.wp-block-site-logo img {
    max-height: 80px;
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    object-fit: contain;
    border-radius: 0;
}

/* Ensure the default-size site logo stays square (overrides parent is-default-size 120px width) */
.wp-block-site-logo.is-default-size img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain;
}

.wp-block-site-title a {
    font-family: var(--zoey-serif);
    font-weight: 700;
    color: var(--zoey-gold-dark);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.wp-block-site-tagline {
    font-family: var(--zoey-sans);
    color: var(--zoey-gold-dark);
    opacity: 0.8;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- Navigation ---- */
.wp-block-navigation .wp-block-navigation-item__content {
    font-family: var(--zoey-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--zoey-charcoal);
    transition: color 0.2s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
    color: var(--zoey-gold);
}

/* ---- Buttons ---- */
.wp-block-button .wp-block-button__link {
    font-family: var(--zoey-sans);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 2px;
    padding: 14px 32px;
    transition: all 0.3s ease;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    border-color: var(--zoey-gold);
    color: var(--zoey-gold-dark);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--zoey-gold);
    color: var(--zoey-cream);
}

/* ---- Links ---- */
a {
    color: var(--zoey-gold-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ---- Headings / Titles ---- */
.wp-block-post-title a {
    color: var(--zoey-charcoal);
    text-decoration: none;
}

.wp-block-post-title a:hover {
    color: var(--zoey-gold-dark);
}

/* ---- Home Page Hero ---- */
.wp-block-cover,
.wp-block-post-featured-image {
    border-radius: 4px;
}

/* ---- Latest Posts Grid ---- */
.wp-block-query .wp-block-post {
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 4px;
    padding: 24px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.wp-block-query .wp-block-post:hover {
    border-color: var(--zoey-gold);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.12);
}

/* ---- Footer ---- */
.wp-block-template-part-footer,
footer {
    background-color: var(--zoey-dark) !important;
    color: var(--zoey-cream);
}

.wp-block-template-part-footer a,
footer a {
    color: var(--zoey-gold-light);
}

.wp-block-template-part-footer a:hover,
footer a:hover {
    color: var(--zoey-gold);
}

.wp-block-template-part-footer h1,
.wp-block-template-part-footer h2,
.wp-block-template-part-footer h3,
.wp-block-template-part-footer h4,
footer h1, footer h2, footer h3, footer h4 {
    color: var(--zoey-gold-light);
}

/* ---- Members Area / Age Gate ---- */
.age-gate-overlay {
    background: linear-gradient(135deg, var(--zoey-dark) 0%, #2a2010 100%);
}

.age-gate-overlay h2 {
    font-family: var(--zoey-serif);
    color: var(--zoey-gold-light);
}

.age-gate-overlay button {
    background-color: var(--zoey-gold);
    color: var(--zoey-dark);
    border: none;
    padding: 12px 36px;
    font-family: var(--zoey-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.age-gate-overlay button:hover {
    background-color: var(--zoey-gold-light);
}

/* ---- Contact FAB ---- */
.contact-fab {
    background-color: var(--zoey-gold) !important;
    box-shadow: 0 2px 12px rgba(201, 162, 39, 0.4);
}

.contact-fab:hover {
    background-color: var(--zoey-gold-dark) !important;
}

/* ---- Forms ---- */
.wpforms-field input,
.wpforms-field textarea {
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    border-radius: 2px !important;
    font-family: var(--zoey-sans) !important;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus {
    border-color: var(--zoey-gold) !important;
    box-shadow: 0 0 0 1px var(--zoey-gold) !important;
}

.wpforms-submit {
    background-color: var(--zoey-gold) !important;
    color: var(--zoey-dark) !important;
    font-family: var(--zoey-sans) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 12px 32px !important;
    transition: background-color 0.3s ease !important;
}

.wpforms-submit:hover {
    background-color: var(--zoey-gold-dark) !important;
    color: var(--zoey-cream) !important;
}

/* ---- Block Quotes ---- */
blockquote, .wp-block-quote {
    border-left: 3px solid var(--zoey-gold);
    font-family: var(--zoey-serif);
    font-style: italic;
}

/* ---- Separator ---- */
.wp-block-separator {
    border-color: rgba(201, 162, 39, 0.3);
}

/* ---- Selection ---- */
::selection {
    background-color: var(--zoey-gold);
    color: var(--zoey-dark);
}

/* ---- Scrollbar (subtle gold) ---- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--zoey-cream);
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 39, 0.4);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--zoey-gold);
}

/* ---- Header: smaller logo next to site title ---- */
header .wp-block-site-logo.zoey-header-logo img,
.wp-block-site-logo.zoey-header-logo img,
header .zoey-header-logo img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: contain;
}

/* ---- Footer: social icons ---- */
.zoey-social {
    margin: 0 auto;
}
.zoey-social-link {
    color: var(--wp--preset--color--contrast, #111);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}
.zoey-social-link:hover {
    color: var(--zoey-gold, #c9a227);
    transform: translateY(-2px);
}

/* ---- Footer: logo + title (left) + social icons (far right), one row ---- */
.zoey-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.zoey-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.zoey-footer-brand .wp-block-site-logo {
    margin: 0;
}
.zoey-footer-brand .wp-block-site-logo img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain;
}
.zoey-footer-brand .wp-block-site-title {
    margin: 0;
}
.zoey-social {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.zoey-social-link {
    color: var(--wp--preset--color--contrast, #111);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(201, 162, 39, 0.08);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.zoey-social-link svg {
    width: 24px;
    height: 24px;
}
.zoey-social-link:hover {
    color: var(--zoey-gold, #c9a227);
    background: rgba(201, 162, 39, 0.18);
    transform: translateY(-2px);
}

/* ---- Footer: high-contrast social icons (override) ---- */
.zoey-social-link {
    color: var(--zoey-cream, #FBF8F0) !important;
    background: var(--zoey-gold-dark, #9A7D1A) !important;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.zoey-social-link svg {
    width: 26px;
    height: 26px;
}
.zoey-social-link:hover {
    color: #fff !important;
    background: var(--zoey-gold, #C9A227) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* ---- Homepage: responsive posts grid (3-col) ---- */
.zoey-posts-grid .wp-block-post {
    background: #fff;
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.zoey-posts-grid .wp-block-post:hover {
    border-color: var(--zoey-gold);
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.14);
}
.zoey-posts-grid .wp-block-post-featured-image {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
}
.zoey-posts-grid .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.zoey-posts-grid .wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.03);
}
.zoey-posts-grid .wp-block-post-title {
    margin: 0;
}
.zoey-posts-grid .wp-block-post-title a {
    font-family: var(--zoey-serif);
    font-weight: 600;
    color: var(--zoey-charcoal);
    text-decoration: none;
    line-height: 1.25;
}
.zoey-posts-grid .wp-block-post-title a:hover {
    color: var(--zoey-gold-dark);
}
.zoey-posts-grid .wp-block-post-excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--zoey-charcoal);
    opacity: 0.85;
}
.zoey-posts-grid .wp-block-post-excerpt__more-text {
    margin-top: 8px;
}
.zoey-posts-grid .wp-block-post-excerpt__more-text a {
    font-family: var(--zoey-sans);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--zoey-gold-dark);
    text-decoration: none;
}
.zoey-posts-grid .wp-block-post-excerpt__more-text a:hover {
    color: var(--zoey-gold);
}

/* Responsive: 1 col on small, 2 on tablet, 3 on desktop (block handles via min-width,
   but keep card readable on tiny screens) */
@media (max-width: 600px) {
    .zoey-posts-grid .wp-block-post {
        padding: 12px;
    }
}

/* ---- Blog post single layout ---- */
.zoey-single-main .wp-block-post-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.zoey-single-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--zoey-gold-dark, #9A7D1A);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 6px auto 28px !important;
}
.zoey-single-meta .wp-block-post-date,
.zoey-single-meta .taxonomy-category {
    margin: 0;
}
.zoey-single-meta a {
    color: var(--zoey-gold-dark, #9A7D1A);
    text-decoration: none;
}
.zoey-single-meta a:hover {
    color: var(--zoey-gold, #C9A227);
}
.zoey-single-main .wp-block-post-featured-image {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.25);
    box-shadow: 0 12px 40px rgba(201, 162, 39, 0.15);
    margin: 0 auto 40px;
    max-width: 820px;
}
.zoey-single-main .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.zoey-single-main .entry-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--zoey-charcoal, #1A1A1A);
}
.zoey-single-main .entry-content figure.wp-block-video video,
.zoey-single-main .entry-content figure.wp-block-video {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.zoey-single-tags .taxonomy-post_tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.zoey-single-tags .taxonomy-post_tag a {
    display: inline-block;
    background: rgba(201, 162, 39, 0.1);
    color: var(--zoey-gold-dark, #9A7D1A);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.zoey-single-tags .taxonomy-post_tag a:hover {
    background: var(--zoey-gold, #C9A227);
    color: #fff;
}
/* Post navigation */
.wp-block-post-navigation {
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    padding: 24px 0;
    margin: 8px 0 32px;
}
.wp-block-post-navigation a {
    color: var(--zoey-gold-dark, #9A7D1A);
    font-weight: 600;
    text-decoration: none;
}
.wp-block-post-navigation a:hover {
    color: var(--zoey-gold, #C9A227);
}
/* Comments */
.comments-area, #comments {
    max-width: 720px;
    margin: 0 auto;
}
/* More posts heading */
.zoey-single-main .wp-block-query-title,
.zoey-single-main h2.alignwide {
    font-family: var(--zoey-serif, Georgia, serif);
    color: var(--zoey-gold-dark, #9A7D1A);
}

/* ---- Blog post single: breadcrumb ---- */
.zoey-breadcrumb {
    max-width: 720px;
    margin: 0 auto 14px;
    text-align: center;
}
.zoey-breadcrumb a {
    font-family: var(--zoey-sans, "Inter", sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--zoey-gold-dark, #9A7D1A);
    text-decoration: none;
    transition: color 0.2s ease;
}
.zoey-breadcrumb a:hover {
    color: var(--zoey-gold, #C9A227);
}
