/* sharpsound.be — Waasland Celtic Harp Center: the burgundy of the old menu bar, warm harp wood, light stone. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #2a2422;
  --muted: #6a5f5a;
  --wine: #8c2328;
  --wine-dark: #6e1a1f;
  --wood: #9a5a32;
  --wood-soft: #f3ebe3;
  --stone: #f6f4f1;
  --card: #ffffff;
  --line: #e6dfd8;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 36, 34, .06), 0 8px 28px rgba(42, 36, 34, .08);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 1.0625rem/1.75 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--wine-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 1.6em 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 0; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.55rem; }
h4, h5 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--card); padding: .6em 1em; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 1px 0 var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: block; line-height: 0; }
.brand img { width: clamp(220px, 32vw, 380px); height: auto; }
.header-tools { display: flex; align-items: center; gap: .75rem; }

.mod-languages ul, .lang-inline { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.mod-languages a { display: block; padding: .3rem .55rem; border-radius: 6px; text-decoration: none; font-size: .85rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.mod-languages a:hover { background: var(--wood-soft); color: var(--wine); }
.mod-languages .lang-active a { color: #fff; background: var(--wine); }

.site-nav { background: var(--wine); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav .wrap > ul, .site-nav .mod-menu { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; }
.site-nav li { position: relative; }
/* Submenus open on hover/focus (desktop) or are always open (mobile), so mod_menu's toggle buttons are not needed. */
.site-nav .mod-menu__toggle-sub { display: none; }
.site-nav a, .site-nav .nav-header, .site-nav .separator { display: block; padding: .85rem 1rem; color: #fff; text-decoration: none; font-size: .9rem; letter-spacing: .06em; }
.site-nav a:hover, .site-nav .current > a, .site-nav .active > a { background: var(--wine-dark); color: #fff; }
.site-nav li > ul { position: absolute; left: 0; top: 100%; min-width: 250px; padding: .4rem; background: var(--card); border-radius: 0 0 10px 10px; box-shadow: var(--shadow); display: none; flex-direction: column; z-index: 5; }
.site-nav li > ul a { color: var(--ink); border-radius: 6px; padding: .6rem .8rem; letter-spacing: 0; }
.site-nav li > ul a:hover, .site-nav li > ul .current > a { background: var(--wood-soft); color: var(--wine); }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: flex; }
.nav-toggle { display: none; align-items: center; gap: .55rem; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: .5rem 1rem; font: inherit; font-size: .95rem; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-toggle-label { display: none; }
  .site-nav { display: none; max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav-open .site-nav { display: block; }
  .site-nav .wrap > ul, .site-nav .mod-menu { flex-direction: column; padding: .5rem 0 1rem; }
  .site-nav a { padding: .75rem .5rem; font-size: 1rem; }
  .site-nav li > ul { position: static; display: flex; background: transparent; box-shadow: none; padding: 0 0 .25rem 1rem; min-width: 0; }
  .site-nav li > ul a { color: #f3dede; }
  .site-nav li > ul a:hover, .site-nav li > ul .current > a { background: var(--wine-dark); color: #fff; }
}
@media (max-width: 520px) {
  .header-bar { gap: .5rem; }
  .brand { flex-shrink: 0; }
  .brand img { width: 145px; }
  .header-tools { gap: .25rem; }
  .mod-languages ul, .lang-inline { gap: 0; }
  .mod-languages a { padding: .3rem .35rem; font-size: .78rem; letter-spacing: .02em; }
  .nav-toggle { padding: .5rem .6rem; }
}

/* Hero and page band */
.hero-image { height: clamp(260px, 44vw, 560px); background: #3a2a22 var(--hero) center 55% / cover no-repeat; }
.hero-card { position: relative; margin-top: clamp(-130px, -9vw, -48px); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 3rem); border-top: 4px solid var(--wine); }
.hero-card h1 { margin-bottom: .3em; }
.hero-card .lead { font-size: 1.15rem; color: var(--muted); max-width: 48rem; }
.hero-card .lead p { margin: 0 0 .3em; }
.page-band { height: clamp(120px, 18vw, 220px); background: #5b4335 var(--band) center 60% / cover no-repeat; position: relative; }
.page-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(140, 35, 40, .35), rgba(42, 36, 34, .15)); }

.button, .btn, button.validate, input[type="submit"] { display: inline-flex; align-items: center; gap: .5em; padding: .75rem 1.4rem; border-radius: 999px; border: 1px solid var(--wine); background: var(--wine); color: #fff; font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.button:hover, .btn:hover, button.validate:hover, input[type="submit"]:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: #fff; text-decoration: none; }
.button.secondary { background: transparent; color: var(--wine); }
.button.secondary:hover { background: var(--wine); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.eyebrow { display: block; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--wine); margin-bottom: .6rem; font-weight: 600; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 0; }

/* Main */
.site-main { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.content { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 4vw, 3.5rem); }
.is-inner .content { margin-top: clamp(-90px, -7vw, -40px); position: relative; }
.content > :first-child { margin-top: 0; }
.content .com-content-article, .content .item-page { max-width: 50rem; margin-inline: auto; }
.content img { border-radius: 8px; }
.content p[style*="center"] img, .content div[style*="center"] img { display: inline-block; }
.page-header h1, .page-header h2 { margin-top: 0; }
.mod-breadcrumbs, .breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .88rem; color: var(--muted); }
.mod-breadcrumbs li + li::before, .breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--line); }
.mod-breadcrumbs a, .breadcrumb a { color: var(--muted); }
.mod-breadcrumbs .float-start, .breadcrumb .float-start { display: none; }

/* Home cards */
.home-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
.card > :first-child, .card .mod-custom > :first-child, .card .mod-menu:first-child { margin-top: 0; }
.card > :last-child, .card .mod-custom > :last-child { margin-bottom: 0; }
.card-title { margin-top: 0; font-size: 1.6rem; }
.card ul.points { list-style: none; padding: 0; margin: 0; }
.card ul.points li { padding: .55rem 0 .55rem 1.6rem; position: relative; border-bottom: 1px solid var(--line); }
.card ul.points li:last-child { border-bottom: 0; }
.card ul.points li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--wood); }

