/*
Theme Name: BrebexAI Softconic Child
Theme URI: https://brebexai.com/
Template: softconic
Author: BrebexAI
Description: BrebexAI brand customisation layer for the Softconic WordPress theme.
Version: 1.0.0
Text Domain: brebexai-softconic-child
*/

/*
 * BrebexAI design tokens.
 * Adjust these values after reviewing the supplied logo and the selected Home 01 demo.
 */
:root {
  --brebexai-navy: #10213A;
  --brebexai-navy-deep: #0A1729;
  --brebexai-blue: #2563EB;
  --brebexai-teal: #14B8A6;
  --brebexai-ink: #182538;
  --brebexai-muted: #64748B;
  --brebexai-surface: #F5F8FC;
  --brebexai-white: #FFFFFF;
  --brebexai-border: #E2E8F0;
  --brebexai-radius: 12px;
}

/* Global brand accents — intentionally conservative to preserve Elementor layouts. */
body {
  color: var(--brebexai-ink);
}

a {
  transition: color .2s ease;
}

a:hover,
a:focus {
  color: var(--brebexai-blue);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brebexai-navy);
  letter-spacing: -0.02em;
}

::selection {
  color: var(--brebexai-white);
  background: var(--brebexai-blue);
}

/* Common button patterns used by the theme and Elementor widgets. */
.elementor a.elementor-button,
.elementor button,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
  border-radius: 8px;
}

.elementor a.elementor-button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-button__link:hover {
  filter: brightness(.94);
}

/* Form controls: accessible contrast and consistent focus state. */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  border-color: var(--brebexai-border);
  border-radius: 8px;
  color: var(--brebexai-ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(37, 99, 235, .22);
  outline-offset: 1px;
  border-color: var(--brebexai-blue);
}

/* Reusable utility classes for new Elementor sections. */
.brebexai-section-soft {
  background: var(--brebexai-surface);
}

.brebexai-eyebrow {
  color: var(--brebexai-blue);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brebexai-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--brebexai-border);
  border-radius: var(--brebexai-radius);
  background: var(--brebexai-white);
  box-shadow: 0 12px 34px rgba(16, 33, 58, .06);
}

.brebexai-card:hover {
  border-color: rgba(37, 99, 235, .35);
}

.brebexai-muted {
  color: var(--brebexai-muted);
}

/* Keep media from overflowing narrow mobile layouts. */
img,
video,
iframe {
  max-width: 100%;
}

@media (max-width: 767px) {
  .brebexai-card {
    padding: 22px;
  }
}
