/* =====================================================
   Atmosphere Brewery — Static Site Stylesheet
   Colors extracted from Shopify theme settings_data.json
   Font: Libre Franklin via Google Fonts
   ===================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Libre Franklin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0097ce; text-decoration: none; transition: color 0.2s; }
a:hover { color: #003750; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #0097ce;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: #333; }

/* ---------- Layout Helpers ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--dark { background: #003750; color: #fff; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--gray { background: #f5f7fa; }
.text-center { text-align: center; }
.text-blue { color: #0097ce; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  text-align: center;
}
.btn--primary {
  background: #0097ce;
  color: #fff;
  border-color: #0097ce;
}
.btn--primary:hover {
  background: #eeeef1;
  color: #000;
  border-color: #eeeef1;
}
.btn--outline {
  background: transparent;
  color: #0097ce;
  border-color: #0097ce;
}
.btn--outline:hover {
  background: #0097ce;
  color: #fff;
}
.btn--white {
  background: #fff;
  color: #003750;
  border-color: #fff;
}
.btn--white:hover {
  background: #003750;
  color: #fff;
  border-color: #003750;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-header__logo img { height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; list-style: none; }
.site-nav a {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0097ce;
}
.site-nav a:hover { color: #003750; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #0097ce;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #e8e8e8;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 16px 24px; }
.mobile-nav li { border-bottom: 1px solid #f0f0f0; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1rem;
  color: #0097ce;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #003750;
  color: #fff;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 64px 24px;
}
.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a0d8ef;
  margin-bottom: 12px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Section Intro ---------- */
