/* Professional Coffee Theme - Custom Colors */

/* Hide Webflow Badge */
.w-webflow-badge,
a[href*="webflow.com"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

:root {
  /* Primary Coffee Colors - Rich, Professional Palette */
  --coffee-dark: #3E2723;        /* Dark Espresso */
  --coffee-medium: #5D4037;      /* Rich Coffee Brown */
  --coffee-light: #795548;       /* Latte Brown */
  --coffee-accent: #D7CCC8;      /* Cream */
  
  /* Accent Colors */
  --coffee-gold: #C49B63;        /* Coffee Gold - Professional */
  --coffee-caramel: #A67C52;     /* Caramel */
  --coffee-cream: #F5F1ED;       /* Light Cream Background */
  --coffee-bean: #2C1810;        /* Deep Coffee Bean */
  
  /* Text Colors */
  --text-dark: #2C1810;
  --text-medium: #5D4037;
  --text-light: #795548;
  --text-on-dark: #F5F1ED;
  
  /* Override existing theme colors */
  --_colors---core-accent-color--accent-primary: #5D4037;
  --_colors---core-accent-color--accent-primary-hover: #3E2723;
  --_colors---core-neutral-color--neutral-inverse: #2C1810;
  --_colors---core-neutral-color--neutral-primary: #F5F1ED;
  --_colors---b8860b: #C49B63;
  
  /* Background colors */
  --_colors---background-color--bg-primary: #FFFFFF;
  --_colors---background-color--bg-secondary: #F5F1ED;
  --_colors---background-color--bg-accent-primary: #5D4037;
  --_colors---background-color--bg-inverse: #2C1810;
}

/* Primary Button Styling - Coffee Gold */
.button,
.button.w-button {
  background-color: #C49B63;
  color: #2C1810;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(196, 155, 99, 0.3);
}

.button:hover,
.button.w-button:hover {
  background-color: #A67C52;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 155, 99, 0.4);
}

/* Secondary Button Styling */
.button.is-secondary,
.button.is-secondary.w-button {
  background-color: transparent;
  color: #C49B63;
  border: 2px solid #C49B63;
  box-shadow: none;
}

.button.is-secondary:hover,
.button.is-secondary.w-button:hover {
  background-color: #C49B63;
  color: #2C1810;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 155, 99, 0.3);
}

/* Navigation Styling */
.nav {
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

.nav_container {
  background-color: transparent;
}

.nav_link {
  color: #3E2723;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav_link:hover {
  color: #C49B63;
}

/* Card Styling - Enhanced Professional Look */
.card {
  background-color: #FFFFFF;
  border: 1px solid rgba(93, 64, 55, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(196, 155, 99, 0.3);
  box-shadow: 0 8px 24px rgba(93, 64, 55, 0.12);
  transform: translateY(-4px);
}

.card_body {
  background-color: #FFFFFF;
}

/* Sticky Cards - Enhanced Animation */
.ix_sticky-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ix_sticky-card .card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F1ED 100%);
  border: 2px solid rgba(196, 155, 99, 0.15);
}

.ix_sticky-card:hover .card {
  border-color: #C49B63;
  box-shadow: 0 12px 32px rgba(93, 64, 55, 0.15);
}

/* Card Link Styling */
.card-link {
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.card-link:hover {
  transform: translateY(-4px);
}

.card-link .card_body {
  position: relative;
  overflow: hidden;
}

.card-link .card_body::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 155, 99, 0.1), transparent);
  transition: left 0.5s ease;
}

.card-link:hover .card_body::before {
  left: 100%;
}

/* Icon Styling */
.icon.is-background {
  background-color: rgba(196, 155, 99, 0.15);
  color: #5D4037;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.card-link:hover .icon.is-background {
  background-color: rgba(196, 155, 99, 0.25);
  transform: scale(1.05);
}

/* Section Backgrounds */
.section.is-secondary {
  background-color: #F5F1ED;
}

.section {
  position: relative;
}

