@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors - Inspired by Ireland & MissionAbility logo */
  --color-primary: #007672;
  /* Teal from logo heart */
  --color-primary-dark: #121c2c;
  /* Dark navy from logo text */
  --color-primary-light: #f0f7f6;
  --color-accent: #d4af37;
  /* Subtle Gold for highlights */
  --color-accent-hover: #b5952f;

  /* Status/Feedback */
  --color-success: #2e8555;
  --color-info: #007672;

  /* Neutrals */
  --color-bg: #fcfdfe;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-light: #4a5568;
  --color-border: #e2e8f0;
  --color-bg-alt: #f7fafc; 

  /* Brand Typography Colors */
  --text-teal: var(--color-primary);
  --text-green: var(--color-success);

  /* Typography */
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Sizes & Spacing */
  --container-width: 1240px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Accessibility */
  --outline-focus: 3px solid var(--color-primary);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: var(--outline-focus);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Layout Elements */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--spacing-lg) 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.875rem, 5vw, 2.5rem);
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Header & Navigation */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-top {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 0.625rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.05em;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.04em;
  display: inline-block;
}

.text-teal {
  background: linear-gradient(90deg, #007672, #00b09b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green {
  background: linear-gradient(90deg, #2e8555, #68d391);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-footer .text-teal {
  background: linear-gradient(90deg, #81e6d9, #b2f5ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-footer .text-green {
  background: linear-gradient(90deg, #9ae6b4, #c6f6d5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-toggle {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.9375rem;
  position: relative;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  display: block !important; /* Override flex */
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 10px);
}

.dropdown li {
  width: 100%;
  margin: 0 !important;
  gap: 0 !important;
}

.dropdown a {
  padding: 0.75rem 1.5rem;
  display: block;
  white-space: nowrap;
  font-size: 0.875rem;
  color: var(--color-text-light);
  transition: all 0.2s ease;
}

.dropdown a:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding-left: 2rem;
}

.dropdown a::after {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #fff !important;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 118, 114, 0.15);
}

.btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(18, 28, 44, 0.85) 0%, rgba(0, 118, 114, 0.7) 100%);
  z-index: 0;
}

/* Page Headers for subpages */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1a2a40 100%);
  color: white;
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  line-height: 1.1;
}

.hero p {
  line-height: 1.6;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

/* Category Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.card-text {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

/* Product Showcase Components */
.product-showcase {
  margin-bottom: var(--spacing-xl);
}

.product-showcase .grid {
  align-items: center;
  gap: var(--spacing-lg);
}

.img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.img-container:hover {
  transform: scale(1.02);
}

.badge {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.feature-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.color-options {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--color-border);
  cursor: help;
  transition: transform 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.2);
}

.swatch-red { background: #e53e3e; }
.swatch-blue { background: #3182ce; }
.swatch-black { background: #1a202c; }
.swatch-grey { background: #808080; }

.suitability-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1a2a40 100%);
  color: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.suitability-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 118, 114, 0.2) 0%, transparent 70%);
  z-index: 0;
}

.suitability-content {
  position: relative;
  z-index: 1;
}

/* Trust Indicators */
.trust-indicators {
  background-color: var(--color-bg-alt);
  padding: var(--spacing-lg) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.trust-item {
  text-align: center;
  padding: 2.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animated {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* Contact Form & Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}

.contact-form-container {
  background: var(--color-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-base);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--color-bg-alt);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 118, 114, 0.1);
  background-color: var(--color-surface);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
  margin-top: 1.5rem;
}

.contact-info p {
  color: var(--color-text-light);
}

/* Footer */
.site-footer {
  background-color: #0b111e;
  color: #fff;
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
}

.footer-col p {
  color: #a0aec0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: #a0aec0;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #718096;
  font-size: 0.875rem;
}

.designer-credit {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.designer-credit a {
  color: #718096;
  text-decoration: underline;
}

.designer-credit a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .header-main {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}