/* ============================================================
   ToffanShop Theme — Main Stylesheet (Brand v2: Navy/Orange)
   ============================================================ */

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

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

:root {
  /* ── Brand Palette (from your logo & cover photo) ── */
  --navy:         #0D1B2E;       /* deep navy background */
  --navy-mid:     #152238;       /* slightly lighter navy */
  --navy-light:   #1E3050;       /* card/section navy */
  --orange:       #FF6B00;       /* primary orange accent */
  --orange-light: #FF8C33;       /* hover orange */
  --orange-pale:  #FFF0E5;       /* very light orange tint */
  --white:        #FFFFFF;
  --off-white:    #F5F7FA;
  --text-light:   #A8B8CC;       /* muted text on dark */
  --text-mid:     #6B8099;       /* secondary text */
  --border-dark:  rgba(255,255,255,0.08);
  --border-light: rgba(13,27,46,0.10);

  /* ── Typography ── */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
  animation: fadeDown 0.8s ease both;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px);} to { opacity:1; transform:translateY(0);} }

.site-logo {
  display: flex; align-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
}
.site-logo img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-logo span { color: var(--orange); }

.main-navigation ul { display: flex; gap: 36px; }
.main-navigation a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s;
}
.main-navigation a:hover { color: var(--white); }

.header-cta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: var(--orange);
  color: var(--white) !important;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--orange-light); }

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

/* Cover photo fills the entire hero */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Dark navy overlay so text is always readable */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,27,46,0.92) 0%,
    rgba(13,27,46,0.85) 45%,
    rgba(13,27,46,0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 60px;
  animation: fadeUp 1s 0.3s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(30px);} to { opacity:1; transform:translateY(0);} }

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 36px; height: 1px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--orange); }

.hero-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 440px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  padding: 15px 36px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }

.btn-ghost {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--orange); border-color: var(--orange); }