/* Header/Hero Section Enhancement */
header.section.is-secondary {
  background: linear-gradient(135deg, #F5F1ED 0%, #E8DED6 100%);
  position: relative;
}

header.section.is-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(196, 155, 99, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(93, 64, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Accent Primary Background */
.section.is-accent-primary,
.card.is-accent-primary {
  background-color: #5D4037;
  color: #F5F1ED;
}

/* Text Colors */
.heading_h1,
.heading_h2,
.heading_h3,
.heading_h4,
.heading_h5,
.heading_h6 {
  color: #2C1810;
}

.section.is-accent-primary .heading_h1,
.section.is-accent-primary .heading_h2,
.section.is-accent-primary .heading_h3,
.section.is-accent-primary .heading_h4,
.card.is-accent-primary .heading_h1,
.card.is-accent-primary .heading_h2,
.card.is-accent-primary .heading_h3,
.card.is-accent-primary .heading_h4 {
  color: #F5F1ED;
}

.eyebrow {
  color: #C49B63;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.subheading {
  color: #5D4037;
}

/* Text Links */
.text-link {
  color: #C49B63;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C49B63;
  transition: width 0.3s ease;
}

.text-link:hover {
  color: #A67C52;
}

.text-link:hover::after {
  width: 100%;
}

/* Footer Styling */
.footer {
  background-color: #2C1810;
  color: #F5F1ED;
}

.footer .heading_h6 {
  color: #C49B63;
}

.footer_link {
  color: #5D4037;
  transition: color 0.3s ease;
}

.footer_link:hover {
  color: #C49B63;
}

/* Input Fields */
.input_field {
  border-color: rgba(93, 64, 55, 0.2);
  background-color: #FFFFFF;
  color: #2C1810;
  transition: all 0.3s ease;
}

.input_field:focus {
  border-color: #C49B63;
  box-shadow: 0 0 0 3px rgba(196, 155, 99, 0.1);
  outline: none;
}

.input_field::placeholder {
  color: rgba(93, 64, 55, 0.4);
}

/* Divider */
.divider {
  background-color: rgba(93, 64, 55, 0.15);
}

/* Text Button Styling */
.text-button {
  color: #3E2723;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(196, 155, 99, 0.1);
  border: 2px solid #C49B63;
  border-radius: 8px;
}

.text-button:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, #C49B63, #A67C52);
  border-color: #A67C52;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(196, 155, 99, 0.4);
}

.text-button .button_icon {
  transition: transform 0.3s ease;
}

.text-button:hover .button_icon {
  transform: translateX(4px);
}

/* Backdrop Filter Blur Cards */
.backdrop-filter_blur {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Logo Styling */
.nav_logo-icon,
.logo .nav_logo-icon {
  color: #5D4037;
}

/* Enhanced Grid Card Layout for "Uncompromised purity" Section */
.grid_3-col .card-link .card_body {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F1ED 100%);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.grid_3-col .card-link .card_body::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(196, 155, 99, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.grid_3-col .card-link:hover .card_body::after {
  opacity: 1;
}

/* Accent on Primary Text Colors */
.section.is-accent-primary .eyebrow {
  color: #F5DDA8;
}

.section.is-accent-primary .subheading,
.section.is-accent-primary p {
  color: #E8DED6;
}

/* Form Success/Error Messages */
.form_success-message,
.footer_form_success-message {
  background-color: rgba(196, 155, 99, 0.15);
  color: #2C1810;
  border-left: 4px solid #C49B63;
}

.form_error-message {
  background-color: rgba(211, 47, 47, 0.1);
  border-left: 4px solid #d32f2f;
}

/* Image Masks and Overlays */
.image_cover {
  transition: transform 0.5s ease;
}

.card-link:hover .image_cover {
  transform: scale(1.05);
}

/* Responsive Enhancements */
@media (max-width: 991px) {
  .card_body {
    padding: 2rem;
  }
  
  .heading_h1 {
    font-size: 2.5rem;
  }
  
  .heading_h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .card_body {
    padding: 1.5rem;
  }
  
  .heading_h1 {
    font-size: 2rem;
  }
  
  .heading_h2 {
    font-size: 1.5rem;
  }
  
  .button {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Professional Shadow System */
.card,
.button {
  box-shadow: 
    0 1px 2px rgba(44, 24, 16, 0.05),
    0 2px 4px rgba(44, 24, 16, 0.05);
}

.card:hover {
  box-shadow: 
    0 4px 8px rgba(44, 24, 16, 0.1),
    0 8px 16px rgba(44, 24, 16, 0.1);
}

/* Enhanced Tab Navigation */
.tab_menu-button {
  color: #5D4037;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab_menu-button:hover {
  color: #C49B63;
  border-bottom-color: rgba(196, 155, 99, 0.3);
}

.tab_menu-button.w--current {
  color: #e9e5e4;
  border-bottom-color: #C49B63;
}
