/*
Theme Name: Lavender Dreams
Theme URI: https://lavenderdreams.net
Description: Custom theme for Лавандове поле — Мирослава Мерешко
Author: Lavender Dreams
Version: 2.0
Template: twentytwentyfive
Text Domain: lavender-dreams
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@200;300;400;500&display=swap');

:root {
    --gold: #C5A572;
    --gold-d: #A8884C;
    --gold-l: #DCC9A3;
    --gold-p: #EDE0C8;
    --cream: #F8F3EB;
    --white: #FDFAF5;
    --bg: #1A1610;
    --txt: #3A3228;
    --txt-m: #9A8E80;
    --b-l: rgba(197,165,114,.15);
}

/* GLOBAL */
body {
    font-family: 'Inter', -apple-system, sans-serif !important;
    color: var(--txt) !important;
    background: var(--white) !important;
    line-height: 1.8 !important;
    font-weight: 300 !important;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-p); color: var(--txt); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-l), var(--gold)); border-radius: 3px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 300 !important;
    letter-spacing: -0.01em !important;
}

h1, .wp-block-heading:where(h1) {
    font-size: clamp(2rem, 4.5vw, 2.8rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
    color: var(--gold-d) !important;
}

h2, .wp-block-heading:where(h2) {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    line-height: 1.3 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 0.8rem !important;
    color: var(--gold-d) !important;
}

h3, .wp-block-heading:where(h3) {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem) !important;
    color: var(--gold) !important;
    font-weight: 400 !important;
}

p {
    font-size: 1rem !important;
    line-height: 1.9 !important;
    color: var(--txt) !important;
    font-weight: 300 !important;
}

strong {
    color: var(--txt) !important;
    font-weight: 500 !important;
}

/* LINKS */
a {
    color: var(--gold) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
a:hover {
    color: var(--gold-d) !important;
}

/* LISTS */
ul li, ol li {
    margin-bottom: 0.5rem !important;
    font-weight: 300 !important;
}
ul li strong {
    color: var(--gold-d) !important;
}

/* HEADER / NAV */
header,
.wp-block-template-part[data-type="header"] {
    background: var(--white) !important;
    border-bottom: 1px solid var(--b-l) !important;
}

header a,
header .wp-block-site-title a,
header .wp-block-navigation a {
    color: var(--txt-m) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-size: 0.68rem !important;
    transition: color 0.3s !important;
}
header a:hover,
header .wp-block-navigation a:hover {
    color: var(--gold) !important;
}

.wp-block-site-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.2rem !important;
    letter-spacing: 0.08em !important;
}
.wp-block-site-title a {
    color: var(--gold-d) !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0.05em !important;
}

/* CONTENT */
.wp-block-post-content,
.entry-content,
main {
    max-width: 880px !important;
    margin: 0 auto !important;
    padding: 3rem 2rem !important;
}

/* HR / SEPARATOR */
hr,
.wp-block-separator {
    border-color: var(--b-l) !important;
    opacity: 1 !important;
}

/* BLOCKQUOTE */
blockquote,
.wp-block-quote {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1rem !important;
    font-style: italic !important;
    font-weight: 300 !important;
    color: var(--gold) !important;
    border-left: 2px solid var(--gold) !important;
    padding-left: 1.5rem !important;
    margin: 2rem 0 !important;
}

/* FOOTER */
footer,
.wp-block-template-part[data-type="footer"] {
    background: var(--cream) !important;
    color: var(--txt-m) !important;
    border-top: 1px solid var(--b-l) !important;
    padding: 2.5rem !important;
}
footer p {
    color: var(--txt-m) !important;
    font-size: 0.85rem !important;
}
footer a {
    color: var(--gold) !important;
}

/* BUTTONS */
.wp-block-button__link,
.wp-element-button {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    padding: 14px 38px !important;
    background: var(--gold) !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    transition: all 0.4s ease !important;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
    background: var(--gold-l) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197,165,114,0.25);
}

/* IMAGES */
.wp-block-image img {
    border-radius: 0 !important;
}

/* NAVIGATION ACTIVE */
.wp-block-navigation .current-menu-item a {
    color: var(--gold) !important;
}

/* HIDE DUPLICATE H1 FROM WP TEMPLATE */
h1.wp-block-post-title {
    display: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .wp-block-post-content,
    .entry-content,
    main {
        padding: 2rem 1.2rem !important;
    }
}
