/*!
Theme Name: Chohee Emery Jung
Theme URI: https://github.com/thelittleveggiekorean/chohee-emery-jung
Author: Chohee Jung
Author URI: https://choheejung.com
Description: A creative portfolio and art shop theme for software engineer and artist Chohee Emery Jung. Features an elegant, earthy aesthetic with WooCommerce support.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: chohee-emery-jung
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, e-commerce, portfolio

This theme, like WordPress, is licensed under the GPL.

Based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

/*--------------------------------------------------------------
# Custom Properties (Design Tokens)
--------------------------------------------------------------*/
:root {
  /* Color Palette - Clean Minimal (Reseda-inspired) */
  --color-background: #ffffff;
  --color-background-light: #fafafa;
  --color-surface: #f5f5f5;
  --color-text: #1a1a1a;
  --color-text-light: #666666;
  --color-accent: #1a1a1a;
  --color-accent-hover: #333333;
  --color-secondary: #1a1a1a;
  --color-secondary-hover: #333333;
  --color-border: #e0e0e0;
  --color-border-light: #eeeeee;
  --color-white: #ffffff;
  --color-black: #1a1a1a;

  /* Typography - Reseda-inspired clean minimalist fonts */
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body:
    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Font Sizes - Fluid Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5.625rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1400px;
  --content-width: 800px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(35, 67, 76, 0.05);
  --shadow-md: 0 4px 6px rgba(35, 67, 76, 0.1);
  --shadow-lg: 0 10px 25px rgba(35, 67, 76, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.1;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: var(--color-background);
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:visited {
  color: var(--color-text);
}

a:hover,
a:focus,
a:active {
  color: var(--color-accent);
}

a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: none;
  border-radius: 0;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1em 2em;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
  border-radius: var(--radius-md);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  background: var(--color-accent-hover);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Secondary button style */
.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-text);
  color: var(--color-white);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0.75em 1em;
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
  border-radius: var(--radius-md);
  max-width: 100%;
  box-sizing: border-box;
}

/* Contact Form 7 responsive styles */
.wpcf7-form {
  max-width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  max-width: 100%;
}

.wpcf7-form p {
  margin-bottom: var(--space-md);
}

.wpcf7-form .wpcf7-submit {
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
  padding: 1em 2em;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wpcf7-form .wpcf7-submit:hover {
  background: transparent;
  color: var(--color-black);
}

.wpcf7-form .wpcf7-radio {
  display: block;
  padding: var(--space-sm) 0;
  margin-left: 0;
}

.wpcf7-form .wpcf7-radio .wpcf7-list-item {
  margin-left: 0;
}

.wpcf7-form .wpcf7-radio .wpcf7-list-item:not(:first-child) {
  margin-left: var(--space-lg);
}

.wpcf7-form .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
}

.wpcf7-form .wpcf7-radio .wpcf7-list-item-label {
  cursor: pointer;
  pointer-events: auto;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: var(--color-text);
  border-color: var(--color-accent);
  outline: none;
}

select {
  border: 1px solid var(--color-border);
  padding: 0.75em 1em;
  background: var(--color-white);
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header & Navigation
--------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition:
    background-color var(--transition-base),
    box-shadow var(--transition-base);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.site-header.scrolled {
  background: var(--color-background);
  box-shadow: var(--shadow-sm);
}

.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-branding {
  flex-shrink: 0;
}

.site-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.site-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-title a:hover {
  color: var(--color-accent);
}

.site-description {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin: 0;
  letter-spacing: 0.05em;
}

.custom-logo-link {
  display: block;
}

.custom-logo {
  max-height: 60px;
  width: auto;
}

/* Main Navigation */
.main-navigation {
  display: block;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 99999;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation ul ul ul {
  left: 100%;
  top: 0;
}

.main-navigation ul ul a {
  padding: 0.75em 1.25em;
  font-size: var(--text-sm);
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 0.5em 1em;
  transition: color var(--transition-fast);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: block;
  background: transparent;
  border: none;
  padding: 0.5em;
  cursor: pointer;
  color: var(--color-text);
}

.menu-toggle:hover {
  background: transparent;
  color: var(--color-accent);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.main-navigation.toggled ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-background);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}

.main-navigation.toggled li {
  border-bottom: 1px solid var(--color-border-light);
}

.main-navigation.toggled li:last-child {
  border-bottom: none;
}

.main-navigation.toggled a {
  padding: 1em 0;
}

@media screen and (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
    gap: var(--space-xs);
  }

  .main-navigation.toggled ul {
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
}

/* Add padding to body for fixed header */
body {
  padding-top: var(--header-height);
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-3xl) var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media screen and (min-width: 768px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-xs);
  color: var(--color-white);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-navigation .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-navigation .footer-menu li {
  margin-bottom: var(--space-xs);
}

.footer-navigation .footer-menu a {
  color: var(--color-white);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.footer-navigation .footer-menu a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-social .social-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-sm);
}

