/* Custom Design Styles for WriterBro */

:root {
  --primary-navy: #1a3a52;
  --secondary-grey: #6b7280;
  --accent-blue: #2563eb;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bg-navy { background-color: var(--primary-navy) !important; }
.text-navy { color: var(--primary-navy) !important; }
.bg-accent { background-color: var(--accent-blue) !important; }
.text-accent { color: var(--accent-blue) !important; }

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: white;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
    text-align: center;
  }
  .display-3 { font-size: 2.5rem !important; }
  .display-4 { font-size: 2.2rem !important; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 58, 82, 0.95), rgba(26, 58, 82, 0.8));
  z-index: 1;
}

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

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
  border: none !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white !important;
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  font-weight: bold;
  transition: background-color 0.3s;
}

@media (max-width: 576px) {
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
    bottom: 15px;
    right: 15px;
  }
}

.whatsapp-float:hover {
  background-color: #128c7e;
}

.space-y-4 > * + * {
    margin-top: 1.5rem;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* Testimonial Marquee */
.testimonial-wrapper {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  width: 100%;
}

.testimonial-track {
  display: flex;
  width: calc(350px * 20); /* Accommodate many cards */
  animation: scroll 60s linear infinite;
  gap: 30px;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 350px;
  flex-shrink: 0;
  display: flex;
}

.testimonial-card .card {
  width: 100%;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-350px * 10)); } /* Half of total width for seamless loop */
}

@media (max-width: 768px) {
  .testimonial-track {
    animation-duration: 40s;
  }
}
