/* TRADIES AUSTRALIA - MOBILE CSS */

:root {
  --primary: #d97757;
  --primary-dark: #c25a3a;
  --sage: #8a9a7b;
  --cream: #faf8f3;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6b6b6b;
  --border: #e0ddd5;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

/* HEADER */
header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  position: relative;
}

.mobile-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  position: absolute;
  left: 20px;
  z-index: 10;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
  transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--text);
  position: absolute;
  transition: 0.3s;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.logo {
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

nav {
  display: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 63px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 24px;
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--sage));
  color: white;
  padding: 48px 20px;
  text-align: center;
}

.hero h1 {
  font-family: 'Caveat', cursive;
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* LAYOUT */
.page-layout {
  padding: 0 20px;
}

.sidebar {
  display: none;
}

.main-content {
  width: 100%;
}

/* GRIDS */
.grid-2,
.grid-3,
.grid-4,
.state-grid,
.region-grid,
.service-grid,
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 20px;
}

.card {
  background: var(--white);
  padding: 24px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  text-align: center;
}

.card h3 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 8px;
}

/* FORMS */
.selector-container,
.form-section {
  padding: 0 20px;
  margin: 32px 0;
}

.selector-group,
.form-box {
  background: var(--white);
  padding: 24px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.selector-group label,
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 16px;
}

.selector-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group textarea {
  min-height: 100px;
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-group label:has(input[type="checkbox"]) {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.form-group label:has(input[type="checkbox"]):active {
  background: rgba(217, 119, 87, 0.1);
}

/* BUTTONS */
.btn {
  display: block;
  padding: 16px 28px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  border: none;
  font-size: 17px;
}

/* BLOG CARDS */
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
}

.blog-card-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}

.blog-card-content {
  padding: 20px;
}

.blog-card-category {
  display: inline-block;
  background: rgba(217, 119, 87, 0.1);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  color: var(--text-medium);
  font-size: 15px;
  margin-bottom: 16px;
}

.blog-card-meta {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-card-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

/* FOOTER */
footer {
  background: var(--text);
  color: white;
  margin-top: 60px;
}

.footer-inner {
  padding: 48px 20px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--primary);
  font-size: 17px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* CONTENT SECTION */
.content-section {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.content-section h2 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 19px;
  margin: 20px 0 12px;
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.7;
}
