/* styles.css
   Cherry blossom theme
*/

/* Base */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff6f8;
  color: #2b2b2b;
  line-height: 1.45;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  background: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 1000;
  text-decoration: none;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, #f6d1da, #f2afc5);
  padding: 18px 12px;
  border-bottom: 1px solid rgba(242,175,197,0.45);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 64px;
  height: auto;
  display: block;
}
.site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2b2b2b;
}
.tagline {
  margin-top: 4px;
  font-size: 0.85rem;
  color: rgba(43,43,43,0.85);
}

/* Navigation */
.main-nav {
  padding: 8px 0;
  border-bottom: 1px solid rgba(242,175,197,0.18);
}
.nav-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  gap: 12px;
  list-style: none;
  justify-content: center;
}
.nav-list a {
  color: #2b2b2b;
  text-decoration: none;
  padding: 6px 8px;
  display: inline-block;
  border-radius: 4px;
  font-weight: 600;
}
.nav-list a:hover,
.nav-list a:focus,
.nav-list a.active {
  background: #f2afc5;
  color: #ffffff;
  outline: none;
}

/* Container */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 12px;
}

/* Panels */
.panel {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(43,43,43,0.06);
  margin-bottom: 16px;
}

/* Two-column layout */
.two-col {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.col-left {
  flex: 1 1 60%;
  min-width: 220px;
}
.col-right {
  flex: 0 0 260px;
  background: rgba(155,191,158,0.06);
  padding: 12px;
  border-radius: 8px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.hero-main {
  border-radius: 8px;
  margin-bottom: 8px;
  max-height: 520px;
  object-fit: cover;
  width: 100%;
  position: relative;
}
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 160px;
}
.hero-thumb-photo {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.image-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.image-row .img-photo {
  flex: 1;
  height: 160px;
  object-fit: cover;
}

/* Cards grid */
.cat-grid {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cat-card {
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
  flex: 1 1 30%;
  min-width: 220px;
  border: 1px solid rgba(155,191,158,0.08);
}
.cat-card h3 {
  margin: 8px 0;
  color: #2b2b2b;
}

/* Typography */
.lead {
  font-size: 1.02rem;
  color: rgba(43,43,43,0.9);
}
.long-text {
  color: rgba(43,43,43,0.85);
  line-height: 1.6;
}

/* Forms */
.contact-form label {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #e0d4d8;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 0.95rem;
}
.contact-form textarea {
  min-height: 120px;
}

/* Buttons */
.button {
  display: inline-block;
  background: linear-gradient(90deg, #f6d1da, #f2afc5);
  color: #2b2b2b;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
}

/* Note box */
.note {
  background: #fff8f9;
  border-left: 4px solid #f2afc5;
  padding: 10px;
  border-radius: 6px;
  color: #5b5b5b;
}

/* Footer */
.site-footer {
  background: #2b2b2b;
  color: #fff;
  text-align: center;
  padding: 18px 12px;
  margin-top: 18px;
  border-top: 4px solid rgba(242,175,197,0.12);
}

/* Focus outlines */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(242,175,197,0.45);
  outline-offset: 3px;
}

/* Responsive - mobile basic */
@media (max-width: 760px) {
  .two-col {
    flex-direction: column;
  }
  .col-right {
    flex: 1 1 auto;
    order: 2;
  }
  .hero-right {
    width: 100%;
    flex-direction: row;
  }
  .hero-thumb-photo {
    height: 64px;
  }
  .cat-card {
    flex-basis: 100%;
  }
}

/* NAV + BUTTON CONSISTENCY  */
/* reset appearance for links and buttons used as interface controls */
nav.main-nav .nav-list a,
.button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

/* base nav link appearance (explicit, consistent) */
nav.main-nav .nav-list a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #2b2b2b;
  background: transparent;
  border: 0;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

/* hover / focus states */
nav.main-nav .nav-list a:hover,
nav.main-nav .nav-list a:focus {
  background: #f2afc5;
  color: #ffffff;
  outline: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* active/current page style */
nav.main-nav .nav-list a.active,
nav.main-nav .nav-list li a.active {
  background: #f2afc5;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* align .button appearance with nav look */
.button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f6d1da, #f2afc5);
  color: #2b2b2b;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

/* button interactions */
.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  outline: none;
}

/* Responsive helpers for tablet and smaller phones */
@media (max-width: 900px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .media-row { flex-direction: column; }
  .media-right { flex: 1 1 auto; order: 2; }
  .media-left img { height: 260px; }
  .three-col-grid .cat-card { width: calc(50% - 7px); }
  .nav-list { gap: 8px; padding: 0 8px; }
}

@media (max-width: 760px) {
  .two-col, .media-row { flex-direction: column; }
  .col-right { order: 2; flex: 1 1 auto; width: 100%; }
  .hero-right { flex-direction: row; gap: 8px; }
  .hero-thumb-photo { height: 72px; flex: 1 1 0; }
  .three-col-grid .cat-card { width: 100%; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-list a { display: block; padding: 12px 14px; text-align: center; }
  .button { width: 100%; padding: 12px 14px; }
  .img-photo, .img-small { max-width: 100%; height: auto; }
  body { font-size: 15px; }
}

@media (max-width: 420px) {
  .wrap { padding-left: 10px; padding-right: 10px; }
  .site-title { font-size: 1rem; }
  .tagline { font-size: 0.82rem; }
  .hero-caption { font-size: 0.9rem; }
  .nav-list a { padding: 10px 12px; }
}