.footer-social .social-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);
}

.footer-social .social-menu a:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
}

.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social .social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/*--------------------------------------------------------------
# Page Transitions
--------------------------------------------------------------*/
body {
  opacity: 0;
  transition: opacity var(--transition-base);
}

body.loaded {
  opacity: 1;
}

body.page-transitioning {
  opacity: 0;
}

/*--------------------------------------------------------------
# Content Sections
--------------------------------------------------------------*/
.site-main {
  padding: var(--space-xl) var(--space-lg);
}

.site-main .container {
  max-width: var(--content-width);
}

/* Page styles (exclude home/landing page) */
.page:not(.home) .site-main {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

/* Entry styles */
.entry-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.entry-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.entry-meta {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.entry-content {
  margin-top: var(--space-lg);
  line-height: 1.8;
}

/* About page two-column layout */
.page-about .site-main {
  max-width: var(--max-width);
}

.page-about article {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media screen and (min-width: 768px) {
  .page-about article {
    grid-template-columns: 300px 1fr;
    gap: var(--space-xl);
    align-items: start;
  }

  .page-about .entry-header {
    grid-column: 1 / -1;
  }

  .page-about .post-thumbnail {
    grid-column: 1;
    grid-row: 2;
  }

  .page-about .entry-content {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }

  .page-about .entry-content p:first-child {
    margin-top: 0;
  }
}

.page-about .post-thumbnail {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.page-about .post-thumbnail img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.entry-content p {
  margin-bottom: var(--space-lg);
}

.entry-content img {
  border-radius: 0;
  margin: var(--space-lg) 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.entry-content h2 {
  font-size: var(--text-2xl);
}

.entry-content h3 {
  font-size: var(--text-xl);
}

.entry-content h4 {
  font-size: var(--text-lg);
}

/*--------------------------------------------------------------
# Homepage Sections
--------------------------------------------------------------*/

/* Homepage - hide header for landing page */
.home .site-header {
  display: none;
}

.home,
.home .site,
.home .site-content,
.home .site-main,
.home .front-page {
  padding: 0;
  margin: 0;
  height: auto;
  overflow: visible;
}

/* Smooth scroll for front page */
/* html:has(.home) {
  scroll-behavior: smooth;
} */

.home .hero-section {
  min-height: 100vh;
}

.hero-only-landing .site,
.hero-only-landing .site-content,
.hero-only-landing .front-page-hero-only {
  padding: 0;
  margin: 0;
}

.home .front-page {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.home .front-page section {
  scroll-snap-align: start;
}

/* Hero section - flexible height for stacked layout */
.hero-only-landing .hero-section {
  min-height: 100vh;
  height: auto;
}

.hero-section {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  background-color: var(--color-background);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.has-background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-section.has-background-image .hero-content {
  position: relative;
  z-index: 2;
}

.hero-section.has-background-image .hero-title,
.hero-section.has-background-image .hero-subtitle {
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section.has-background-image .btn.btn-secondary {
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero-section.has-background-image .btn.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-text);
}

/* Primary button on hero with background image */
.hero-section.has-background-image .btn:not(.btn-secondary) {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.hero-section.has-background-image .btn:not(.btn-secondary):hover {
  background: var(--color-white);
  color: var(--color-text);
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2rem, 10vw, var(--text-5xl));
  margin-bottom: var(--space-lg);
  white-space: nowrap;
}

.hero-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  font-weight: 300;
}

@media screen and (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--text-base);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-light);
  cursor: pointer;
  transition: color 0.3s ease;
}

.scroll-indicator:hover {
  color: var(--color-text);
}

.hero-section.has-background-image .scroll-indicator {
  color: rgba(255, 255, 255, 0.8);
}

.hero-section.has-background-image .scroll-indicator:hover {
  color: var(--color-white);
}

.scroll-text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-arrow {
  font-size: var(--text-lg);
  animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}

.section {
  padding: var(--space-3xl) var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Featured grid for portfolio/shop items */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 900px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-item {
  position: relative;
  overflow: hidden;
}

.featured-item-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.featured-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-item:hover .featured-item-image img {
  transform: scale(1.05);
}

.featured-item-content {
  padding: var(--space-md) 0;
}

.featured-item-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--space-xs);
}

.featured-item-meta {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* About section on homepage */
.about-section {
  background: var(--color-background-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-text {
  max-width: 500px;
}

.about-text h2 {
  margin-bottom: var(--space-md);
}

.about-text p {
  color: var(--color-text-light);
}

.about-description {
  margin-bottom: var(--space-xl);
}

/* Call to action */
.cta-section {
  text-align: center;
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-3xl) var(--space-lg);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: var(--color-white);
  color: var(--color-black);
  border: none;
}

.cta-section .btn:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* Placeholder styles for items without images */
.featured-item-image.placeholder,
.placeholder-image {
  aspect-ratio: 1;
  background: var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-section .placeholder-image {
  width: 100%;
  max-width: 500px;
}

.placeholder-content {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media screen and (min-width: 480px) {
  .hero-cta {
    max-width: none;
    gap: var(--space-md);
  }
}

.hero-cta .btn {
  flex: 1 1 100%;
  min-width: 180px;
  text-align: center;
  white-space: nowrap;
}

@media screen and (min-width: 480px) {
  .hero-cta .btn {
    flex: 0 0 auto;
  }
}

/* Landing Page Sections */
.landing-section {
  padding: var(--space-lg);
}

@media screen and (min-width: 768px) {
  .landing-section {
    padding: var(--space-xl) var(--space-2xl);
  }
}

.landing-section-art {
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

/* Section Title - Large bold at top */
.landing-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 8vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: auto;
  color: var(--color-text);
  line-height: 0.9;
}

@media screen and (min-width: 768px) {
  .landing-section-title {
    margin-bottom: var(--space-xl);
  }
}

/* Two column layout below title */
.landing-section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1260px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .landing-section-inner {
    grid-template-columns: 55% 1fr;
    gap: var(--space-2xl);
    min-height: 500px;
  }
}

/* Image on right for reversed layout */
@media screen and (min-width: 768px) {
  .landing-section-reverse {
    grid-template-columns: 1fr 55%;
  }

  .landing-section-reverse .landing-section-image {
    order: 2;
  }

  .landing-section-reverse .landing-section-content {
    order: 1;
  }
}

.landing-section-image {
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

@media screen and (min-width: 768px) {
  .landing-section-image {
    min-height: 500px;
  }
}

.landing-section-image img {
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.landing-section-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-border-light);
  position: absolute;
  top: 0;
  left: 0;
}

.landing-section-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* padding: var(--space-md) 0; */
}

@media screen and (min-width: 768px) {
  .landing-section-content {
    /* padding: var(--space-lg) 0; */
    max-width: 400px;
  }
}

.landing-section-intro {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.landing-section .btn {
  align-self: flex-start;
}

/* Button base class */
.btn {
  display: inline-block;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 1.8em;
  border: 1px solid var(--color-black);
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);

  @media (min-width: 768px) {
    padding: 1em 2.5em;
  }
}

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

.btn.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-black);
  color: var(--color-black);
}

.btn.btn-secondary:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/*--------------------------------------------------------------
# Projects Archive
--------------------------------------------------------------*/
.projects-archive {
  padding: var(--space-2xl) var(--space-lg);
}

.projects-archive .page-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.projects-archive .page-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-sm);
}

.projects-archive .archive-description {
  font-size: var(--text-base);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Project category filter */
.project-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.project-filter .filter-item {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5em 1em;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  transition: all var(--transition-fast);
}

.project-filter .filter-item:hover,
.project-filter .filter-item.active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-white);
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-item .project-image {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.project-item .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-item:hover .project-image img {
  transform: scale(1.05);
}

.project-item .project-image.placeholder {
  background: var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-item .project-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--space-xs);
}

.project-item .project-meta {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin: 0;
}

.projects-archive .no-projects {
  text-align: center;
  color: var(--color-text-light);
  padding: var(--space-2xl);
}

/*--------------------------------------------------------------
# Single Project
--------------------------------------------------------------*/
.single-project {
  padding: var(--space-2xl) var(--space-lg);
}

.single-project .container {
  max-width: var(--content-width);
}

.single-project .entry-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.single-project .entry-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-sm);
}

