/*
Theme Name: Marius Indrei
Theme URI: https://www.mariusindreiphotography.com
Author: Marius Indrei
Description: Dark, moody block theme for Marius Indrei Photography — brand, hospitality, and portrait photography. Fully editable in the Site Editor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: marius-indrei
*/

/* ---------- Base ---------- */
::selection { background: #c79b62; color: #14120f; }
body { -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
img { height: auto; }

/* ---------- Utility classes used by patterns ---------- */
.mi-kicker {
  font-size: 0.74rem !important; letter-spacing: 0.32em; text-transform: uppercase;
  color: #c79b62 !important; font-family: var(--wp--preset--font-family--inter, sans-serif) !important;
}
.mi-italic-note { font-style: italic; color: #a89f8e; }
.mi-sub { font-size: 0.74rem !important; letter-spacing: 0.22em; text-transform: uppercase; color: #c79b62 !important; }
.mi-dim { color: #a89f8e !important; }
em { font-style: italic; color: #c79b62; }

/* Bands (full-width tinted sections) */
.mi-band { background: #14120f; border-top: 1px solid rgba(233,227,215,0.1); border-bottom: 1px solid rgba(233,227,215,0.1); }

/* ---------- Header ---------- */
.mi-header { border-bottom: 1px solid rgba(233,227,215,0.08); }
.mi-header .wp-block-site-title a { font-family: var(--wp--preset--font-family--fraunces, serif); font-size: 1.18rem; letter-spacing: 0.04em; font-weight: 400; }
.mi-header .wp-block-navigation a {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #a89f8e;
}
.mi-header .wp-block-navigation a:hover,
.mi-header .wp-block-navigation .current-menu-item > a { color: #e9e3d7; }

/* ---------- Buttons ---------- */
.wp-block-button__link, .wp-element-button {
  border: 1px solid #c79b62 !important; background: transparent !important; color: #e9e3d7 !important;
  border-radius: 0 !important; padding: 14px 30px !important;
  font-size: 0.78rem !important; letter-spacing: 0.2em; text-transform: uppercase;
  font-family: var(--wp--preset--font-family--inter, sans-serif) !important;
  transition: background 0.3s, color 0.3s;
}
.wp-block-button__link:hover, .wp-element-button:hover { background: #c79b62 !important; color: #14120f !important; }
.is-style-outline .wp-block-button__link { border-color: rgba(233,227,215,0.15) !important; color: #a89f8e !important; }
.is-style-outline .wp-block-button__link:hover { background: #1c1915 !important; color: #e9e3d7 !important; }

/* ---------- Covers (heroes & lane cards) ---------- */
.wp-block-cover { border-radius: 0; }
.mi-hero .wp-block-cover__inner-container { padding-bottom: clamp(40px, 8vh, 100px); }
.mi-lane-card { overflow: hidden; }
.mi-lane-card img { transition: transform 0.9s cubic-bezier(0.2,0.6,0.2,1); }
.mi-lane-card:hover img { transform: scale(1.05); }
.mi-lane-card h3 a, .mi-lane-card h3 { color: #e9e3d7; font-size: 1.4rem; }

/* ---------- Galleries / images ---------- */
.wp-block-gallery .wp-block-image img, .mi-tile img {
  transition: transform 0.8s cubic-bezier(0.2,0.6,0.2,1), filter 0.6s;
  filter: brightness(0.92);
}
.wp-block-gallery .wp-block-image:hover img, .mi-tile:hover img { transform: scale(1.04); filter: brightness(1.02); }
.wp-block-gallery .wp-block-image, .mi-tile { overflow: hidden; background: #1c1915; }
.wp-block-gallery figcaption {
  font-size: 0.74rem !important; letter-spacing: 0.18em; text-transform: uppercase; color: #a89f8e !important;
}

/* ---------- Stats ---------- */
.mi-stat-num { font-family: var(--wp--preset--font-family--fraunces, serif); font-size: 2rem !important; color: #c79b62 !important; }
.mi-stat-label { font-size: 0.72rem !important; letter-spacing: 0.2em; text-transform: uppercase; color: #6f675a !important; }

/* ---------- Cards (licensing, prints info) ---------- */
.mi-card { background: #14120f; border: 1px solid rgba(233,227,215,0.1); padding: 30px 28px 34px; }
.mi-card h3 { font-size: 1.4rem; }
.mi-price { color: #c79b62 !important; }

/* ---------- Check list ---------- */
.mi-check li { color: #a89f8e; padding-left: 6px; margin-bottom: 10px; }
.mi-check li::marker { content: "— "; color: #c79b62; }

/* ---------- Footer ---------- */
.mi-footer { border-top: 1px solid rgba(233,227,215,0.1); }
.mi-footer p { font-size: 0.76rem; color: #6f675a; letter-spacing: 0.06em; }
.mi-footer a { color: #a89f8e; }
.mi-footer a:hover { color: #c79b62; }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  body:not(.block-editor-iframe__body) .mi-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
  body:not(.block-editor-iframe__body) .mi-reveal.in { opacity: 1; transform: none; }
}

/* ---------- Misc ---------- */
.mi-center { text-align: center; }
h1, h2, h3 { font-weight: 400; }

.mi-center .wp-block-buttons { justify-content: center; }
.mi-center { text-align: center; }