.section-intro {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}
.section-intro h2 { margin-bottom: 16px; }
.section-intro p { font-size: 1.05rem; color: #555; }

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,151,206,0.12);
  transform: translateY(-2px);
}
.product-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0f4f8;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 1.05rem; font-weight: 700; color: #003750; margin-bottom: 6px; }
.product-card__price { color: #0097ce; font-weight: 700; font-size: 1rem; margin-bottom: 14px; }
.product-card__desc { color: #666; font-size: 0.88rem; line-height: 1.55; margin-bottom: 16px; flex: 1; }
.product-card a.btn { width: 100%; }

/* ---------- Product Page ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
}
.product-gallery { position: relative; }
.product-gallery__main { aspect-ratio: 3/4; overflow: hidden; border-radius: 8px; background: #f0f4f8; margin-bottom: 12px; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumb-btn { border: 2px solid #e0e0e0; border-radius: 4px; overflow: hidden; background: #f5f5f5; cursor: pointer; padding: 0; aspect-ratio: 1; }
.thumb-btn.active, .thumb-btn:hover { border-color: #0097ce; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-info__title { color: #003750; margin-bottom: 8px; }
.product-info__subtitle { color: #0097ce; font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.product-info__desc { color: #555; margin-bottom: 24px; line-height: 1.7; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid #ddd; margin: 32px 0; }
.accordion-item { border-bottom: 1px solid #ddd; }
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #003750;
  text-align: left;
}
.accordion-btn .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #0097ce;
  transition: transform 0.25s;
}
.accordion-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 0 20px;
  color: #555;
  line-height: 1.75;
  font-size: 0.95rem;
}
.accordion-body.is-open { display: block; }

/* ---------- Info Blocks (About-style) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin: 48px 0;
}
.info-block { padding: 32px; border-radius: 8px; background: #f5f7fa; }
.info-block h3 { color: #003750; margin-bottom: 12px; }
.info-block p { color: #555; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }

/* ---------- Cocktail Recipes ---------- */
.cocktail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.cocktail-card { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; background: #fff; }
.cocktail-card__img { aspect-ratio: 4/3; overflow: hidden; background: #f0f4f8; }
.cocktail-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cocktail-card__body { padding: 24px; }
.cocktail-card__name { font-size: 1.2rem; font-weight: 700; color: #003750; margin-bottom: 12px; }
.cocktail-card__ingredients { font-size: 0.88rem; color: #555; margin-bottom: 12px; line-height: 1.65; }
.cocktail-card__instructions { font-size: 0.88rem; color: #0097ce; font-style: italic; }

/* ---------- Merch Page ---------- */
.merch-intro { text-align: center; max-width: 760px; margin: 0 auto 48px; }

/* ---------- Discover Page (card links) ---------- */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.discover-card {
  border-radius: 8px;
  overflow: hidden;
  background: #003750;
  color: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.discover-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,55,80,0.2);
}
.discover-card__img { aspect-ratio: 16/9; overflow: hidden; }
.discover-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.discover-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.discover-card__title { font-size: 1.15rem; font-weight: 700; color: #a0d8ef; margin-bottom: 10px; }
.discover-card__desc { font-size: 0.9rem; color: rgba(255,255,255,0.82); flex: 1; margin-bottom: 20px; line-height: 1.6; }

/* ---------- Contact Form ---------- */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: #003750; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #c6c2c2;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #0097ce; }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: #888; margin-top: 8px; }

/* ---------- Email Signup ---------- */
.email-signup { background: #0097ce; padding: 56px 24px; text-align: center; }
.email-signup h2 { color: #fff; margin-bottom: 10px; }
.email-signup p { color: rgba(255,255,255,0.9); margin-bottom: 28px; }
.email-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.email-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
}
.email-form button { background: #003750; color: #fff; border: none; padding: 13px 28px; border-radius: 4px; font-weight: 700; cursor: pointer; font-size: 0.95rem; white-space: nowrap; transition: background 0.2s; }
.email-form button:hover { background: #001f30; }

/* ---------- Awards / Badges ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
}
.badge-row img { height: 64px; width: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: #003750;
  color: #fff;
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-logo img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 14px; margin-top: 4px; }
.footer-social a { color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: color 0.2s; }
.footer-social a:hover { color: #fff; }
.footer-col h4 { color: #a0d8ef; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px;
  padding: 20px 24px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: #888;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #0097ce; }
.breadcrumb span { color: #bbb; }

/* ---------- Image Callouts (section with side image) ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-section__img { overflow: hidden; }
.split-section__img img { width: 100%; height: 100%; object-fit: cover; }
.split-section__content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-section--reverse .split-section__img { order: 2; }
.split-section--reverse .split-section__content { order: 1; }

/* ---------- Trust / Feature Badges row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 0;
}
.feature-item { text-align: center; padding: 12px 16px; }
.feature-item__icon { font-size: 2rem; margin-bottom: 6px; }
.feature-item__title { font-weight: 700; color: #003750; font-size: 0.95rem; margin-bottom: 6px; }
.feature-item__desc { font-size: 0.85rem; color: #666; }

/* ---------- Page Hero (non-homepage) ---------- */
.page-hero {
  background: #003750;
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/Clouds_e262f406-5baa-4575-81c4-2b273a92a4ef.jpg') center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ---------- Wholesale specific ---------- */
.wholesale-highlight {
  background: #f0f8ff;
  border-left: 4px solid #0097ce;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
}

/* ---------- Store Locator Map placeholder ---------- */
.store-locator-map {
  background: #e8f4fa;
  border: 2px dashed #0097ce;
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  color: #0097ce;
}
.store-locator-map h3 { margin-bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .split-section { grid-template-columns: 1fr; }
  .split-section--reverse .split-section__img { order: 0; }
  .split-section--reverse .split-section__content { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 48px 0; }
}

/* ---------- 5-column feature row ---------- */
.feature-row--5col { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.feature-row--5col .feature-item__icon { font-size: 1.6rem; }
.feature-row--5col .feature-item__title { font-size: 0.78rem; }
.feature-row--5col .feature-item__desc { font-size: 0.7rem; }
@media (max-width: 800px) {
  .feature-row--5col { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .feature-row--5col { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Celebrate More Often section ---------- */
.celebrate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.celebrate-col { color: rgba(255,255,255,0.9); }
.celebrate-col h3 { color: #a0d8ef; margin-bottom: 16px; font-size: 1.2rem; }
.celebrate-col p { margin-bottom: 24px; line-height: 1.7; }
.celebrate-col iframe { display: block; max-width: 100%; border-radius: 4px; }
@media (max-width: 800px) {
  .celebrate-grid { grid-template-columns: 1fr; }
}
