/* ============================================================
   Tritan Glassware Company — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0d1b2a;
  --blue: #1a4c8b;
  --blue-mid: #2563b0;
  --blue-light: #4a90d9;
  --sky: #d6e8fa;
  --white: #ffffff;
  --off-white: #f8fafc;
  --black: #0a0a0a;
  --charcoal: #1e2a38;
  --grey: #6b7a8d;
  --grey-light: #e8eef5;
  --accent: #c8a96e;
  --accent-dark: #a8894e;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(13,27,42,0.12);
  --shadow-lg: 0 12px 48px rgba(13,27,42,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-mid); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--navy); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); color: var(--navy); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-body); font-size: 0.9rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer; transition: all 0.25s ease;
  min-height: 52px; border: none; text-decoration: none;
}
.btn-primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 4px 16px rgba(26,76,139,0.35);
}
.btn-primary:hover {
  background: var(--navy); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,27,42,0.3);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12); color: var(--white);
  border-color: var(--white);
}
.btn-accent {
  background: var(--accent); color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-dark); color: var(--white); transform: translateY(-2px);
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* Section spacing */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title p { color: var(--grey); font-size: 1.1rem; max-width: 600px; margin: 0.75rem auto 0; }

/* Label chip */
.label {
  display: inline-block; padding: 4px 14px;
  background: var(--sky); color: var(--blue-mid);
  border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}

/* Navigation */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
nav.site-nav.scrolled {
  background: rgba(13,27,42,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--white); font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; line-height: 1;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--white);
}
.hamburger svg { width: 24px; height: 24px; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: var(--navy); flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--white); font-size: 1.4rem; font-family: var(--font-display); }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer; color: var(--white);
}

/* Sticky CTA */
.sticky-shop {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: none;
}
.sticky-shop.visible { display: block; }

/* Footer */
footer.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 1.3rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; display: flex; align-items: center;
  justify-content: space-between; font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--white); }

/* Blog card */
.blog-card {
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg); padding: 28px; transition: all 0.25s ease;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue-light); }
.blog-card .date { font-size: 0.8rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { color: var(--grey); font-size: 0.95rem; }

/* Post content */
.post-content { line-height: 1.8; }
.post-content h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 1.5rem 0 1rem; }
.post-content h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin: 1.5rem 0 0.75rem; }
.post-content h3 { font-size: 1.2rem; margin: 1.25rem 0 0.5rem; }
.post-content p { margin-bottom: 1.1rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content strong { color: var(--navy); }
.post-content a { color: var(--blue); text-decoration: underline; }

/* Accordion FAQ */
.faq-item { border-bottom: 1px solid var(--grey-light); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; text-align: left;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--navy); transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; margin-left: 16px; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 20px; color: var(--charcoal); }

/* Country cards */
.country-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px; margin-top: 24px;
}
.country-card {
  background: var(--white); border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-lg); padding: 24px 16px; text-align: center;
  transition: all 0.25s ease; display: block; text-decoration: none;
}
.country-card:hover {
  border-color: var(--blue); box-shadow: var(--shadow);
  transform: translateY(-4px); color: inherit;
}
.country-card .flag { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.country-card .country-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--navy); display: block; }
.country-card .shop-link { font-size: 0.8rem; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; display: block; }

/* Search */
.search-wrap {
  position: relative; max-width: 520px; margin: 0 auto 32px;
}
.search-wrap input {
  width: 100%; padding: 16px 52px 16px 20px;
  border: 2px solid var(--grey-light); border-radius: 50px;
  font-size: 1rem; font-family: var(--font-body);
  outline: none; transition: border-color 0.2s;
}
.search-wrap input:focus { border-color: var(--blue); }
.search-wrap svg {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--grey); width: 20px; height: 20px; pointer-events: none;
}

/* Benefits */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.benefit-item { text-align: center; padding: 32px 24px; }
.benefit-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: var(--sky); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.benefit-icon svg { width: 28px; height: 28px; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.review-card {
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.review-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 12px; }
.review-card p { color: var(--charcoal); font-size: 0.95rem; margin-bottom: 16px; }
.review-author { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* Specs */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--grey-light); }
.specs-table td { padding: 14px 16px; font-size: 0.95rem; }
.specs-table td:first-child { font-weight: 600; color: var(--navy); width: 40%; }
.specs-table tr:last-child { border-bottom: none; }

/* Responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .sticky-shop { display: block; }
}
