/*
Theme Name: Miami Top Cleaning
Theme URI: https://miami-top-cleaning.otmdev.co/
Author: On The Map Marketing
Description: Custom theme for Miami Top Cleaning, converted from the static dev build of 2026-09-15.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: miami-top-cleaning
*/

/* Miami Top Cleaning - Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Navigation scroll effect */
#main-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Hero gradient overlay for images */
.hero-overlay {
  background: linear-gradient(135deg, rgba(23, 37, 84, 0.92) 0%, rgba(30, 64, 175, 0.75) 100%);
}

/* Service card hover effects */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}

/* Mobile menu transitions */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.active {
  max-height: 600px;
  opacity: 1;
}

/* Form styles */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all;
}

.form-label {
  @apply block text-sm font-medium text-gray-700 mb-1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Breadcrumb styles */
.breadcrumb a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* FAQ accordion */
.faq-item details summary {
  cursor: pointer;
  list-style: none;
}
.faq-item details summary::-webkit-details-marker {
  display: none;
}
.faq-item details[open] summary .faq-icon {
  transform: rotate(180deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}

/* Pulse animation for CTA */
@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.pulse-cta {
  animation: subtlePulse 3s infinite;
}

/* Phone number styling */
a[href^="tel:"] {
  white-space: nowrap;
}

/* Print styles */
@media print {
  nav, .no-print, footer { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* Blog article typography.
   Tailwind's preflight strips heading and list styling, and the converted
   pages supply their own markup, so post bodies need these explicitly. */
.prose {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose > * + * {
  margin-top: 1.25em;
}
.prose h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.prose h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: #172554;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.prose h4 {
  font-weight: 700;
  color: #172554;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-top: 1em;
  margin-bottom: 1em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-top: 0.4em;
}
.prose li::marker {
  color: #1e40af;
}
.prose a {
  color: #1e40af;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover {
  color: #172554;
}
.prose strong {
  font-weight: 700;
  color: #0f172a;
}
.prose img {
  border-radius: 0.75rem;
  margin: 1.5em 0;
  max-width: 100%;
  height: auto;
}
.prose hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 2em 0;
}
.prose blockquote {
  border-left: 4px solid #10b981;
  padding-left: 1rem;
  font-style: italic;
  color: #475569;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
}
.prose th,
.prose td {
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.prose th {
  background: #f8fafc;
  font-weight: 600;
}

/* Blog archive pagination */
.pagination {
  margin-top: 3rem;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.pagination .page-numbers:hover {
  border-color: #1e40af;
  color: #1e40af;
}
.pagination .page-numbers.current {
  background: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
}
.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
