/*
Theme Name: Elite Ability Care
Theme URI: https://eliteabilitycare.com.au
Author: Elite Ability Care
Author URI: https://eliteabilitycare.com.au
Description: A professional healthcare WordPress theme for Elite Ability Care — Empowering Lives with Compassionate Care. Features a blue, pink & orange color scheme matching the brand logo.
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: elite-ability-care
*/

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Playfair+Display:wght@400;700;900&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
  --primary: #1A75BC;
  --primary-foreground: #E8F4FD;
  --accent: #E91E8C;
  --accent-foreground: #FFFFFF;
  --orange: #F5921E;
  --foreground: #0D2E4A;
  --border: #B8D9F0;
  --radius: 0.65rem;
}

/* ===== Base Typography ===== */
html {
  font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== Typography Utilities ===== */
.text-display-lg {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

.text-display-md {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.text-display-sm {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.text-body-md {
  font-size: 1rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .text-display-lg {
    font-size: 3.75rem;
  }
  .text-display-md {
    font-size: 3rem;
  }
  .text-display-sm {
    font-size: 2.25rem;
  }
}

/* ===== Container Override ===== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

/* ===== Button Component ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 600;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
}
.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-pink {
  background-color: #db2777;
  color: #ffffff;
}
.btn-pink:hover {
  background-color: #be185d;
}

.btn-orange {
  background-color: #f97316;
  color: #ffffff;
}
.btn-orange:hover {
  background-color: #ea580c;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
}

/* ===== SVG Wave Dividers ===== */
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
}

.wave-divider-bottom {
  bottom: 0;
}

.wave-divider-top {
  top: 0;
  margin-top: -1px;
}

/* ===== Service Card ===== */
.service-card {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ===== Icon Circle ===== */
.icon-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.icon-circle-lg {
  width: 6rem;
  height: 6rem;
}

.icon-circle svg {
  width: 2.5rem;
  height: 2.5rem;
}

.icon-circle-lg svg {
  width: 3rem;
  height: 3rem;
}

/* ===== Mobile Nav ===== */
.mobile-nav-toggle {
  display: none;
  padding: 0.5rem;
  color: #374151;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #dbeafe;
  z-index: 50;
  animation: slideDown 0.2s ease;
}

.mobile-nav-dropdown.open {
  display: block;
}

.mobile-nav-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.mobile-nav-dropdown a:last-of-type {
  border-bottom: none;
}

.mobile-nav-dropdown a:hover {
  background-color: #eff6ff;
  color: #2563eb;
}

.mobile-nav-cta {
  padding: 0.75rem 1rem;
  background-color: #eff6ff;
}

.mobile-nav-cta button {
  width: 100%;
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobile-nav-cta button:hover {
  background-color: #1d4ed8;
}

@media (max-width: 767px) {
  .mobile-nav-toggle {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(29, 78, 216, 0.8), rgba(59, 130, 246, 0.6), transparent);
}

/* ===== Footer ===== */
.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.social-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: #60a5fa;
}

/* ===== WordPress Core Resets ===== */
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

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

body {
  background-color: #ffffff;
  color: var(--foreground);
}

/* ===== Cursor Utility ===== */
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
a[href],
select:not(:disabled) {
  cursor: pointer;
}
