/* =============================================================
   Potterywise Inc — Static Site Stylesheet
   Parity target: potterywise.com/wp/ (OceanWP/Elementor)
   ============================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Muli:wght@300;400;600;700&family=Roboto:wght@300;400;500&display=swap');

/* CSS Variables */
:root {
  --accent:        #f2137b;
  --dark:          #1a1a1a;
  --text:          #444;
  --light-text:    #666;
  --border:        #e5e5e5;
  --nav-height:    60px;
  --max-width:     1200px;
  --content-width: 860px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: var(--text); font-size: 14px; line-height: 1.6; background: #fff; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1,h2,h3,h4,h5,h6 { font-family: 'Muli', sans-serif; font-weight: 400; }
ul { list-style: none; }

/* =============================================================
   HEADER / NAV
   ============================================================= */
#site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 100;
}

#site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#site-logo a { display: flex; align-items: center; }
#site-logo img { max-height: 38px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav ul li a {
  font-family: 'Muli', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px;
  line-height: var(--nav-height);
  display: block;
  color: #333;
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav ul li a:hover        { color: var(--accent); }
.main-nav ul li.current a      { color: var(--accent); }
.main-nav ul li.nav-fb a       { font-size: 17px; }

/* =============================================================
   HERO — full-width background image with centered text
   ============================================================= */
.page-hero {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #222;
}

.page-hero img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

.page-hero .hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: 'Muli', sans-serif;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 7px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  pointer-events: none;
}

/* Contact hero is contained, not full-bleed */
.contact-hero-wrap {
  text-align: center;
  padding: 30px 20px 0;
}

.contact-hero-wrap img {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

/* =============================================================
   HOME CAROUSEL
   ============================================================= */
.carousel-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #111;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active { opacity: 1; }

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: 'Muli', sans-serif;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 7px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  pointer-events: none;
}

/* =============================================================
   HOME PANELS — 3-column rows
   ============================================================= */
.home-panel {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 15px;
  min-height: 145px;
}

.home-panel .panel-img img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.panel-title-box {
  text-align: center;
  border: 1px solid #ddd;
  padding: 14px 10px;
}

.panel-title-box a {
  font-family: 'Muli', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #555;
  display: block;
  line-height: 1.6;
}

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

.panel-text {
  font-size: 12.5px;
  line-height: 1.75;
  color: #555;
  padding: 5px;
}

/* =============================================================
   MAIN CONTENT CONTAINER
   ============================================================= */
#main { min-height: 400px; }

.content-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 36px 20px;
  text-align: center;
}

.page-title {
  font-family: 'Muli', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 22px;
}

.page-body p {
  font-size: 13px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 10px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Section label (e.g. "ITEM IDEA", "SCHOOL PROJECTS") */
.section-label {
  font-family: 'Muli', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #666;
  text-align: center;
  margin: 28px 0 16px;
}

/* =============================================================
   BIRTHDAY PARTY
   ============================================================= */
.bp-intro-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 18px auto;
  border: 1px solid #ddd;
}

.btn {
  display: inline-block;
  background: #666;
  color: #fff !important;
  font-family: 'Muli', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 11px 24px;
  border: 2px solid #666;
  margin: 8px 4px;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Birthday item idea grid: 4 columns */
.item-idea-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 36px;
}

.item-idea-cell { text-align: center; }

.item-idea-cell a {
  display: block;
  overflow: hidden;
  background: #f5f5f5;
}

.item-idea-cell a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.2s;
}

.item-idea-cell a:hover img { opacity: 0.8; }

.item-idea-cell span {
  display: block;
  font-size: 10px;
  color: #777;
  margin-top: 3px;
  font-family: 'Muli', sans-serif;
  letter-spacing: 1px;
}

/* =============================================================
   SCHOOL ACTIVITIES
   ============================================================= */
.school-header-img {
  max-width: 300px;
  margin: 16px auto;
}

/* =============================================================
   GALLERY GRIDS (School, Seasonal, etc.)
   ============================================================= */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  gap: 5px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 36px;
}

.thumb-grid a {
  display: block;
  width: 150px;
  height: 150px;
  overflow: hidden;
  background: #f5f5f5;
}

.thumb-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.thumb-grid a:hover img { opacity: 0.8; }

/* =============================================================
   POTTERY WORKSHOP GALLERY STRIP
   ============================================================= */
.gallery-strip {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 5px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 36px;
}

