/* Component styles - buttons, forms, cards, social icons */

/* Buttons */
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: #0089a9;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.book-button {
  display: inline-block;
  padding: 8px 15px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.book-button:hover {
  background-color: #45a049;
  color: white;
}

.tour-details-footer .book-button {
  padding: 10px 20px;
  font-size: 16px;
}

.submit-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background-color: #0089a9;
  transform: translateY(-3px);
}

/* Forms */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 164, 204, 0.2);
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: inherit;
}

.footer-newsletter button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background-color: #0089a9;
}

/* Social Media Icons */
.social-media {
  margin-top: 20px;
}

.social-media h4 {
  margin-bottom: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  margin-right: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.social-icon i {
  font-size: 20px;
}

.footer-social {
  margin-top: 20px;
}

.footer-social h4 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  font-size: 1.2rem;
}

.footer-social h4:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -10px;
  left: 0;
}

.footer-social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-social-icon i {
  font-size: 18px;
}

/* Custom icon for social media */
.custom-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  filter: none;
  display: inline-block;
  opacity: 1;
}

.footer-social-icon .custom-icon {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  background: transparent;
  display: block;
}

.social-icon .custom-icon {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  display: block;
}

.social-icon img[alt="TripAdvisor"],
.footer-social-icon img[alt="TripAdvisor"] {
  transform: translateY(1px);
}

.custom-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  filter: none;
  display: inline-block;
  position: relative;
  top: -1px; /* Adjust vertical alignment */
}

/* Ensure the TripAdvisor icon container doesn't have a white background */
.footer-social-icon, 
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
}

/* Cards */
.tour-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tour-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tour-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.tour-card p {
  padding: 0 20px;
  color: #666;
}

.tour-details {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

.tour-details span {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.tour-details i {
  margin-right: 5px;
  color: var(--primary-color);
}

.tour-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  gap: 10px;
}