/* Blog / category views: harp models etc. as cards */
.blog-items { display: grid; gap: 1.5rem; }
.blog-items.columns-2, .blog-items.masonry-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.blog-item { border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.5rem; background: #fff; min-width: 0; }
.blog-item .page-header h2 { font-size: 1.75rem; margin: 0 0 .5rem; text-align: center; }
.blog-item .page-header h2 a { color: var(--ink); text-decoration: none; }
.blog-item .page-header h2 a:hover { color: var(--wine); }
.blog-item .readmore { text-align: center; }
.readmore a.btn, a.btn.btn-secondary { background: transparent; color: var(--wine); border-color: var(--wine); font-size: .9rem; padding: .55rem 1.1rem; }
.readmore a.btn:hover { background: var(--wine); color: #fff; }
.category-desc { margin-bottom: 2rem; color: var(--muted); }
.com-content-category-blog__children, .cat-children { margin-top: 2rem; }
.pagination, ul.pagination { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin-top: 2rem; }

/* Galleries and figure rows from the old content (e.g. wood types) */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); margin: 0 0 1.5rem; }
.gallery a { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
/* Contain, not cover: most photos are tall harps that should stay whole. */
.gallery img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.figures { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin: 1.5rem 0; }
.figures figure { margin: 0; text-align: center; }
figcaption { font-size: .92rem; color: var(--muted); margin-top: .4rem; }

/* Video embeds */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; margin: 0 0 1em; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact: details left, form right; Joomla's labels and duplicate headings hidden. */
.com-contact__container > h2, .com-contact .contact-position, .com-contact__form legend, .com-contact__address dt { display: none; }
.com-contact__thumbnail img { max-width: 220px; }
.com-contact__address { display: flex; flex-wrap: wrap; gap: 0 .35em; margin: 1rem 0 0; }
.com-contact__address dd { margin: 0; }
.com-contact__address dd:has(.contact-street), .com-contact__address dd:has(.contact-country), .com-contact__address dd:has(.contact-telephone), .com-contact__address dd:has(.contact-mobile) { flex-basis: 100%; }
.com-contact__address dd:has(.contact-postcode) { order: 1; }
.com-contact__address dd:has(.contact-suburb) { order: 2; }
.com-contact__address dd:has(.contact-country) { order: 3; }
.com-contact__address dd:has(.contact-telephone), .com-contact__address dd:has(.contact-mobile) { order: 4; margin-top: .5rem; font-weight: 600; }
@media (min-width: 860px) {
  .com-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .com-contact > .page-header { grid-column: 1 / -1; }
  .com-contact > .com-contact__container { grid-column: 1; grid-row: 2 / span 2; }
  .com-contact > h2, .com-contact > .com-contact__form { grid-column: 2; }
  .com-contact > h2 { margin-top: 0; }
}
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.control-group { margin-bottom: 1.1rem; }
.control-label label, label { display: inline-block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.star, .invalid-feedback { color: var(--wine); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], select, textarea, .form-control {
  width: 100%; max-width: 40rem; padding: .75rem .9rem; border: 1px solid #d3c9c0; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
textarea { min-height: 10rem; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(140, 35, 40, .2); border-color: var(--wine); }
input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--wine); margin-right: .4rem; vertical-align: -2px; }

/* Messages */
#system-message-container joomla-alert, .alert { display: block; padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.5rem; background: var(--wood-soft); border: 1px solid #e3d3c4; }

/* Footer */
.site-footer { background: #2f2522; color: #e9e1dc; padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 6px solid var(--wine); }
.site-footer a { color: #fff; }
.site-footer .card-title { color: #fff; font-size: 1.45rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.site-footer .card { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .mod-menu a { text-decoration: none; }
.site-footer .mod-menu a:hover { text-decoration: underline; }
.site-footer li > ul { padding-left: 1rem; margin-top: .35rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: #cbbdb6; }
.footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .hero-image, .page-band, .nav-toggle { display: none; }
  .content { box-shadow: none; margin: 0; padding: 0; }
}
