/* Aussie Handyman Services - shared styling */

:root {
  --bg-top: #f7b733;
  --bg-bottom: #00a6a6;
  --deep-teal: #004e5e;
  --nav-bg: rgba(0, 31, 46, 0.9);
  --accent-orange: #e66424;
  --light-cream: #fff6e6;
  --card-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  --radius-lg: 22px;
  --radius-xl: 32px;
  --max-width: 1100px;
  --transition-fast: 0.2s ease-out;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  color: var(--deep-teal);
  background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

main { padding-top: 90px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(
    to right,
    rgba(0, 31, 46, 0.98),
    rgba(0, 85, 102, 0.95)
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
  border-radius: 999px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text span:first-child {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.brand-text span:last-child {
  font-size: 0.75rem;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  color: #e9fbff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent-orange);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta small {
  font-weight: 500;
  opacity: 0.9;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.hero-card {
  background: radial-gradient(circle at top left, #ffe3a1, var(--light-cream));
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.5rem;
  overflow: hidden;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap img {
  max-width: 100%;
  height: auto;
}

.hero-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--deep-teal);
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.hero-phone {
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-slogan {
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0, 166, 166, 0.12);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(0, 166, 166, 0.35);
}

.hero-copy {
  color: #fefaf2;
}

.hero-copy h1 {
  font-size: 1.9rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-copy p {
  font-size: 0.95rem;
  max-width: 30rem;
}

.hero-copy-highlight {
  font-weight: 600;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-actions .primary {
  background: #ffffff;
  color: var(--deep-teal);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.hero-actions .primary:hover {
  transform: translateY(-1px);
}

.hero-actions .ghost {
  background: transparent;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fefefe;
  font-size: 0.85rem;
  text-decoration: none;
}

.section {
  margin-top: 2.5rem;
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  color: #fefaf2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.section p {
  font-size: 0.9rem;
  max-width: 45rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.service-card {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.service-card ul {
  list-style: none;
  font-size: 0.85rem;
}

.service-card li::before {
  content: "• ";
  color: var(--accent-orange);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.8rem;
}

.contact-card {
  background: radial-gradient(circle at top left, #ffe8b5, var(--light-cream));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem;
  color: var(--deep-teal);
  box-shadow: var(--card-shadow);
}

.contact-card h2 {
  margin-bottom: 0.75rem;
}

.contact-card p {
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.contact-list {
  list-style: none;
  font-size: 0.9rem;
}

.contact-list li + li {
  margin-top: 0.4rem;
}

.contact-list span {
  font-weight: 600;
}

.contact-form {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem;
}

.contact-form h3 { margin-bottom: 0.8rem; color: #fefaf2; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: #fefaf2;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: none;
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

button.btn-submit {
  margin-top: 0.9rem;
  background: var(--accent-orange);
  border-radius: 999px;
  border: none;
  color: #fff;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

button.btn-submit:hover {
  transform: translateY(-1px);
}

footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #fdf5e3;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-card { order: 2; }
  .hero-copy { order: 1; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { padding-inline: 0.9rem; }
  .wrapper { padding-inline: 1.1rem; }
  .section { padding-inline: 1.2rem; }
}

@media (max-width: 560px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.4rem; }
}
