/* =============================================
   AONBOY — Global Styles
   ============================================= */

:root {
  --teal:       #1bbcb0;
  --teal-dark:  #0e9a90;
  --teal-light: #e6f9f8;
  --teal-mid:   #b2ece8;
  --orange:     #f7941d;
  --dark:       #1a2332;
  --dark-mid:   #243044;
  --gray:       #4b5563;
  --gray-light: #f4f7f6;
  --white:      #ffffff;
  --text:       #1a2332;
  --text-muted: #4b5563;
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 4px 24px rgba(27,188,176,.13);
  --shadow-lg:  0 12px 48px rgba(27,188,176,.18);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
h2 { font-size: clamp(1.7rem,3.5vw,2.6rem); }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(27,188,176,.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,188,176,.45);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(247,148,29,.35);
}
.btn-orange:hover {
  background: #e0820f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(247,148,29,.45);
}

/* ── SECTION HELPERS ── */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title { color: var(--dark); margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); max-width: 580px; font-size: 1.05rem; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,188,176,.1);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(27,188,176,.12); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .05em;
}
.logo-name span { color: var(--teal); }
.logo-tagline {
  font-size: .65rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active, .nav-links a:focus { color: var(--teal); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: var(--white);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  border-top: 1px solid rgba(27,188,176,.1);
}
.mobile-menu.open {
  max-height: 400px;
  padding: 20px 0;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  text-align: center;
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--teal); background: var(--teal-light); }
.mobile-menu .btn { margin: 8px auto 0; }

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--dark);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0 2rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}
.marquee-track span::before {
  content: '●';
  color: var(--teal);
  font-size: .6rem;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.85);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .logo-name { color: var(--white); font-size: 1.4rem; }
.footer-brand .logo-tagline { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 1rem; font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-address { margin-top: 1rem; font-size: .85rem; color: rgba(255,255,255,.45); }
.footer-usa { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; font-size: .8rem; color: rgba(255,255,255,.55); }
.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.2rem; font-family: var(--font-body); }
.footer-col a { display: block; color: rgba(255,255,255,.72); font-size: .9rem; margin-bottom: .6rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal); text-decoration: underline; }
.footer-col a:focus { color: var(--teal); text-decoration: underline; outline: 2px solid var(--teal); outline-offset: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--teal); text-decoration: underline; }
.footer-bottom a:focus { outline: 2px solid var(--teal); outline-offset: 2px; }


/* ── SKIP LINK (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ── MAIN ── */
main { display: block; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(27,188,176,.1);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--gray-light);
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}
.product-card-body h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: .5rem;
  flex: 1;
}
.product-card-body p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.product-card .btn {
  width: 100%;
  justify-content: center;
  font-size: .88rem;
  padding: .75rem 1.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── FOCUS VISIBLE (accessibility) ── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}
