/* Ageless Treasures DNN Theme - Core Styles
   Adapted from static HTML design. Tailwind utilities are primary;
   this file provides theme-specific overrides, DNN object styling, and base.
*/

:root {
  --lavender: #6B5B95;
  --lavender-dark: #5C4D7D;
  --lavender-light: #C8B8E8;
  --cream: #FDF8F3;
  --cream-warm: #F8F1E9;
  --cream-border: #EDE4D8;
  --ink: #2D2A3D;
  --ink-soft: #403B4E;
  --purple-deep: #3F2A5E;
}

body, .tail-container {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--ink);
}

.heading-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
}

/* ========== NAV ========== */
.ageless-nav {
  background: #fff;
  border-bottom: 1px solid var(--cream-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-link {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--purple-deep);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--lavender);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 1rem;
  background: var(--lavender);
  color: #fff !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: all 0.2s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--lavender-dark);
}

/* Logo skin object styling */
.ageless-logo img,
.ageless-logo svg {
  height: 2.75rem;
  width: auto;
  display: block;
}

.ageless-brand {
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--purple-deep);
  line-height: 1.1;
}

.ageless-brand-sub {
  font-size: 10px;
  color: var(--lavender);
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-top: -2px;
  text-transform: uppercase;
}

/* DDR Menu defaults – style the generated UL/LI */
.ageless-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ageless-menu li {
  position: relative;
}

.ageless-menu a {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--purple-deep);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.ageless-menu a:hover,
.ageless-menu .selected > a,
.ageless-menu li.active > a {
  color: var(--lavender);
}

/* Mobile menu */
#mobile-menu {
  border-top: 1px solid var(--cream-border);
  background: #fff;
}

#mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

#mobile-menu a:hover {
  background: var(--cream-warm);
}

/* ========== HERO / PAGE HEADER ========== */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(45, 42, 61, 0.35) 0%,
    rgba(45, 42, 61, 0.25) 40%,
    rgba(45, 42, 61, 0.55) 100%
  );
}

.page-header-bar {
  background: var(--purple-deep);
  padding: 3.5rem 0;
}

/* ========== CONTENT ========== */
.prose-custom p {
  margin-bottom: 1.1em;
  line-height: 1.75;
}

.prose-custom h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: var(--purple-deep);
}

.value-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(107 91 149 / 0.1);
}

.natural-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.natural-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ========== FOOTER ========== */
.footer-bg {
  background-color: var(--ink);
  color: var(--lavender-light);
}

.footer-bg a {
  color: var(--lavender-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bg a:hover {
  color: #fff;
}

/* DNN skin objects in footer */
.footer-bg .SkinObject,
.footer-bg a.SkinObject {
  color: var(--lavender-light) !important;
  font-size: 0.75rem;
}

/* ========== PANES ========== */
.ageless-content-pane {
  min-height: 0;
}

/* Empty panes must collapse completely on the public site.
   DNN already draws edit-mode outlines when you are in Layout/Edit mode. */
[id$="Pane"]:empty {
  display: none;
}

/* ========== UTILITIES matching design ========== */
.section-header {
  position: relative;
  display: inline-block;
}

.section-header:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--lavender), transparent);
  border-radius: 3px;
}

/* Mobile menu button – hidden on desktop, visible only below md breakpoint */
#mobile-menu-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: none;                 /* default: hidden */
  align-items: center;
  justify-content: center;
  color: var(--lavender);
  border-radius: 1rem;
  transition: background-color 0.2s;
  border: none;
  background: transparent;
  cursor: pointer;
}

#mobile-menu-btn:hover {
  background: var(--lavender-soft, #F3E8FF);
}

@media (max-width: 767px) {
  #mobile-menu-btn {
    display: flex;               /* show only on mobile */
  }
}





        .tail-container {
            font-family: 'Inter', system_ui, sans-serif;
        }
        
        .heading-serif {
            font-family: 'Playfair Display', Georgia, serif;
            font-weight: 700;
            line-height: 1.1;
        }

        .nav-link {
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .nav-link:hover {
            color: #6B5B95;
            transform: translateY(-1px);
        }

        .section-header {
            position: relative;
            display: inline-block;
        }
        
        .section-header:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(to right, #6B5B95, transparent);
            border-radius: 3px;
        }

        .lavender-gradient {
            background: linear-gradient(135deg, #6B5B95 0%, #8B7AA8 100%);
        }

        .natural-card {
            transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), 
                       box-shadow 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        }
        
        .natural-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        }

        .quote-text {
            font-size: 1.1rem;
            line-height: 1.7;
            font-style: italic;
        }

        .menu-grid a {
            transition: all 0.2s ease;
        }
        
        .menu-grid a:hover {
            background-color: #F3E8FF;
            transform: translateX(4px);
        }

        .footer-bg {
            background-color: #2D2A3D;
        }

        .hero-overlay {
            background: linear-gradient(
                to bottom, 
                rgba(45, 42, 61, 0.35) 0%, 
                rgba(45, 42, 61, 0.25) 40%, 
                rgba(45, 42, 61, 0.55) 100%
            );
        }

        .stat-number {
            font-variant-numeric: tabular-nums;
        }
