/* ============================================================
   PAPA PV — Home Page Specific Styles
   ============================================================ */

/* ================================================================
   HERO CAROUSEL
   ================================================================ */
.hero-carousel {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: var(--sp-12) 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-carousel-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.hero-carousel-slide.active {
  display: flex;
  align-items: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-carousel-nav {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-3);
  z-index: 10;
}

.hero-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
  padding: 0;
}

.hero-carousel-dot.active {
  background: var(--color-white);
  width: 32px;
  border-radius: 6px;
}

.hero-carousel-btn {
  position: absolute;
  bottom: var(--sp-8);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-dark);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

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

.hero-carousel-btn.prev {
  left: var(--sp-6);
}

.hero-carousel-btn.next {
  right: var(--sp-6);
}


/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-home {
  background: transparent;
  color: var(--color-white);
  padding: 0;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: visible;
  width: 100%;
}

.hero-home .container {
  width: 100%;
}

.hero-home-wrapper {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  width: 100%;
}

.hero-home-content {
  flex: 1;
  min-width: 0;
}

.hero-home-content h1 {
  font-size: var(--text-h1);
  margin-bottom: var(--sp-4);
  color: var(--color-white);
  line-height: 1.2;
}

.hero-home-content p {
  font-size: var(--text-h4);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-6);
  line-height: var(--lh-relaxed);
}

.hero-home-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.hero-home-visual {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-home-visual {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-image-placeholder i {
  font-size: 200px;
  color: rgba(255, 255, 255, 0.15);
  display: block;
}

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

.btn-white:hover {
  background: var(--gray-100);
}


/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services-section {
  padding: var(--sp-16) 0;
}

.services-section h2 {
  text-align: center;
  margin-bottom: var(--sp-12);
  font-size: var(--text-h2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-6);
}


/* ================================================================
   TRACKING SECTION
   ================================================================ */
.tracking-section {
  background: var(--color-primary);
  padding: var(--sp-12) 0;
  color: var(--color-white);
}

.tracking-card {
  background: var(--color-white);
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto;
}

.tracking-form {
  display: flex;
  gap: var(--sp-2);
}

.tracking-form .form-input {
  flex: 1;
}

.tracking-form .btn {
  flex-shrink: 0;
}


/* ================================================================
   PRODUCTS SECTION
   ================================================================ */
.products-section {
  padding: var(--sp-16) 0;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  gap: var(--sp-4);
}

.products-header h2 {
  font-size: var(--text-h2);
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-6);
}


/* ================================================================
   HOW IT WORKS SECTION
   ================================================================ */
.how-it-works {
  padding: var(--sp-16) 0;
  background: var(--gray-50);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: var(--sp-12);
  font-size: var(--text-h2);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-6);
}

.how-it-works-item {
  text-align: center;
}

.how-it-works-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  margin: 0 auto var(--sp-4);
}

.how-it-works-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  font-size: 2.5rem;
  color: var(--color-primary);
  line-height: 1;
}

.how-it-works-item h3 {
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
}

.how-it-works-item p {
  color: var(--gray-500);
  font-size: var(--text-small);
  line-height: var(--lh-relaxed);
}


/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: var(--sp-16) 0;
  text-align: center;
}

.cta-section h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-4);
}

.cta-section p {
  font-size: var(--text-h4);
  margin-bottom: var(--sp-6);
  color: rgba(255, 255, 255, 0.9);
}


/* ================================================================
   FIX FONT AWESOME ICONS
   ================================================================ */
.fas, .far, .fal, .fab {
  font-family: 'Font Awesome 6 Free' !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.fas {
  font-weight: 900 !important;
}

.far {
  font-weight: 400 !important;
}

.fab {
  font-family: 'Font Awesome 6 Brands' !important;
  font-weight: 400 !important;
}

/* Make sure icons display inline */
i[class*="fa-"] {
  display: inline !important;
  vertical-align: middle !important;
}


/* ================================================================
   HERO BADGES
   ================================================================ */
.hero-badges {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.9);
}

.hero-badges i {
  color: var(--color-success);
}

