/* Hartman's Quilting & Monogramming - Professional Design System */

:root {
  --primary-blue: #1e40af;
  --primary-blue-light: #3b82f6;
  --primary-blue-dark: #1e3a8a;
  --accent-green: #059669;
  --accent-green-light: #10b981;
  --success-green: #065f46;
  --neutral-gray: #6b7280;
  --neutral-gray-light: #9ca3af;
  --neutral-gray-dark: #374151;
  --background-light: #f9fafb;
  --background-white: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --border-color: #e5e7eb;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
}

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

/* Header Styles */
.site-header {
  background: var(--background-white);
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.company-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-symbol {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-navigation a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--primary-blue);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 44px;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--success-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

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

.btn-icon {
  margin-left: 0.5rem;
  font-size: 1rem;
}

/* Section Styles */
.content-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--background-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
  border-color: var(--accent-green);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: var(--background-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-4px);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--background-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  position: relative;
  border-left: 4px solid var(--accent-green);
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 700;
  color: var(--primary-blue);
}

.author-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Forms */
.contact-form {
  background: var(--background-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--background-white);
  color: var(--text-primary);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

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

.contact-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent-green);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-secondary);
}

.contact-details a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent-green);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  background: var(--background-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-caption {
  padding: 1.5rem;
}

.gallery-title {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.gallery-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  background: var(--background-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.step-title {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Emergency Banner */
.emergency-banner {
  background: var(--accent-green);
  color: white;
  padding: 1rem 0;
  text-align: center;
  font-weight: 600;
}

.emergency-banner a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.3s ease;
}

.emergency-banner a:hover {
  border-color: white;
}

/* Footer */
.site-footer {
  background: var(--neutral-gray-dark);
  color: var(--neutral-gray-light);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--neutral-gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-gray);
  padding-top: 1rem;
  text-align: center;
  color: var(--neutral-gray);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--background-white);
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 400px;
  box-shadow: var(--shadow-large);
  z-index: 1000;
  display: none;
}

.cookie-consent-banner.show {
  display: block;
}

.cookie-text {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  flex: 1;
  min-width: 80px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.cookie-accept {
  background: var(--accent-green);
  color: white;
}

.cookie-accept:hover {
  background: var(--success-green);
}

.cookie-decline {
  background: var(--neutral-gray-light);
  color: white;
}

.cookie-decline:hover {
  background: var(--neutral-gray-dark);
}

.cookie-links {
  margin-top: 0.75rem;
  text-align: center;
}

.cookie-links a {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0 0.5rem;
}

.cookie-links a:hover {
  text-decoration: underline;
}

/* Thank You Page */
.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 4rem auto;
  padding: 3rem;
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

.success-icon {
  font-size: 4rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.thank-you-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.thank-you-message {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Blog/Article Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--background-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-expanded {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: none;
}

.blog-expanded.show {
  display: block;
}

.blog-read-more {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.blog-read-more:hover {
  background: var(--primary-blue-dark);
}

/* Map Container */
.map-container {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.map-iframe {
  width: 100%;
  height: 400px;
  border: none;
}

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

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.bg-white { background-color: var(--background-white); }
.bg-light { background-color: var(--background-light); }

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
  }
  
  .main-navigation.show {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-navigation a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .services-grid,
  .team-grid,
  .features-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 2rem 0;
  }

  .cookie-consent-banner {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    padding: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

/* Print Styles */
@media print {
  .cookie-consent-banner,
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .site-header {
    box-shadow: none;
    position: static;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}