/* ==========================================================================
   2B LEATHERS — GLOBAL STYLES
   Design system: Luxury/Refined Italian Leather Craftsmanship
   ========================================================================== */

/* ========== GOOGLE FONTS (load in HTML <head>) ========== */
/* Cormorant Garamond + Montserrat */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  /* Brand Colors */
  --crimson: #8B1A3A;
  --crimson-dark: #6D1430;
  --crimson-light: #A62B4E;
  --crimson-faint: rgba(139, 26, 58, 0.06);

  /* Accent */
  --gold: #C9A96E;
  --gold-light: #DFC89A;
  --gold-faint: rgba(201, 169, 110, 0.08);

  /* Neutrals */
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --charcoal: #2A2A2A;
  --charcoal-light: #5A5A5A;
  --charcoal-muted: #8A8A8A;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad: 6rem;
  --container-max: 1340px;
  --gutter: 2rem;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== RESET ========== */
*, *::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(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s var(--ease); }
ul, ol { list-style: none; }

/* ========== UTILITY ========== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--crimson);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 9px 0;
  text-transform: uppercase;
}
.top-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--gold-light); font-weight: 500; }
.top-bar a:hover { color: var(--white); }
.top-bar__links { display: flex; gap: 1.5rem; }

/* ========== HEADER ========== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--crimson-faint);
  transition: box-shadow 0.4s ease;
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.85rem; }
.logo__icon {
  width: 50px; height: 50px;
  background: var(--crimson);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo__text {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--crimson); line-height: 1.15;
}
.logo__text small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal-muted);
  margin-top: 2px;
}

/* Navigation */
.nav__list { display: flex; list-style: none; }
.nav__link {
  display: block;
  padding: 0.5rem 1.15rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--crimson);
  transition: width 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link--active::after { width: 55%; }
.nav__link:hover,
.nav__link--active { color: var(--crimson); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px; cursor: pointer;
  padding: 10px; background: none; border: none;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--charcoal);
  transition: 0.3s;
  display: block;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer; border: none;
  transition: all 0.4s var(--ease);
  line-height: 1.4;
}
.btn--primary { background: var(--crimson); color: var(--white); }
.btn--primary:hover {
  background: var(--crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,26,58,0.25);
}
.btn--outline { background: transparent; color: var(--charcoal); border: 1.5px solid var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.btn--white { background: var(--white); color: var(--crimson); }
.btn--white:hover { background: var(--gold-light); color: var(--crimson-dark); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-light); color: var(--charcoal); }
.btn__arrow { font-size: 1.1em; transition: transform 0.3s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ========== SECTION GLOBALS ========== */
.section-label {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  color: var(--crimson);
  font-weight: 400;
}
.section-desc {
  font-size: 0.92rem;
  color: var(--charcoal-light);
  line-height: 1.85;
  max-width: 580px;
}

/* ========== PAGE HERO BANNER ========== */
.page-hero {
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 20L20 0h20L20 20 0 40V20z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.page-hero__breadcrumb {
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { color: var(--gold-light); }

/* ========== BREADCRUMB (inline) ========== */
.breadcrumb {
  background: var(--cream);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(139,26,58,0.04);
}
.breadcrumb__list {
  display: flex; align-items: center;
  font-size: 0.73rem; color: var(--charcoal-muted);
}
.breadcrumb__list li::after { content: '/'; margin: 0 0.55rem; color: rgba(139,26,58,0.25); }
.breadcrumb__list li:last-child::after { display: none; }
.breadcrumb__list a { color: var(--crimson); font-weight: 500; }
.breadcrumb__list a:hover { text-decoration: underline; }

/* ========== PRODUCT CARDS ========== */
.product-card {
  background: var(--white);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  display: block;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}
.product-card__image {
  aspect-ratio: 1/1;
  background: var(--cream-dark);
  position: relative; overflow: hidden;
}
.product-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic; color: var(--charcoal-muted); font-size: 0.85rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.product-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--crimson); color: var(--white);
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}
.product-card__body { padding: 1.2rem 1.2rem 0.5rem; }
.product-card__cat {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 0.3rem;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 0.2rem;
}
.product-card__desc {
  font-size: 0.78rem; color: var(--charcoal-light);
  line-height: 1.6;
}
.product-card__footer {
  padding: 0.5rem 1.2rem 1.2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.product-card__cta {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--crimson);
  display: flex; align-items: center; gap: 0.4rem;
  transition: gap 0.3s;
}
.product-card:hover .product-card__cta { gap: 0.7rem; }
.product-card__material {
  font-size: 0.68rem; color: var(--charcoal-muted);
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.products-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ========== FOOTER ========== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 0;
}
.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto; padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.5rem;
}
.footer__brand-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem; font-style: italic;
  color: var(--gold-light); margin-bottom: 1rem;
}
.footer__brand-desc {
  font-size: 0.82rem; line-height: 1.85; margin-bottom: 1.5rem;
}
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__heading {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 1.25rem; font-weight: 500;
}
.footer__links li { margin-bottom: 0.55rem; }
.footer__links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer__links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer__contact-item {
  font-size: 0.82rem; margin-bottom: 0.75rem;
  display: flex; gap: 0.5rem;
}
.footer__contact-item strong { color: var(--gold-light); font-weight: 500; min-width: 50px; }
.footer__bottom {
  margin-top: 3rem; padding: 1.5rem var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center; font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  max-width: var(--container-max);
  margin-left: auto; margin-right: auto;
}

/* ========== FORM ELEMENTS ========== */
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(139,26,58,0.12);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.3s;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--crimson);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* Dark form variant */
.form--dark .form-label { color: var(--gold-light); }
.form--dark .form-input,
.form--dark .form-textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}
.form--dark .form-input:focus,
.form--dark .form-textarea:focus { border-color: var(--gold); }
.form--dark .form-input::placeholder,
.form--dark .form-textarea::placeholder { color: rgba(255,255,255,0.3); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-up { animation: fadeInUp 0.7s var(--ease) both; }
.animate-up-1 { animation-delay: 0.1s; }
.animate-up-2 { animation-delay: 0.2s; }
.animate-up-3 { animation-delay: 0.3s; }
.animate-up-4 { animation-delay: 0.4s; }
.animate-fade { animation: fadeIn 1s var(--ease) both; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  :root { --section-pad: 4.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem; --gutter: 1.25rem; }
  .header__inner { height: 68px; }
  .menu-toggle { display: flex; }
  .nav__list {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0.5rem 0;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border-top: 1px solid var(--crimson-faint);
  }
  .nav__list.open { display: flex; }
  .nav__link { padding: 0.85rem var(--gutter); }
  .products-grid,
  .products-grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero { padding: 2.5rem 0; }
}
