/* ===================================
   SERVICES PAGE - CLEANFOLDZ
   Vanilla CSS Implementation
   =================================== */

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

:root {
  --primary: #29abe2;
  --secondary: #6aa82f;
  --text: #1A1A1A;
  --text-light: rgba(26, 26, 26, 0.6);
  --bg-white: #FFFFFF;
  --bg-gray: #F9FAFB;
  --border-gray: #E5E7EB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.logo-clean {
  color: #29abe2;
}

.logo-foldz {
  color: #6aa82f;
}

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

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.nav-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #29abe2, #6aa82f);
  color: white;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.nav-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav-cta .icon {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #F0F9FF 0%, #F0FDF4 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 170, 170, 0.1), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text);
}

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

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

.hero-description {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

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

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: #008B8B;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
  background: #F0F9FF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-cta {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
  background: #F9FAFB;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ===================================
   BENEFITS SECTION
   =================================== */

.benefits-section {
  padding: 4rem 0 5rem;
  background: white;
}

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

.benefit-card {
  text-align: center;
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(0, 170, 170, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.benefit-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
  padding: 5rem 0;
  background: var(--bg-gray);
}

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

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

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

/* ===================================
   CATEGORY FILTER
   =================================== */

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  background: white;
  color: var(--text);
  border: 1px solid var(--border-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover {
  background: #F9FAFB;
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.filter-btn .count {
  opacity: 0.7;
  font-size: 0.875rem;
}

/* ===================================
   SERVICES GRID
   =================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* Disclaimer always below cards - full width */
.services-grid > div[style*="white-space"],
.services-grid > div[style*="margin-top: 20px"] {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 20px !important;
}

.service-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.service-card.selected {
  border-color: var(--primary);
}

.service-card[data-category] {
  display: block;
}

.service-card.hidden {
  display: none !important;
}

/* Service Image */
.service-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--secondary);
}

/* Service Content */
.service-content {
  padding: 1.5rem;
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(0, 170, 170, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

@media (min-width: 769px) {
  .service-title {
    margin-bottom: 1rem;
  }
}

.service-short-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Service Quick Info */
.service-quick-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.info-item span {
  font-size: 0.875rem;
  color: var(--text-light);
}

.service-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Service Actions Container */
.service-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

/* Expand Button */
.expand-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #F3F4F6;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  color: var(--text);
}

.expand-btn:hover {
  background: #E5E7EB;
}

/* Pricing Button */
.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem 0.55rem 1.5rem;
  background: linear-gradient(135deg, #29abe2, #6aa82f);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
  line-height: normal;
}

.pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.expand-btn .chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.expand-btn.expanded .chevron {
  transform: rotate(180deg);
}

/* Service Details (Expandable) */
.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 1rem;
  padding-top: 0;
  border-top: 1px solid var(--border-gray);
  display: flex;
  flex-direction: column;
}

.service-details.expanded {
  max-height: 600px;
  padding-top: 1rem;
}

.details-section {
  margin-bottom: 1rem;
}

.details-section h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.features-list li::before {
  content: '';
  width: 0.75rem;
  height: 0.75rem;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.process-steps span {
  padding: 0.375rem 0.75rem;
  background: #F3F4F6;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.book-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
  text-decoration: none;
  display: block;
  text-align: center;
}

.book-btn:hover {
  background: #008B8B;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  padding: 5rem 0 6rem;
  background: linear-gradient(135deg, #29abe2, #6aa82f);
}

.cta-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.brand-name {
  font-weight: 700;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.contact-icon {
  width: 2rem;
  height: 2rem;
  color: white;
  margin: 0 auto 0.75rem;
}

.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.cta-button-wrapper {
  margin-top: 2rem;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: #1F2937;
  color: white;
  padding: 3rem 0 1.5rem;
}

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

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-section {
    padding: 8rem 0 4rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Ensure filtering works in mobile */
  .service-card.hidden {
    display: none !important;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-content {
    padding: 2rem 1.5rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  /* Mobile-specific View Pricing button alignment fix */
  .pricing-btn {
    padding: 0.85rem 1.5rem 0.65rem 1.5rem !important;
    line-height: normal !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .service-content {
    padding: 1rem;
  }
  
  .category-filter {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeIn 0.5s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