.single-project .project-categories {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.single-project .project-featured-image {
  margin-bottom: var(--space-2xl);
}

.single-project .project-featured-image img {
  width: 100%;
  height: auto;
}

.single-project .entry-content {
  margin-bottom: var(--space-2xl);
}

.single-project .entry-content p {
  margin-bottom: var(--space-md);
}

.single-project .entry-content img {
  margin: var(--space-lg) 0;
}

.single-project .entry-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
}

/* Project navigation */
.project-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.project-navigation a {
  display: block;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.project-navigation a:hover {
  border-color: var(--color-text);
  background: var(--color-background-light);
}

.project-navigation .nav-previous {
  text-align: left;
}

.project-navigation .nav-next {
  text-align: right;
}

.project-navigation .nav-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.project-navigation .nav-title {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.back-to-projects {
  text-align: center;
}

/*--------------------------------------------------------------
# Art Gallery Page
--------------------------------------------------------------*/

/* Override page constraints for art gallery */
.page-art .site-main.art-gallery-page {
  max-width: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Full-width art page layout with centered content */
.page-art .site-main.art-page {
  max-width: 100%;
  padding: 0;
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Sections take full width */
.page-art .art-page .section {
  width: 100%;
  max-width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  box-sizing: border-box;
}

/* Inner content containers - centered with max-width */
.page-art .art-page .section-header,
.page-art .art-page .reseda-grid,
.page-art .art-page .services-grid,
.page-art .art-page .about-content,
.page-art .art-page .section-cta,
.page-art .art-page .cta-section h2,
.page-art .art-page .cta-section p {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* CTA section inner content centering */
.page-art .art-page .cta-section {
  text-align: center;
}

.page-art .art-page .cta-section h2,
.page-art .art-page .cta-section p {
  margin-left: auto;
  margin-right: auto;
}

/* Art page CTA background image */
.page-art .art-page .cta-section {
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  position: relative;
}

.page-art .art-page .cta-section[style*="background-image"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.page-art .art-page .cta-section > * {
  position: relative;
  z-index: 1;
}

/* Art page footer */
.page-art .site-footer {
  margin-top: 0;
}

/* Art Hero Section */
.art-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background-color: var(--color-surface);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.art-hero.has-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.5)
  );
}

.art-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) var(--space-lg);
}

.art-hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin: 0;
}