.hero-home-content h2 {
  font-size: var(--text-h1);
  margin-bottom: var(--sp-4);
  color: var(--color-white);
  line-height: 1.2;
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
  background: var(--color-white);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.trust-text strong {
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.trust-text span {
  font-size: var(--text-small);
  color: var(--gray-500);
}

/* ================================================================
   ESTIMATE SECTION
   ================================================================ */
.estimate-section {
  padding: var(--sp-12) 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.estimate-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.estimate-title {
  margin: 0 0 var(--sp-2);
  font-size: var(--text-h3);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.estimate-title i {
  color: var(--color-primary);
}

.estimate-subtitle {
  margin: 0 0 var(--sp-6);
  color: var(--gray-600);
  font-size: var(--text-normal);
}

.estimate-form {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.estimate-field {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.estimate-field label {
  display: block;
  margin-bottom: var(--sp-2);
  font-weight: var(--fw-medium);
  color: var(--gray-700);
  font-size: var(--text-small);
}

/* ================================================================
   SECTION HEADER
   ================================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.section-header h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-3);
}

.section-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================================
   WHY SECTION
   ================================================================ */
.why-section {
  padding: var(--sp-16) 0;
  background: var(--gray-50);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

.stat-item {
  text-align: center;
  padding: var(--sp-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-number small {
  font-size: 1rem;
  font-weight: var(--fw-medium);
}

.stat-label {
  color: var(--gray-600);
  font-size: var(--text-small);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.why-card {
  text-align: center;
  padding: var(--sp-6);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--sp-4);
}

.why-card h3 {
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
  font-size: var(--text-h4);
}

.why-card p {
  color: var(--gray-600);
  font-size: var(--text-small);
  line-height: var(--lh-relaxed);
}

/* ================================================================
   NEXT VOYAGE
   ================================================================ */
.next-voyage-section {
  padding: var(--sp-10) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
}

.next-voyage-content {
  text-align: center;
}

.next-voyage-content h2 {
  margin-bottom: var(--sp-4);
  font-size: var(--text-h3);
  color: white;
}

.next-voyage-content h2 i {
  margin-right: var(--sp-2);
}

.next-voyage-content p {
  font-size: 1.25rem;
  margin-bottom: var(--sp-6);
  color: rgba(255,255,255,0.95);
}

/* ================================================================
   ADDRESS SECTION
   ================================================================ */
.address-section {
  padding: var(--sp-16) 0;
}

.address-card {
  padding: 0;
  overflow: hidden;
}

.address-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.address-text {
  padding: var(--sp-10);
}

.address-text h2 {
  font-size: var(--text-h3);
  margin-bottom: var(--sp-3);
}

.address-text > p {
  color: var(--gray-600);
  margin-bottom: var(--sp-6);
  line-height: var(--lh-relaxed);
}

.address-details {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.address-details p {
  margin-bottom: var(--sp-3);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.address-details p:last-child {
  margin-bottom: 0;
}

.address-details i {
  color: var(--color-primary);
  width: 20px;
  text-align: center;
}

.address-visual {
  height: 100%;
  min-height: 400px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.address-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section {
  padding: var(--sp-16) 0;
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.testimonial-card {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--color-warning);
  font-size: var(--text-small);
  margin-bottom: var(--sp-3);
}

.testimonial-text {
  color: var(--gray-700);
  line-height: var(--lh-relaxed);
  font-style: italic;
  flex: 1;
  margin-bottom: var(--sp-4);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-top: 1px solid var(--gray-100);
  padding-top: var(--sp-4);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--text-small);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: var(--text-small);
  color: var(--color-text);
}

.testimonial-author span {
  display: block;
  font-size: var(--text-caption);
  color: var(--gray-500);
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-section {
  padding: var(--sp-16) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.faq-card {
  padding: var(--sp-6);
}

.faq-card h3 {
  font-size: var(--text-body);
  margin-bottom: var(--sp-3);
  color: var(--color-text);
}

.faq-card p {
  color: var(--gray-600);
  font-size: var(--text-small);
  line-height: var(--lh-relaxed);
}

.faq-card a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--fw-medium);
}

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

/* ================================================================
   CTA ACTIONS
   ================================================================ */
.cta-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .hero-carousel {
    padding: var(--sp-12) 0;
    min-height: auto;
  }

  .hero-home {
    padding: var(--sp-12) 0;
    min-height: auto;
  }

  .hero-home-wrapper {
    flex-direction: column;
    gap: var(--sp-6);
  }

  .hero-home-content h1 {
    font-size: var(--text-h2);
  }

  .hero-home-content p {
    font-size: var(--text-body);
  }

  .hero-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .hero-image-placeholder i {
    font-size: 120px;
  }

  .hero-home-actions {
    gap: var(--sp-2);
  }

  .hero-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-carousel-btn.prev {
    left: var(--sp-3);
  }

  .hero-carousel-btn.next {
    right: var(--sp-3);
  }

  .tracking-form {
    flex-direction: column;
  }

  .tracking-form .form-input {
    width: 100%;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-section,
  .products-section,
  .how-it-works,
  .cta-section,
  .estimate-section,
  .why-section,
  .testimonials-section,
  .faq-section,
  .address-section {
    padding: var(--sp-12) 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .address-content {
    grid-template-columns: 1fr;
  }

  .address-visual {
    min-height: 250px;
    order: -1;
  }

  .hero-badges {
    justify-content: center;
  }

  .estimate-form {
    flex-direction: column;
    align-items: stretch;
  }

  .estimate-field {
    min-width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .next-voyage-content p {
    font-size: var(--text-body);
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}
