/* ============================================
   WIDE PLANK HARDWOOD — COMPLETE CUSTOM CSS
   Applied on top of Assembler theme
   ============================================ */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---- COLOR CLASSES (match block markup) ---- */
.has-brand-color { color: #7A2B2B !important; }
.has-brand-background-color { background-color: #7A2B2B !important; }
.has-brand-light-color { color: #9B4545 !important; }
.has-brand-light-background-color { background-color: #9B4545 !important; }
.has-brand-dark-color { color: #5A1E1E !important; }
.has-brand-dark-background-color { background-color: #5A1E1E !important; }
.has-brand-subtle-color { color: #F5EDED !important; }
.has-brand-subtle-background-color { background-color: #F5EDED !important; }
.has-cream-color { color: #FAF8F5 !important; }
.has-cream-background-color { background-color: #FAF8F5 !important; }
.has-warm-white-color { color: #FDFCFB !important; }
.has-warm-white-background-color { background-color: #FDFCFB !important; }
.has-charcoal-color { color: #2C2C2C !important; }
.has-charcoal-background-color { background-color: #2C2C2C !important; }
.has-text-primary-color { color: #3A3A3A !important; }
.has-text-primary-background-color { background-color: #3A3A3A !important; }
.has-text-light-color { color: #6B6B6B !important; }
.has-text-light-background-color { background-color: #6B6B6B !important; }
.has-border-color { border-color: #E8E2DC !important; }
.has-border-background-color { background-color: #E8E2DC !important; }
.has-white-color { color: #FFFFFF !important; }
.has-white-background-color { background-color: #FFFFFF !important; }

/* ---- BASE TYPOGRAPHY & BODY ---- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #3A3A3A;
  background-color: #FDFCFB;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: #2C2C2C;
}

a {
  color: #7A2B2B;
  transition: color 0.3s;
}
a:hover {
  color: #5A1E1E;
}

/* ---- HEADER ---- */
.wp-header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
  z-index: 1000;
}

/* ---- NAVIGATION ---- */
.wp-block-navigation {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---- HERO COVER ---- */
.wp-hero-cover .wp-block-cover__inner-container {
  animation: fadeInUp 1s cubic-bezier(0, 0, 0.2, 1) 0.3s both;
}

.hero-badge {
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

/* ---- BUTTONS ---- */
.wp-block-button__link {
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-cta-btn .wp-block-button__link {
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-cta-btn .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(122, 43, 43, 0.3);
}

/* ---- PRODUCT CARDS ---- */
.product-card-cover {
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
}

.product-card-cover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-card-cover .wp-block-cover__background {
  transition: opacity 0.5s ease;
}

.product-card-cover:hover .wp-block-cover__background {
  opacity: 0.65 !important;
}

/* ---- COLOR SWATCH CARDS ---- */
.signature-color-card {
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.signature-color-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* ---- DIFFERENTIATOR CARDS ---- */
.diff-card {
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.diff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

/* ---- FOOTER ---- */
.footer-links {
  list-style: none !important;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  color: #6B6B6B !important;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: #9B4545 !important;
  padding-left: 4px;
}

/* ---- SCROLL REVEAL ---- */
.wp-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0, 0, 0.2, 1);
}

.wp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- WAVE BROWSER ---- */
.wave-grid {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 0;
}

.wave-grid::-webkit-scrollbar {
  display: none;
}

.wave-item {
  flex: 0 0 calc(100% / 8);
  min-width: 140px;
  position: relative;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.wave-item:hover {
  flex: 0 0 calc(100% / 5);
}

.wave-swatch {
  width: 100%;
  height: 220px;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
}

.wave-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.wave-item:hover::before {
  opacity: 1;
}

.wave-item::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -50%; right: -50%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(122, 43, 43, 0.15) 0%, transparent 70%);
  z-index: 0;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.wave-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.wave-item:hover .wave-swatch {
  height: 260px;
  transform: translateY(-20px);
}

.wave-item:hover + .wave-item .wave-swatch {
  height: 240px;
  transform: translateY(-10px);
}

.wave-item:has(+ .wave-item:hover) .wave-swatch {
  height: 240px;
  transform: translateY(-10px);
}

.wave-item-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.wave-item:hover .wave-item-info {
  opacity: 1;
  transform: translateY(0);
}

.wave-item-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.wave-item-view {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9B4545;
}

.wave-item.current .wave-swatch {
  border-bottom: 3px solid #9B4545;
}

.wave-item.current::before { opacity: 0.4; }
.wave-item.current .wave-item-info {
  opacity: 1;
  transform: translateY(0);
}

.wave-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.wave-nav-btn:hover {
  border-color: #9B4545;
  background: rgba(122, 43, 43, 0.2);
}

/* ---- KEYFRAMES ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .wave-item {
    flex: 0 0 calc(100% / 5);
    min-width: 120px;
  }
  .wave-item:hover {
    flex: 0 0 calc(100% / 3);
  }
}

@media (max-width: 768px) {
  .wave-item {
    flex: 0 0 calc(100% / 3);
    min-width: 100px;
  }
}