.art-hero.has-background .art-hero-title {
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 768px) {
  .art-hero-title {
    font-size: var(--text-5xl);
  }
}

/* Art About Section */
.art-about {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-white);
}

.art-about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

@media screen and (min-width: 768px) {
  .art-about-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

.art-about-content {
  flex: 1;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-light);
}

.art-about-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 300px;
}

.art-about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* Center text when no image present */
.art-about-inner:not(:has(.art-about-image)) .art-about-content {
  text-align: center;
  max-width: 800px;
}

.art-about-content p {
  margin-bottom: var(--space-md);
}

.art-about-content p:last-child {
  margin-bottom: 0;
}

/* Art Products Section */
.art-products {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.art-products-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.art-products-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin: 0;
}

/* Art Filter */
.art-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.art-filter .filter-item {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  text-decoration: none;
  padding: 0.5em 1em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.art-filter .filter-item:hover {
  color: var(--color-text);
}

.art-filter .filter-item.active {
  color: var(--color-text);
  border-color: var(--color-text);
}

/* Art Grid - Fluid Gallery Layout */
.art-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

@media screen and (min-width: 600px) {
  .art-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-lg);
  }

  /* Fluid asymmetric layout */
  .art-grid .art-item:nth-child(1) {
    grid-column: 7 / 13;
  }

  .art-grid .art-item:nth-child(2) {
    grid-column: 1 / 6;
    margin-top: var(--space-xl);
  }

  .art-grid .art-item:nth-child(3) {
    grid-column: 6 / 11;
    margin-top: calc(var(--space-3xl) * 1.5);
  }

  .art-grid .art-item:nth-child(4) {
    grid-column: 2 / 7;
  }

  .art-grid .art-item:nth-child(5) {
    grid-column: 8 / 13;
    margin-top: var(--space-2xl);
  }

  .art-grid .art-item:nth-child(6) {
    grid-column: 1 / 5;
    margin-top: var(--space-xl);
  }

  .art-grid .art-item:nth-child(7) {
    grid-column: 6 / 12;
  }

  .art-grid .art-item:nth-child(8) {
    grid-column: 3 / 8;
    margin-top: var(--space-2xl);
  }

  .art-grid .art-item:nth-child(9) {
    grid-column: 8 / 13;
  }

  .art-grid .art-item:nth-child(10) {
    grid-column: 1 / 6;
  }

  .art-grid .art-item:nth-child(11) {
    grid-column: 7 / 12;
    margin-top: var(--space-xl);
  }

  .art-grid .art-item:nth-child(12) {
    grid-column: 2 / 7;
    margin-top: var(--space-2xl);
  }
}

/* Art Item */
.art-item {
  position: relative;
}

.art-image {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: auto; /* Natural aspect ratio */
  border-radius: 0;
}

.art-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition:
    transform var(--transition-slow),
    opacity var(--transition-base);
}

