/* Main stylesheet - imports all CSS modules */
@import url('design-system.css');
@import url('components.css');
@import url('layout.css');

/* Hero Section Background Animation */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  animation: float 20s infinite linear;
}

.hero-bg-shapes .shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.hero-bg-shapes .shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -5%;
  animation-delay: -5s;
  animation-duration: 30s;
}

.hero-bg-shapes .shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 50%;
  animation-delay: -10s;
  animation-duration: 20s;
}

.hero-bg-shapes .shape-4 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 20%;
  animation-delay: -15s;
  animation-duration: 35s;
}

.hero-bg-shapes .shape-5 {
  width: 180px;
  height: 180px;
  top: 20%;
  right: 30%;
  animation-delay: -20s;
  animation-duration: 28s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translateY(20px) rotate(240deg) scale(0.9);
  }
  100% {
    transform: translateY(0px) rotate(360deg) scale(1);
  }
}

/* Hero content positioning */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Glassmorphism effect for hero buttons */
.hero-buttons .btn {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn:hover {
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced service cards with glassmorphism */
.service-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-height: 280px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-bg-shapes .shape {
    display: none; /* Hide shapes on mobile for performance */
  }

  .about-content {
    grid-template-columns: 1fr;
  }
  .about-text {
    order: 1;
  }
  .about-image {
    order: 2;
  }
}

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: var(--spacing-sm) !important; }
.mt-md { margin-top: var(--spacing-md) !important; }
.mt-lg { margin-top: var(--spacing-lg) !important; }
.mt-xl { margin-top: var(--spacing-xl) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: var(--spacing-sm) !important; }
.mb-md { margin-bottom: var(--spacing-md) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }
.mb-xl { margin-bottom: var(--spacing-xl) !important; }

.new-post-btn {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(192,192,192,0.12);
}

.new-post-btn.btn-primary {
  background: var(--accent);
}

.fab {
  position: fixed;
  right: 50px;
  bottom: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 45px;
  line-height: 1;
  padding-left: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-right: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  z-index: 60;
}

.fab:active { transform: translateY(1px); }
.px-md { padding-left: var(--spacing-md) !important; padding-right: var(--spacing-md) !important; }
.py-md { padding-top: var(--spacing-md) !important; padding-bottom: var(--spacing-md) !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.text-error { color: var(--error); }
.text-success { color: var(--success); }

.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }

.font-bold { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-medium { font-weight: var(--font-weight-medium); }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Contact page specific styles */
.page-contact .contact-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-contact .contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-contact .contact-hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
}

.page-contact .contact-section {
  padding: 80px 0;
  background: #f8fafc;
}

.page-contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.page-contact .contact-form-container,
.page-contact .contact-info-container {
  width: 100%;
}

.page-contact .contact-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.page-contact .card-icon {
  text-align: center;
  margin-bottom: 24px;
}

.page-contact .card-icon span {
  font-size: 3rem;
}

.page-contact .card-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f2937;
  text-align: center;
}

.page-contact .card-content > p {
  color: #6b7280;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

.page-contact .contact-form {
  max-width: 100%;
}

.page-contact .form-row {
  margin-bottom: 24px;
}

.page-contact .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
  font-size: 0.875rem;
}

.page-contact .form-group input,
.page-contact .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.page-contact .submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-contact .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.page-contact .contact-info-container h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1f2937;
}

.page-contact .info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  justify-content: space-between;
}

.page-contact .info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 280px;
}

.page-contact .info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact .info-card .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.page-contact .info-card .card-icon span {
  font-size: 2.5rem;
}

.page-contact .info-card .card-content {
  flex: 1;
}

.page-contact .info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
}

.page-contact .info-card p {
  color: #6b7280;
  margin-bottom: 12px;
  line-height: 1.5;
}

.page-contact .info-card a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact .info-card a:hover {
  color: #5a67d8;
}

.page-contact .info-card address {
  font-style: normal;
  color: #374151;
  line-height: 1.6;
}

.page-contact .hours div {
  color: #374151;
  margin-bottom: 4px;
}

.page-contact .cta-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.page-contact .cta-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-contact .cta-card p {
  margin-bottom: 24px;
  opacity: 0.9;
  line-height: 1.6;
}

.page-contact .cta-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-contact .cta-btn:hover {
  background: white;
  color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-contact .contact-hero {
    padding: 60px 0;
  }

  .page-contact .contact-hero h1 {
    font-size: 2.5rem;
  }

  .page-contact .contact-section {
    padding: 60px 0;
  }

  .page-contact .contact-card {
    padding: 32px 24px;
  }

  .page-contact .info-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .page-contact .info-card .card-icon {
    align-self: center;
  }

  .page-contact .info-cards {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .page-contact .contact-hero {
    padding: 40px 0;
  }

  .page-contact .contact-hero h1 {
    font-size: 2rem;
  }

  .page-contact .contact-card {
    padding: 24px 16px;
  }

  .page-contact .info-cards {
    gap: 16px;
  }

  .page-contact .info-card {
    padding: 20px;
  }
}
