/* Strategic Cleaning Services - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Merriweather:wght@400;700&display=swap');

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

:root {
  --primary: #0d5a8c;
  --primary-dark: #094570;
  --primary-light: #1a7bc4;
  --accent: #d4a012;
  --accent-dark: #b8890f;
  --background: #ffffff;
  --foreground: #374151;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --header-bg: #063a5c;
  --footer-bg: #1f2937;
  --footer-foreground: #9ca3af;
  --sidebar-bg: #f9fafb;
  --link-color: #1a7bc4;
  --link-hover: #094570;
  --meta-color: #6b7280;
  --white: #ffffff;
  --radius: 0.375rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
}

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

ul {
  list-style: none;
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

main {
  flex: 1;
}

/* Header */
.header {
  background-color: var(--header-bg);
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.logo:hover {
  color: var(--white);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.logo-text h1 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.125rem;
}

.logo-text p {
  font-size: 0.75rem;
  opacity: 0.8;
}

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

.nav a {
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}

.nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav a.active {
  background-color: var(--accent);
  color: var(--foreground);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  width: 100%;
  padding-bottom: 1rem;
}

.mobile-nav a {
  display: block;
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav a.active {
  background-color: var(--accent);
  color: var(--foreground);
}

/* Page Header */
.page-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--white);
}

.page-header p {
  margin-top: 0.5rem;
  opacity: 0.9;
}

.page-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0.8;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.page-header .back-link:hover {
  opacity: 1;
  color: var(--white);
}

/* Hero Section */
.hero {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--foreground);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: var(--foreground);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

/* Features Section */
.features {
  background-color: var(--muted);
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Content Layout */
.content-section {
  padding: 3rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.main-content {
  min-width: 0;
}

.sidebar {
  min-width: 0;
}

/* Cards */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card h2 a:hover {
  text-decoration: underline;
}

.card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.card-meta {
  font-size: 0.875rem;
  color: var(--meta-color);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
}

/* Service Card */
.service-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-icon {
  background-color: rgba(13, 90, 140, 0.1);
  padding: 0.75rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.service-content {
  flex: 1;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sidebar Widgets */
.widget {
  background-color: var(--sidebar-bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.widget h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.widget ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.widget ul li a {
  font-size: 0.875rem;
}

.widget ul li a:hover {
  text-decoration: underline;
}

.widget-cta {
  background-color: var(--primary);
  color: var(--white);
  border: none;
}

.widget-cta h3 {
  color: var(--white);
}

.widget-cta p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

/* Section Titles */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Contact Info Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-card {
  background-color: var(--muted);
  padding: 1.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-card svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--background);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 90, 140, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Values List */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.values-list li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.values-list li span {
  color: var(--muted-foreground);
}

/* Info Box */
.info-box {
  background-color: var(--muted);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.info-box h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.info-box p {
  color: var(--muted-foreground);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.pagination .active {
  background-color: var(--primary);
  color: var(--white);
}

.pagination a:not(.active) {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.pagination a:not(.active):hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Post Navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

/* Article Content */
.article-content {
  line-height: 1.8;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

.article-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-foreground);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer ul li a {
  font-size: 0.875rem;
  color: var(--footer-foreground);
  transition: color 0.2s ease;
}

.footer ul li a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

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

/* Responsive */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .logo-text h1 {
    font-size: 1.5rem;
  }
  
  .logo-text p {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  .service-card {
    flex-direction: column;
  }
  
  .service-features {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}
