/**
 * Paroliamo — Elementor Custom Styles
 * Étend les styles du thème pour Elementor
 */

/* Override Elementor default padding */
.elementor-section {
  position: relative;
}

/* Typography */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}
.elementor-widget-text-editor {
  font-family: 'Lato', sans-serif;
  line-height: 1.7;
  color: #555;
}

/* Elementor buttons */
.elementor-button {
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
}
.elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Primary button */
.elementor-button.elementor-button-primary,
.elementor-button[style*="background-color:#1A6B72"] {
  background-color: #1A6B72 !important;
  border-color: #1A6B72 !important;
}
.elementor-button.elementor-button-primary:hover {
  background-color: #155a60 !important;
}

/* Gold button */
.elementor-button[style*="background-color:#C89B3C"] {
  background-color: #C89B3C !important;
}
.elementor-button[style*="background-color:#C89B3C"]:hover {
  background-color: #a87d2c !important;
}

/* Elementor image styling */
.elementor-widget-image img {
  border-radius: 12px;
}

/* Elementor section backgrounds */
.elementor-section.paroliamo-dark {
  background-color: #1A1A2E !important;
}
.elementor-section.paroliamo-green {
  background-color: #1A6B72 !important;
}
.elementor-section.paroliamo-warm {
  background-color: #FAF8F5 !important;
}

/* Elementor icon widget */
.elementor-widget-icon .elementor-icon {
  color: #1A6B72;
}

/* Elementor accordion */
.elementor-accordion .elementor-tab-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #1A1A2E;
}
.elementor-accordion .elementor-tab-title.elementor-active {
  color: #1A6B72;
}
.elementor-accordion .elementor-tab-content {
  font-family: 'Lato', sans-serif;
  color: #555;
}

/* Elementor testimonials */
.elementor-widget-testimonial .elementor-testimonial-text {
  font-style: italic;
  color: #555;
}
.elementor-widget-testimonial .elementor-testimonial-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #1A1A2E;
}

/* Ensure Elementor canvas fills properly */
.elementor-page-template-canvas #site-header,
.elementor-page-template-canvas #site-footer {
  display: none;
}
.elementor-page-template-canvas body {
  padding-top: 0 !important;
}

/* Elementor global colors (define these in Elementor → Global Colors) */
:root {
  --e-global-color-primary:   #1A6B72;
  --e-global-color-secondary: #D97706;
  --e-global-color-accent:    #C89B3C;
  --e-global-color-text:      #1A1A2E;
}

/* Elementor popup */
.elementor-popup-modal .dialog-widget-content {
  border-radius: 20px !important;
  overflow: hidden;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .elementor-section > .elementor-container {
    flex-direction: column;
  }
  .elementor-column {
    width: 100% !important;
  }
}
