/* ============================================
   TOURVIR — Home / About Page Styles
   ============================================ */

/* Hero Particles / Decorative */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

.hero__particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; width: 3px; height: 3px; }
.hero__particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; width: 5px; height: 5px; }
.hero__particle:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; }
.hero__particle:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; width: 6px; height: 6px; }
.hero__particle:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; }
.hero__particle:nth-child(6) { left: 85%; animation-duration: 13s; animation-delay: 5s; width: 4px; height: 4px; }
.hero__particle:nth-child(7) { left: 15%; animation-duration: 16s; animation-delay: 6s; width: 3px; height: 3px; }
.hero__particle:nth-child(8) { left: 60%; animation-duration: 9s; animation-delay: 2s; width: 5px; height: 5px; }

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__image {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about__image-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #2D2D2D;
  box-shadow: var(--shadow-lg);
}

.about__text h2 {
  margin-bottom: var(--space-lg);
}

.about__text p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about__highlight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.about__highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Vision & Mission Cards */
.vision-card {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.vision-card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.vision-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.vision-card__text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Why Choose Us (Features) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* Destinations Preview */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.destination-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.destination-card:hover img {
  transform: scale(1.08);
}

.destination-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
}

.destination-card__name {
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.destination-card__desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonials__wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}


/* Newsletter */
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: transparent;
  color: white;
  border: none;
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-form .btn {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about__image {
    height: 300px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    height: 250px;
  }

  .about__highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: var(--space-sm);
  }

  .newsletter-form input {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    text-align: center;
  }
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Card image area */
.service-card__image-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card__image {
  transform: scale(1.08);
}

.service-card__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

/* Icon badge floating on image border */
.service-card__icon-wrap {
  position: relative;
  margin: -22px auto -22px auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  z-index: 2;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card__icon-wrap {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3);
}

/* Card body */
.service-card__body {
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.service-card__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary);
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
}

.service-card__link span {
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-card__link:hover {
  background: var(--primary);
  color: white;
}

.service-card:hover .service-card__link:hover span {
  transform: translateX(3px);
}

/* Services bottom CTA */
.services-cta {
  margin-top: var(--space-2xl);
  text-align: center;
  padding: var(--space-xl) var(--space-2xl);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.services-cta p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}

.services-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Services responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .service-card__image-wrap {
    height: 130px;
  }
  .services-cta {
    padding: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card__link {
    opacity: 1;
    transform: translateY(0);
  }
  .service-card__image-wrap {
    height: 160px;
  }
}

/* ===== FEEDBACK FORM ===== */
.feedback-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.feedback-form {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.feedback-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.feedback-form__group {
  margin-bottom: var(--space-lg);
}

.feedback-form__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feedback-form__label svg {
  color: var(--primary);
  flex-shrink: 0;
}

.feedback-form__input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.feedback-form__input::placeholder {
  color: var(--text-tertiary);
}

.feedback-form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.feedback-form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A5A5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.feedback-form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Star rating */
.feedback-form__stars {
  display: flex;
  gap: 0.25rem;
}

.feedback-form__star {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--border-strong);
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.feedback-form__star:hover,
.feedback-form__star.hovered {
  color: var(--star-color, #F0C060);
  transform: scale(1.15);
}

.feedback-form__star.active {
  color: var(--star-color, #F0C060);
}

.feedback-form__star.active svg {
  fill: var(--star-color, #F0C060);
}

/* Submit button */
.feedback-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  margin-top: var(--space-sm);
}

/* Success state */
.feedback-form__success {
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.feedback-form__success-icon {
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.feedback-form__success h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.feedback-form__success p {
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .feedback-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .feedback-form {
    padding: var(--space-lg);
  }
}
