@charset "utf-8";
/* CSS Document */
/*--------------------------------------------------------------------
      Created for   : Twisted Timbers / twistedtimbers.us
      Name          : style.css
      Related       : index.html
      Site Version  : 1.0 - draft
      Last Modified : 2026-11-01
      Notes         : Single stylesheet for the whole site, v1 and v2.
                      HTML only, no database, no PHP, no queries.
                      Scripts only if they have a useful impact.
                      Structure follows the author's process:
                      commented sections, div id layout,
                      padding/margin in CSS, no tables.
                      Design is new for Twisted Timbers, not a
                      copy of any previous site.
--------------------------------------------------------------------*/

/*>>>>RESET AND BASE<<<<*/
* { box-sizing: border-box; }
/* Smooth scrolling for the menu links, instead of an instant jump.
   Respects visitors who prefer reduced motion. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { margin: 0; padding: 0; background: #222222; color: #f2ede4;
  font-family: Tahoma, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6; }
img { max-width: 100%; height: auto; border: 0; }
a { color: #e8c98a; }
a:focus, a:hover { color: #ffffff; }

/*>>>>HEADER, LOGO, AND NAVIGATION<<<<*/
#header { background: #ffffff; color: #222222; margin: 0; padding: 24px; width: 100%; }
#header-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
/* Logo, centered, not bulky: fixed display width, height auto,
   so the saw blade, name, and stars stay crisp at any screen size. */
.logo-heading { margin: 0 0 12px 0; text-align: center; }
.logo { border: 0; display: block; height: auto; margin: 0 auto; width: 50%; }
/* On larger screens, logo is no larger than 25% of the header width.
   On phones it is 50%, so it stays readable without dominating. */
@media (min-width: 640px) {
  .logo { width: 25%; }
}
#header p { color: #444444; margin: 8px 0; text-align: center; }
/* Menu links, centered and evenly spaced directly under the logo. */
#nav { display: flex; gap: 32px; justify-content: center; margin: 0 0 16px 0; }
#nav a { color: #5a3d22; font-weight: bold; text-decoration: none; }
#nav a:focus, #nav a:hover { text-decoration: underline; }

/*>>>>MAIN CONTENT ELEMENTS<<<<*/
#container { background: #222222; color: #f2ede4; margin: 0 auto; max-width: 900px; padding: 24px; }

/*>>>>SECTIONS - main format used throughout the site<<<<*/
/* Reusable pattern, from the large-site samples:
   a section div, with a heading, and the content below it.
   New sections in v2 use this same pattern, no new CSS needed. */
#pieces, #about { margin: 0 auto; padding: 24px 0; }
#pieces h2, #about h2 { border-bottom: 2px solid #c9a86a; padding-bottom: 6px; }
.piece { margin: 32px 0; padding: 0; }
.piece img { border: 1px solid #444444; width: 100%;
  transition: all .25s ease-in-out; }
/* Two photos side by side, same height, in one piece block.
   No extra section length. Stacks on small screens. */
.photo-row { display: flex; gap: 16px; }
.photo-row img { width: 50%; }
.piece img:focus, .piece img:hover { opacity: .92; }
/* Price line under each piece: gold, bold, slightly larger,
   so visitors see the price without hunting for it. */
.price { color: #e8c98a; font-size: 1.25em; font-weight: bold; margin: 12px 0 0 0; }
.photo-note { background: #333333; padding: 16px; text-align: center; }
/* Why 22 box: HTML5 details/summary, no script needed.
   Click or tap to open, keyboard accessible, works on
   phones where hover does not. The open box fades in,
   in the same spirit as the pure-CSS hover reveal
   from community.css. */
.why22 { margin: 12px 0 0 0; }
.why22 summary { color: #e8c98a; cursor: pointer; font-weight: bold; }
.why22 summary:focus, .why22 summary:hover { color: #ffffff; }
.why22 p { background: #333333; border-left: 3px solid #c9a86a; margin: 8px 0 0 0; padding: 12px;
  animation: why22-fade .25s ease-in-out; }
@keyframes why22-fade { from { opacity: 0; } to { opacity: 1; } }
/* Pure-CSS hover reveal, from community.css:
   no script needed. Used here for the socials callout,
   so it stands out when a visitor reaches the pieces. */
.social-callout { transition: all .25s ease-in-out; }
.social-callout:focus, .social-callout:hover { background: #333333; padding: 12px; }

/*>>>>FOOTER / CONTACT ELEMENTS<<<<*/
#footer { background: #ffffff; color: #222222; margin: 0; padding: 24px; width: 100%; }
#footer-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
#footer a { color: #5a3d22; }
#footer a:focus, #footer a:hover { color: #000000; }
#contact { padding: 0 0 16px 0; }
/* Social buttons - chosen style: outline button, white footer,
   brown text, gold border. On hover/focus it fills gold and
   the outline transitions to dark grey. Just styled links,
   no script, no icons to load. */
#contact ul { list-style: none; margin: 0; padding: 0; }
#contact li { margin: 0 0 12px 0; }
.btn-outline { display: inline-block; font-weight: bold; padding: 10px 18px; text-decoration: none;
  transition: all .25s ease-in-out; }
.btn-outline { background: #ffffff; border: 2px solid #c9a86a; color: #5a3d22; }
.btn-outline:focus, .btn-outline:hover { background: #c9a86a; border-color: #222222; color: #222222; }
/* Social icon buttons - round dark buttons with a small label under each.
   Inline SVG glyphs, no external icons to load. Gold on hover/focus,
   to match the site's gold accents. */
.social-icons { display: flex; gap: 28px; margin: 0; padding: 6px 0 0 0; }
.social-icon { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.social-icon svg { width: 56px; height: 56px; border-radius: 50%; background: #222222; fill: #f2e3c6; padding: 14px; box-sizing: border-box; transition: all .25s ease-in-out; }
.social-icon span { font-size: 0.9em; font-weight: bold; color: #5a3d22; }
.social-icon:focus svg, .social-icon:hover svg { background: #c9a86a; fill: #222222; }
.social-icon:focus span, .social-icon:hover span { color: #222222; }
.copyright { font-size: 0.9em; margin-top: 24px; }

/*>>>>STYLING CLASSES<<<<*/
.centerText { text-align: center; }
.smallText { font-size: .9em; }
.noPad { padding: 0; }
.noMarg { margin: 0; }

/*>>>>CLEARFIX TO RESOLVE FLOAT AND ALIGNMENT ISSUES<<<<*/
.clearfix { clear: both; display: block; height: 0; line-height: 0; visibility: hidden; }

/*>>>>RESPONSIVE - MOBILE<<<<*/
/* Modern equivalent of the old separate mobile.css:
   one stylesheet, with small-screen rules at the end,
   instead of a separate mobile site. */
@media (max-width: 640px) {
  #header-inner, #footer-inner { padding: 0 16px; }
  #container { padding: 16px; }
  #nav { gap: 20px; }
  .piece { margin: 24px 0; }
  .photo-row { display: block; }
  .photo-row img { width: 100%; margin: 0 0 16px 0; }
}
