/* Components CSS - Import All Component Styles */

/* Header Component */
@import url("./components/header.css");

/* Footer Component */
@import url("./components/footer.css");

/* Existing component styles can be added here as needed */

/* Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
  border-radius: 15px;
  padding: 20px 25px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  min-height: 100px;
  transition: background 0.5s ease-in-out;
}

.promo-content {
  flex: 1;
  z-index: 2;
}

.promo-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.3;
}

.promo-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.promo-visual {
  position: relative;
  width: 120px;
  height: 80px;
  margin-left: 20px;
  flex-shrink: 0;
}

.airplane {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 24px;
  animation: float 3s ease-in-out infinite;
}

.cloud {
  position: absolute;
  top: 0px;
  right: 50px;
  font-size: 20px;
  opacity: 0.7;
  animation: float 4s ease-in-out infinite reverse;
}

.van {
  position: absolute;
  bottom: 5px;
  right: 25px;
  font-size: 32px;
}

.promo-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.dot.active {
  background: white;
  transform: scale(1.3);
}

/* Services Section */
.services-section {
  margin-bottom: 40px;
  width: 100%;
  overflow-x: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

.main-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 100%;
}

.large-card {
  grid-column: span 3;
  min-height: 160px;
}

.small-card {
  grid-column: span 2;
  min-height: 140px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
  min-height: 160px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.service-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

.best-badge {
  background: #ff4757;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.service-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.service-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 40px;
  opacity: 0.8;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  margin-top: 20px;
  gap: 40px;
}

.hero-content {
  flex: 1.2;
  max-width: 500px;
}

.hero-title {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.3;
  color: #333;
}

.hero-image {
  flex: 0.8;
  text-align: center;
  max-width: 500px;
}

/* 비디오 래퍼 */
.video-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
}

/* 비디오 소리 토글 버튼 */
.video-sound-toggle {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-sound-toggle:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* 비디오 재생 중일 때 버튼 투명도 조절 */
.hero-image:not(:hover) .video-sound-toggle {
  opacity: 0.8;
}

.hero-image:hover .video-sound-toggle {
  opacity: 1;
}

@media (max-width: 768px) {
  .video-sound-toggle {
    width: 35px;
    height: 35px;
    font-size: 18px;
    top: 20px;
    right: 20px;
  }

  .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .van-image {
    border-radius: 15px;
  }

  .video-wrapper {
    border-radius: 15px;
  }

  .video-sound-toggle {
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

.van-image {
  max-width: 100%;
  height: auto;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.float-btn {
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  white-space: nowrap;
}

.consultation-btn {
  background: #ffd700;
  color: #333;
  padding: 12px 20px;
}

.consultation-btn:hover {
  background: #ffed4e;
  transform: scale(1.05);
}

.whatsapp-consultation-btn {
  background: #25d366;
  color: white;
  padding: 12px 20px;
}

.whatsapp-consultation-btn:hover {
  background: #128c7e;
  transform: scale(1.05);
}

.search-btn-main {
  background: #333;
  color: white;
  padding: 15px 25px;
  font-size: 16px;
}

.search-btn-main:hover {
  background: #555;
  transform: scale(1.05);
}

/* Reviews Section */
.reviews-section {
  margin: 80px 0;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 60px 40px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.reviews-header {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
  max-width: 100%;
}

.reviews-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 500;
  word-wrap: break-word;
}

.reviews-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin: 0;
  word-wrap: break-word;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.reviewer-info {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: calc(100% - 80px);
  overflow: hidden;
}

.reviewer-details {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.reviewer-details h4 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  font-size: 16px;
  line-height: 1;
}

.rating-score {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.review-date {
  font-size: 14px;
  color: #999;
  font-weight: 500;
  flex-shrink: 0;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  width: 100%;
  max-width: 100%;
}

/* Vehicles Section */
.vehicles-section {
  margin: 80px 0 40px 0;
  padding: 40px 0;
  width: 100%;
  overflow-x: hidden;
}

.vehicles-header {
  text-align: center;
  margin-bottom: 40px;
}

.vehicles-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.vehicles-subtitle {
  font-size: 18px;
  color: #666;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.vehicle-item {
  text-align: center;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 100%;
}

.vehicle-item:hover {
  transform: translateY(-5px);
}

.vehicle-image {
  width: 280px;
  height: 170px;
  margin: 0 auto 10px;
  background: transparent;
  max-width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}

.vehicle-image.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* 히어로 섹션 차량 이미지/비디오 애니메이션 */
.van-image {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.van-image.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* PC에서 비디오 호버 효과 */
@media (min-width: 769px) {
  .van-image {
    transition: all 0.8s ease-out, box-shadow 0.3s ease;
  }

  .hero-image:hover .van-image.slide-in {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
  }
}

/* 모바일에서 슬라이드인 애니메이션 시 둥근 테두리 유지 */
@media (max-width: 768px) {
  .van-image {
    transform-origin: center;
  }

  .van-image:not(.slide-in) {
    transform: translateX(-50px) scale(0.95);
  }
}

/* 비디오일 때 추가 스타일 */
video.van-image {
  object-fit: contain;
  background: transparent;
}

/* PC에서 비디오 크기 조정 */
@media (min-width: 1200px) {
  .van-image {
    border-radius: 20px;
  }

  .video-wrapper {
    max-width: 350px;
    border-radius: 20px;
  }

  .hero-image {
    max-width: 450px;
  }
}

/* 중간 크기 화면 */
@media (min-width: 769px) and (max-width: 1199px) {
  .van-image {
    border-radius: 18px;
  }

  .video-wrapper {
    border-radius: 18px;
  }
}

@media (max-width: 768px) {
  .van-image {
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .video-wrapper {
    max-width: 100%;
    border-radius: 20px;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    margin-top: 15px;
    padding: 30px 0;
  }

  .hero-image {
    max-width: 100%;
    padding: 0 20px;
  }

  .services-section {
    margin-bottom: 30px;
  }
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.vehicle-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}