.gallery-strip a {
  display: block;
  width: 148px;
  height: 148px;
  overflow: hidden;
  background: #f5f5f5;
}

.gallery-strip a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.gallery-strip a:hover img { opacity: 0.8; }

/* =============================================================
   SEASONAL WORKSHOP — horizontal image strip
   ============================================================= */
.seasonal-strip {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 3px;
  max-width: 860px;
  margin: 10px auto 18px;
  padding: 0 20px;
  overflow-x: auto;
}

.seasonal-strip img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  flex-shrink: 0;
}

.calendar-note {
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 30px 20px;
  max-width: 560px;
  margin: 10px auto 30px;
  text-align: center;
  color: #888;
  font-size: 12.5px;
}

.calendar-note strong {
  display: block;
  font-family: 'Muli', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}

/* =============================================================
   KEEPSAKE
   ============================================================= */
.keepsake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  max-width: 680px;
  margin: 10px auto 36px;
  padding: 0 20px;
}

.keepsake-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* =============================================================
   SUMMER CLASSES
   ============================================================= */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 860px;
  margin: 20px auto;
  padding: 0 20px;
}

.week-cell {
  text-align: center;
  font-size: 12px;
  color: #555;
}

.week-cell .week-price {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  display: block;
  margin-bottom: 3px;
}

.week-cell .week-dates {
  font-size: 11px;
  color: #777;
  line-height: 1.5;
}

.week-cell .week-dates sup {
  font-size: 8px;
}

.photo-gallery-previews {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 680px;
  margin: 10px auto;
  padding: 0 20px 36px;
}

.photo-gallery-item { text-align: center; }

.photo-gallery-item > a {
  display: block;
  width: 195px;
  height: 195px;
  overflow: hidden;
  background: #f5f5f5;
}

.photo-gallery-item > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.photo-gallery-item > a:hover img { opacity: 0.8; }

.photo-gallery-item span {
  display: block;
  font-family: 'Muli', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  margin-top: 5px;
}

/* =============================================================
   SUMMER 2017/2018/2019 SUB-PAGES
   ============================================================= */
.summer-banner {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 17px 20px;
  font-family: 'Muli', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 9px;
  text-transform: uppercase;
}

.summer-photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  max-width: 860px;
  margin: 28px auto 10px;
  padding: 0 20px;
}

.summer-photo-grid a {
  display: block;
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}

.summer-photo-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.summer-photo-grid a:hover img { opacity: 0.8; }

.year-nav {
  text-align: right;
  max-width: 860px;
  margin: 8px auto;
  padding: 6px 20px 28px;
}

.year-nav a {
  font-family: 'Muli', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #555;
  margin-left: 18px;
}

.year-nav a:hover { color: var(--accent); }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-block {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 20px 36px;
  text-align: left;
}

.contact-block p {
  font-size: 13px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 10px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 13px;
  color: #333;
}

.contact-detail i {
  color: var(--accent);
  font-size: 15px;
  width: 18px;
  flex-shrink: 0;
}

.contact-detail a:hover { color: var(--accent); }

/* =============================================================
   LIGHTBOX
   ============================================================= */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lb-overlay.open { display: flex; }

.lb-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.lb-close {
  position: absolute;
  top: 16px;
  right: 22px;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
  font-family: sans-serif;
  transition: color 0.2s;
}

.lb-close:hover { color: var(--accent); }

/* =============================================================
   FOOTER
   ============================================================= */
#footer {
  background: var(--dark);
  padding: 16px 20px;
}

#footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

#copyright {
  font-size: 11.5px;
  color: #aaa;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.footer-nav ul li { display: flex; align-items: center; }

.footer-nav ul li + li::before {
  content: '|';
  color: #555;
  padding: 0 4px;
  font-size: 11px;
}

.footer-nav ul li a {
  font-size: 11.5px;
  color: #aaa;
  padding: 0 3px;
}

.footer-nav ul li a:hover { color: #fff; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .home-panel { grid-template-columns: 1fr 1fr; }
  .item-idea-grid { grid-template-columns: repeat(3, 1fr); }
  .schedule-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .home-panel { grid-template-columns: 1fr; }
  .item-idea-grid { grid-template-columns: repeat(2, 1fr); }
  .keepsake-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero, .carousel-wrap { height: 180px; }
  .hero-title, .carousel-caption { font-size: 13px; letter-spacing: 4px; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery-item > a { width: 140px; height: 140px; }
}
