/* Cork Notary Public — Custom Styles */
/* Supplements Tailwind CSS CDN */

:root {
  --navy: #1a365d;
  --navy-light: #2a4a7f;
  --navy-dark: #0f2440;
  --gold: #d69e2e;
  --gold-light: #ecc94b;
  --gold-dark: #b7791f;
  --cream: #fefcf3;
  --gray-light: #f7fafc;
  --gray-medium: #e2e8f0;
}

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #1a202c;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Gold accent line */
.gold-accent {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26, 54, 93, 0.1);
  border-color: var(--gold);
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}
.faq-item:hover {
  border-color: var(--gold);
}
.faq-question {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background: white;
  transition: background 0.2s;
}
.faq-question:hover {
  background: var(--cream);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  background: #fafafa;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1rem 1.5rem 1.5rem;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--gold);
}

/* Trust badges */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.trust-badge:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(214, 158, 46, 0.1);
}

/* CTA Button */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(214, 158, 46, 0.35);
}
.btn-navy {
  background: var(--navy);
  color: white;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.25);
}
.btn-outline {
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 1rem;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Testimonial Card */
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.3;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--gray-medium);
}
.timeline-item:last-child { border-left-color: transparent; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 3px var(--gold);
}

/* Stats Counter */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

/* Blog Card */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 54, 93, 0.1);
}

/* Contact Form */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.15);
}

/* Area Card */
.area-card {
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-align: center;
}
.area-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 54, 93, 0.08);
}

/* Mobile Navigation */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 100;
  padding: 2rem;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: white;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Breadcrumbs */
.breadcrumb { font-size: 0.875rem; color: #718096; }
.breadcrumb a { color: var(--navy); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* Comparison Table */
.comparison-table th {
  background: var(--navy);
  color: white;
  padding: 1rem;
  font-family: 'Playfair Display', serif;
}
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.comparison-table tr:hover td {
  background: var(--cream);
}

/* Fee Card */
.fee-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}
.fee-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(26, 54, 93, 0.08);
}
.fee-card.featured {
  border: 2px solid var(--gold);
  position: relative;
}
.fee-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Prose — blog content */
.prose h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--navy); }
.prose h3 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--navy); }
.prose p { margin-bottom: 1.25rem; line-height: 1.8; color: #4a5568; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; color: #4a5568; }
.prose a { color: var(--navy); text-decoration: underline; }
.prose a:hover { color: var(--gold); }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--cream);
  border-radius: 0 8px 8px 0;
}
.prose strong { color: #1a202c; }

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

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Print */
@media print {
  .site-header, .mobile-menu, .btn-gold, .btn-navy { display: none !important; }
  body { font-size: 12pt; }
}
