/*
Theme Name: ML Bathrooms
Theme URI: https://mlrenovations.com.au
Author: ITAspects
Author URI: https://itaspects.com
Description: Custom WordPress theme for M&L Bathroom Renovations. Built for Elementor Pro with conversion focused design, GoHighLevel integration, and Google Ads tracking baked in.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ml-bathrooms
Tags: custom, elementor, bathroom-renovations, melbourne, lead-generation
*/

/* ============================================
   ML BATHROOMS THEME STYLES
   Design system tokens, base resets, and helpers.
   Section level styling lives in Elementor templates.
   ============================================ */

:root {
  /* Palette matched to the Emergent reference site */
  --navy-900: #0A192F;
  --navy-700: #13294B;
  --navy-500: #1E4A8C;
  --gold-500: #FFC107;
  --gold-600: #E6AC00;
  --orange-500: #FF6B1A;
  --ink-900: #0A192F;
  --ink-700: #334155;
  --ink-500: #5B6576;
  --line: #E6E9EF;
  --bg-soft: #F8FAFC;
  --white: #FFFFFF;
  --success: #25D366;
  --shadow-sm: 0 4px 16px rgba(10, 25, 47, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 25, 47, 0.12);
  --shadow-lg: 0 18px 50px rgba(10, 25, 47, 0.16);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container-max: 1500px;
}
.mlb-logo-img { height: 48px; width: auto; display: block; }
.site-footer .mlb-logo-img { height: 52px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cabinet Grotesk', 'Manrope', sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { color: var(--ink-700); margin: 0 0 1rem; }
a { color: var(--navy-700); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-600); }
img { max-width: 100%; height: auto; display: block; }

/* Buttons */
.mlb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-decoration: none;
  line-height: 1;
}
.mlb-btn-gold { background: var(--gold-500); color: var(--navy-900); }
.mlb-btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--navy-900); }
.mlb-btn-navy { background: var(--navy-900); color: var(--white); }
.mlb-btn-navy:hover { background: var(--navy-700); color: var(--white); transform: translateY(-1px); }
.mlb-btn-outline { background: transparent; color: var(--navy-900); border: 2px solid var(--navy-900); }
.mlb-btn-outline:hover { background: var(--navy-900); color: var(--white); }
.mlb-btn-lg { padding: 18px 32px; font-size: 1rem; }

/* Container helper */
.mlb-container { max-width: var(--container-max); margin: 0 auto; padding: 0 48px; }
@media (max-width: 1024px) { .mlb-container { padding: 0 28px; } }
@media (max-width: 640px) { .mlb-container { padding: 0 20px; } }

/* Sticky header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-sm);
}

/* Mobile sticky call bar */
.mlb-mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-900);
  padding: 12px;
  gap: 10px;
  z-index: 998;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}
.mlb-mobile-callbar .mlb-btn { flex: 1; justify-content: center; }

/* Floating WhatsApp */
.mlb-fab-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 997;
  transition: transform 0.2s;
}
.mlb-fab-wa:hover { transform: scale(1.08); color: var(--white); }

/* WordPress core alignments */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; }
.alignfull { max-width: 100vw; width: 100vw; margin-left: calc(50% - 50vw); }

/* Screen reader text */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 6px; top: 6px; background: var(--gold-500); color: var(--navy-900); padding: 8px 14px; z-index: 9999; border-radius: 6px; }

/* Responsive */
@media (max-width: 768px) {
  .mlb-mobile-callbar { display: flex; }
  body { padding-bottom: 76px; }
  .mlb-fab-wa { bottom: 88px; }
}
