/* Kee Flowers Theme Styles */

/* Import Tailwind CSS via CDN - this will be loaded in templates */
@import url('https://cdn.tailwindcss.com');

/* Custom CSS Variables for Kee Flowers Theme */
:root {
  /* Brand Colors - Natural Garden Palette */
  --kf-sage: #A3B59F;        /* Soft Sage Green - leaves, accents, buttons */
  --kf-mauve: #9D7B76;       /* Dusty Rose / Mauve - headlines, links, highlights */
  --kf-clay: #CDA976;        /* Warm Clay / Honey Beige - section dividers, hovers */
  --kf-cream: #F9F6F1;       /* Cream / Off-white background - clean canvas */
  --kf-charcoal: #5A4C46;    /* Grounding charcoal - light text contrast */
  
  /* Tonal variations */
  --kf-sage-light: rgba(163, 181, 159, 0.1);
  --kf-sage-hover: rgba(163, 181, 159, 0.8);
  --kf-mauve-light: rgba(157, 123, 118, 0.1);
  --kf-mauve-dark: #8B6B66;
  --kf-clay-light: rgba(205, 169, 118, 0.1);
  --kf-clay-hover: rgba(205, 169, 118, 0.9);
  --kf-sage-dark: #8A9B85;

  /* Typography - Handcrafted & Natural */
  --kf-font-primary: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --kf-font-heading: 'Playfair Display', 'Cormorant', Georgia, serif;
  --kf-font-script: 'Satisfy', 'Dancing Script', cursive;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--kf-font-primary);
  background-color: white;
  color: var(--kf-charcoal);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Typography - Elegant & Natural */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--kf-font-heading);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* Alternating heading colors for visual interest */
h1 { color: var(--kf-mauve); }
h2 { color: var(--kf-sage-dark); }
h3 { color: var(--kf-clay); }
h4 { color: var(--kf-mauve-dark); }
h5 { color: var(--kf-sage); }
h6 { color: var(--kf-charcoal); }

h1 { 
  font-size: 3.5rem; 
  font-weight: 600;
  margin-bottom: 2rem;
}
h2 { 
  font-size: 2.75rem; 
  margin-bottom: 1.5rem;
}
h3 { 
  font-size: 2.25rem; 
  margin-bottom: 1.25rem;
}
h4 { 
  font-size: 1.875rem; 
  margin-bottom: 1rem;
}
h5 { 
  font-size: 1.5rem; 
  margin-bottom: 0.875rem;
}
h6 { 
  font-size: 1.25rem; 
  margin-bottom: 0.75rem;
}

/* Paragraphs and spacing */
p {
  margin-bottom: 1.5rem;
  color: var(--kf-charcoal);
}

/* Lists - Override Tailwind's reset */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ul ul {
  list-style-type: circle;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

ul ul ul {
  list-style-type: square;
}

ol ol {
  list-style-type: lower-alpha;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

ol ol ol {
  list-style-type: lower-roman;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--kf-charcoal);
}

/* Nested list items should have less margin */
li li {
  margin-bottom: 0.25rem;
}

/* Links - Mauve with hover states */
a {
  color: var(--kf-mauve);
  text-decoration: underline;
  text-decoration-color: var(--kf-sage-light);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--kf-mauve-dark);
  text-decoration-color: var(--kf-sage);
  text-decoration-thickness: 2px;
}

a:visited {
  color: var(--kf-mauve-dark);
}

/* Custom Utility Classes */
.kf-sage-bg { background-color: var(--kf-sage); }
.kf-sage-bg-light { background-color: var(--kf-sage-light); }
.kf-sage-text { color: var(--kf-sage); }
.kf-mauve-bg { background-color: var(--kf-mauve); }
.kf-mauve-text { color: var(--kf-mauve); }
.kf-clay-bg { background-color: var(--kf-clay); }
.kf-clay-text { color: var(--kf-clay); }
.kf-cream-bg { background-color: var(--kf-cream); }

/* Header Styles - Garden Room Feel */
.kf-header {
  background-color: white;
  border-bottom: 1px solid #E5E5E5;
  box-shadow: 0 2px 20px rgba(90, 76, 70, 0.1);
  padding: 1rem 0;
}

.kf-header.transparent {
  background-color: white;
  border-bottom: 1px solid var(--kf-sage-light);
}

.kf-logo {
  font-family: var(--kf-font-script);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--kf-mauve);
  text-decoration: none;
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.kf-logo:hover {
  color: var(--kf-sage);
}

/* Navigation - Centered below logo */
.kf-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.kf-nav-link {
  color: var(--kf-charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  position: relative;
}

.kf-nav-link:hover {
  color: var(--kf-mauve);
}

.kf-nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background-color: var(--kf-sage);
  transform: translateX(-50%);
}

.kf-nav-link:hover:after,
.kf-nav-link.active:after {
  width: 80%;
}

.kf-nav-link.active {
  color: var(--kf-mauve);
}

