/* Shopify Page Styles */

/* ================================
   NAVIGATION OVERRIDE - WHITE ELEMENTS
   ================================ */
/* Make logo, navigation, contact button, and hamburger white on Shopify page
   ONLY when header is NOT scrolled (transparent background)
   AND mobile menu is NOT open */

/* Logo - invert to white when NOT scrolled */
.site-header:not(.site-header--scrolled) .site-header__logo-img {
    filter: brightness(0) invert(1) !important;
}

/* Override: Remove white invert when menu is open */
body.menu-open .site-header:not(.site-header--scrolled) .site-header__logo-img {
    filter: brightness(0) saturate(1) !important;
}

/* Logo normal on desktop when menu is open */
@media (min-width: 768px) {
    body.menu-open .site-header:not(.site-header--scrolled) .site-header__logo-img {
        filter: none !important;
    }
}

/* Navigation links to white when NOT scrolled - desktop only */
@media (min-width: 768px) {
    .site-header:not(.site-header--scrolled) .site-nav__link {
        color: #ffffff !important;
    }

    .site-header:not(.site-header--scrolled) .site-nav__link::after {
        background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%) !important;
    }
}

/* Mobile menu toggle (hamburger) to white when NOT scrolled and menu NOT open */
.site-header:not(.site-header--scrolled) .menu-toggle:not(.menu-toggle--active) .menu-toggle__line {
    background: #ffffff !important;
}

/* "Talk to Us" contact button to white when NOT scrolled AND menu NOT open */
.site-header:not(.site-header--scrolled) .btn--nav {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.site-header:not(.site-header--scrolled) .btn--nav:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Override for dropdown arrows in mega menu */
@media (min-width: 768px) {
    .site-header:not(.site-header--scrolled) .dropdown-arrow {
        stroke: #ffffff !important;
    }
}

/* ================================
   SHOPIFY HERO SECTION
   ================================ */
.shopify-hero-section {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #0a2e1f 0%, #16213e 50%, #0f1419 100%);
    overflow: hidden;
}

/* Subtle radial accent pulled from Shopify's mint-green palette */
.shopify-hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(149, 191, 71, 0.18) 0%, rgba(149, 191, 71, 0) 60%);
    pointer-events: none;
    z-index: 1;
}

.shopify-hero-section .container {
    position: relative;
    z-index: 2;
}

.shopify-hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.shopify-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .shopify-hero-section {
        padding: 6rem 0 4rem;
    }
}

/* ================================
   SHOPIFY CAPABILITIES + FEATURES STRIP
   ================================ */

.shopify-platform-content {
  max-width: 1280px;
  margin: 0 auto;
}

.shopify-platform-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.shopify-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.shopify-capability-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(149, 191, 71, 0.3);
  border-radius: 16px;
  padding: var(--space-8);
  transition: all 0.3s ease;
}

.shopify-capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(149, 191, 71, 0.18);
  border-color: rgba(149, 191, 71, 0.5);
}

.shopify-capability-card--cta {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(149, 191, 71, 0.85) 0%, rgba(94, 142, 62, 0.85) 100%);
  border: none;
  position: relative;
  overflow: hidden;
}

.shopify-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.shopify-capability-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #95BF47 0%, #5E8E3E 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.shopify-capability-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.shopify-capability-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.shopify-capability-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.shopify-capability-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shopify-capability-features li {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  padding-left: 1.5rem;
  margin-bottom: var(--space-2);
  position: relative;
}

.shopify-capability-features li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #5E8E3E;
  font-weight: bold;
}

.shopify-cta-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
  color: white !important;
}

.shopify-cta-description {
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.95) !important;
}

.shopify-features-strip {
  background: rgba(149, 191, 71, 0.06);
  border: 1px solid rgba(149, 191, 71, 0.18);
  border-radius: 16px;
  padding: var(--space-8);
  margin-top: var(--space-12);
}

.shopify-features-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  text-align: center;
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
}

.shopify-features-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

@media (max-width: 1024px) {
  .shopify-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shopify-capability-card--cta {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .shopify-capabilities-grid {
    grid-template-columns: 1fr;
  }
  .shopify-capability-card--cta {
    grid-column: span 1;
  }
  .shopify-features-strip {
    padding: var(--space-6);
  }
  .shopify-logo-badge img {
    height: 28px !important;
  }
}

@media (max-width: 480px) {
  .shopify-features-badges {
    gap: var(--space-2);
  }
  .shopify-features-badges .feature-badge {
    font-size: 0.8125rem;
    padding: var(--space-1) var(--space-3);
  }
}
