/*
 Theme Name:   Holzbrunner Child
 Theme URI:    https://holzbrunner.ch
 Description:  Child-Theme für Holzmanufaktur Brunner, basierend auf Hello Elementor
 Author:       Holzbrunner
 Author URI:   https://holzbrunner.ch
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  holzbrunner-child
*/

/* ===== HOLZBRUNNER DESIGN SYSTEM ===== */

:root {
  --hb-wood-deep: #3C2415;
  --hb-wood-warm: #6B3A2A;
  --hb-wood-medium: #8B5E3C;
  --hb-wood-light: #C49A6C;
  --hb-wood-pale: #D4B896;
  --hb-cream: #F5F0E8;
  --hb-cream-light: #FAF7F2;
  --hb-forest: #2D4A3E;
  --hb-forest-light: #3D6B5A;
  --hb-moss: #7A9B6D;
  --hb-gold: #B8963E;
  --hb-gold-light: #D4B05C;
  --hb-text-dark: #2A1F17;
  --hb-text-body: #4A3F35;
  --hb-text-muted: #8A7E72;
}

/* ===== GLOBAL ===== */
body {
  font-family: 'Outfit', sans-serif;
  color: var(--hb-text-body);
  background-color: var(--hb-cream-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--hb-wood-deep);
}

h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  color: var(--hb-forest);
}

a {
  color: var(--hb-gold);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--hb-gold-light);
}

/* ===== SELECTION ===== */
::selection {
  background: var(--hb-gold);
  color: #fff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--hb-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--hb-wood-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hb-wood-medium);
}

/* ===== ELEMENTOR OVERRIDES ===== */

/* Buttons global styling */
.elementor-button {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(60, 36, 21, 0.15);
}

/* Image hover effects */
.elementor-widget-image img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.elementor-widget-image:hover img {
  transform: scale(1.02);
}

/* Section dividers */
.elementor-divider-separator {
  border-color: rgba(196, 154, 108, 0.2) !important;
}

/* Lists styling */
.elementor-widget-text-editor ul {
  list-style: none;
  padding-left: 0;
}

.elementor-widget-text-editor ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.elementor-widget-text-editor ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hb-gold);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.hb-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  text-decoration: none;
}

.hb-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.hb-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 767px) {
  .elementor-section .elementor-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