.art-image a {
  display: block;
  position: relative;
}

.art-image a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
}

.art-item:hover .art-image a::after {
  background: rgba(0, 0, 0, 0.1);
}

.art-item:hover .art-image img {
  transform: scale(1.02);
  opacity: 0.95;
}

.art-image .placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  color: var(--color-text-light);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-md);
}

.sold-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--color-text);
  color: var(--color-white);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3em 0.8em;
  border-radius: 2px;
}

/* Art Details */
.art-details {
  padding: var(--space-md) 0;
  text-align: center;
}

.art-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.art-title a {
  color: var(--color-text);
  text-decoration: none;
}

.art-title a:hover {
  color: var(--color-accent);
}

.art-price {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.art-price del {
  opacity: 0.5;
  margin-right: 0.5em;
}

.art-price ins {
  text-decoration: none;
}

/* Art Pagination */
.art-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.art-pagination a,
.art-pagination span {
  display: inline-block;
  padding: 0.5em 1em;
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.art-pagination a:hover {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

.art-pagination .current {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

/* No Art Message */
.no-art,
.woocommerce-notice {
  text-align: center;
  color: var(--color-text-light);
  font-size: var(--text-base);
  padding: var(--space-2xl);
}

/* Hide duplicate price in order summary */
.wc-block-components-order-summary-item__total-price {
  display: none;
}

.wp-block-woocommerce-checkout-order-summary-block
  .wc-block-components-product-name {
  font-size: 16px;
  margin-bottom: 1em;
}
/*--------------------------------------------------------------
# Reseda-Style Homepage Components
--------------------------------------------------------------*/

/* Scroll Indicator - Reseda styles override (uses main styles above) */

/* Gallery Preview Section */
.gallery-preview-section {
  background: var(--color-background);
}

/* Reseda-Style Gallery Grid */
.reseda-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .reseda-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 900px) {
  .reseda-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reseda-grid .gallery-item-large {
    grid-column: span 2;
  }
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.gallery-item-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface);
}

.gallery-item-large .gallery-item-image {
  aspect-ratio: 2 / 1;
}

@media screen and (max-width: 899px) {
  .gallery-item-large .gallery-item-image {
    aspect-ratio: 1 / 1;
  }
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item-link:hover .gallery-item-image img {
  transform: scale(1.05);
}

.gallery-item-image.placeholder-image,
.gallery-item-image .placeholder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Gallery Item Overlay */
.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--color-white);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.gallery-item-link:hover .gallery-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--space-xs);
  color: var(--color-white);
}

.gallery-item-price {
  font-size: var(--text-sm);
  opacity: 0.8;
}

/* Services Section */
.services-preview-section {
  background: var(--color-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-background);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  border-radius: var(--radius-lg);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

a.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-icon {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.service-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-sm);
}

.service-description {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* About Section on Homepage */
.about-section {
  background: var(--color-background);
}

.about-section .about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.about-section .placeholder-image {
  aspect-ratio: 4 / 5;
  min-height: 400px;
}

/*--------------------------------------------------------------
# Services Page
--------------------------------------------------------------*/

.services-page {
  padding: 0;
}

/* Services Hero */
.services-hero {
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  background: var(--color-background);
}

.services-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.services-hero-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.services-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin: 0;
}

/* Service Packages */
.services-packages {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-surface);
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1000px) {
  .packages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.package-card {
  position: relative;
  background: var(--color-background);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.package-card.featured {
  border: 2px solid var(--color-black);
}

.package-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-black);
  color: var(--color-white);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5em 1em;
  white-space: nowrap;
}

.package-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.package-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-xs);
}

.package-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin: 0;
}

.package-price {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.price-amount {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text);
}

.price-unit {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.package-features {
  list-style: none;
  margin: 0 0 var(--space-xl);
  padding: 0;
  flex-grow: 1;
}

.package-features li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.package-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--color-black);
  border-radius: 50%;
}

.package-btn {
  width: 100%;
  text-align: center;
}

/* Additional Services */
.additional-services {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--color-background);
}

.additional-services .section-header {
  margin-bottom: var(--space-2xl);
}

.additional-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .additional-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.additional-service {
  text-align: center;
  padding: var(--space-lg);
}

.additional-service h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--space-sm);
}

.additional-service p {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.service-price {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-text);
}

/* Services Content */
.services-content {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

/* Services CTA */
.services-cta {
  text-align: center;
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-3xl) var(--space-lg);
}

.services-cta h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.services-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta .btn {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.services-cta .btn:hover {
  background: transparent;
  color: var(--color-white);
}