.hero-stats {
  margin-top: 56px;
  display: flex; gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--white);
}
.stat-label {
  font-size: 0.70rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Floating badge bottom-right of hero */
.hero-badge-wrap {
  position: absolute;
  bottom: 60px; right: 60px;
  z-index: 3;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.hero-badge {
  background: var(--orange);
  color: var(--white);
  padding: 16px 24px;
}
.hero-badge-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}
.hero-badge-sub {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero-pill {
  background: var(--white);
  padding: 10px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex; align-items: center; gap: 8px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
.hero-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #4CAF72; }

/* ── SECTION COMMON ── */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
}
.section-link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.section-link:hover { color: var(--navy); }

/* ── CATEGORIES ── */
.categories-section {
  padding: 100px 60px;
  background: var(--off-white);
}

.cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
}
.cat-card { position: relative; overflow: hidden; cursor: pointer; }
.cat-card:first-child { grid-row: 1 / 3; }
.cat-bg {
  position: absolute; inset: 0;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.cat-card:hover .cat-bg { transform: scale(1.04); }

/* Navy-toned category gradients */
.cat-bg-1 { background: linear-gradient(135deg, #0D1B2E 0%, #1E3A5F 100%); }
.cat-bg-2 { background: linear-gradient(135deg, #FF6B00 0%, #CC5500 100%); }
.cat-bg-3 { background: linear-gradient(135deg, #152238 0%, #243D5C 100%); }
.cat-bg-4 { background: linear-gradient(135deg, #FF8C33 0%, #E67300 100%); }
.cat-bg-5 { background: linear-gradient(135deg, #0A1520 0%, #152238 100%); }

.cat-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}
.cat-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.cat-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
}
.cat-card:first-child .cat-name { font-size: 2.4rem; }
.cat-arrow {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateY(0); }

/* ── PRODUCTS ── */
.products-section {
  padding: 80px 60px 100px;
  background: var(--navy);
}
.products-section .section-title { color: var(--white); }
.products-section .section-eyebrow { color: var(--orange); }
.products-section .section-link { color: var(--text-light); border-color: var(--border-dark); }
.products-section .section-link:hover { color: var(--white); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.prod-card {
  background: var(--navy-light);
  border: 1px solid var(--border-dark);
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}
.prod-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.prod-image { aspect-ratio: 3/4; position: relative; overflow: hidden; }
.prod-image img { width: 100%; height: 100%; object-fit: cover; }
.prod-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-mid);
}
.prod-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.prod-info { padding: 20px; }
.prod-category {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.prod-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.prod-footer { display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-size: 0.9rem; color: var(--orange); }
.prod-add {
  width: 32px; height: 32px;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.prod-add:hover { background: var(--orange); border-color: var(--orange); }

/* WooCommerce overrides */
.woocommerce ul.products { margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products li.product {
  background: var(--navy-light) !important;
  border: 1px solid var(--border-dark) !important;
  transition: border-color 0.3s, transform 0.3s;
  padding: 0 !important; margin: 0 !important;
}
.woocommerce ul.products li.product:hover { border-color: var(--orange) !important; transform: translateY(-4px); }
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.woocommerce ul.products li.product h2 {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important; font-weight: 400 !important;
  color: var(--white) !important; padding: 0 20px !important;
}
.woocommerce ul.products li.product .price { color: var(--orange) !important; padding: 0 20px 20px !important; }
.woocommerce ul.products li.product .button {
  background: var(--orange) !important; color: var(--white) !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important; letter-spacing: 0.12em !important;
  text-transform: uppercase !important; margin: 0 20px 20px !important;
}

/* ── ABOUT ── */
.about-section {
  padding: 120px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--off-white);
}
.about-visual { position: relative; padding-bottom: 48px; }
.about-block-main {
  width: 100%; aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--navy-light);
}
.about-block-main img { width: 100%; height: 100%; object-fit: cover; }
.about-block-overlay {
  position: absolute; bottom: 0; right: -24px;
  width: 45%; aspect-ratio: 1;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; padding: 24px;
}
.about-overlay-num {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 300;
  color: var(--orange);
}
.about-overlay-text {
  font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-light);
}
.about-body {
  color: var(--text-mid); font-size: 0.95rem;
  line-height: 1.8; margin-bottom: 36px;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-bottom: 40px;
}
.about-feat { padding-top: 16px; border-top: 1px solid var(--border-light); }
.about-feat-title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.about-feat-text { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 100px 60px;
  background: var(--navy);
  text-align: center;
}
.testimonials-section .section-eyebrow { color: var(--orange); }
.testimonials-section .section-title { color: var(--white); }

.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; text-align: left; margin-top: 60px;
}
.testi-card {
  background: var(--navy-light);
  padding: 36px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s;
}
.testi-card:hover { border-color: var(--orange); }
.testi-stars { color: var(--orange); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 16px; }
.testi-text {
  font-family: var(--font-display);
  font-size: 1.05rem; line-height: 1.7;
  color: var(--white); margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem;
  color: var(--orange); overflow: hidden;
}
.testi-name { font-size: 0.82rem; font-weight: 500; color: var(--white); }
.testi-role { font-size: 0.72rem; color: var(--text-light); }

/* ── WHY US ── */
.why-section {
  padding: 100px 60px;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; align-items: start;
  background: var(--off-white);
}
.why-section .section-title { color: var(--navy); }
.why-section .about-body { color: var(--text-mid); }
.why-right { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.why-card {
  padding: 40px 36px; background: var(--white);
  transition: background 0.3s;
}
.why-card:hover { background: var(--navy); }
.why-card:hover .why-title,
.why-card:hover .why-text { color: var(--white); }
.why-card:hover .why-icon { background: var(--orange); }
.why-icon {
  width: 44px; height: 44px;
  background: var(--orange-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 20px; transition: background 0.3s;
}
.why-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; transition: color 0.3s; }
.why-text { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; transition: color 0.3s; }

/* ── CTA BANNER ── */
.cta-section {
  margin: 0 60px 80px;
  background: var(--navy);
  padding: 80px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden; gap: 40px; flex-wrap: wrap;
}
.cta-section::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: var(--orange); opacity: 0.08;
}
.cta-section::after {
  content: '';
  position: absolute; bottom: -40px; left: 200px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--orange-light); opacity: 0.06;
}
.cta-eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300;
  color: var(--white); max-width: 480px; line-height: 1.15; position: relative;
}
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; position: relative; }
.btn-accent { background: var(--orange); color: var(--white); }
.btn-accent:hover { background: var(--orange-light); }
.btn-outline {
  display: inline-block; padding: 15px 36px;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
  padding: 60px 60px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; max-width: 260px; margin-top: 16px; }
.footer-col-title { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--text-light); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border-dark);
}
.footer-copy { font-size: 0.78rem; color: var(--text-mid); }
.footer-socials { display: flex; gap: 16px; }
.footer-social {
  width: 36px; height: 36px;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--text-light);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── WORDPRESS CORE ── */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-header { padding: 0 24px; }
  .main-navigation { display: none; }
  .hero-content { padding: 60px 24px; }
  .hero-badge-wrap { display: none; }
  .categories-section, .testimonials-section, .site-footer { padding: 60px 24px; }
  .products-section { padding: 60px 24px; }
  .cat-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .cat-card:first-child { grid-row: auto; }
  .cat-card { height: 220px; }
  .about-section { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .why-section { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-section { margin: 0 24px 60px; padding: 48px 32px; flex-direction: column; }
  .why-right { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .prod-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .about-features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
