/*
 Theme Name:   Travel Joy Child
 Theme URI:    https://yourwebsite.com
 Description:  Child theme of Travel Joy
 Author:       Min Adventure
 Author URI:   https://yourwebsite.com
 Template:     travel-joy
 Version:      1.0.0
*/

/* Import CSS từ theme cha */
@import url("../travel-joy/style.css");

/* CSS tùy chỉnh của bạn viết dưới đây */

/* Thanh liên hệ cố định */
.contact-fixed-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.contact-btn {
  width: 55px;
  height: 55px;
  background-color: #ff6600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 26px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
	animation: ring 1.2s ease-in-out infinite;
}

/* Màu riêng cho từng nút */
.contact-btn.phone { background-color: #28a745; }
.contact-btn.zalo { background-color: #0068ff; }
.contact-btn.facebook {
  background-color: #1877f2; 
  color: #fff; 
}

.contact-btn.facebook i {
  color: #fff;
}

/* Icon Zalo dùng ảnh */
.contact-btn.zalo img {
  width: 60%;
  height: auto;
}

/* Tooltip khi hover */
.contact-btn::after {
  content: attr(title);
  position: absolute;
  right: 110%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(-50%);
  top: 50%;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s;
}

.contact-btn:hover::after {
  opacity: 1;
}

/* Hiệu ứng rung */
@keyframes ring {
    0%,5% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    70%, 80%, 90%, 100% { transform: rotate(0); }
}


/* Responsive cho mobile */
@media (max-width: 768px) {
  .contact-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-btn.zalo img {
    width: 65%;
  }
}


/* Mobile nav sticked */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mobile-nav-inner {
  max-width: 100%;
  padding: 10px 15px;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
}

.mobile-menu-list li {
  display: inline-block;
}

.mobile-menu-list a {
  display: block;
  padding: 8px 12px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
}

.mobile-menu-list a:hover {
  color: #ff6600;
}

/* Chỉ hiển thị trên mobile */
@media (min-width: 769px) {
  .mobile-nav {
    display: none;
  }
}