/* Call-to-Action Button - Let's Talk Flowers */
.kf-cta-btn {
  background: transparent;
  color: #8B6B66;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 2rem;
  text-decoration: none;
  border: 2px solid var(--kf-sage);
  cursor: pointer;
  font-family: var(--kf-font-primary);
  letter-spacing: 0.02em;
}

.kf-cta-btn:hover {
  background: var(--kf-sage-light);
  color: #7A524D;
  border-color: var(--kf-sage);
}

/* Content Area - Single Column with Generous Spacing */
.kf-content {
  min-height: calc(100vh - 300px);
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 2rem 3rem 2rem;
}

.kf-content-wide {
  max-width: 70rem;
}

/* Section Dividers - Botanical */
.kf-divider {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.kf-divider::before {
  content: '❦';
  font-size: 1.5rem;
  color: var(--kf-sage);
  background: var(--kf-cream);
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.kf-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--kf-sage), transparent);
  z-index: 0;
}

/* Botanical Design Elements */
.kf-leaf-accent {
  position: relative;
  display: inline-block;
}

.kf-leaf-accent::after {
  content: '🌿';
  position: absolute;
  right: -1.5rem;
  top: -0.5rem;
  font-size: 0.875rem;
  opacity: 0.6;
  animation: gentle-sway 3s ease-in-out infinite;
}

/* Footer - Warm and Natural */
.kf-footer {
  background-color: #F5F3F0;
  color: var(--kf-charcoal);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
  position: relative;
}

.kf-footer-text {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
  font-family: var(--kf-font-primary);
}

/* Essential Mobile Overrides - Navbar/CTA Only */
@media (max-width: 768px) {
  .kf-nav-link {
    font-size: 0.9rem;
    padding: 0.375rem 0.75rem;
  }

  .kf-cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}




/* Mobile Navigation Styles */
.mobile-menu {
  background-color: white;
  backdrop-filter: blur(15px);
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 8px 25px rgba(90, 76, 70, 0.1);
  border-top: 1px solid #E5E5E5;
}

.mobile-menu a {
  border-radius: 0.5rem;
  margin: 0.25rem 0;
}

/* Section Background Styles */
.kf-hero-section {
  background: linear-gradient(135deg, var(--kf-sage) 0%, var(--kf-mauve) 100%);
  padding: 4rem 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  position: relative;
  overflow: hidden;
  color: white;
}

.kf-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="1.5" fill="white" opacity="0.08"/><circle cx="40" cy="60" r="1" fill="white" opacity="0.12"/><circle cx="60" cy="25" r="0.8" fill="white" opacity="0.09"/></svg>');
  opacity: 0.4;
}

.kf-hero-section > * {
  position: relative;
  z-index: 1;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.kf-hero-section h1,
.kf-hero-section h2,
.kf-hero-section h3,
.kf-hero-section h4,
.kf-hero-section h5,
.kf-hero-section h6 {
  color: white !important;
}

.kf-hero-section p {
  color: rgba(255, 255, 255, 0.9);
}

.kf-hero-section a {
  color: white;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.kf-hero-section a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration-color: white;
}

.kf-highlight-section {
  background-color: var(--kf-sage-light);
  padding: 3rem 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  border-left: 4px solid var(--kf-sage);
}

.kf-highlight-section > * {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.kf-accent-section {
  background: linear-gradient(135deg, var(--kf-clay) 0%, var(--kf-mauve-dark) 100%);
  padding: 3rem 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  color: white;
  box-shadow: 0 4px 15px rgba(157, 123, 118, 0.2);
}

.kf-accent-section > * {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.kf-accent-section h1,
.kf-accent-section h2,
.kf-accent-section h3,
.kf-accent-section h4,
.kf-accent-section h5,
.kf-accent-section h6 {
  color: white !important;
}

.kf-accent-section p {
  color: rgba(255, 255, 255, 0.9);
}

.kf-accent-section a {
  color: white;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.kf-accent-section a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration-color: white;
}

.kf-warm-section {
  background: linear-gradient(135deg, var(--kf-cream) 0%, #F5F1EB 100%);
  padding: 3rem 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  border-top: 2px solid var(--kf-clay-light);
  border-bottom: 2px solid var(--kf-clay-light);
  box-shadow: 0 2px 10px rgba(205, 169, 118, 0.1);
}

.kf-warm-section > * {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Section content spacing adjustments */
.kf-hero-section h1:first-child,
.kf-highlight-section h1:first-child,
.kf-accent-section h1:first-child,
.kf-warm-section h1:first-child,
.kf-hero-section h2:first-child,
.kf-highlight-section h2:first-child,
.kf-accent-section h2:first-child,
.kf-warm-section h2:first-child,
.kf-hero-section h3:first-child,
.kf-highlight-section h3:first-child,
.kf-accent-section h3:first-child,
.kf-warm-section h3:first-child {
  margin-top: 0;
}

.kf-hero-section p:last-child,
.kf-highlight-section p:last-child,
.kf-accent-section p:last-child,
.kf-warm-section p:last-child {
  margin-bottom: 0;
}