/* ========================================
   POOL VILLA DETAIL PAGE STYLES
   ======================================== */

.pv-page {
  padding-top: var(--header-height);
}

/* ---- Hero ---- */
.pv-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pv-hero-bg {
  position: absolute;
  inset: 0;
  background: url('http://letsgodanang.com/uploads/images/premium.png') center/cover no-repeat;
}

.pv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,107,90,0.8) 0%, rgba(10,40,35,0.85) 50%, rgba(26,26,46,0.8) 100%);
}

.pv-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 50px;
}

.pv-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  transition: var(--transition);
  margin-bottom: 32px;
  border: none;
  cursor: pointer;
}

.pv-back-btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.pv-hero-text { text-align: center; }

.pv-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 2px 4px 20px rgba(0,0,0,0.3);
  letter-spacing: 3px;
}

.pv-hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: rgba(255,255,255,0.9);
}

/* ---- Intro + Features ---- */
.pv-intro-section {
  padding: 70px 0 50px;
  background: var(--color-bg);
}

.pv-intro-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.pv-intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

.pv-intro-text p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.pv-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pv-feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pv-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pv-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.pv-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.pv-feature-card p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---- Section Title ---- */
.pv-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  text-align: center;
}

.pv-section-title i {
  color: var(--color-accent);
  margin-right: 8px;
}

.pv-section-subtitle {
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

/* ---- Video Section ---- */
.pv-video-section {
  padding: 70px 0;
  background: #fff;
}

.pv-video-main {
  max-width: 900px;
  margin: 0 auto 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16 / 9;
}

.pv-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.pv-video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
}

.pv-placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.pv-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
}

.pv-placeholder-overlay i {
  font-size: 3rem;
}

.pv-placeholder-overlay span {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Video thumbs */
.pv-video-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.pv-video-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  height: 120px;
  border: 3px solid transparent;
  transition: var(--transition);
}

.pv-video-thumb:hover {
  border-color: var(--color-accent);
}

.pv-video-thumb.active {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(26,107,90,0.3);
}

.pv-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-thumb-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a6b5a, #2d8a6e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255,255,255,0.85);
}

.pv-thumb-bg i {
  font-size: 1.2rem;
}

.pv-thumb-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}

.pv-video-thumb.active .pv-thumb-bg {
  background: linear-gradient(135deg, #d4a843, #c49a35);
}

.pv-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.pv-video-thumb:hover .pv-thumb-play {
  opacity: 1;
}

.pv-video-thumb.active .pv-thumb-play {
  opacity: 0;
}

.pv-thumb-coming {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.7);
}

.pv-thumb-coming i {
  font-size: 1.5rem;
}

.pv-thumb-coming span {
  font-size: 0.7rem;
  font-weight: 600;
}

.pv-video-thumb.placeholder {
  opacity: 0.7;
}

.pv-thumb-active-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}

/* ---- Villa Types ---- */
.pv-types-section {
  padding: 70px 0;
  background: var(--color-bg);
}

.pv-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pv-type-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
}

.pv-type-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.pv-type-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.pv-type-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pv-type-card:hover .pv-type-img img {
  transform: scale(1.06);
}

.pv-type-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.pv-type-info {
  padding: 24px;
}

.pv-type-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.pv-type-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.pv-type-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.pv-type-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.pv-price-main {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-primary-dark);
}

.pv-price-sub {
  font-size: 0.82rem;
  color: var(--color-accent-dark);
  font-weight: 600;
}

.pv-price-night {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.pv-type-cap {
  font-size: 0.85rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pv-type-cap i {
  color: var(--color-primary);
}

.pv-type-cap strong {
  color: var(--color-primary-dark);
}

/* ---- Villa Categories (Big/Small Group) ---- */
.pv-categories-section {
  padding: 70px 0;
  background: #fff;
}

.pv-category-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 36px;
}

.pv-category-card:last-child {
  margin-bottom: 0;
}

.pv-cat-image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.pv-cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pv-category-card:hover .pv-cat-image img {
  transform: scale(1.05);
}

.pv-cat-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.15) 0%, rgba(0,0,0,0.05) 100%);
}

.pv-cat-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fafaf7;
}

.pv-cat-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.pv-cat-title-teal {
  color: var(--color-primary);
}

.pv-cat-sub {
  font-size: 0.92rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.pv-cat-price-badge {
  display: inline-block;
  padding: 10px 20px;
  background: #2196F3;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.pv-cat-price-teal {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.pv-cat-price-krw {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 4px;
}

.pv-cat-highlights h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.pv-cat-highlights ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-cat-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text);
}

.pv-cat-highlights li i {
  color: #2196F3;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pv-cat-price-teal + .pv-cat-highlights li i {
  color: var(--color-primary);
}

