/* =========================================================
   TumiDev | iSON — Global Stylesheet
   Palette:
     --navy   : #355872  (primary dark)
     --steel  : #7AAACE  (mid accent)
     --sky    : #9CD5FF  (light accent)
     --cream  : #F7F8F0  (background)
   ========================================================= */

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

:root {
  --navy  : #355872;
  --steel : #7AAACE;
  --sky   : #9CD5FF;
  --cream : #F7F8F0;
  --white : #ffffff;
  --text  : #1e2d3a;
  --muted : #5a6e7c;
  --border: #d0dde7;
  --shadow: 0 2px 12px rgba(53,88,114,.12);
  --radius: 6px;
  --font-head: 'Segoe UI', Arial, sans-serif;
  --font-body: 'Segoe UI', Arial, sans-serif;
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p  { color: var(--muted); }

/* ---------- Layout Helpers ---------- */
.container {
  width: min(1160px, 94%);
  margin-inline: auto;
}

main { flex: 1; }

/* ---------- HEADER ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: var(--white);
  letter-spacing: -.5px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .3px;
}

.logo-text span {
  color: var(--sky);
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: .25rem; }

.main-nav a {
  color: rgba(255,255,255,.82);
  padding: .5rem .85rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(156,213,255,.18);
  color: var(--sky);
}

.main-nav a.active {
  font-weight: 700;
}

/* Cart pill */
.cart-pill {
  background: var(--sky);
  color: var(--navy);
  border: none;
  border-radius: 20px;
  padding: .4rem .9rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: background var(--transition);
}
.cart-pill:hover { background: var(--steel); color: var(--white); }
.cart-count {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 0 .45rem;
  font-size: .72rem;
  min-width: 18px;
  text-align: center;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- PAGE HERO / BANNER ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 60%, #2a4a63 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(156,213,255,.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.75); margin-top: .5rem; font-size: 1.05rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.breadcrumb a { color: var(--sky); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- SECTIONS ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.section-header p { margin-top: .5rem; }

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  display: block;
  margin-bottom: .4rem;
}

/* ---------- HOME — HERO ---------- */
.home-hero {
  background: linear-gradient(130deg, var(--navy) 0%, #2a4a63 55%, #1e3547 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156,213,255,.1) 0%, transparent 70%);
  right: -100px;
  top: -100px;
}

.hero-content { position: relative; z-index: 1; max-width: 680px; }

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
}

.hero-content h1 span { color: var(--sky); }

.hero-content p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin: 1.2rem 0 2rem;
  max-width: 540px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--sky);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Stats bar */
.stats-bar {
  background: var(--white);
  border-top: 3px solid var(--sky);
  box-shadow: var(--shadow);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
  gap: var(--border);
}
.stat-item {
  padding: 1.8rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sky), var(--steel));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--navy); }

.feature-card h3 { margin-bottom: .4rem; }

/* ---------- TEAM PAGE ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  padding: 2rem 1.2rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--steel), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: .2rem;
}

.team-role {
  font-size: .8rem;
  color: var(--steel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.team-name {
  font-size: .88rem;
  color: var(--muted);
  margin-top: .35rem;
}

/* ---------- CONTACT PAGE ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  width: 100%;
}
.btn-submit:hover { background: var(--steel); }

/* Sticky contact aside */
.contact-aside {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.aside-card h3 {
  font-size: .95rem;
  margin-bottom: .9rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--sky);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .88rem;
}
.contact-detail:last-child { margin-bottom: 0; }

.detail-icon {
  width: 32px;
  height: 32px;
  background: var(--sky);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-icon svg { width: 15px; height: 15px; fill: var(--navy); }

.detail-text strong { display: block; color: var(--navy); font-size: .8rem; margin-bottom: .1rem; }
.detail-text span { color: var(--muted); }

.aside-card-navy {
  background: var(--navy);
  border-color: var(--navy);
}
.aside-card-navy h3 { color: var(--white); border-bottom-color: var(--sky); }
.aside-card-navy p  { color: rgba(255,255,255,.72); font-size: .85rem; line-height: 1.5; }
.aside-card-navy .btn-sky {
  display: inline-block;
  margin-top: .9rem;
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
  padding: .55rem 1.2rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.aside-card-navy .btn-sky:hover { background: var(--steel); color: var(--white); }

/* Form notice */
.form-notice {
  background: rgba(156,213,255,.15);
  border: 1px solid var(--sky);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .82rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ---------- GALLERY / PRODUCTS PAGE ---------- */
.gallery-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--muted);
  padding: .4rem 1rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-image {
  background: linear-gradient(135deg, #e8f4ff 0%, #d0eaff 100%);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-image svg { width: 64px; height: 64px; }

.product-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--navy);
  color: var(--sky);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 4px;
}
.product-badge.badge-new  { background: #2e7d32; color: #fff; }
.product-badge.badge-hot  { background: #c62828; color: #fff; }
.product-badge.badge-popular { background: var(--steel); color: var(--white); }

.product-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--steel);
  font-weight: 700;
  margin-bottom: .35rem;
}

.product-body h3 { margin-bottom: .5rem; font-size: 1rem; }
.product-body p  { font-size: .85rem; flex: 1; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.product-price .currency {
  font-size: .72rem;
  font-weight: 600;
  vertical-align: super;
  color: var(--muted);
}

.btn-add {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.btn-add:hover { background: var(--steel); }
.btn-add.added {
  background: #2e7d32;
}

/* Cart mini-drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,.18);
  z-index: 500;
  transition: right .3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }

.cart-drawer-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 { color: var(--white); font-size: 1rem; }

.btn-close-cart {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: .2rem .4rem;
}

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: .9rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-icon {
  width: 40px;
  height: 40px;
  background: var(--sky);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.cart-item-info { flex: 1; }
.cart-item-info strong { display: block; font-size: .88rem; color: var(--navy); }
.cart-item-info span  { font-size: .8rem; color: var(--muted); }

.btn-remove-item {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: .2rem;
}
.btn-remove-item:hover { color: #c62828; }

.cart-footer {
  padding: 1.2rem 1.4rem;
  border-top: 2px solid var(--border);
  background: var(--cream);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cart-total-row strong { font-size: 1.05rem; color: var(--navy); }
.cart-total-value { font-size: 1.25rem; font-weight: 800; color: var(--navy); }

.btn-checkout {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: .85rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-checkout:hover { background: var(--steel); }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 499;
  display: none;
}
.cart-overlay.visible { display: block; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 1.4rem 0;
  font-size: .82rem;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner span { color: rgba(255,255,255,.45); }
.footer-author { color: var(--sky); font-weight: 600; }

/* ---------- DIVIDER ---------- */
.divider {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--steel), var(--sky));
  border: none;
  margin: 0;
}

/* ---------- NOTIFICATION TOAST ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: var(--white);
  padding: .7rem 1.5rem;
  border-radius: 24px;
  font-size: .88rem;
  font-weight: 600;
  z-index: 600;
  transition: transform .3s ease;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- HIDDEN METADATA (for LP scraping) ---------- */
#lp-page-metadata {
  display: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: .8rem;
    gap: .15rem;
    box-shadow: 0 6px 12px rgba(0,0,0,.3);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: .65rem 1rem; }

  .nav-toggle { display: flex; }

  .header-inner { position: relative; }

  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