.pv-cat-small .pv-cat-highlights li i {
  color: var(--color-primary);
}

/* ========================================
   HOTELS SECTION
   ======================================== */
.pv-hotels-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
}

.pv-hotels-header {
  text-align: center;
  margin-bottom: 48px;
}

.pv-hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pv-hotel-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.pv-hotel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.pv-hotel-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.pv-hotel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pv-hotel-card:hover .pv-hotel-img {
  transform: scale(1.06);
}

.pv-hotel-stars-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 3px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 20px;
}

.pv-hotel-stars-badge i {
  color: #f5c518;
  font-size: 0.7rem;
}

.pv-hotel-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pv-hotel-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.pv-hotel-address {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
  line-height: 1.4;
}

.pv-hotel-address i {
  color: var(--color-accent);
  margin-right: 4px;
}

.pv-hotel-location {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 3px solid var(--color-primary);
}

.pv-hotel-location i {
  color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.pv-hotel-price-box {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: 10px;
  color: #fff;
}

.pv-hotel-price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 6px;
  font-weight: 600;
}

.pv-hotel-price-row {
  margin-bottom: 2px;
}

.pv-hotel-price-vnd {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.pv-hotel-price-krw {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.pv-hotel-rooms {
  margin-top: auto;
}

.pv-hotel-rooms-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.pv-hotel-rooms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pv-hotel-room-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 4px 10px;
  background: #eef5f2;
  color: var(--color-primary-dark);
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid #d6e8e2;
  transition: all 0.2s ease;
}

.pv-hotel-card:hover .pv-hotel-room-tag {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

/* ---- Notice ---- */
.pv-notice-section {
  padding: 60px 0;
  background: #fff;
}

.pv-notice-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.pv-notice-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212,168,67,0.15);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.pv-notice-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}

.pv-notice-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-notice-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

.pv-notice-num {
  font-weight: 700;
  color: var(--color-accent-dark);
  min-width: 20px;
}

/* ---- CTA ---- */
.pv-cta-section {
  padding: 30px 0 80px;
  background: #fff;
}

.pv-cta-box {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px 48px;
  background: #FEE500;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(254,229,0,0.25);
  max-width: 800px;
  margin: 0 auto;
}

.pv-cta-kakao-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(60,30,30,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-cta-content { flex: 1; }

.pv-cta-content h2 {
  color: #3C1E1E;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pv-cta-sub {
  color: rgba(60,30,30,0.7);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.pv-cta-id {
  font-size: 0.88rem;
  color: rgba(60,30,30,0.6);
}

.pv-cta-id strong {
  color: #3C1E1E;
  font-weight: 800;
}

.pv-cta-btn.btn-kakao {
  flex-shrink: 0;
  background: #3C1E1E;
  color: #FEE500;
  border: none;
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(60,30,30,0.2);
}

.pv-cta-btn.btn-kakao svg { fill: #FEE500; }

.pv-cta-btn.btn-kakao:hover {
  background: #2a1515;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(60,30,30,0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .pv-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pv-types-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .pv-hotels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .pv-category-card {
    grid-template-columns: 1fr;
  }

  .pv-cat-image {
    min-height: 220px;
  }

  .pv-cat-info {
    padding: 28px 24px;
  }

  .pv-cat-small {
    direction: ltr;
  }

  .pv-cat-small .pv-cat-info {
    order: 2;
  }

  .pv-cat-small .pv-cat-image {
    order: 1;
  }

  .pv-categories-section {
    padding: 50px 0;
  }

  .pv-hero { min-height: 340px; }
  .pv-hero-content { padding: 40px 24px 36px; }

  .pv-intro-section { padding: 50px 0 40px; }

  .pv-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .pv-feature-card { padding: 24px 16px; }
  .pv-feature-icon { width: 52px; height: 52px; font-size: 1.2rem; }

  .pv-video-section,
  .pv-types-section,
  .pv-notice-section {
    padding: 50px 0;
  }

  .pv-video-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .pv-video-thumb { height: 75px; }

  .pv-types-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pv-hotels-section {
    padding: 50px 0;
  }

  .pv-hotels-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .pv-hotel-img-wrap {
    height: 180px;
  }

  .pv-type-img { height: 200px; }
  .pv-notice-box { padding: 28px 20px; }

  .pv-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }

  .pv-cta-content h2 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .pv-hero { min-height: 300px; }
  .pv-hero-title { font-size: 2.2rem; letter-spacing: 1px; }

  .pv-features-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .pv-video-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .pv-video-thumb { height: 70px; }
  .pv-type-info { padding: 20px; }

  .pv-hotels-grid {
    gap: 16px;
  }

  .pv-hotel-body {
    padding: 16px;
  }

  .pv-hotel-name {
    font-size: 1.1rem;
  }

  .pv-hotel-location {
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  .pv-hotel-room-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
}
